Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=instance.scaleway.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AdditionalVolumesInitParameters
- type AdditionalVolumesObservation
- type AdditionalVolumesParameters
- type IP
- func (in *IP) DeepCopy() *IP
- func (in *IP) DeepCopyInto(out *IP)
- func (in *IP) DeepCopyObject() runtime.Object
- func (mg *IP) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *IP) GetConnectionDetailsMapping() map[string]string
- func (mg *IP) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *IP) GetID() string
- func (tr *IP) GetInitParameters() (map[string]any, error)
- func (mg *IP) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *IP) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *IP) GetObservation() (map[string]any, error)
- func (tr *IP) GetParameters() (map[string]any, error)
- func (mg *IP) GetProviderConfigReference() *xpv1.Reference
- func (mg *IP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *IP) GetTerraformResourceType() string
- func (tr *IP) GetTerraformSchemaVersion() int
- func (mg *IP) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *IP) Hub()
- func (tr *IP) LateInitialize(attrs []byte) (bool, error)
- func (mg *IP) SetConditions(c ...xpv1.Condition)
- func (mg *IP) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *IP) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *IP) SetObservation(obs map[string]any) error
- func (tr *IP) SetParameters(params map[string]any) error
- func (mg *IP) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *IP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *IP) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type IPInitParameters
- type IPList
- type IPObservation
- type IPParameters
- type IPSpec
- type IPStatus
- type Image
- func (in *Image) DeepCopy() *Image
- func (in *Image) DeepCopyInto(out *Image)
- func (in *Image) DeepCopyObject() runtime.Object
- func (mg *Image) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Image) GetConnectionDetailsMapping() map[string]string
- func (mg *Image) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Image) GetID() string
- func (tr *Image) GetInitParameters() (map[string]any, error)
- func (mg *Image) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Image) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Image) GetObservation() (map[string]any, error)
- func (tr *Image) GetParameters() (map[string]any, error)
- func (mg *Image) GetProviderConfigReference() *xpv1.Reference
- func (mg *Image) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Image) GetTerraformResourceType() string
- func (tr *Image) GetTerraformSchemaVersion() int
- func (mg *Image) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Image) Hub()
- func (tr *Image) LateInitialize(attrs []byte) (bool, error)
- func (mg *Image) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Image) SetConditions(c ...xpv1.Condition)
- func (mg *Image) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Image) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Image) SetObservation(obs map[string]any) error
- func (tr *Image) SetParameters(params map[string]any) error
- func (mg *Image) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Image) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Image) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ImageInitParameters
- type ImageList
- type ImageObservation
- type ImageParameters
- type ImageSpec
- type ImageStatus
- type ImportInitParameters
- type ImportObservation
- type ImportParameters
- type InboundRuleInitParameters
- type InboundRuleObservation
- type InboundRuleParameters
- type OutboundRuleInitParameters
- type OutboundRuleObservation
- type OutboundRuleParameters
- type PlacementGroup
- func (in *PlacementGroup) DeepCopy() *PlacementGroup
- func (in *PlacementGroup) DeepCopyInto(out *PlacementGroup)
- func (in *PlacementGroup) DeepCopyObject() runtime.Object
- func (mg *PlacementGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PlacementGroup) GetConnectionDetailsMapping() map[string]string
- func (mg *PlacementGroup) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PlacementGroup) GetID() string
- func (tr *PlacementGroup) GetInitParameters() (map[string]any, error)
- func (mg *PlacementGroup) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PlacementGroup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PlacementGroup) GetObservation() (map[string]any, error)
- func (tr *PlacementGroup) GetParameters() (map[string]any, error)
- func (mg *PlacementGroup) GetProviderConfigReference() *xpv1.Reference
- func (mg *PlacementGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PlacementGroup) GetTerraformResourceType() string
- func (tr *PlacementGroup) GetTerraformSchemaVersion() int
- func (mg *PlacementGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PlacementGroup) Hub()
- func (tr *PlacementGroup) LateInitialize(attrs []byte) (bool, error)
- func (mg *PlacementGroup) SetConditions(c ...xpv1.Condition)
- func (mg *PlacementGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PlacementGroup) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PlacementGroup) SetObservation(obs map[string]any) error
- func (tr *PlacementGroup) SetParameters(params map[string]any) error
- func (mg *PlacementGroup) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PlacementGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PlacementGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PlacementGroupInitParameters
- type PlacementGroupList
- type PlacementGroupObservation
- type PlacementGroupParameters
- type PlacementGroupSpec
- type PlacementGroupStatus
- type PrivateIpsInitParameters
- type PrivateIpsObservation
- type PrivateIpsParameters
- type PrivateNIC
- func (in *PrivateNIC) DeepCopy() *PrivateNIC
- func (in *PrivateNIC) DeepCopyInto(out *PrivateNIC)
- func (in *PrivateNIC) DeepCopyObject() runtime.Object
- func (mg *PrivateNIC) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PrivateNIC) GetConnectionDetailsMapping() map[string]string
- func (mg *PrivateNIC) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PrivateNIC) GetID() string
- func (tr *PrivateNIC) GetInitParameters() (map[string]any, error)
- func (mg *PrivateNIC) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PrivateNIC) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PrivateNIC) GetObservation() (map[string]any, error)
- func (tr *PrivateNIC) GetParameters() (map[string]any, error)
- func (mg *PrivateNIC) GetProviderConfigReference() *xpv1.Reference
- func (mg *PrivateNIC) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PrivateNIC) GetTerraformResourceType() string
- func (tr *PrivateNIC) GetTerraformSchemaVersion() int
- func (mg *PrivateNIC) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PrivateNIC) Hub()
- func (tr *PrivateNIC) LateInitialize(attrs []byte) (bool, error)
- func (mg *PrivateNIC) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *PrivateNIC) SetConditions(c ...xpv1.Condition)
- func (mg *PrivateNIC) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PrivateNIC) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PrivateNIC) SetObservation(obs map[string]any) error
- func (tr *PrivateNIC) SetParameters(params map[string]any) error
- func (mg *PrivateNIC) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PrivateNIC) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PrivateNIC) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PrivateNICInitParameters
- type PrivateNICList
- type PrivateNICObservation
- type PrivateNICParameters
- type PrivateNICSpec
- type PrivateNICStatus
- type PrivateNetworkInitParameters
- type PrivateNetworkObservation
- type PrivateNetworkParameters
- type PublicIpsInitParameters
- type PublicIpsObservation
- type PublicIpsParameters
- type RootVolumeInitParameters
- type RootVolumeObservation
- type RootVolumeParameters
- type SecurityGroup
- func (in *SecurityGroup) DeepCopy() *SecurityGroup
- func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)
- func (in *SecurityGroup) DeepCopyObject() runtime.Object
- func (mg *SecurityGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SecurityGroup) GetConnectionDetailsMapping() map[string]string
- func (mg *SecurityGroup) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SecurityGroup) GetID() string
- func (tr *SecurityGroup) GetInitParameters() (map[string]any, error)
- func (mg *SecurityGroup) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SecurityGroup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SecurityGroup) GetObservation() (map[string]any, error)
- func (tr *SecurityGroup) GetParameters() (map[string]any, error)
- func (mg *SecurityGroup) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecurityGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SecurityGroup) GetTerraformResourceType() string
- func (tr *SecurityGroup) GetTerraformSchemaVersion() int
- func (mg *SecurityGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SecurityGroup) Hub()
- func (tr *SecurityGroup) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecurityGroup) SetConditions(c ...xpv1.Condition)
- func (mg *SecurityGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SecurityGroup) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SecurityGroup) SetObservation(obs map[string]any) error
- func (tr *SecurityGroup) SetParameters(params map[string]any) error
- func (mg *SecurityGroup) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecurityGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SecurityGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecurityGroupInitParameters
- type SecurityGroupList
- type SecurityGroupObservation
- type SecurityGroupParameters
- type SecurityGroupRule
- func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule
- func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule)
- func (in *SecurityGroupRule) DeepCopyObject() runtime.Object
- func (mg *SecurityGroupRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SecurityGroupRule) GetConnectionDetailsMapping() map[string]string
- func (mg *SecurityGroupRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SecurityGroupRule) GetID() string
- func (tr *SecurityGroupRule) GetInitParameters() (map[string]any, error)
- func (mg *SecurityGroupRule) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SecurityGroupRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SecurityGroupRule) GetObservation() (map[string]any, error)
- func (tr *SecurityGroupRule) GetParameters() (map[string]any, error)
- func (mg *SecurityGroupRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecurityGroupRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SecurityGroupRule) GetTerraformResourceType() string
- func (tr *SecurityGroupRule) GetTerraformSchemaVersion() int
- func (mg *SecurityGroupRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SecurityGroupRule) Hub()
- func (tr *SecurityGroupRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecurityGroupRule) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SecurityGroupRule) SetConditions(c ...xpv1.Condition)
- func (mg *SecurityGroupRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SecurityGroupRule) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SecurityGroupRule) SetObservation(obs map[string]any) error
- func (tr *SecurityGroupRule) SetParameters(params map[string]any) error
- func (mg *SecurityGroupRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecurityGroupRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SecurityGroupRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecurityGroupRuleInboundRuleInitParameters
- type SecurityGroupRuleInboundRuleObservation
- type SecurityGroupRuleInboundRuleParameters
- type SecurityGroupRuleInitParameters
- type SecurityGroupRuleList
- type SecurityGroupRuleObservation
- type SecurityGroupRuleOutboundRuleInitParameters
- type SecurityGroupRuleOutboundRuleObservation
- type SecurityGroupRuleOutboundRuleParameters
- type SecurityGroupRuleParameters
- type SecurityGroupRuleSpec
- type SecurityGroupRuleStatus
- type SecurityGroupSpec
- type SecurityGroupStatus
- type Server
- func (in *Server) DeepCopy() *Server
- func (in *Server) DeepCopyInto(out *Server)
- func (in *Server) DeepCopyObject() runtime.Object
- func (mg *Server) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Server) GetConnectionDetailsMapping() map[string]string
- func (mg *Server) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Server) GetID() string
- func (tr *Server) GetInitParameters() (map[string]any, error)
- func (mg *Server) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Server) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Server) GetObservation() (map[string]any, error)
- func (tr *Server) GetParameters() (map[string]any, error)
- func (mg *Server) GetProviderConfigReference() *xpv1.Reference
- func (mg *Server) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Server) GetTerraformResourceType() string
- func (tr *Server) GetTerraformSchemaVersion() int
- func (mg *Server) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Server) Hub()
- func (tr *Server) LateInitialize(attrs []byte) (bool, error)
- func (mg *Server) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Server) SetConditions(c ...xpv1.Condition)
- func (mg *Server) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Server) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Server) SetObservation(obs map[string]any) error
- func (tr *Server) SetParameters(params map[string]any) error
- func (mg *Server) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Server) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Server) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServerInitParameters
- type ServerList
- type ServerObservation
- type ServerParameters
- type ServerPrivateIpsInitParameters
- type ServerPrivateIpsObservation
- type ServerPrivateIpsParameters
- type ServerSpec
- type ServerStatus
- type Snapshot
- func (in *Snapshot) DeepCopy() *Snapshot
- func (in *Snapshot) DeepCopyInto(out *Snapshot)
- func (in *Snapshot) DeepCopyObject() runtime.Object
- func (mg *Snapshot) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Snapshot) GetConnectionDetailsMapping() map[string]string
- func (mg *Snapshot) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Snapshot) GetID() string
- func (tr *Snapshot) GetInitParameters() (map[string]any, error)
- func (mg *Snapshot) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Snapshot) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Snapshot) GetObservation() (map[string]any, error)
- func (tr *Snapshot) GetParameters() (map[string]any, error)
- func (mg *Snapshot) GetProviderConfigReference() *xpv1.Reference
- func (mg *Snapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Snapshot) GetTerraformResourceType() string
- func (tr *Snapshot) GetTerraformSchemaVersion() int
- func (mg *Snapshot) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Snapshot) Hub()
- func (tr *Snapshot) LateInitialize(attrs []byte) (bool, error)
- func (mg *Snapshot) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Snapshot) SetConditions(c ...xpv1.Condition)
- func (mg *Snapshot) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Snapshot) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Snapshot) SetObservation(obs map[string]any) error
- func (tr *Snapshot) SetParameters(params map[string]any) error
- func (mg *Snapshot) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Snapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Snapshot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SnapshotInitParameters
- type SnapshotList
- type SnapshotObservation
- type SnapshotParameters
- type SnapshotSpec
- type SnapshotStatus
- type UserData
- func (in *UserData) DeepCopy() *UserData
- func (in *UserData) DeepCopyInto(out *UserData)
- func (in *UserData) DeepCopyObject() runtime.Object
- func (mg *UserData) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *UserData) GetConnectionDetailsMapping() map[string]string
- func (mg *UserData) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *UserData) GetID() string
- func (tr *UserData) GetInitParameters() (map[string]any, error)
- func (mg *UserData) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *UserData) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *UserData) GetObservation() (map[string]any, error)
- func (tr *UserData) GetParameters() (map[string]any, error)
- func (mg *UserData) GetProviderConfigReference() *xpv1.Reference
- func (mg *UserData) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *UserData) GetTerraformResourceType() string
- func (tr *UserData) GetTerraformSchemaVersion() int
- func (mg *UserData) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *UserData) Hub()
- func (tr *UserData) LateInitialize(attrs []byte) (bool, error)
- func (mg *UserData) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *UserData) SetConditions(c ...xpv1.Condition)
- func (mg *UserData) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *UserData) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *UserData) SetObservation(obs map[string]any) error
- func (tr *UserData) SetParameters(params map[string]any) error
- func (mg *UserData) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *UserData) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *UserData) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserDataInitParameters
- type UserDataList
- type UserDataObservation
- type UserDataParameters
- type UserDataSpec
- type UserDataStatus
- type Volume
- func (in *Volume) DeepCopy() *Volume
- func (in *Volume) DeepCopyInto(out *Volume)
- func (in *Volume) DeepCopyObject() runtime.Object
- func (mg *Volume) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Volume) GetConnectionDetailsMapping() map[string]string
- func (mg *Volume) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Volume) GetID() string
- func (tr *Volume) GetInitParameters() (map[string]any, error)
- func (mg *Volume) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Volume) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Volume) GetObservation() (map[string]any, error)
- func (tr *Volume) GetParameters() (map[string]any, error)
- func (mg *Volume) GetProviderConfigReference() *xpv1.Reference
- func (mg *Volume) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Volume) GetTerraformResourceType() string
- func (tr *Volume) GetTerraformSchemaVersion() int
- func (mg *Volume) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Volume) Hub()
- func (tr *Volume) LateInitialize(attrs []byte) (bool, error)
- func (mg *Volume) SetConditions(c ...xpv1.Condition)
- func (mg *Volume) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Volume) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Volume) SetObservation(obs map[string]any) error
- func (tr *Volume) SetParameters(params map[string]any) error
- func (mg *Volume) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Volume) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Volume) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VolumeInitParameters
- type VolumeList
- type VolumeObservation
- type VolumeParameters
- type VolumeSpec
- type VolumeStatus
Constants ¶
const ( CRDGroup = "instance.scaleway.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Image_Kind = "Image" Image_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Image_Kind}.String() Image_KindAPIVersion = Image_Kind + "." + CRDGroupVersion.String() Image_GroupVersionKind = CRDGroupVersion.WithKind(Image_Kind) )
Repository type metadata.
var ( IP_Kind = "IP" IP_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IP_Kind}.String() IP_KindAPIVersion = IP_Kind + "." + CRDGroupVersion.String() IP_GroupVersionKind = CRDGroupVersion.WithKind(IP_Kind) )
Repository type metadata.
var ( PlacementGroup_Kind = "PlacementGroup" PlacementGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PlacementGroup_Kind}.String() PlacementGroup_KindAPIVersion = PlacementGroup_Kind + "." + CRDGroupVersion.String() PlacementGroup_GroupVersionKind = CRDGroupVersion.WithKind(PlacementGroup_Kind) )
Repository type metadata.
var ( PrivateNIC_Kind = "PrivateNIC" PrivateNIC_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PrivateNIC_Kind}.String() PrivateNIC_KindAPIVersion = PrivateNIC_Kind + "." + CRDGroupVersion.String() PrivateNIC_GroupVersionKind = CRDGroupVersion.WithKind(PrivateNIC_Kind) )
Repository type metadata.
var ( SecurityGroup_Kind = "SecurityGroup" SecurityGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroup_Kind}.String() SecurityGroup_KindAPIVersion = SecurityGroup_Kind + "." + CRDGroupVersion.String() SecurityGroup_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroup_Kind) )
Repository type metadata.
var ( SecurityGroupRule_Kind = "SecurityGroupRule" SecurityGroupRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroupRule_Kind}.String() SecurityGroupRule_KindAPIVersion = SecurityGroupRule_Kind + "." + CRDGroupVersion.String() SecurityGroupRule_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroupRule_Kind) )
Repository type metadata.
var ( Server_Kind = "Server" Server_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Server_Kind}.String() Server_KindAPIVersion = Server_Kind + "." + CRDGroupVersion.String() Server_GroupVersionKind = CRDGroupVersion.WithKind(Server_Kind) )
Repository type metadata.
var ( Snapshot_Kind = "Snapshot" Snapshot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Snapshot_Kind}.String() Snapshot_KindAPIVersion = Snapshot_Kind + "." + CRDGroupVersion.String() Snapshot_GroupVersionKind = CRDGroupVersion.WithKind(Snapshot_Kind) )
Repository type metadata.
var ( UserData_Kind = "UserData" UserData_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: UserData_Kind}.String() UserData_KindAPIVersion = UserData_Kind + "." + CRDGroupVersion.String() UserData_GroupVersionKind = CRDGroupVersion.WithKind(UserData_Kind) )
Repository type metadata.
var ( Volume_Kind = "Volume" Volume_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Volume_Kind}.String() Volume_KindAPIVersion = Volume_Kind + "." + CRDGroupVersion.String() Volume_GroupVersionKind = CRDGroupVersion.WithKind(Volume_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AdditionalVolumesInitParameters ¶
type AdditionalVolumesInitParameters struct {
}
func (*AdditionalVolumesInitParameters) DeepCopy ¶
func (in *AdditionalVolumesInitParameters) DeepCopy() *AdditionalVolumesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalVolumesInitParameters.
func (*AdditionalVolumesInitParameters) DeepCopyInto ¶
func (in *AdditionalVolumesInitParameters) DeepCopyInto(out *AdditionalVolumesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdditionalVolumesObservation ¶
type AdditionalVolumesObservation struct {
// Date of the volume creation.
CreationDate *string `json:"creationDate,omitempty" tf:"creation_date,omitempty"`
// The export URI of the volume.
ExportURI *string `json:"exportUri,omitempty" tf:"export_uri,omitempty"`
// The ID of the volume.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Date of volume latest update.
ModificationDate *string `json:"modificationDate,omitempty" tf:"modification_date,omitempty"`
// The name of the volume.
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The organization ID the volume is associated with.
Organization *string `json:"organization,omitempty" tf:"organization,omitempty"`
// ID of the project the volume is associated with
Project *string `json:"project,omitempty" tf:"project,omitempty"`
// Description of the server containing the volume (in case the image is a backup from a server).
// +mapType=granular
Server map[string]*string `json:"server,omitempty" tf:"server,omitempty"`
// The size of the volume.
Size *float64 `json:"size,omitempty" tf:"size,omitempty"`
// State of the volume.
State *string `json:"state,omitempty" tf:"state,omitempty"`
// List of tags associated with the volume.
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The type of volume, possible values are l_ssd and b_ssd.
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
// The zone in which the volume is.
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*AdditionalVolumesObservation) DeepCopy ¶
func (in *AdditionalVolumesObservation) DeepCopy() *AdditionalVolumesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalVolumesObservation.
func (*AdditionalVolumesObservation) DeepCopyInto ¶
func (in *AdditionalVolumesObservation) DeepCopyInto(out *AdditionalVolumesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdditionalVolumesParameters ¶
type AdditionalVolumesParameters struct {
}
func (*AdditionalVolumesParameters) DeepCopy ¶
func (in *AdditionalVolumesParameters) DeepCopy() *AdditionalVolumesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalVolumesParameters.
func (*AdditionalVolumesParameters) DeepCopyInto ¶
func (in *AdditionalVolumesParameters) DeepCopyInto(out *AdditionalVolumesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IP ¶
type IP struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec IPSpec `json:"spec"`
Status IPStatus `json:"status,omitempty"`
}
IP is the Schema for the IPs API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*IP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IP.
func (*IP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IP) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IP) GetCondition ¶
func (mg *IP) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this IP.
func (*IP) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this IP
func (*IP) GetDeletionPolicy ¶
func (mg *IP) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this IP.
func (*IP) GetInitParameters ¶
GetInitParameters of this IP
func (*IP) GetManagementPolicies ¶
func (mg *IP) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this IP.
func (*IP) GetMergedParameters ¶
GetInitParameters of this IP
func (*IP) GetObservation ¶
GetObservation of this IP
func (*IP) GetParameters ¶
GetParameters of this IP
func (*IP) GetProviderConfigReference ¶
GetProviderConfigReference of this IP.
func (*IP) GetPublishConnectionDetailsTo ¶
func (mg *IP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this IP.
func (*IP) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this IP
func (*IP) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*IP) GetWriteConnectionSecretToReference ¶
func (mg *IP) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this IP.
func (*IP) LateInitialize ¶
LateInitialize this IP using its observed tfState. returns True if there are any spec changes for the resource.
func (*IP) SetConditions ¶
SetConditions of this IP.
func (*IP) SetDeletionPolicy ¶
func (mg *IP) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this IP.
func (*IP) SetManagementPolicies ¶
func (mg *IP) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this IP.
func (*IP) SetObservation ¶
SetObservation for this IP
func (*IP) SetParameters ¶
SetParameters for this IP
func (*IP) SetProviderConfigReference ¶
SetProviderConfigReference of this IP.
func (*IP) SetPublishConnectionDetailsTo ¶
func (mg *IP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this IP.
func (*IP) SetWriteConnectionSecretToReference ¶
func (mg *IP) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this IP.
type IPInitParameters ¶
type IPInitParameters struct {
// (Defaults to provider project_id) The ID of the project the IP is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// The tags associated with the IP.
// The tags associated with the ip
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The type of the IP (routed_ipv4, routed_ipv6), more information in the documentation
// The type of instance IP
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// (Defaults to provider zone) The zone in which the IP should be reserved.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*IPInitParameters) DeepCopy ¶
func (in *IPInitParameters) DeepCopy() *IPInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPInitParameters.
func (*IPInitParameters) DeepCopyInto ¶
func (in *IPInitParameters) DeepCopyInto(out *IPInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPList ¶
type IPList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []IP `json:"items"`
}
IPList contains a list of IPs
func (*IPList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPList.
func (*IPList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPObservation ¶
type IPObservation struct {
// The IP address.
// The IP address
Address *string `json:"address,omitempty" tf:"address,omitempty"`
// The ID of the IP.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The organization ID the IP is associated with.
// The organization_id you want to attach the resource to
OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`
// The IP Prefix.
// The IP prefix
Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`
// (Defaults to provider project_id) The ID of the project the IP is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// The reverse dns attached to this IP
// The reverse DNS for this IP
Reverse *string `json:"reverse,omitempty" tf:"reverse,omitempty"`
// The ID of the IP.
// The server associated with this IP
ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`
// The tags associated with the IP.
// The tags associated with the ip
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The type of the IP (routed_ipv4, routed_ipv6), more information in the documentation
// The type of instance IP
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// (Defaults to provider zone) The zone in which the IP should be reserved.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*IPObservation) DeepCopy ¶
func (in *IPObservation) DeepCopy() *IPObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPObservation.
func (*IPObservation) DeepCopyInto ¶
func (in *IPObservation) DeepCopyInto(out *IPObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPParameters ¶
type IPParameters struct {
// (Defaults to provider project_id) The ID of the project the IP is associated with.
// The project_id you want to attach the resource to
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// The tags associated with the IP.
// The tags associated with the ip
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The type of the IP (routed_ipv4, routed_ipv6), more information in the documentation
// The type of instance IP
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// (Defaults to provider zone) The zone in which the IP should be reserved.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*IPParameters) DeepCopy ¶
func (in *IPParameters) DeepCopy() *IPParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPParameters.
func (*IPParameters) DeepCopyInto ¶
func (in *IPParameters) DeepCopyInto(out *IPParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPSpec ¶
type IPSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider IPParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider IPInitParameters `json:"initProvider,omitempty"`
}
IPSpec defines the desired state of IP
func (*IPSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPSpec.
func (*IPSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPStatus ¶
type IPStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider IPObservation `json:"atProvider,omitempty"`
}
IPStatus defines the observed state of IP.
func (*IPStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPStatus.
func (*IPStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Image ¶
type Image struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ImageSpec `json:"spec"`
Status ImageStatus `json:"status,omitempty"`
}
Image is the Schema for the Images API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Image) GetCondition ¶
func (mg *Image) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Image.
func (*Image) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Image
func (*Image) GetDeletionPolicy ¶
func (mg *Image) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Image.
func (*Image) GetInitParameters ¶
GetInitParameters of this Image
func (*Image) GetManagementPolicies ¶
func (mg *Image) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Image.
func (*Image) GetMergedParameters ¶
GetInitParameters of this Image
func (*Image) GetObservation ¶
GetObservation of this Image
func (*Image) GetParameters ¶
GetParameters of this Image
func (*Image) GetProviderConfigReference ¶
GetProviderConfigReference of this Image.
func (*Image) GetPublishConnectionDetailsTo ¶
func (mg *Image) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Image.
func (*Image) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Image
func (*Image) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Image) GetWriteConnectionSecretToReference ¶
func (mg *Image) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Image.
func (*Image) LateInitialize ¶
LateInitialize this Image using its observed tfState. returns True if there are any spec changes for the resource.
func (*Image) ResolveReferences ¶
ResolveReferences of this Image.
func (*Image) SetConditions ¶
SetConditions of this Image.
func (*Image) SetDeletionPolicy ¶
func (mg *Image) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Image.
func (*Image) SetManagementPolicies ¶
func (mg *Image) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Image.
func (*Image) SetObservation ¶
SetObservation for this Image
func (*Image) SetParameters ¶
SetParameters for this Image
func (*Image) SetProviderConfigReference ¶
SetProviderConfigReference of this Image.
func (*Image) SetPublishConnectionDetailsTo ¶
func (mg *Image) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Image.
func (*Image) SetWriteConnectionSecretToReference ¶
func (mg *Image) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Image.
type ImageInitParameters ¶
type ImageInitParameters struct {
// List of IDs of the snapshots of the additional volumes to be attached to the image.
// The IDs of the additional volumes attached to the image
AdditionalVolumeIds []*string `json:"additionalVolumeIds,omitempty" tf:"additional_volume_ids,omitempty"`
// The architecture the image is compatible with. Possible values are: x86_64 or arm.
// Architecture of the image (default = x86_64)
Architecture *string `json:"architecture,omitempty" tf:"architecture,omitempty"`
// The name of the image. If not provided it will be randomly generated.
// The name of the image
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to provider project_id) The ID of the project the image is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Set to true if the image is public.
// If true, the image will be public
Public *bool `json:"public,omitempty" tf:"public,omitempty"`
// The ID of the snapshot of the volume to be used as root in the image.
// UUID of the snapshot from which the image is to be created
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.Snapshot
RootVolumeID *string `json:"rootVolumeId,omitempty" tf:"root_volume_id,omitempty"`
// Reference to a Snapshot in instance to populate rootVolumeId.
// +kubebuilder:validation:Optional
RootVolumeIDRef *v1.Reference `json:"rootVolumeIdRef,omitempty" tf:"-"`
// Selector for a Snapshot in instance to populate rootVolumeId.
// +kubebuilder:validation:Optional
RootVolumeIDSelector *v1.Selector `json:"rootVolumeIdSelector,omitempty" tf:"-"`
// A list of tags to apply to the image.
// List of tags ["tag1", "tag2", ...] attached to the image
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the image should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*ImageInitParameters) DeepCopy ¶
func (in *ImageInitParameters) DeepCopy() *ImageInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageInitParameters.
func (*ImageInitParameters) DeepCopyInto ¶
func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageList ¶
type ImageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Image `json:"items"`
}
ImageList contains a list of Images
func (*ImageList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.
func (*ImageList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageObservation ¶
type ImageObservation struct {
// List of IDs of the snapshots of the additional volumes to be attached to the image.
// The IDs of the additional volumes attached to the image
AdditionalVolumeIds []*string `json:"additionalVolumeIds,omitempty" tf:"additional_volume_ids,omitempty"`
// The description of the extra volumes attached to the image.
// Specs of the additional volumes attached to the image
AdditionalVolumes []AdditionalVolumesObservation `json:"additionalVolumes,omitempty" tf:"additional_volumes,omitempty"`
// The architecture the image is compatible with. Possible values are: x86_64 or arm.
// Architecture of the image (default = x86_64)
Architecture *string `json:"architecture,omitempty" tf:"architecture,omitempty"`
// Date of the image creation.
// The date and time of the creation of the image
CreationDate *string `json:"creationDate,omitempty" tf:"creation_date,omitempty"`
// ID of the server the image is based on (in case it is a backup).
// The ID of the backed-up server from which the snapshot was taken
FromServerID *string `json:"fromServerId,omitempty" tf:"from_server_id,omitempty"`
// The ID of the image.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Date of image latest update.
// The date and time of the last modification of the Redis cluster
ModificationDate *string `json:"modificationDate,omitempty" tf:"modification_date,omitempty"`
// The name of the image. If not provided it will be randomly generated.
// The name of the image
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The organization ID the image is associated with.
// The organization_id you want to attach the resource to
OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`
// (Defaults to provider project_id) The ID of the project the image is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Set to true if the image is public.
// If true, the image will be public
Public *bool `json:"public,omitempty" tf:"public,omitempty"`
// The ID of the snapshot of the volume to be used as root in the image.
// UUID of the snapshot from which the image is to be created
RootVolumeID *string `json:"rootVolumeId,omitempty" tf:"root_volume_id,omitempty"`
// State of the image. Possible values are: available, creating or error.
// The state of the image [ available | creating | error ]
State *string `json:"state,omitempty" tf:"state,omitempty"`
// A list of tags to apply to the image.
// List of tags ["tag1", "tag2", ...] attached to the image
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the image should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*ImageObservation) DeepCopy ¶
func (in *ImageObservation) DeepCopy() *ImageObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageObservation.
func (*ImageObservation) DeepCopyInto ¶
func (in *ImageObservation) DeepCopyInto(out *ImageObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageParameters ¶
type ImageParameters struct {
// List of IDs of the snapshots of the additional volumes to be attached to the image.
// The IDs of the additional volumes attached to the image
// +kubebuilder:validation:Optional
AdditionalVolumeIds []*string `json:"additionalVolumeIds,omitempty" tf:"additional_volume_ids,omitempty"`
// The architecture the image is compatible with. Possible values are: x86_64 or arm.
// Architecture of the image (default = x86_64)
// +kubebuilder:validation:Optional
Architecture *string `json:"architecture,omitempty" tf:"architecture,omitempty"`
// The name of the image. If not provided it will be randomly generated.
// The name of the image
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to provider project_id) The ID of the project the image is associated with.
// The project_id you want to attach the resource to
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Set to true if the image is public.
// If true, the image will be public
// +kubebuilder:validation:Optional
Public *bool `json:"public,omitempty" tf:"public,omitempty"`
// The ID of the snapshot of the volume to be used as root in the image.
// UUID of the snapshot from which the image is to be created
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.Snapshot
// +kubebuilder:validation:Optional
RootVolumeID *string `json:"rootVolumeId,omitempty" tf:"root_volume_id,omitempty"`
// Reference to a Snapshot in instance to populate rootVolumeId.
// +kubebuilder:validation:Optional
RootVolumeIDRef *v1.Reference `json:"rootVolumeIdRef,omitempty" tf:"-"`
// Selector for a Snapshot in instance to populate rootVolumeId.
// +kubebuilder:validation:Optional
RootVolumeIDSelector *v1.Selector `json:"rootVolumeIdSelector,omitempty" tf:"-"`
// A list of tags to apply to the image.
// List of tags ["tag1", "tag2", ...] attached to the image
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the image should be created.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*ImageParameters) DeepCopy ¶
func (in *ImageParameters) DeepCopy() *ImageParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageParameters.
func (*ImageParameters) DeepCopyInto ¶
func (in *ImageParameters) DeepCopyInto(out *ImageParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
type ImageSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider ImageParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider ImageInitParameters `json:"initProvider,omitempty"`
}
ImageSpec defines the desired state of Image
func (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageStatus ¶
type ImageStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider ImageObservation `json:"atProvider,omitempty"`
}
ImageStatus defines the observed state of Image.
func (*ImageStatus) DeepCopy ¶
func (in *ImageStatus) DeepCopy() *ImageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus.
func (*ImageStatus) DeepCopyInto ¶
func (in *ImageStatus) DeepCopyInto(out *ImageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportInitParameters ¶
type ImportInitParameters struct {
// Bucket name containing qcow2 to import
// Bucket containing qcow
Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`
// Key of the object to import
// Key of the qcow file in the specified bucket
Key *string `json:"key,omitempty" tf:"key,omitempty"`
}
func (*ImportInitParameters) DeepCopy ¶
func (in *ImportInitParameters) DeepCopy() *ImportInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportInitParameters.
func (*ImportInitParameters) DeepCopyInto ¶
func (in *ImportInitParameters) DeepCopyInto(out *ImportInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportObservation ¶
type ImportObservation struct {
// Bucket name containing qcow2 to import
// Bucket containing qcow
Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`
// Key of the object to import
// Key of the qcow file in the specified bucket
Key *string `json:"key,omitempty" tf:"key,omitempty"`
}
func (*ImportObservation) DeepCopy ¶
func (in *ImportObservation) DeepCopy() *ImportObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportObservation.
func (*ImportObservation) DeepCopyInto ¶
func (in *ImportObservation) DeepCopyInto(out *ImportObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportParameters ¶
type ImportParameters struct {
// Bucket name containing qcow2 to import
// Bucket containing qcow
// +kubebuilder:validation:Optional
Bucket *string `json:"bucket" tf:"bucket,omitempty"`
// Key of the object to import
// Key of the qcow file in the specified bucket
// +kubebuilder:validation:Optional
Key *string `json:"key" tf:"key,omitempty"`
}
func (*ImportParameters) DeepCopy ¶
func (in *ImportParameters) DeepCopy() *ImportParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportParameters.
func (*ImportParameters) DeepCopyInto ¶
func (in *ImportParameters) DeepCopyInto(out *ImportParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InboundRuleInitParameters ¶
type InboundRuleInitParameters struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule applies to. If no port nor port_range are specified, the rule will apply to all port. Only one of port and port_range should be specified.
// Network port for this rule
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*InboundRuleInitParameters) DeepCopy ¶
func (in *InboundRuleInitParameters) DeepCopy() *InboundRuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundRuleInitParameters.
func (*InboundRuleInitParameters) DeepCopyInto ¶
func (in *InboundRuleInitParameters) DeepCopyInto(out *InboundRuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InboundRuleObservation ¶
type InboundRuleObservation struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule applies to. If no port nor port_range are specified, the rule will apply to all port. Only one of port and port_range should be specified.
// Network port for this rule
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*InboundRuleObservation) DeepCopy ¶
func (in *InboundRuleObservation) DeepCopy() *InboundRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundRuleObservation.
func (*InboundRuleObservation) DeepCopyInto ¶
func (in *InboundRuleObservation) DeepCopyInto(out *InboundRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InboundRuleParameters ¶
type InboundRuleParameters struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
// +kubebuilder:validation:Optional
Action *string `json:"action" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
// +kubebuilder:validation:Optional
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
// +kubebuilder:validation:Optional
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule applies to. If no port nor port_range are specified, the rule will apply to all port. Only one of port and port_range should be specified.
// Network port for this rule
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
// +kubebuilder:validation:Optional
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
// +kubebuilder:validation:Optional
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*InboundRuleParameters) DeepCopy ¶
func (in *InboundRuleParameters) DeepCopy() *InboundRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundRuleParameters.
func (*InboundRuleParameters) DeepCopyInto ¶
func (in *InboundRuleParameters) DeepCopyInto(out *InboundRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutboundRuleInitParameters ¶
type OutboundRuleInitParameters struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule applies to. If no port nor port_range are specified, the rule will apply to all port. Only one of port and port_range should be specified.
// Network port for this rule
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*OutboundRuleInitParameters) DeepCopy ¶
func (in *OutboundRuleInitParameters) DeepCopy() *OutboundRuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundRuleInitParameters.
func (*OutboundRuleInitParameters) DeepCopyInto ¶
func (in *OutboundRuleInitParameters) DeepCopyInto(out *OutboundRuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutboundRuleObservation ¶
type OutboundRuleObservation struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule applies to. If no port nor port_range are specified, the rule will apply to all port. Only one of port and port_range should be specified.
// Network port for this rule
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*OutboundRuleObservation) DeepCopy ¶
func (in *OutboundRuleObservation) DeepCopy() *OutboundRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundRuleObservation.
func (*OutboundRuleObservation) DeepCopyInto ¶
func (in *OutboundRuleObservation) DeepCopyInto(out *OutboundRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutboundRuleParameters ¶
type OutboundRuleParameters struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
// +kubebuilder:validation:Optional
Action *string `json:"action" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
// +kubebuilder:validation:Optional
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
// +kubebuilder:validation:Optional
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule applies to. If no port nor port_range are specified, the rule will apply to all port. Only one of port and port_range should be specified.
// Network port for this rule
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
// +kubebuilder:validation:Optional
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
// +kubebuilder:validation:Optional
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*OutboundRuleParameters) DeepCopy ¶
func (in *OutboundRuleParameters) DeepCopy() *OutboundRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundRuleParameters.
func (*OutboundRuleParameters) DeepCopyInto ¶
func (in *OutboundRuleParameters) DeepCopyInto(out *OutboundRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementGroup ¶
type PlacementGroup struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PlacementGroupSpec `json:"spec"`
Status PlacementGroupStatus `json:"status,omitempty"`
}
PlacementGroup is the Schema for the PlacementGroups API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*PlacementGroup) DeepCopy ¶
func (in *PlacementGroup) DeepCopy() *PlacementGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroup.
func (*PlacementGroup) DeepCopyInto ¶
func (in *PlacementGroup) DeepCopyInto(out *PlacementGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlacementGroup) DeepCopyObject ¶
func (in *PlacementGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PlacementGroup) GetCondition ¶
func (mg *PlacementGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PlacementGroup.
func (*PlacementGroup) GetConnectionDetailsMapping ¶
func (tr *PlacementGroup) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PlacementGroup
func (*PlacementGroup) GetDeletionPolicy ¶
func (mg *PlacementGroup) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PlacementGroup.
func (*PlacementGroup) GetID ¶
func (tr *PlacementGroup) GetID() string
GetID returns ID of underlying Terraform resource of this PlacementGroup
func (*PlacementGroup) GetInitParameters ¶
func (tr *PlacementGroup) GetInitParameters() (map[string]any, error)
GetInitParameters of this PlacementGroup
func (*PlacementGroup) GetManagementPolicies ¶
func (mg *PlacementGroup) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PlacementGroup.
func (*PlacementGroup) GetMergedParameters ¶
func (tr *PlacementGroup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PlacementGroup
func (*PlacementGroup) GetObservation ¶
func (tr *PlacementGroup) GetObservation() (map[string]any, error)
GetObservation of this PlacementGroup
func (*PlacementGroup) GetParameters ¶
func (tr *PlacementGroup) GetParameters() (map[string]any, error)
GetParameters of this PlacementGroup
func (*PlacementGroup) GetProviderConfigReference ¶
func (mg *PlacementGroup) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PlacementGroup.
func (*PlacementGroup) GetPublishConnectionDetailsTo ¶
func (mg *PlacementGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PlacementGroup.
func (*PlacementGroup) GetTerraformResourceType ¶
func (mg *PlacementGroup) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PlacementGroup
func (*PlacementGroup) GetTerraformSchemaVersion ¶
func (tr *PlacementGroup) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PlacementGroup) GetWriteConnectionSecretToReference ¶
func (mg *PlacementGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PlacementGroup.
func (*PlacementGroup) Hub ¶
func (tr *PlacementGroup) Hub()
Hub marks this type as a conversion hub.
func (*PlacementGroup) LateInitialize ¶
func (tr *PlacementGroup) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PlacementGroup using its observed tfState. returns True if there are any spec changes for the resource.
func (*PlacementGroup) SetConditions ¶
func (mg *PlacementGroup) SetConditions(c ...xpv1.Condition)
SetConditions of this PlacementGroup.
func (*PlacementGroup) SetDeletionPolicy ¶
func (mg *PlacementGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PlacementGroup.
func (*PlacementGroup) SetManagementPolicies ¶
func (mg *PlacementGroup) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PlacementGroup.
func (*PlacementGroup) SetObservation ¶
func (tr *PlacementGroup) SetObservation(obs map[string]any) error
SetObservation for this PlacementGroup
func (*PlacementGroup) SetParameters ¶
func (tr *PlacementGroup) SetParameters(params map[string]any) error
SetParameters for this PlacementGroup
func (*PlacementGroup) SetProviderConfigReference ¶
func (mg *PlacementGroup) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PlacementGroup.
func (*PlacementGroup) SetPublishConnectionDetailsTo ¶
func (mg *PlacementGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PlacementGroup.
func (*PlacementGroup) SetWriteConnectionSecretToReference ¶
func (mg *PlacementGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PlacementGroup.
type PlacementGroupInitParameters ¶
type PlacementGroupInitParameters struct {
// The name of the placement group.
// The name of the placement group
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to optional) The policy mode of the placement group. Possible values are: optional or enforced.
// One of the two policy_mode may be selected: enforced or optional.
PolicyMode *string `json:"policyMode,omitempty" tf:"policy_mode,omitempty"`
// (Defaults to max_availability) The policy type of the placement group. Possible values are: low_latency or max_availability.
// The operating mode is selected by a policy_type
PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`
// (Defaults to provider project_id) The ID of the project the placement group is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// A list of tags to apply to the placement group.
// The tags associated with the placement group
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the placement group should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*PlacementGroupInitParameters) DeepCopy ¶
func (in *PlacementGroupInitParameters) DeepCopy() *PlacementGroupInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupInitParameters.
func (*PlacementGroupInitParameters) DeepCopyInto ¶
func (in *PlacementGroupInitParameters) DeepCopyInto(out *PlacementGroupInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementGroupList ¶
type PlacementGroupList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PlacementGroup `json:"items"`
}
PlacementGroupList contains a list of PlacementGroups
func (*PlacementGroupList) DeepCopy ¶
func (in *PlacementGroupList) DeepCopy() *PlacementGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupList.
func (*PlacementGroupList) DeepCopyInto ¶
func (in *PlacementGroupList) DeepCopyInto(out *PlacementGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlacementGroupList) DeepCopyObject ¶
func (in *PlacementGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PlacementGroupList) GetItems ¶
func (l *PlacementGroupList) GetItems() []resource.Managed
GetItems of this PlacementGroupList.
type PlacementGroupObservation ¶
type PlacementGroupObservation struct {
// The ID of the placement group.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The name of the placement group.
// The name of the placement group
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The organization ID the placement group is associated with.
// The organization_id you want to attach the resource to
OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`
// (Defaults to optional) The policy mode of the placement group. Possible values are: optional or enforced.
// One of the two policy_mode may be selected: enforced or optional.
PolicyMode *string `json:"policyMode,omitempty" tf:"policy_mode,omitempty"`
// Is true when the policy is respected.
// Is true when the policy is respected.
PolicyRespected *bool `json:"policyRespected,omitempty" tf:"policy_respected,omitempty"`
// (Defaults to max_availability) The policy type of the placement group. Possible values are: low_latency or max_availability.
// The operating mode is selected by a policy_type
PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`
// (Defaults to provider project_id) The ID of the project the placement group is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// A list of tags to apply to the placement group.
// The tags associated with the placement group
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the placement group should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*PlacementGroupObservation) DeepCopy ¶
func (in *PlacementGroupObservation) DeepCopy() *PlacementGroupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupObservation.
func (*PlacementGroupObservation) DeepCopyInto ¶
func (in *PlacementGroupObservation) DeepCopyInto(out *PlacementGroupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementGroupParameters ¶
type PlacementGroupParameters struct {
// The name of the placement group.
// The name of the placement group
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to optional) The policy mode of the placement group. Possible values are: optional or enforced.
// One of the two policy_mode may be selected: enforced or optional.
// +kubebuilder:validation:Optional
PolicyMode *string `json:"policyMode,omitempty" tf:"policy_mode,omitempty"`
// (Defaults to max_availability) The policy type of the placement group. Possible values are: low_latency or max_availability.
// The operating mode is selected by a policy_type
// +kubebuilder:validation:Optional
PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`
// (Defaults to provider project_id) The ID of the project the placement group is associated with.
// The project_id you want to attach the resource to
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// A list of tags to apply to the placement group.
// The tags associated with the placement group
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the placement group should be created.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*PlacementGroupParameters) DeepCopy ¶
func (in *PlacementGroupParameters) DeepCopy() *PlacementGroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupParameters.
func (*PlacementGroupParameters) DeepCopyInto ¶
func (in *PlacementGroupParameters) DeepCopyInto(out *PlacementGroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementGroupSpec ¶
type PlacementGroupSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider PlacementGroupParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider PlacementGroupInitParameters `json:"initProvider,omitempty"`
}
PlacementGroupSpec defines the desired state of PlacementGroup
func (*PlacementGroupSpec) DeepCopy ¶
func (in *PlacementGroupSpec) DeepCopy() *PlacementGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupSpec.
func (*PlacementGroupSpec) DeepCopyInto ¶
func (in *PlacementGroupSpec) DeepCopyInto(out *PlacementGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementGroupStatus ¶
type PlacementGroupStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider PlacementGroupObservation `json:"atProvider,omitempty"`
}
PlacementGroupStatus defines the observed state of PlacementGroup.
func (*PlacementGroupStatus) DeepCopy ¶
func (in *PlacementGroupStatus) DeepCopy() *PlacementGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupStatus.
func (*PlacementGroupStatus) DeepCopyInto ¶
func (in *PlacementGroupStatus) DeepCopyInto(out *PlacementGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateIpsInitParameters ¶
type PrivateIpsInitParameters struct {
}
func (*PrivateIpsInitParameters) DeepCopy ¶
func (in *PrivateIpsInitParameters) DeepCopy() *PrivateIpsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateIpsInitParameters.
func (*PrivateIpsInitParameters) DeepCopyInto ¶
func (in *PrivateIpsInitParameters) DeepCopyInto(out *PrivateIpsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateIpsObservation ¶
type PrivateIpsObservation struct {
// The private IP address.
Address *string `json:"address,omitempty" tf:"address,omitempty"`
// The ID of the private NIC.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*PrivateIpsObservation) DeepCopy ¶
func (in *PrivateIpsObservation) DeepCopy() *PrivateIpsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateIpsObservation.
func (*PrivateIpsObservation) DeepCopyInto ¶
func (in *PrivateIpsObservation) DeepCopyInto(out *PrivateIpsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateIpsParameters ¶
type PrivateIpsParameters struct {
}
func (*PrivateIpsParameters) DeepCopy ¶
func (in *PrivateIpsParameters) DeepCopy() *PrivateIpsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateIpsParameters.
func (*PrivateIpsParameters) DeepCopyInto ¶
func (in *PrivateIpsParameters) DeepCopyInto(out *PrivateIpsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateNIC ¶
type PrivateNIC struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PrivateNICSpec `json:"spec"`
Status PrivateNICStatus `json:"status,omitempty"`
}
PrivateNIC is the Schema for the PrivateNICs API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*PrivateNIC) DeepCopy ¶
func (in *PrivateNIC) DeepCopy() *PrivateNIC
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNIC.
func (*PrivateNIC) DeepCopyInto ¶
func (in *PrivateNIC) DeepCopyInto(out *PrivateNIC)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrivateNIC) DeepCopyObject ¶
func (in *PrivateNIC) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PrivateNIC) GetCondition ¶
func (mg *PrivateNIC) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PrivateNIC.
func (*PrivateNIC) GetConnectionDetailsMapping ¶
func (tr *PrivateNIC) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PrivateNIC
func (*PrivateNIC) GetDeletionPolicy ¶
func (mg *PrivateNIC) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PrivateNIC.
func (*PrivateNIC) GetID ¶
func (tr *PrivateNIC) GetID() string
GetID returns ID of underlying Terraform resource of this PrivateNIC
func (*PrivateNIC) GetInitParameters ¶
func (tr *PrivateNIC) GetInitParameters() (map[string]any, error)
GetInitParameters of this PrivateNIC
func (*PrivateNIC) GetManagementPolicies ¶
func (mg *PrivateNIC) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PrivateNIC.
func (*PrivateNIC) GetMergedParameters ¶
func (tr *PrivateNIC) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PrivateNIC
func (*PrivateNIC) GetObservation ¶
func (tr *PrivateNIC) GetObservation() (map[string]any, error)
GetObservation of this PrivateNIC
func (*PrivateNIC) GetParameters ¶
func (tr *PrivateNIC) GetParameters() (map[string]any, error)
GetParameters of this PrivateNIC
func (*PrivateNIC) GetProviderConfigReference ¶
func (mg *PrivateNIC) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PrivateNIC.
func (*PrivateNIC) GetPublishConnectionDetailsTo ¶
func (mg *PrivateNIC) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PrivateNIC.
func (*PrivateNIC) GetTerraformResourceType ¶
func (mg *PrivateNIC) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PrivateNIC
func (*PrivateNIC) GetTerraformSchemaVersion ¶
func (tr *PrivateNIC) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PrivateNIC) GetWriteConnectionSecretToReference ¶
func (mg *PrivateNIC) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PrivateNIC.
func (*PrivateNIC) LateInitialize ¶
func (tr *PrivateNIC) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PrivateNIC using its observed tfState. returns True if there are any spec changes for the resource.
func (*PrivateNIC) ResolveReferences ¶
ResolveReferences of this PrivateNIC.
func (*PrivateNIC) SetConditions ¶
func (mg *PrivateNIC) SetConditions(c ...xpv1.Condition)
SetConditions of this PrivateNIC.
func (*PrivateNIC) SetDeletionPolicy ¶
func (mg *PrivateNIC) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PrivateNIC.
func (*PrivateNIC) SetManagementPolicies ¶
func (mg *PrivateNIC) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PrivateNIC.
func (*PrivateNIC) SetObservation ¶
func (tr *PrivateNIC) SetObservation(obs map[string]any) error
SetObservation for this PrivateNIC
func (*PrivateNIC) SetParameters ¶
func (tr *PrivateNIC) SetParameters(params map[string]any) error
SetParameters for this PrivateNIC
func (*PrivateNIC) SetProviderConfigReference ¶
func (mg *PrivateNIC) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PrivateNIC.
func (*PrivateNIC) SetPublishConnectionDetailsTo ¶
func (mg *PrivateNIC) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PrivateNIC.
func (*PrivateNIC) SetWriteConnectionSecretToReference ¶
func (mg *PrivateNIC) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PrivateNIC.
type PrivateNICInitParameters ¶
type PrivateNICInitParameters struct {
// IPAM ip list, should be for internal use only
IPIds []*string `json:"ipIds,omitempty" tf:"ip_ids,omitempty"`
// IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network.
// IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/ipam/v1alpha1.IP
IpamIPIds []*string `json:"ipamIpIds,omitempty" tf:"ipam_ip_ids,omitempty"`
// References to IP in ipam to populate ipamIpIds.
// +kubebuilder:validation:Optional
IpamIPIdsRefs []v1.Reference `json:"ipamIpIdsRefs,omitempty" tf:"-"`
// Selector for a list of IP in ipam to populate ipamIpIds.
// +kubebuilder:validation:Optional
IpamIPIdsSelector *v1.Selector `json:"ipamIpIdsSelector,omitempty" tf:"-"`
// The ID of the private network attached to.
// The private network ID
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/vpc/v1alpha1.PrivateNetwork
PrivateNetworkID *string `json:"privateNetworkId,omitempty" tf:"private_network_id,omitempty"`
// Reference to a PrivateNetwork in vpc to populate privateNetworkId.
// +kubebuilder:validation:Optional
PrivateNetworkIDRef *v1.Reference `json:"privateNetworkIdRef,omitempty" tf:"-"`
// Selector for a PrivateNetwork in vpc to populate privateNetworkId.
// +kubebuilder:validation:Optional
PrivateNetworkIDSelector *v1.Selector `json:"privateNetworkIdSelector,omitempty" tf:"-"`
// The ID of the server associated with.
// The server ID
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.Server
ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`
// Reference to a Server in instance to populate serverId.
// +kubebuilder:validation:Optional
ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"`
// Selector for a Server in instance to populate serverId.
// +kubebuilder:validation:Optional
ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"`
// The tags associated with the private NIC.
// The tags associated with the private-nic
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the server must be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*PrivateNICInitParameters) DeepCopy ¶
func (in *PrivateNICInitParameters) DeepCopy() *PrivateNICInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNICInitParameters.
func (*PrivateNICInitParameters) DeepCopyInto ¶
func (in *PrivateNICInitParameters) DeepCopyInto(out *PrivateNICInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateNICList ¶
type PrivateNICList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PrivateNIC `json:"items"`
}
PrivateNICList contains a list of PrivateNICs
func (*PrivateNICList) DeepCopy ¶
func (in *PrivateNICList) DeepCopy() *PrivateNICList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNICList.
func (*PrivateNICList) DeepCopyInto ¶
func (in *PrivateNICList) DeepCopyInto(out *PrivateNICList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrivateNICList) DeepCopyObject ¶
func (in *PrivateNICList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PrivateNICList) GetItems ¶
func (l *PrivateNICList) GetItems() []resource.Managed
GetItems of this PrivateNICList.
type PrivateNICObservation ¶
type PrivateNICObservation struct {
// The ID of the private NIC.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// IPAM ip list, should be for internal use only
IPIds []*string `json:"ipIds,omitempty" tf:"ip_ids,omitempty"`
// IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network.
// IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network
IpamIPIds []*string `json:"ipamIpIds,omitempty" tf:"ipam_ip_ids,omitempty"`
// The MAC address of the private NIC.
// MAC address of the NIC
MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"`
// The list of private IPv4 and IPv6 addresses associated with the resource.
// List of private IPv4 and IPv6 addresses associated with the resource
PrivateIps []PrivateIpsObservation `json:"privateIps,omitempty" tf:"private_ips,omitempty"`
// The ID of the private network attached to.
// The private network ID
PrivateNetworkID *string `json:"privateNetworkId,omitempty" tf:"private_network_id,omitempty"`
// The ID of the server associated with.
// The server ID
ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`
// The tags associated with the private NIC.
// The tags associated with the private-nic
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the server must be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*PrivateNICObservation) DeepCopy ¶
func (in *PrivateNICObservation) DeepCopy() *PrivateNICObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNICObservation.
func (*PrivateNICObservation) DeepCopyInto ¶
func (in *PrivateNICObservation) DeepCopyInto(out *PrivateNICObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateNICParameters ¶
type PrivateNICParameters struct {
// IPAM ip list, should be for internal use only
// +kubebuilder:validation:Optional
IPIds []*string `json:"ipIds,omitempty" tf:"ip_ids,omitempty"`
// IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network.
// IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/ipam/v1alpha1.IP
// +kubebuilder:validation:Optional
IpamIPIds []*string `json:"ipamIpIds,omitempty" tf:"ipam_ip_ids,omitempty"`
// References to IP in ipam to populate ipamIpIds.
// +kubebuilder:validation:Optional
IpamIPIdsRefs []v1.Reference `json:"ipamIpIdsRefs,omitempty" tf:"-"`
// Selector for a list of IP in ipam to populate ipamIpIds.
// +kubebuilder:validation:Optional
IpamIPIdsSelector *v1.Selector `json:"ipamIpIdsSelector,omitempty" tf:"-"`
// The ID of the private network attached to.
// The private network ID
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/vpc/v1alpha1.PrivateNetwork
// +kubebuilder:validation:Optional
PrivateNetworkID *string `json:"privateNetworkId,omitempty" tf:"private_network_id,omitempty"`
// Reference to a PrivateNetwork in vpc to populate privateNetworkId.
// +kubebuilder:validation:Optional
PrivateNetworkIDRef *v1.Reference `json:"privateNetworkIdRef,omitempty" tf:"-"`
// Selector for a PrivateNetwork in vpc to populate privateNetworkId.
// +kubebuilder:validation:Optional
PrivateNetworkIDSelector *v1.Selector `json:"privateNetworkIdSelector,omitempty" tf:"-"`
// The ID of the server associated with.
// The server ID
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.Server
// +kubebuilder:validation:Optional
ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`
// Reference to a Server in instance to populate serverId.
// +kubebuilder:validation:Optional
ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"`
// Selector for a Server in instance to populate serverId.
// +kubebuilder:validation:Optional
ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"`
// The tags associated with the private NIC.
// The tags associated with the private-nic
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the server must be created.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*PrivateNICParameters) DeepCopy ¶
func (in *PrivateNICParameters) DeepCopy() *PrivateNICParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNICParameters.
func (*PrivateNICParameters) DeepCopyInto ¶
func (in *PrivateNICParameters) DeepCopyInto(out *PrivateNICParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateNICSpec ¶
type PrivateNICSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider PrivateNICParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider PrivateNICInitParameters `json:"initProvider,omitempty"`
}
PrivateNICSpec defines the desired state of PrivateNIC
func (*PrivateNICSpec) DeepCopy ¶
func (in *PrivateNICSpec) DeepCopy() *PrivateNICSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNICSpec.
func (*PrivateNICSpec) DeepCopyInto ¶
func (in *PrivateNICSpec) DeepCopyInto(out *PrivateNICSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateNICStatus ¶
type PrivateNICStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider PrivateNICObservation `json:"atProvider,omitempty"`
}
PrivateNICStatus defines the observed state of PrivateNIC.
func (*PrivateNICStatus) DeepCopy ¶
func (in *PrivateNICStatus) DeepCopy() *PrivateNICStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNICStatus.
func (*PrivateNICStatus) DeepCopyInto ¶
func (in *PrivateNICStatus) DeepCopyInto(out *PrivateNICStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateNetworkInitParameters ¶
type PrivateNetworkInitParameters struct {
// The private network ID where to connect.
// The Private Network ID
PnID *string `json:"pnId,omitempty" tf:"pn_id,omitempty"`
// (Defaults to provider zone) The zone in which the server should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*PrivateNetworkInitParameters) DeepCopy ¶
func (in *PrivateNetworkInitParameters) DeepCopy() *PrivateNetworkInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNetworkInitParameters.
func (*PrivateNetworkInitParameters) DeepCopyInto ¶
func (in *PrivateNetworkInitParameters) DeepCopyInto(out *PrivateNetworkInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateNetworkObservation ¶
type PrivateNetworkObservation struct {
// The private NIC MAC address.
// MAC address of the NIC
MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"`
// The private network ID where to connect.
// The Private Network ID
PnID *string `json:"pnId,omitempty" tf:"pn_id,omitempty"`
// The ID of the IP address resource.
// The ID of the NIC
PnicID *string `json:"pnicId,omitempty" tf:"pnic_id,omitempty"`
// The private NIC state.
// The private NIC state
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// (Defaults to provider zone) The zone in which the server should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*PrivateNetworkObservation) DeepCopy ¶
func (in *PrivateNetworkObservation) DeepCopy() *PrivateNetworkObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNetworkObservation.
func (*PrivateNetworkObservation) DeepCopyInto ¶
func (in *PrivateNetworkObservation) DeepCopyInto(out *PrivateNetworkObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateNetworkParameters ¶
type PrivateNetworkParameters struct {
// The private network ID where to connect.
// The Private Network ID
// +kubebuilder:validation:Optional
PnID *string `json:"pnId" tf:"pn_id,omitempty"`
// (Defaults to provider zone) The zone in which the server should be created.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*PrivateNetworkParameters) DeepCopy ¶
func (in *PrivateNetworkParameters) DeepCopy() *PrivateNetworkParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateNetworkParameters.
func (*PrivateNetworkParameters) DeepCopyInto ¶
func (in *PrivateNetworkParameters) DeepCopyInto(out *PrivateNetworkParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicIpsInitParameters ¶
type PublicIpsInitParameters struct {
}
func (*PublicIpsInitParameters) DeepCopy ¶
func (in *PublicIpsInitParameters) DeepCopy() *PublicIpsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIpsInitParameters.
func (*PublicIpsInitParameters) DeepCopyInto ¶
func (in *PublicIpsInitParameters) DeepCopyInto(out *PublicIpsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicIpsObservation ¶
type PublicIpsObservation struct {
// The private IP address.
// IP Address
Address *string `json:"address,omitempty" tf:"address,omitempty"`
// The ID of the IP address resource.
// ID of the IP
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*PublicIpsObservation) DeepCopy ¶
func (in *PublicIpsObservation) DeepCopy() *PublicIpsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIpsObservation.
func (*PublicIpsObservation) DeepCopyInto ¶
func (in *PublicIpsObservation) DeepCopyInto(out *PublicIpsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicIpsParameters ¶
type PublicIpsParameters struct {
}
func (*PublicIpsParameters) DeepCopy ¶
func (in *PublicIpsParameters) DeepCopy() *PublicIpsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIpsParameters.
func (*PublicIpsParameters) DeepCopyInto ¶
func (in *PublicIpsParameters) DeepCopyInto(out *PublicIpsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RootVolumeInitParameters ¶
type RootVolumeInitParameters struct {
// Set the volume where the boot the server
Boot *bool `json:"boot,omitempty" tf:"boot,omitempty"`
// (Defaults to true) Forces deletion of the root volume on instance termination.
// Force deletion of the root volume on instanceSDK termination
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// Choose IOPS of your sbs volume, has to be used with sbs_volume for root volume type.
// SBS Volume IOPS, only with volume_type as sbs_volume
SbsIops *float64 `json:"sbsIops,omitempty" tf:"sbs_iops,omitempty"`
// Size of the root volume in gigabytes.
// To find the right size use this endpoint and
// check the volumes_constraint.{min|max}_size (in bytes) for your commercial_type.
// Depending on volume_type, updates to this field may recreate a new resource.
// Size of the root volume in gigabytes
SizeInGb *float64 `json:"sizeInGb,omitempty" tf:"size_in_gb,omitempty"`
// The volume ID of the root volume of the server, allows you to create server with an existing volume. If empty, will be computed to a created volume ID.
// Volume ID of the root volume
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
// Volume type of root volume, can be b_ssd, l_ssd or sbs_volume, default value depends on server type
// Volume type of the root volume
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
func (*RootVolumeInitParameters) DeepCopy ¶
func (in *RootVolumeInitParameters) DeepCopy() *RootVolumeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootVolumeInitParameters.
func (*RootVolumeInitParameters) DeepCopyInto ¶
func (in *RootVolumeInitParameters) DeepCopyInto(out *RootVolumeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RootVolumeObservation ¶
type RootVolumeObservation struct {
// Set the volume where the boot the server
Boot *bool `json:"boot,omitempty" tf:"boot,omitempty"`
// (Defaults to true) Forces deletion of the root volume on instance termination.
// Force deletion of the root volume on instanceSDK termination
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// The name of the server.
// Name of the root volume
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// Choose IOPS of your sbs volume, has to be used with sbs_volume for root volume type.
// SBS Volume IOPS, only with volume_type as sbs_volume
SbsIops *float64 `json:"sbsIops,omitempty" tf:"sbs_iops,omitempty"`
// Size of the root volume in gigabytes.
// To find the right size use this endpoint and
// check the volumes_constraint.{min|max}_size (in bytes) for your commercial_type.
// Depending on volume_type, updates to this field may recreate a new resource.
// Size of the root volume in gigabytes
SizeInGb *float64 `json:"sizeInGb,omitempty" tf:"size_in_gb,omitempty"`
// The volume ID of the root volume of the server, allows you to create server with an existing volume. If empty, will be computed to a created volume ID.
// Volume ID of the root volume
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
// Volume type of root volume, can be b_ssd, l_ssd or sbs_volume, default value depends on server type
// Volume type of the root volume
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
func (*RootVolumeObservation) DeepCopy ¶
func (in *RootVolumeObservation) DeepCopy() *RootVolumeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootVolumeObservation.
func (*RootVolumeObservation) DeepCopyInto ¶
func (in *RootVolumeObservation) DeepCopyInto(out *RootVolumeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RootVolumeParameters ¶
type RootVolumeParameters struct {
// Set the volume where the boot the server
// +kubebuilder:validation:Optional
Boot *bool `json:"boot,omitempty" tf:"boot,omitempty"`
// (Defaults to true) Forces deletion of the root volume on instance termination.
// Force deletion of the root volume on instanceSDK termination
// +kubebuilder:validation:Optional
DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination,omitempty"`
// Choose IOPS of your sbs volume, has to be used with sbs_volume for root volume type.
// SBS Volume IOPS, only with volume_type as sbs_volume
// +kubebuilder:validation:Optional
SbsIops *float64 `json:"sbsIops,omitempty" tf:"sbs_iops,omitempty"`
// Size of the root volume in gigabytes.
// To find the right size use this endpoint and
// check the volumes_constraint.{min|max}_size (in bytes) for your commercial_type.
// Depending on volume_type, updates to this field may recreate a new resource.
// Size of the root volume in gigabytes
// +kubebuilder:validation:Optional
SizeInGb *float64 `json:"sizeInGb,omitempty" tf:"size_in_gb,omitempty"`
// The volume ID of the root volume of the server, allows you to create server with an existing volume. If empty, will be computed to a created volume ID.
// Volume ID of the root volume
// +kubebuilder:validation:Optional
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
// Volume type of root volume, can be b_ssd, l_ssd or sbs_volume, default value depends on server type
// Volume type of the root volume
// +kubebuilder:validation:Optional
VolumeType *string `json:"volumeType,omitempty" tf:"volume_type,omitempty"`
}
func (*RootVolumeParameters) DeepCopy ¶
func (in *RootVolumeParameters) DeepCopy() *RootVolumeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootVolumeParameters.
func (*RootVolumeParameters) DeepCopyInto ¶
func (in *RootVolumeParameters) DeepCopyInto(out *RootVolumeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroup ¶
type SecurityGroup struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec SecurityGroupSpec `json:"spec"`
Status SecurityGroupStatus `json:"status,omitempty"`
}
SecurityGroup is the Schema for the SecurityGroups API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*SecurityGroup) DeepCopy ¶
func (in *SecurityGroup) DeepCopy() *SecurityGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup.
func (*SecurityGroup) DeepCopyInto ¶
func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityGroup) DeepCopyObject ¶
func (in *SecurityGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecurityGroup) GetCondition ¶
func (mg *SecurityGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SecurityGroup.
func (*SecurityGroup) GetConnectionDetailsMapping ¶
func (tr *SecurityGroup) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SecurityGroup
func (*SecurityGroup) GetDeletionPolicy ¶
func (mg *SecurityGroup) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SecurityGroup.
func (*SecurityGroup) GetID ¶
func (tr *SecurityGroup) GetID() string
GetID returns ID of underlying Terraform resource of this SecurityGroup
func (*SecurityGroup) GetInitParameters ¶
func (tr *SecurityGroup) GetInitParameters() (map[string]any, error)
GetInitParameters of this SecurityGroup
func (*SecurityGroup) GetManagementPolicies ¶
func (mg *SecurityGroup) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SecurityGroup.
func (*SecurityGroup) GetMergedParameters ¶
func (tr *SecurityGroup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this SecurityGroup
func (*SecurityGroup) GetObservation ¶
func (tr *SecurityGroup) GetObservation() (map[string]any, error)
GetObservation of this SecurityGroup
func (*SecurityGroup) GetParameters ¶
func (tr *SecurityGroup) GetParameters() (map[string]any, error)
GetParameters of this SecurityGroup
func (*SecurityGroup) GetProviderConfigReference ¶
func (mg *SecurityGroup) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SecurityGroup.
func (*SecurityGroup) GetPublishConnectionDetailsTo ¶
func (mg *SecurityGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SecurityGroup.
func (*SecurityGroup) GetTerraformResourceType ¶
func (mg *SecurityGroup) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SecurityGroup
func (*SecurityGroup) GetTerraformSchemaVersion ¶
func (tr *SecurityGroup) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SecurityGroup) GetWriteConnectionSecretToReference ¶
func (mg *SecurityGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SecurityGroup.
func (*SecurityGroup) LateInitialize ¶
func (tr *SecurityGroup) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SecurityGroup using its observed tfState. returns True if there are any spec changes for the resource.
func (*SecurityGroup) SetConditions ¶
func (mg *SecurityGroup) SetConditions(c ...xpv1.Condition)
SetConditions of this SecurityGroup.
func (*SecurityGroup) SetDeletionPolicy ¶
func (mg *SecurityGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SecurityGroup.
func (*SecurityGroup) SetManagementPolicies ¶
func (mg *SecurityGroup) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SecurityGroup.
func (*SecurityGroup) SetObservation ¶
func (tr *SecurityGroup) SetObservation(obs map[string]any) error
SetObservation for this SecurityGroup
func (*SecurityGroup) SetParameters ¶
func (tr *SecurityGroup) SetParameters(params map[string]any) error
SetParameters for this SecurityGroup
func (*SecurityGroup) SetProviderConfigReference ¶
func (mg *SecurityGroup) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SecurityGroup.
func (*SecurityGroup) SetPublishConnectionDetailsTo ¶
func (mg *SecurityGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SecurityGroup.
func (*SecurityGroup) SetWriteConnectionSecretToReference ¶
func (mg *SecurityGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SecurityGroup.
type SecurityGroupInitParameters ¶
type SecurityGroupInitParameters struct {
// The description of the security group.
// The description of the security group
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Whether to block SMTP on IPv4/IPv6 (Port 25, 465, 587). Set to false will unblock SMTP if your account is authorized to. If your organization is not yet authorized to send SMTP traffic, open a support ticket.
// Enable blocking of SMTP on IPv4 and IPv6
EnableDefaultSecurity *bool `json:"enableDefaultSecurity,omitempty" tf:"enable_default_security,omitempty"`
// (Defaults to false) A boolean to specify whether to use instance_security_group_rules.
// If external_rules is set to true, inbound_rule and outbound_rule can not be set directly in the security group.
ExternalRules *bool `json:"externalRules,omitempty" tf:"external_rules,omitempty"`
// (Defaults to accept) The default policy on incoming traffic. Possible values are: accept or drop.
// Default inbound traffic policy for this security group
InboundDefaultPolicy *string `json:"inboundDefaultPolicy,omitempty" tf:"inbound_default_policy,omitempty"`
// A list of inbound rule to add to the security group. (Structure is documented below.)
// Inbound rules for this security group
InboundRule []InboundRuleInitParameters `json:"inboundRule,omitempty" tf:"inbound_rule,omitempty"`
// The name of the security group.
// The name of the security group
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to accept) The default policy on outgoing traffic. Possible values are: accept or drop.
// Default outbound traffic policy for this security group
OutboundDefaultPolicy *string `json:"outboundDefaultPolicy,omitempty" tf:"outbound_default_policy,omitempty"`
// A list of outbound rule to add to the security group. (Structure is documented below.)
// Outbound rules for this security group
OutboundRule []OutboundRuleInitParameters `json:"outboundRule,omitempty" tf:"outbound_rule,omitempty"`
// (Defaults to provider project_id) The ID of the project the security group is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// (Defaults to true) A boolean to specify whether the security group should be stateful or not.
// The stateful value of the security group
Stateful *bool `json:"stateful,omitempty" tf:"stateful,omitempty"`
// The tags of the security group.
// The tags associated with the security group
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the security group should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*SecurityGroupInitParameters) DeepCopy ¶
func (in *SecurityGroupInitParameters) DeepCopy() *SecurityGroupInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupInitParameters.
func (*SecurityGroupInitParameters) DeepCopyInto ¶
func (in *SecurityGroupInitParameters) DeepCopyInto(out *SecurityGroupInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupList ¶
type SecurityGroupList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []SecurityGroup `json:"items"`
}
SecurityGroupList contains a list of SecurityGroups
func (*SecurityGroupList) DeepCopy ¶
func (in *SecurityGroupList) DeepCopy() *SecurityGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupList.
func (*SecurityGroupList) DeepCopyInto ¶
func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityGroupList) DeepCopyObject ¶
func (in *SecurityGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecurityGroupList) GetItems ¶
func (l *SecurityGroupList) GetItems() []resource.Managed
GetItems of this SecurityGroupList.
type SecurityGroupObservation ¶
type SecurityGroupObservation struct {
// The description of the security group.
// The description of the security group
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Whether to block SMTP on IPv4/IPv6 (Port 25, 465, 587). Set to false will unblock SMTP if your account is authorized to. If your organization is not yet authorized to send SMTP traffic, open a support ticket.
// Enable blocking of SMTP on IPv4 and IPv6
EnableDefaultSecurity *bool `json:"enableDefaultSecurity,omitempty" tf:"enable_default_security,omitempty"`
// (Defaults to false) A boolean to specify whether to use instance_security_group_rules.
// If external_rules is set to true, inbound_rule and outbound_rule can not be set directly in the security group.
ExternalRules *bool `json:"externalRules,omitempty" tf:"external_rules,omitempty"`
// The ID of the security group.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// (Defaults to accept) The default policy on incoming traffic. Possible values are: accept or drop.
// Default inbound traffic policy for this security group
InboundDefaultPolicy *string `json:"inboundDefaultPolicy,omitempty" tf:"inbound_default_policy,omitempty"`
// A list of inbound rule to add to the security group. (Structure is documented below.)
// Inbound rules for this security group
InboundRule []InboundRuleObservation `json:"inboundRule,omitempty" tf:"inbound_rule,omitempty"`
// The name of the security group.
// The name of the security group
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The organization ID the security group is associated with.
// The organization_id you want to attach the resource to
OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`
// (Defaults to accept) The default policy on outgoing traffic. Possible values are: accept or drop.
// Default outbound traffic policy for this security group
OutboundDefaultPolicy *string `json:"outboundDefaultPolicy,omitempty" tf:"outbound_default_policy,omitempty"`
// A list of outbound rule to add to the security group. (Structure is documented below.)
// Outbound rules for this security group
OutboundRule []OutboundRuleObservation `json:"outboundRule,omitempty" tf:"outbound_rule,omitempty"`
// (Defaults to provider project_id) The ID of the project the security group is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// (Defaults to true) A boolean to specify whether the security group should be stateful or not.
// The stateful value of the security group
Stateful *bool `json:"stateful,omitempty" tf:"stateful,omitempty"`
// The tags of the security group.
// The tags associated with the security group
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the security group should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*SecurityGroupObservation) DeepCopy ¶
func (in *SecurityGroupObservation) DeepCopy() *SecurityGroupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupObservation.
func (*SecurityGroupObservation) DeepCopyInto ¶
func (in *SecurityGroupObservation) DeepCopyInto(out *SecurityGroupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupParameters ¶
type SecurityGroupParameters struct {
// The description of the security group.
// The description of the security group
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Whether to block SMTP on IPv4/IPv6 (Port 25, 465, 587). Set to false will unblock SMTP if your account is authorized to. If your organization is not yet authorized to send SMTP traffic, open a support ticket.
// Enable blocking of SMTP on IPv4 and IPv6
// +kubebuilder:validation:Optional
EnableDefaultSecurity *bool `json:"enableDefaultSecurity,omitempty" tf:"enable_default_security,omitempty"`
// (Defaults to false) A boolean to specify whether to use instance_security_group_rules.
// If external_rules is set to true, inbound_rule and outbound_rule can not be set directly in the security group.
// +kubebuilder:validation:Optional
ExternalRules *bool `json:"externalRules,omitempty" tf:"external_rules,omitempty"`
// (Defaults to accept) The default policy on incoming traffic. Possible values are: accept or drop.
// Default inbound traffic policy for this security group
// +kubebuilder:validation:Optional
InboundDefaultPolicy *string `json:"inboundDefaultPolicy,omitempty" tf:"inbound_default_policy,omitempty"`
// A list of inbound rule to add to the security group. (Structure is documented below.)
// Inbound rules for this security group
// +kubebuilder:validation:Optional
InboundRule []InboundRuleParameters `json:"inboundRule,omitempty" tf:"inbound_rule,omitempty"`
// The name of the security group.
// The name of the security group
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to accept) The default policy on outgoing traffic. Possible values are: accept or drop.
// Default outbound traffic policy for this security group
// +kubebuilder:validation:Optional
OutboundDefaultPolicy *string `json:"outboundDefaultPolicy,omitempty" tf:"outbound_default_policy,omitempty"`
// A list of outbound rule to add to the security group. (Structure is documented below.)
// Outbound rules for this security group
// +kubebuilder:validation:Optional
OutboundRule []OutboundRuleParameters `json:"outboundRule,omitempty" tf:"outbound_rule,omitempty"`
// (Defaults to provider project_id) The ID of the project the security group is associated with.
// The project_id you want to attach the resource to
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// (Defaults to true) A boolean to specify whether the security group should be stateful or not.
// The stateful value of the security group
// +kubebuilder:validation:Optional
Stateful *bool `json:"stateful,omitempty" tf:"stateful,omitempty"`
// The tags of the security group.
// The tags associated with the security group
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// (Defaults to provider zone) The zone in which the security group should be created.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*SecurityGroupParameters) DeepCopy ¶
func (in *SecurityGroupParameters) DeepCopy() *SecurityGroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupParameters.
func (*SecurityGroupParameters) DeepCopyInto ¶
func (in *SecurityGroupParameters) DeepCopyInto(out *SecurityGroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRule ¶
type SecurityGroupRule struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec SecurityGroupRuleSpec `json:"spec"`
Status SecurityGroupRuleStatus `json:"status,omitempty"`
}
SecurityGroupRule is the Schema for the SecurityGroupRules API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*SecurityGroupRule) DeepCopy ¶
func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRule.
func (*SecurityGroupRule) DeepCopyInto ¶
func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityGroupRule) DeepCopyObject ¶
func (in *SecurityGroupRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecurityGroupRule) GetCondition ¶
func (mg *SecurityGroupRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SecurityGroupRule.
func (*SecurityGroupRule) GetConnectionDetailsMapping ¶
func (tr *SecurityGroupRule) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SecurityGroupRule
func (*SecurityGroupRule) GetDeletionPolicy ¶
func (mg *SecurityGroupRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SecurityGroupRule.
func (*SecurityGroupRule) GetID ¶
func (tr *SecurityGroupRule) GetID() string
GetID returns ID of underlying Terraform resource of this SecurityGroupRule
func (*SecurityGroupRule) GetInitParameters ¶
func (tr *SecurityGroupRule) GetInitParameters() (map[string]any, error)
GetInitParameters of this SecurityGroupRule
func (*SecurityGroupRule) GetManagementPolicies ¶
func (mg *SecurityGroupRule) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SecurityGroupRule.
func (*SecurityGroupRule) GetMergedParameters ¶
func (tr *SecurityGroupRule) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this SecurityGroupRule
func (*SecurityGroupRule) GetObservation ¶
func (tr *SecurityGroupRule) GetObservation() (map[string]any, error)
GetObservation of this SecurityGroupRule
func (*SecurityGroupRule) GetParameters ¶
func (tr *SecurityGroupRule) GetParameters() (map[string]any, error)
GetParameters of this SecurityGroupRule
func (*SecurityGroupRule) GetProviderConfigReference ¶
func (mg *SecurityGroupRule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SecurityGroupRule.
func (*SecurityGroupRule) GetPublishConnectionDetailsTo ¶
func (mg *SecurityGroupRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SecurityGroupRule.
func (*SecurityGroupRule) GetTerraformResourceType ¶
func (mg *SecurityGroupRule) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SecurityGroupRule
func (*SecurityGroupRule) GetTerraformSchemaVersion ¶
func (tr *SecurityGroupRule) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SecurityGroupRule) GetWriteConnectionSecretToReference ¶
func (mg *SecurityGroupRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SecurityGroupRule.
func (*SecurityGroupRule) Hub ¶
func (tr *SecurityGroupRule) Hub()
Hub marks this type as a conversion hub.
func (*SecurityGroupRule) LateInitialize ¶
func (tr *SecurityGroupRule) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SecurityGroupRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*SecurityGroupRule) ResolveReferences ¶
ResolveReferences of this SecurityGroupRule.
func (*SecurityGroupRule) SetConditions ¶
func (mg *SecurityGroupRule) SetConditions(c ...xpv1.Condition)
SetConditions of this SecurityGroupRule.
func (*SecurityGroupRule) SetDeletionPolicy ¶
func (mg *SecurityGroupRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SecurityGroupRule.
func (*SecurityGroupRule) SetManagementPolicies ¶
func (mg *SecurityGroupRule) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SecurityGroupRule.
func (*SecurityGroupRule) SetObservation ¶
func (tr *SecurityGroupRule) SetObservation(obs map[string]any) error
SetObservation for this SecurityGroupRule
func (*SecurityGroupRule) SetParameters ¶
func (tr *SecurityGroupRule) SetParameters(params map[string]any) error
SetParameters for this SecurityGroupRule
func (*SecurityGroupRule) SetProviderConfigReference ¶
func (mg *SecurityGroupRule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SecurityGroupRule.
func (*SecurityGroupRule) SetPublishConnectionDetailsTo ¶
func (mg *SecurityGroupRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SecurityGroupRule.
func (*SecurityGroupRule) SetWriteConnectionSecretToReference ¶
func (mg *SecurityGroupRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SecurityGroupRule.
type SecurityGroupRuleInboundRuleInitParameters ¶
type SecurityGroupRuleInboundRuleInitParameters struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule apply to. If no port is specified, rule will apply to all port.
// Network port for this rule
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*SecurityGroupRuleInboundRuleInitParameters) DeepCopy ¶
func (in *SecurityGroupRuleInboundRuleInitParameters) DeepCopy() *SecurityGroupRuleInboundRuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleInboundRuleInitParameters.
func (*SecurityGroupRuleInboundRuleInitParameters) DeepCopyInto ¶
func (in *SecurityGroupRuleInboundRuleInitParameters) DeepCopyInto(out *SecurityGroupRuleInboundRuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleInboundRuleObservation ¶
type SecurityGroupRuleInboundRuleObservation struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule apply to. If no port is specified, rule will apply to all port.
// Network port for this rule
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*SecurityGroupRuleInboundRuleObservation) DeepCopy ¶
func (in *SecurityGroupRuleInboundRuleObservation) DeepCopy() *SecurityGroupRuleInboundRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleInboundRuleObservation.
func (*SecurityGroupRuleInboundRuleObservation) DeepCopyInto ¶
func (in *SecurityGroupRuleInboundRuleObservation) DeepCopyInto(out *SecurityGroupRuleInboundRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleInboundRuleParameters ¶
type SecurityGroupRuleInboundRuleParameters struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
// +kubebuilder:validation:Optional
Action *string `json:"action" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
// +kubebuilder:validation:Optional
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
// +kubebuilder:validation:Optional
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule apply to. If no port is specified, rule will apply to all port.
// Network port for this rule
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
// +kubebuilder:validation:Optional
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
// +kubebuilder:validation:Optional
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*SecurityGroupRuleInboundRuleParameters) DeepCopy ¶
func (in *SecurityGroupRuleInboundRuleParameters) DeepCopy() *SecurityGroupRuleInboundRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleInboundRuleParameters.
func (*SecurityGroupRuleInboundRuleParameters) DeepCopyInto ¶
func (in *SecurityGroupRuleInboundRuleParameters) DeepCopyInto(out *SecurityGroupRuleInboundRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleInitParameters ¶
type SecurityGroupRuleInitParameters struct {
// A list of inbound rule to add to the security group. (Structure is documented below.)
// Inbound rules for this set of security group rules
InboundRule []SecurityGroupRuleInboundRuleInitParameters `json:"inboundRule,omitempty" tf:"inbound_rule,omitempty"`
// A list of outbound rule to add to the security group. (Structure is documented below.)
// Outbound rules for this set of security group rules
OutboundRule []SecurityGroupRuleOutboundRuleInitParameters `json:"outboundRule,omitempty" tf:"outbound_rule,omitempty"`
// The ID of the security group.
// The security group associated with this volume
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.SecurityGroup
SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`
// Reference to a SecurityGroup in instance to populate securityGroupId.
// +kubebuilder:validation:Optional
SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`
// Selector for a SecurityGroup in instance to populate securityGroupId.
// +kubebuilder:validation:Optional
SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`
}
func (*SecurityGroupRuleInitParameters) DeepCopy ¶
func (in *SecurityGroupRuleInitParameters) DeepCopy() *SecurityGroupRuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleInitParameters.
func (*SecurityGroupRuleInitParameters) DeepCopyInto ¶
func (in *SecurityGroupRuleInitParameters) DeepCopyInto(out *SecurityGroupRuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleList ¶
type SecurityGroupRuleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []SecurityGroupRule `json:"items"`
}
SecurityGroupRuleList contains a list of SecurityGroupRules
func (*SecurityGroupRuleList) DeepCopy ¶
func (in *SecurityGroupRuleList) DeepCopy() *SecurityGroupRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleList.
func (*SecurityGroupRuleList) DeepCopyInto ¶
func (in *SecurityGroupRuleList) DeepCopyInto(out *SecurityGroupRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityGroupRuleList) DeepCopyObject ¶
func (in *SecurityGroupRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecurityGroupRuleList) GetItems ¶
func (l *SecurityGroupRuleList) GetItems() []resource.Managed
GetItems of this SecurityGroupRuleList.
type SecurityGroupRuleObservation ¶
type SecurityGroupRuleObservation struct {
// The ID of the security group.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A list of inbound rule to add to the security group. (Structure is documented below.)
// Inbound rules for this set of security group rules
InboundRule []SecurityGroupRuleInboundRuleObservation `json:"inboundRule,omitempty" tf:"inbound_rule,omitempty"`
// A list of outbound rule to add to the security group. (Structure is documented below.)
// Outbound rules for this set of security group rules
OutboundRule []SecurityGroupRuleOutboundRuleObservation `json:"outboundRule,omitempty" tf:"outbound_rule,omitempty"`
// The ID of the security group.
// The security group associated with this volume
SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`
}
func (*SecurityGroupRuleObservation) DeepCopy ¶
func (in *SecurityGroupRuleObservation) DeepCopy() *SecurityGroupRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleObservation.
func (*SecurityGroupRuleObservation) DeepCopyInto ¶
func (in *SecurityGroupRuleObservation) DeepCopyInto(out *SecurityGroupRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleOutboundRuleInitParameters ¶
type SecurityGroupRuleOutboundRuleInitParameters struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule apply to. If no port is specified, rule will apply to all port.
// Network port for this rule
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*SecurityGroupRuleOutboundRuleInitParameters) DeepCopy ¶
func (in *SecurityGroupRuleOutboundRuleInitParameters) DeepCopy() *SecurityGroupRuleOutboundRuleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleOutboundRuleInitParameters.
func (*SecurityGroupRuleOutboundRuleInitParameters) DeepCopyInto ¶
func (in *SecurityGroupRuleOutboundRuleInitParameters) DeepCopyInto(out *SecurityGroupRuleOutboundRuleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleOutboundRuleObservation ¶
type SecurityGroupRuleOutboundRuleObservation struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule apply to. If no port is specified, rule will apply to all port.
// Network port for this rule
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*SecurityGroupRuleOutboundRuleObservation) DeepCopy ¶
func (in *SecurityGroupRuleOutboundRuleObservation) DeepCopy() *SecurityGroupRuleOutboundRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleOutboundRuleObservation.
func (*SecurityGroupRuleOutboundRuleObservation) DeepCopyInto ¶
func (in *SecurityGroupRuleOutboundRuleObservation) DeepCopyInto(out *SecurityGroupRuleOutboundRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleOutboundRuleParameters ¶
type SecurityGroupRuleOutboundRuleParameters struct {
// The action to take when rule match. Possible values are: accept or drop.
// Action when rule match request (drop or accept)
// +kubebuilder:validation:Optional
Action *string `json:"action" tf:"action,omitempty"`
// The ip this rule apply to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip address for this rule (e.g: 1.1.1.1). Only one of ip or ip_range should be provided
// +kubebuilder:validation:Optional
IP *string `json:"ip,omitempty" tf:"ip,omitempty"`
// The ip range (e.g 192.168.1.0/24) this rule applies to. If no ip nor ip_range are specified, rule will apply to all ip. Only one of ip and ip_range should be specified.
// Ip range for this rule (e.g: 192.168.1.0/24). Only one of ip or ip_range should be provided
// +kubebuilder:validation:Optional
IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`
// The port this rule apply to. If no port is specified, rule will apply to all port.
// Network port for this rule
// +kubebuilder:validation:Optional
Port *float64 `json:"port,omitempty" tf:"port,omitempty"`
// 13.0 The port range (e.g 22-23) this rule applies to.
// If no port nor port_range are specified, rule will apply to all port.
// Only one of port and port_range should be specified.
// Computed port range for this rule (e.g: 1-1024, 22-22)
// +kubebuilder:validation:Optional
PortRange *string `json:"portRange,omitempty" tf:"port_range,omitempty"`
// (Defaults to TCP) The protocol this rule apply to. Possible values are: TCP, UDP, ICMP or ANY.
// Protocol for this rule (TCP, UDP, ICMP or ANY)
// +kubebuilder:validation:Optional
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*SecurityGroupRuleOutboundRuleParameters) DeepCopy ¶
func (in *SecurityGroupRuleOutboundRuleParameters) DeepCopy() *SecurityGroupRuleOutboundRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleOutboundRuleParameters.
func (*SecurityGroupRuleOutboundRuleParameters) DeepCopyInto ¶
func (in *SecurityGroupRuleOutboundRuleParameters) DeepCopyInto(out *SecurityGroupRuleOutboundRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleParameters ¶
type SecurityGroupRuleParameters struct {
// A list of inbound rule to add to the security group. (Structure is documented below.)
// Inbound rules for this set of security group rules
// +kubebuilder:validation:Optional
InboundRule []SecurityGroupRuleInboundRuleParameters `json:"inboundRule,omitempty" tf:"inbound_rule,omitempty"`
// A list of outbound rule to add to the security group. (Structure is documented below.)
// Outbound rules for this set of security group rules
// +kubebuilder:validation:Optional
OutboundRule []SecurityGroupRuleOutboundRuleParameters `json:"outboundRule,omitempty" tf:"outbound_rule,omitempty"`
// The ID of the security group.
// The security group associated with this volume
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.SecurityGroup
// +kubebuilder:validation:Optional
SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`
// Reference to a SecurityGroup in instance to populate securityGroupId.
// +kubebuilder:validation:Optional
SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`
// Selector for a SecurityGroup in instance to populate securityGroupId.
// +kubebuilder:validation:Optional
SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`
}
func (*SecurityGroupRuleParameters) DeepCopy ¶
func (in *SecurityGroupRuleParameters) DeepCopy() *SecurityGroupRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleParameters.
func (*SecurityGroupRuleParameters) DeepCopyInto ¶
func (in *SecurityGroupRuleParameters) DeepCopyInto(out *SecurityGroupRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleSpec ¶
type SecurityGroupRuleSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider SecurityGroupRuleParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider SecurityGroupRuleInitParameters `json:"initProvider,omitempty"`
}
SecurityGroupRuleSpec defines the desired state of SecurityGroupRule
func (*SecurityGroupRuleSpec) DeepCopy ¶
func (in *SecurityGroupRuleSpec) DeepCopy() *SecurityGroupRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleSpec.
func (*SecurityGroupRuleSpec) DeepCopyInto ¶
func (in *SecurityGroupRuleSpec) DeepCopyInto(out *SecurityGroupRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleStatus ¶
type SecurityGroupRuleStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider SecurityGroupRuleObservation `json:"atProvider,omitempty"`
}
SecurityGroupRuleStatus defines the observed state of SecurityGroupRule.
func (*SecurityGroupRuleStatus) DeepCopy ¶
func (in *SecurityGroupRuleStatus) DeepCopy() *SecurityGroupRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleStatus.
func (*SecurityGroupRuleStatus) DeepCopyInto ¶
func (in *SecurityGroupRuleStatus) DeepCopyInto(out *SecurityGroupRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupSpec ¶
type SecurityGroupSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider SecurityGroupParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider SecurityGroupInitParameters `json:"initProvider,omitempty"`
}
SecurityGroupSpec defines the desired state of SecurityGroup
func (*SecurityGroupSpec) DeepCopy ¶
func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupSpec.
func (*SecurityGroupSpec) DeepCopyInto ¶
func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupStatus ¶
type SecurityGroupStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider SecurityGroupObservation `json:"atProvider,omitempty"`
}
SecurityGroupStatus defines the observed state of SecurityGroup.
func (*SecurityGroupStatus) DeepCopy ¶
func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupStatus.
func (*SecurityGroupStatus) DeepCopyInto ¶
func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Server ¶
type Server struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
Spec ServerSpec `json:"spec"`
Status ServerStatus `json:"status,omitempty"`
}
Server is the Schema for the Servers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*Server) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
func (*Server) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Server) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Server) GetCondition ¶
func (mg *Server) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Server.
func (*Server) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Server
func (*Server) GetDeletionPolicy ¶
func (mg *Server) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Server.
func (*Server) GetInitParameters ¶
GetInitParameters of this Server
func (*Server) GetManagementPolicies ¶
func (mg *Server) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Server.
func (*Server) GetMergedParameters ¶
GetInitParameters of this Server
func (*Server) GetObservation ¶
GetObservation of this Server
func (*Server) GetParameters ¶
GetParameters of this Server
func (*Server) GetProviderConfigReference ¶
GetProviderConfigReference of this Server.
func (*Server) GetPublishConnectionDetailsTo ¶
func (mg *Server) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Server.
func (*Server) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Server
func (*Server) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Server) GetWriteConnectionSecretToReference ¶
func (mg *Server) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Server.
func (*Server) LateInitialize ¶
LateInitialize this Server using its observed tfState. returns True if there are any spec changes for the resource.
func (*Server) ResolveReferences ¶
ResolveReferences of this Server.
func (*Server) SetConditions ¶
SetConditions of this Server.
func (*Server) SetDeletionPolicy ¶
func (mg *Server) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Server.
func (*Server) SetManagementPolicies ¶
func (mg *Server) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Server.
func (*Server) SetObservation ¶
SetObservation for this Server
func (*Server) SetParameters ¶
SetParameters for this Server
func (*Server) SetProviderConfigReference ¶
SetProviderConfigReference of this Server.
func (*Server) SetPublishConnectionDetailsTo ¶
func (mg *Server) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Server.
func (*Server) SetWriteConnectionSecretToReference ¶
func (mg *Server) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Server.
type ServerInitParameters ¶
type ServerInitParameters struct {
// The additional volumes
// attached to the server. Updates to this field will trigger a stop/start of the server.
// The additional volumes attached to the server
AdditionalVolumeIds []*string `json:"additionalVolumeIds,omitempty" tf:"additional_volume_ids,omitempty"`
// The boot Type of the server. Possible values are: local, bootscript or rescue.
// The boot type of the server
BootType *string `json:"bootType,omitempty" tf:"boot_type,omitempty"`
// The ID of the IP address resource.
// ID of the target bootscript (set boot_type to bootscript)
BootscriptID *string `json:"bootscriptId,omitempty" tf:"bootscript_id,omitempty"`
// The cloud init script associated with this server
CloudInit *string `json:"cloudInit,omitempty" tf:"cloud_init,omitempty"`
// (Defaults to false) If true a dynamic IP will be attached to the server.
// Enable dynamic IP on the server
EnableDynamicIP *bool `json:"enableDynamicIp,omitempty" tf:"enable_dynamic_ip,omitempty"`
// (Defaults to false) Determines if IPv6 is enabled for the server.
// Deprecated: Please use a scaleway_instance_ip with a routed_ipv6 type.
// Determines if IPv6 is enabled for the server
EnableIPv6 *bool `json:"enableIpv6,omitempty" tf:"enable_ipv6,omitempty"`
// The ID of the reserved IP that is attached to the server.
// The ID of the reserved IP for the server
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.IP
IPID *string `json:"ipId,omitempty" tf:"ip_id,omitempty"`
// Reference to a IP in instance to populate ipId.
// +kubebuilder:validation:Optional
IPIDRef *v1.Reference `json:"ipIdRef,omitempty" tf:"-"`
// Selector for a IP in instance to populate ipId.
// +kubebuilder:validation:Optional
IPIDSelector *v1.Selector `json:"ipIdSelector,omitempty" tf:"-"`
// List of ID of reserved IPs that are attached to the server. Cannot be used with ip_id.
IPIds []*string `json:"ipIds,omitempty" tf:"ip_ids,omitempty"`
// The UUID or the label of the base image used by the server. You can use this endpoint
// to find either the right label or the right local image ID for a given type. Optional when creating an instance with an existing root volume.
// The UUID or the label of the base image used by the server
Image *string `json:"image,omitempty" tf:"image,omitempty"`
// The name of the server.
// The name of the server
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
// The placement group the server is attached to
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.PlacementGroup
PlacementGroupID *string `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`
// Reference to a PlacementGroup in instance to populate placementGroupId.
// +kubebuilder:validation:Optional
PlacementGroupIDRef *v1.Reference `json:"placementGroupIdRef,omitempty" tf:"-"`
// Selector for a PlacementGroup in instance to populate placementGroupId.
// +kubebuilder:validation:Optional
PlacementGroupIDSelector *v1.Selector `json:"placementGroupIdSelector,omitempty" tf:"-"`
// The private network associated with the server.
// Use the pn_id key to attach a private_network on your instance.
// List of private network to connect with your instanceSDK
PrivateNetwork []PrivateNetworkInitParameters `json:"privateNetwork,omitempty" tf:"private_network,omitempty"`
// (Defaults to provider project_id) The ID of the project the server is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Set to true to activate server protection option.
// If true, the instance is protected against accidental deletion via the Scaleway API.
Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`
// The list of public IPs of the server.
// List of public IPs attached to your instanceSDK
PublicIps []PublicIpsInitParameters `json:"publicIps,omitempty" tf:"public_ips,omitempty"`
// (Defaults to false) If true, the server will be replaced if type is changed. Otherwise, the server will migrate.
// Delete and re-create server if type change
ReplaceOnTypeChange *bool `json:"replaceOnTypeChange,omitempty" tf:"replace_on_type_change,omitempty"`
// Root volume attached to the server on creation.
// Root volume attached to the server on creation
RootVolume []RootVolumeInitParameters `json:"rootVolume,omitempty" tf:"root_volume,omitempty"`
// The security group the server is attached to.
// The security group the server is attached to
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.SecurityGroup
SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`
// Reference to a SecurityGroup in instance to populate securityGroupId.
// +kubebuilder:validation:Optional
SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`
// Selector for a SecurityGroup in instance to populate securityGroupId.
// +kubebuilder:validation:Optional
SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`
// (Defaults to started) The state of the server. Possible values are: started, stopped or standby.
// The state of the server should be: started, stopped, standby
State *string `json:"state,omitempty" tf:"state,omitempty"`
// The tags associated with the server.
// The tags associated with the server
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The commercial type of the server.
// You find all the available types on the pricing page.
// Updates to this field will migrate the server, local storage constraint must be respected. More info.
// Use replace_on_type_change to trigger replacement instead of migration.
// The instanceSDK type of the server
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The user data associated with the server.
// Use the cloud-init key to use cloud-init on your instance.
// You can define values using:
// The user data associated with the server
// +mapType=granular
UserData map[string]*string `json:"userData,omitempty" tf:"user_data,omitempty"`
// (Defaults to provider zone) The zone in which the server should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*ServerInitParameters) DeepCopy ¶
func (in *ServerInitParameters) DeepCopy() *ServerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerInitParameters.
func (*ServerInitParameters) DeepCopyInto ¶
func (in *ServerInitParameters) DeepCopyInto(out *ServerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerList ¶
type ServerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Server `json:"items"`
}
ServerList contains a list of Servers
func (*ServerList) DeepCopy ¶
func (in *ServerList) DeepCopy() *ServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList.
func (*ServerList) DeepCopyInto ¶
func (in *ServerList) DeepCopyInto(out *ServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerList) DeepCopyObject ¶
func (in *ServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServerList) GetItems ¶
func (l *ServerList) GetItems() []resource.Managed
GetItems of this ServerList.
type ServerObservation ¶
type ServerObservation struct {
// The additional volumes
// attached to the server. Updates to this field will trigger a stop/start of the server.
// The additional volumes attached to the server
AdditionalVolumeIds []*string `json:"additionalVolumeIds,omitempty" tf:"additional_volume_ids,omitempty"`
// The boot Type of the server. Possible values are: local, bootscript or rescue.
// The boot type of the server
BootType *string `json:"bootType,omitempty" tf:"boot_type,omitempty"`
// The ID of the IP address resource.
// ID of the target bootscript (set boot_type to bootscript)
BootscriptID *string `json:"bootscriptId,omitempty" tf:"bootscript_id,omitempty"`
// The cloud init script associated with this server
CloudInit *string `json:"cloudInit,omitempty" tf:"cloud_init,omitempty"`
// (Defaults to false) If true a dynamic IP will be attached to the server.
// Enable dynamic IP on the server
EnableDynamicIP *bool `json:"enableDynamicIp,omitempty" tf:"enable_dynamic_ip,omitempty"`
// (Defaults to false) Determines if IPv6 is enabled for the server.
// Deprecated: Please use a scaleway_instance_ip with a routed_ipv6 type.
// Determines if IPv6 is enabled for the server
EnableIPv6 *bool `json:"enableIpv6,omitempty" tf:"enable_ipv6,omitempty"`
// The ID of the IP address resource.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// The ID of the reserved IP that is attached to the server.
// The ID of the reserved IP for the server
IPID *string `json:"ipId,omitempty" tf:"ip_id,omitempty"`
// List of ID of reserved IPs that are attached to the server. Cannot be used with ip_id.
IPIds []*string `json:"ipIds,omitempty" tf:"ip_ids,omitempty"`
// The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
// Deprecated: Please use a scaleway_instance_ip with a routed_ipv6 type.
// The default public IPv6 address routed to the server.
IPv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address,omitempty"`
// The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
// Deprecated: Please use a scaleway_instance_ip with a routed_ipv6 type.
// The IPv6 gateway address
IPv6Gateway *string `json:"ipv6Gateway,omitempty" tf:"ipv6_gateway,omitempty"`
// The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
// Deprecated: Please use a scaleway_instance_ip with a routed_ipv6 type.
// The IPv6 prefix length routed to the server.
IPv6PrefixLength *float64 `json:"ipv6PrefixLength,omitempty" tf:"ipv6_prefix_length,omitempty"`
// The UUID or the label of the base image used by the server. You can use this endpoint
// to find either the right label or the right local image ID for a given type. Optional when creating an instance with an existing root volume.
// The UUID or the label of the base image used by the server
Image *string `json:"image,omitempty" tf:"image,omitempty"`
// The name of the server.
// The name of the server
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The organization ID the server is associated with.
// The organization_id you want to attach the resource to
OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`
// The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
// The placement group the server is attached to
PlacementGroupID *string `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`
// (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
// True when the placement group policy is respected
PlacementGroupPolicyRespected *bool `json:"placementGroupPolicyRespected,omitempty" tf:"placement_group_policy_respected,omitempty"`
// The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
// The Scaleway internal IP address of the server
PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"`
// The list of private IPv4 and IPv6 addresses associated with the resource.
// List of private IPv4 addresses associated with the resource
PrivateIps []ServerPrivateIpsObservation `json:"privateIps,omitempty" tf:"private_ips,omitempty"`
// The private network associated with the server.
// Use the pn_id key to attach a private_network on your instance.
// List of private network to connect with your instanceSDK
PrivateNetwork []PrivateNetworkObservation `json:"privateNetwork,omitempty" tf:"private_network,omitempty"`
// (Defaults to provider project_id) The ID of the project the server is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Set to true to activate server protection option.
// If true, the instance is protected against accidental deletion via the Scaleway API.
Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`
// The public IP address of the server (Deprecated use public_ips instead).
// The public IPv4 address of the server
PublicIP *string `json:"publicIp,omitempty" tf:"public_ip,omitempty"`
// The list of public IPs of the server.
// List of public IPs attached to your instanceSDK
PublicIps []PublicIpsObservation `json:"publicIps,omitempty" tf:"public_ips,omitempty"`
// (Defaults to false) If true, the server will be replaced if type is changed. Otherwise, the server will migrate.
// Delete and re-create server if type change
ReplaceOnTypeChange *bool `json:"replaceOnTypeChange,omitempty" tf:"replace_on_type_change,omitempty"`
// Root volume attached to the server on creation.
// Root volume attached to the server on creation
RootVolume []RootVolumeObservation `json:"rootVolume,omitempty" tf:"root_volume,omitempty"`
// The security group the server is attached to.
// The security group the server is attached to
SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`
// (Defaults to started) The state of the server. Possible values are: started, stopped or standby.
// The state of the server should be: started, stopped, standby
State *string `json:"state,omitempty" tf:"state,omitempty"`
// The tags associated with the server.
// The tags associated with the server
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The commercial type of the server.
// You find all the available types on the pricing page.
// Updates to this field will migrate the server, local storage constraint must be respected. More info.
// Use replace_on_type_change to trigger replacement instead of migration.
// The instanceSDK type of the server
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The user data associated with the server.
// Use the cloud-init key to use cloud-init on your instance.
// You can define values using:
// The user data associated with the server
// +mapType=granular
UserData map[string]*string `json:"userData,omitempty" tf:"user_data,omitempty"`
// (Defaults to provider zone) The zone in which the server should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*ServerObservation) DeepCopy ¶
func (in *ServerObservation) DeepCopy() *ServerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerObservation.
func (*ServerObservation) DeepCopyInto ¶
func (in *ServerObservation) DeepCopyInto(out *ServerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerParameters ¶
type ServerParameters struct {
// The additional volumes
// attached to the server. Updates to this field will trigger a stop/start of the server.
// The additional volumes attached to the server
// +kubebuilder:validation:Optional
AdditionalVolumeIds []*string `json:"additionalVolumeIds,omitempty" tf:"additional_volume_ids,omitempty"`
// The boot Type of the server. Possible values are: local, bootscript or rescue.
// The boot type of the server
// +kubebuilder:validation:Optional
BootType *string `json:"bootType,omitempty" tf:"boot_type,omitempty"`
// The ID of the IP address resource.
// ID of the target bootscript (set boot_type to bootscript)
// +kubebuilder:validation:Optional
BootscriptID *string `json:"bootscriptId,omitempty" tf:"bootscript_id,omitempty"`
// The cloud init script associated with this server
// +kubebuilder:validation:Optional
CloudInit *string `json:"cloudInit,omitempty" tf:"cloud_init,omitempty"`
// (Defaults to false) If true a dynamic IP will be attached to the server.
// Enable dynamic IP on the server
// +kubebuilder:validation:Optional
EnableDynamicIP *bool `json:"enableDynamicIp,omitempty" tf:"enable_dynamic_ip,omitempty"`
// (Defaults to false) Determines if IPv6 is enabled for the server.
// Deprecated: Please use a scaleway_instance_ip with a routed_ipv6 type.
// Determines if IPv6 is enabled for the server
// +kubebuilder:validation:Optional
EnableIPv6 *bool `json:"enableIpv6,omitempty" tf:"enable_ipv6,omitempty"`
// The ID of the reserved IP that is attached to the server.
// The ID of the reserved IP for the server
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.IP
// +kubebuilder:validation:Optional
IPID *string `json:"ipId,omitempty" tf:"ip_id,omitempty"`
// Reference to a IP in instance to populate ipId.
// +kubebuilder:validation:Optional
IPIDRef *v1.Reference `json:"ipIdRef,omitempty" tf:"-"`
// Selector for a IP in instance to populate ipId.
// +kubebuilder:validation:Optional
IPIDSelector *v1.Selector `json:"ipIdSelector,omitempty" tf:"-"`
// List of ID of reserved IPs that are attached to the server. Cannot be used with ip_id.
// +kubebuilder:validation:Optional
IPIds []*string `json:"ipIds,omitempty" tf:"ip_ids,omitempty"`
// The UUID or the label of the base image used by the server. You can use this endpoint
// to find either the right label or the right local image ID for a given type. Optional when creating an instance with an existing root volume.
// The UUID or the label of the base image used by the server
// +kubebuilder:validation:Optional
Image *string `json:"image,omitempty" tf:"image,omitempty"`
// The name of the server.
// The name of the server
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
// The placement group the server is attached to
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.PlacementGroup
// +kubebuilder:validation:Optional
PlacementGroupID *string `json:"placementGroupId,omitempty" tf:"placement_group_id,omitempty"`
// Reference to a PlacementGroup in instance to populate placementGroupId.
// +kubebuilder:validation:Optional
PlacementGroupIDRef *v1.Reference `json:"placementGroupIdRef,omitempty" tf:"-"`
// Selector for a PlacementGroup in instance to populate placementGroupId.
// +kubebuilder:validation:Optional
PlacementGroupIDSelector *v1.Selector `json:"placementGroupIdSelector,omitempty" tf:"-"`
// The private network associated with the server.
// Use the pn_id key to attach a private_network on your instance.
// List of private network to connect with your instanceSDK
// +kubebuilder:validation:Optional
PrivateNetwork []PrivateNetworkParameters `json:"privateNetwork,omitempty" tf:"private_network,omitempty"`
// (Defaults to provider project_id) The ID of the project the server is associated with.
// The project_id you want to attach the resource to
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// Set to true to activate server protection option.
// If true, the instance is protected against accidental deletion via the Scaleway API.
// +kubebuilder:validation:Optional
Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`
// The list of public IPs of the server.
// List of public IPs attached to your instanceSDK
// +kubebuilder:validation:Optional
PublicIps []PublicIpsParameters `json:"publicIps,omitempty" tf:"public_ips,omitempty"`
// (Defaults to false) If true, the server will be replaced if type is changed. Otherwise, the server will migrate.
// Delete and re-create server if type change
// +kubebuilder:validation:Optional
ReplaceOnTypeChange *bool `json:"replaceOnTypeChange,omitempty" tf:"replace_on_type_change,omitempty"`
// Root volume attached to the server on creation.
// Root volume attached to the server on creation
// +kubebuilder:validation:Optional
RootVolume []RootVolumeParameters `json:"rootVolume,omitempty" tf:"root_volume,omitempty"`
// The security group the server is attached to.
// The security group the server is attached to
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.SecurityGroup
// +kubebuilder:validation:Optional
SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`
// Reference to a SecurityGroup in instance to populate securityGroupId.
// +kubebuilder:validation:Optional
SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`
// Selector for a SecurityGroup in instance to populate securityGroupId.
// +kubebuilder:validation:Optional
SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`
// (Defaults to started) The state of the server. Possible values are: started, stopped or standby.
// The state of the server should be: started, stopped, standby
// +kubebuilder:validation:Optional
State *string `json:"state,omitempty" tf:"state,omitempty"`
// The tags associated with the server.
// The tags associated with the server
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The commercial type of the server.
// You find all the available types on the pricing page.
// Updates to this field will migrate the server, local storage constraint must be respected. More info.
// Use replace_on_type_change to trigger replacement instead of migration.
// The instanceSDK type of the server
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The user data associated with the server.
// Use the cloud-init key to use cloud-init on your instance.
// You can define values using:
// The user data associated with the server
// +kubebuilder:validation:Optional
// +mapType=granular
UserData map[string]*string `json:"userData,omitempty" tf:"user_data,omitempty"`
// (Defaults to provider zone) The zone in which the server should be created.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*ServerParameters) DeepCopy ¶
func (in *ServerParameters) DeepCopy() *ServerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerParameters.
func (*ServerParameters) DeepCopyInto ¶
func (in *ServerParameters) DeepCopyInto(out *ServerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerPrivateIpsInitParameters ¶
type ServerPrivateIpsInitParameters struct {
}
func (*ServerPrivateIpsInitParameters) DeepCopy ¶
func (in *ServerPrivateIpsInitParameters) DeepCopy() *ServerPrivateIpsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerPrivateIpsInitParameters.
func (*ServerPrivateIpsInitParameters) DeepCopyInto ¶
func (in *ServerPrivateIpsInitParameters) DeepCopyInto(out *ServerPrivateIpsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerPrivateIpsObservation ¶
type ServerPrivateIpsObservation struct {
// The private IP address.
Address *string `json:"address,omitempty" tf:"address,omitempty"`
// The ID of the IP address resource.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*ServerPrivateIpsObservation) DeepCopy ¶
func (in *ServerPrivateIpsObservation) DeepCopy() *ServerPrivateIpsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerPrivateIpsObservation.
func (*ServerPrivateIpsObservation) DeepCopyInto ¶
func (in *ServerPrivateIpsObservation) DeepCopyInto(out *ServerPrivateIpsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerPrivateIpsParameters ¶
type ServerPrivateIpsParameters struct {
}
func (*ServerPrivateIpsParameters) DeepCopy ¶
func (in *ServerPrivateIpsParameters) DeepCopy() *ServerPrivateIpsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerPrivateIpsParameters.
func (*ServerPrivateIpsParameters) DeepCopyInto ¶
func (in *ServerPrivateIpsParameters) DeepCopyInto(out *ServerPrivateIpsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerSpec ¶
type ServerSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider ServerParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider ServerInitParameters `json:"initProvider,omitempty"`
}
ServerSpec defines the desired state of Server
func (*ServerSpec) DeepCopy ¶
func (in *ServerSpec) DeepCopy() *ServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec.
func (*ServerSpec) DeepCopyInto ¶
func (in *ServerSpec) DeepCopyInto(out *ServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerStatus ¶
type ServerStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider ServerObservation `json:"atProvider,omitempty"`
}
ServerStatus defines the observed state of Server.
func (*ServerStatus) DeepCopy ¶
func (in *ServerStatus) DeepCopy() *ServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus.
func (*ServerStatus) DeepCopyInto ¶
func (in *ServerStatus) DeepCopyInto(out *ServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Snapshot ¶
type Snapshot struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec SnapshotSpec `json:"spec"`
Status SnapshotStatus `json:"status,omitempty"`
}
Snapshot is the Schema for the Snapshots API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*Snapshot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.
func (*Snapshot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Snapshot) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Snapshot) GetCondition ¶
func (mg *Snapshot) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Snapshot.
func (*Snapshot) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Snapshot
func (*Snapshot) GetDeletionPolicy ¶
func (mg *Snapshot) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Snapshot.
func (*Snapshot) GetInitParameters ¶
GetInitParameters of this Snapshot
func (*Snapshot) GetManagementPolicies ¶
func (mg *Snapshot) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Snapshot.
func (*Snapshot) GetMergedParameters ¶
GetInitParameters of this Snapshot
func (*Snapshot) GetObservation ¶
GetObservation of this Snapshot
func (*Snapshot) GetParameters ¶
GetParameters of this Snapshot
func (*Snapshot) GetProviderConfigReference ¶
GetProviderConfigReference of this Snapshot.
func (*Snapshot) GetPublishConnectionDetailsTo ¶
func (mg *Snapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Snapshot.
func (*Snapshot) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Snapshot
func (*Snapshot) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Snapshot) GetWriteConnectionSecretToReference ¶
func (mg *Snapshot) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Snapshot.
func (*Snapshot) LateInitialize ¶
LateInitialize this Snapshot using its observed tfState. returns True if there are any spec changes for the resource.
func (*Snapshot) ResolveReferences ¶
ResolveReferences of this Snapshot.
func (*Snapshot) SetConditions ¶
SetConditions of this Snapshot.
func (*Snapshot) SetDeletionPolicy ¶
func (mg *Snapshot) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Snapshot.
func (*Snapshot) SetManagementPolicies ¶
func (mg *Snapshot) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Snapshot.
func (*Snapshot) SetObservation ¶
SetObservation for this Snapshot
func (*Snapshot) SetParameters ¶
SetParameters for this Snapshot
func (*Snapshot) SetProviderConfigReference ¶
SetProviderConfigReference of this Snapshot.
func (*Snapshot) SetPublishConnectionDetailsTo ¶
func (mg *Snapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Snapshot.
func (*Snapshot) SetWriteConnectionSecretToReference ¶
func (mg *Snapshot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Snapshot.
type SnapshotInitParameters ¶
type SnapshotInitParameters struct {
// Import a snapshot from a qcow2 file located in a bucket
// Import snapshot from a qcow
Import []ImportInitParameters `json:"import,omitempty" tf:"import,omitempty"`
// The name of the snapshot. If not provided it will be randomly generated.
// The name of the snapshot
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to provider project_id) The ID of the project the snapshot is
// associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// A list of tags to apply to the snapshot.
// The tags associated with the snapshot
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The snapshot's volume type. The possible values are: b_ssd (Block SSD), l_ssd (Local SSD) and unified.
// Updates to this field will recreate a new resource.
// The snapshot's volume type
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The ID of the volume to take a snapshot from.
// ID of the volume to take a snapshot from
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.Volume
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
// Reference to a Volume in instance to populate volumeId.
// +kubebuilder:validation:Optional
VolumeIDRef *v1.Reference `json:"volumeIdRef,omitempty" tf:"-"`
// Selector for a Volume in instance to populate volumeId.
// +kubebuilder:validation:Optional
VolumeIDSelector *v1.Selector `json:"volumeIdSelector,omitempty" tf:"-"`
// (Defaults to provider zone) The zone in which
// the snapshot should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*SnapshotInitParameters) DeepCopy ¶
func (in *SnapshotInitParameters) DeepCopy() *SnapshotInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotInitParameters.
func (*SnapshotInitParameters) DeepCopyInto ¶
func (in *SnapshotInitParameters) DeepCopyInto(out *SnapshotInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotList ¶
type SnapshotList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Snapshot `json:"items"`
}
SnapshotList contains a list of Snapshots
func (*SnapshotList) DeepCopy ¶
func (in *SnapshotList) DeepCopy() *SnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotList.
func (*SnapshotList) DeepCopyInto ¶
func (in *SnapshotList) DeepCopyInto(out *SnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotList) DeepCopyObject ¶
func (in *SnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SnapshotList) GetItems ¶
func (l *SnapshotList) GetItems() []resource.Managed
GetItems of this SnapshotList.
type SnapshotObservation ¶
type SnapshotObservation struct {
// The snapshot creation time.
// The date and time of the creation of the snapshot
CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`
// The ID of the snapshot.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Import a snapshot from a qcow2 file located in a bucket
// Import snapshot from a qcow
Import []ImportObservation `json:"import,omitempty" tf:"import,omitempty"`
// The name of the snapshot. If not provided it will be randomly generated.
// The name of the snapshot
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The organization ID the snapshot is associated with.
// The organization_id you want to attach the resource to
OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`
// (Defaults to provider project_id) The ID of the project the snapshot is
// associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// The size of the snapshot.
// The size of the snapshot in gigabyte
SizeInGb *float64 `json:"sizeInGb,omitempty" tf:"size_in_gb,omitempty"`
// A list of tags to apply to the snapshot.
// The tags associated with the snapshot
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The snapshot's volume type. The possible values are: b_ssd (Block SSD), l_ssd (Local SSD) and unified.
// Updates to this field will recreate a new resource.
// The snapshot's volume type
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The ID of the volume to take a snapshot from.
// ID of the volume to take a snapshot from
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
// (Defaults to provider zone) The zone in which
// the snapshot should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*SnapshotObservation) DeepCopy ¶
func (in *SnapshotObservation) DeepCopy() *SnapshotObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotObservation.
func (*SnapshotObservation) DeepCopyInto ¶
func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotParameters ¶
type SnapshotParameters struct {
// Import a snapshot from a qcow2 file located in a bucket
// Import snapshot from a qcow
// +kubebuilder:validation:Optional
Import []ImportParameters `json:"import,omitempty" tf:"import,omitempty"`
// The name of the snapshot. If not provided it will be randomly generated.
// The name of the snapshot
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to provider project_id) The ID of the project the snapshot is
// associated with.
// The project_id you want to attach the resource to
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// A list of tags to apply to the snapshot.
// The tags associated with the snapshot
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The snapshot's volume type. The possible values are: b_ssd (Block SSD), l_ssd (Local SSD) and unified.
// Updates to this field will recreate a new resource.
// The snapshot's volume type
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The ID of the volume to take a snapshot from.
// ID of the volume to take a snapshot from
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.Volume
// +kubebuilder:validation:Optional
VolumeID *string `json:"volumeId,omitempty" tf:"volume_id,omitempty"`
// Reference to a Volume in instance to populate volumeId.
// +kubebuilder:validation:Optional
VolumeIDRef *v1.Reference `json:"volumeIdRef,omitempty" tf:"-"`
// Selector for a Volume in instance to populate volumeId.
// +kubebuilder:validation:Optional
VolumeIDSelector *v1.Selector `json:"volumeIdSelector,omitempty" tf:"-"`
// (Defaults to provider zone) The zone in which
// the snapshot should be created.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*SnapshotParameters) DeepCopy ¶
func (in *SnapshotParameters) DeepCopy() *SnapshotParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotParameters.
func (*SnapshotParameters) DeepCopyInto ¶
func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotSpec ¶
type SnapshotSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider SnapshotParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider SnapshotInitParameters `json:"initProvider,omitempty"`
}
SnapshotSpec defines the desired state of Snapshot
func (*SnapshotSpec) DeepCopy ¶
func (in *SnapshotSpec) DeepCopy() *SnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpec.
func (*SnapshotSpec) DeepCopyInto ¶
func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotStatus ¶
type SnapshotStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider SnapshotObservation `json:"atProvider,omitempty"`
}
SnapshotStatus defines the observed state of Snapshot.
func (*SnapshotStatus) DeepCopy ¶
func (in *SnapshotStatus) DeepCopy() *SnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStatus.
func (*SnapshotStatus) DeepCopyInto ¶
func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserData ¶
type UserData struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter"
Spec UserDataSpec `json:"spec"`
Status UserDataStatus `json:"status,omitempty"`
}
UserData is the Schema for the UserDatas API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*UserData) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserData.
func (*UserData) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserData) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UserData) GetCondition ¶
func (mg *UserData) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this UserData.
func (*UserData) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this UserData
func (*UserData) GetDeletionPolicy ¶
func (mg *UserData) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this UserData.
func (*UserData) GetInitParameters ¶
GetInitParameters of this UserData
func (*UserData) GetManagementPolicies ¶
func (mg *UserData) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this UserData.
func (*UserData) GetMergedParameters ¶
GetInitParameters of this UserData
func (*UserData) GetObservation ¶
GetObservation of this UserData
func (*UserData) GetParameters ¶
GetParameters of this UserData
func (*UserData) GetProviderConfigReference ¶
GetProviderConfigReference of this UserData.
func (*UserData) GetPublishConnectionDetailsTo ¶
func (mg *UserData) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this UserData.
func (*UserData) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this UserData
func (*UserData) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*UserData) GetWriteConnectionSecretToReference ¶
func (mg *UserData) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this UserData.
func (*UserData) LateInitialize ¶
LateInitialize this UserData using its observed tfState. returns True if there are any spec changes for the resource.
func (*UserData) ResolveReferences ¶
ResolveReferences of this UserData.
func (*UserData) SetConditions ¶
SetConditions of this UserData.
func (*UserData) SetDeletionPolicy ¶
func (mg *UserData) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this UserData.
func (*UserData) SetManagementPolicies ¶
func (mg *UserData) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this UserData.
func (*UserData) SetObservation ¶
SetObservation for this UserData
func (*UserData) SetParameters ¶
SetParameters for this UserData
func (*UserData) SetProviderConfigReference ¶
SetProviderConfigReference of this UserData.
func (*UserData) SetPublishConnectionDetailsTo ¶
func (mg *UserData) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this UserData.
func (*UserData) SetWriteConnectionSecretToReference ¶
func (mg *UserData) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this UserData.
type UserDataInitParameters ¶
type UserDataInitParameters struct {
// Key of the user data.
// The key of the user data to set.
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// The ID of the server associated with.
// The ID of the server
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.Server
ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`
// Reference to a Server in instance to populate serverId.
// +kubebuilder:validation:Optional
ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"`
// Selector for a Server in instance to populate serverId.
// +kubebuilder:validation:Optional
ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"`
// Value associated with your key
// The value of the user data to set.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
// (Defaults to provider zone) The zone in which the server should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*UserDataInitParameters) DeepCopy ¶
func (in *UserDataInitParameters) DeepCopy() *UserDataInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDataInitParameters.
func (*UserDataInitParameters) DeepCopyInto ¶
func (in *UserDataInitParameters) DeepCopyInto(out *UserDataInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserDataList ¶
type UserDataList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []UserData `json:"items"`
}
UserDataList contains a list of UserDatas
func (*UserDataList) DeepCopy ¶
func (in *UserDataList) DeepCopy() *UserDataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDataList.
func (*UserDataList) DeepCopyInto ¶
func (in *UserDataList) DeepCopyInto(out *UserDataList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserDataList) DeepCopyObject ¶
func (in *UserDataList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UserDataList) GetItems ¶
func (l *UserDataList) GetItems() []resource.Managed
GetItems of this UserDataList.
type UserDataObservation ¶
type UserDataObservation struct {
// The ID of the instance's user data.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// Key of the user data.
// The key of the user data to set.
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// The ID of the server associated with.
// The ID of the server
ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`
// Value associated with your key
// The value of the user data to set.
Value *string `json:"value,omitempty" tf:"value,omitempty"`
// (Defaults to provider zone) The zone in which the server should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*UserDataObservation) DeepCopy ¶
func (in *UserDataObservation) DeepCopy() *UserDataObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDataObservation.
func (*UserDataObservation) DeepCopyInto ¶
func (in *UserDataObservation) DeepCopyInto(out *UserDataObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserDataParameters ¶
type UserDataParameters struct {
// Key of the user data.
// The key of the user data to set.
// +kubebuilder:validation:Optional
Key *string `json:"key,omitempty" tf:"key,omitempty"`
// The ID of the server associated with.
// The ID of the server
// +crossplane:generate:reference:type=github.com/scaleway/crossplane-provider-scaleway/apis/instance/v1alpha1.Server
// +kubebuilder:validation:Optional
ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`
// Reference to a Server in instance to populate serverId.
// +kubebuilder:validation:Optional
ServerIDRef *v1.Reference `json:"serverIdRef,omitempty" tf:"-"`
// Selector for a Server in instance to populate serverId.
// +kubebuilder:validation:Optional
ServerIDSelector *v1.Selector `json:"serverIdSelector,omitempty" tf:"-"`
// Value associated with your key
// The value of the user data to set.
// +kubebuilder:validation:Optional
Value *string `json:"value,omitempty" tf:"value,omitempty"`
// (Defaults to provider zone) The zone in which the server should be created.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*UserDataParameters) DeepCopy ¶
func (in *UserDataParameters) DeepCopy() *UserDataParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDataParameters.
func (*UserDataParameters) DeepCopyInto ¶
func (in *UserDataParameters) DeepCopyInto(out *UserDataParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserDataSpec ¶
type UserDataSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider UserDataParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider UserDataInitParameters `json:"initProvider,omitempty"`
}
UserDataSpec defines the desired state of UserData
func (*UserDataSpec) DeepCopy ¶
func (in *UserDataSpec) DeepCopy() *UserDataSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDataSpec.
func (*UserDataSpec) DeepCopyInto ¶
func (in *UserDataSpec) DeepCopyInto(out *UserDataSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserDataStatus ¶
type UserDataStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider UserDataObservation `json:"atProvider,omitempty"`
}
UserDataStatus defines the observed state of UserData.
func (*UserDataStatus) DeepCopy ¶
func (in *UserDataStatus) DeepCopy() *UserDataStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDataStatus.
func (*UserDataStatus) DeepCopyInto ¶
func (in *UserDataStatus) DeepCopyInto(out *UserDataStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Volume ¶
type Volume struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
Spec VolumeSpec `json:"spec"`
Status VolumeStatus `json:"status,omitempty"`
}
Volume is the Schema for the Volumes API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,scaleway}
func (*Volume) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Volume) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Volume) GetCondition ¶
func (mg *Volume) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Volume.
func (*Volume) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Volume
func (*Volume) GetDeletionPolicy ¶
func (mg *Volume) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Volume.
func (*Volume) GetInitParameters ¶
GetInitParameters of this Volume
func (*Volume) GetManagementPolicies ¶
func (mg *Volume) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Volume.
func (*Volume) GetMergedParameters ¶
GetInitParameters of this Volume
func (*Volume) GetObservation ¶
GetObservation of this Volume
func (*Volume) GetParameters ¶
GetParameters of this Volume
func (*Volume) GetProviderConfigReference ¶
GetProviderConfigReference of this Volume.
func (*Volume) GetPublishConnectionDetailsTo ¶
func (mg *Volume) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Volume.
func (*Volume) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Volume
func (*Volume) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Volume) GetWriteConnectionSecretToReference ¶
func (mg *Volume) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Volume.
func (*Volume) LateInitialize ¶
LateInitialize this Volume using its observed tfState. returns True if there are any spec changes for the resource.
func (*Volume) SetConditions ¶
SetConditions of this Volume.
func (*Volume) SetDeletionPolicy ¶
func (mg *Volume) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Volume.
func (*Volume) SetManagementPolicies ¶
func (mg *Volume) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Volume.
func (*Volume) SetObservation ¶
SetObservation for this Volume
func (*Volume) SetParameters ¶
SetParameters for this Volume
func (*Volume) SetProviderConfigReference ¶
SetProviderConfigReference of this Volume.
func (*Volume) SetPublishConnectionDetailsTo ¶
func (mg *Volume) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Volume.
func (*Volume) SetWriteConnectionSecretToReference ¶
func (mg *Volume) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Volume.
type VolumeInitParameters ¶
type VolumeInitParameters struct {
// If set, the new volume will be created from this snapshot. Only one of size_in_gb and from_snapshot_id should be specified.
// Create a volume based on a image
FromSnapshotID *string `json:"fromSnapshotId,omitempty" tf:"from_snapshot_id,omitempty"`
// If true, consider that this volume may have been migrated and no longer exists.
MigrateToSbs *bool `json:"migrateToSbs,omitempty" tf:"migrate_to_sbs,omitempty"`
// The name of the volume. If not provided it will be randomly generated.
// The name of the volume
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to provider project_id) The ID of the project the volume is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// The size of the volume. Only one of size_in_gb and from_snapshot_id should be specified.
// The size of the volume in gigabyte
SizeInGb *float64 `json:"sizeInGb,omitempty" tf:"size_in_gb,omitempty"`
// A list of tags to apply to the volume.
// The tags associated with the volume
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The type of the volume. The possible values are: b_ssd (Block SSD), l_ssd (Local SSD), scratch (Local Scratch SSD).
// The volume type
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// (Defaults to provider zone) The zone in which the volume should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*VolumeInitParameters) DeepCopy ¶
func (in *VolumeInitParameters) DeepCopy() *VolumeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeInitParameters.
func (*VolumeInitParameters) DeepCopyInto ¶
func (in *VolumeInitParameters) DeepCopyInto(out *VolumeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeList ¶
type VolumeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Volume `json:"items"`
}
VolumeList contains a list of Volumes
func (*VolumeList) DeepCopy ¶
func (in *VolumeList) DeepCopy() *VolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeList.
func (*VolumeList) DeepCopyInto ¶
func (in *VolumeList) DeepCopyInto(out *VolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeList) DeepCopyObject ¶
func (in *VolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VolumeList) GetItems ¶
func (l *VolumeList) GetItems() []resource.Managed
GetItems of this VolumeList.
type VolumeObservation ¶
type VolumeObservation struct {
// If set, the new volume will be created from this snapshot. Only one of size_in_gb and from_snapshot_id should be specified.
// Create a volume based on a image
FromSnapshotID *string `json:"fromSnapshotId,omitempty" tf:"from_snapshot_id,omitempty"`
// The ID of the volume.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// If true, consider that this volume may have been migrated and no longer exists.
MigrateToSbs *bool `json:"migrateToSbs,omitempty" tf:"migrate_to_sbs,omitempty"`
// The name of the volume. If not provided it will be randomly generated.
// The name of the volume
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The organization ID the volume is associated with.
// The organization_id you want to attach the resource to
OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`
// (Defaults to provider project_id) The ID of the project the volume is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// The id of the associated server.
// The server associated with this volume
ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`
// The size of the volume. Only one of size_in_gb and from_snapshot_id should be specified.
// The size of the volume in gigabyte
SizeInGb *float64 `json:"sizeInGb,omitempty" tf:"size_in_gb,omitempty"`
// A list of tags to apply to the volume.
// The tags associated with the volume
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The type of the volume. The possible values are: b_ssd (Block SSD), l_ssd (Local SSD), scratch (Local Scratch SSD).
// The volume type
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// (Defaults to provider zone) The zone in which the volume should be created.
// The zone you want to attach the resource to
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*VolumeObservation) DeepCopy ¶
func (in *VolumeObservation) DeepCopy() *VolumeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeObservation.
func (*VolumeObservation) DeepCopyInto ¶
func (in *VolumeObservation) DeepCopyInto(out *VolumeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeParameters ¶
type VolumeParameters struct {
// If set, the new volume will be created from this snapshot. Only one of size_in_gb and from_snapshot_id should be specified.
// Create a volume based on a image
// +kubebuilder:validation:Optional
FromSnapshotID *string `json:"fromSnapshotId,omitempty" tf:"from_snapshot_id,omitempty"`
// If true, consider that this volume may have been migrated and no longer exists.
// +kubebuilder:validation:Optional
MigrateToSbs *bool `json:"migrateToSbs,omitempty" tf:"migrate_to_sbs,omitempty"`
// The name of the volume. If not provided it will be randomly generated.
// The name of the volume
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to provider project_id) The ID of the project the volume is associated with.
// The project_id you want to attach the resource to
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// The size of the volume. Only one of size_in_gb and from_snapshot_id should be specified.
// The size of the volume in gigabyte
// +kubebuilder:validation:Optional
SizeInGb *float64 `json:"sizeInGb,omitempty" tf:"size_in_gb,omitempty"`
// A list of tags to apply to the volume.
// The tags associated with the volume
// +kubebuilder:validation:Optional
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// The type of the volume. The possible values are: b_ssd (Block SSD), l_ssd (Local SSD), scratch (Local Scratch SSD).
// The volume type
// +kubebuilder:validation:Optional
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// (Defaults to provider zone) The zone in which the volume should be created.
// The zone you want to attach the resource to
// +kubebuilder:validation:Optional
Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}
func (*VolumeParameters) DeepCopy ¶
func (in *VolumeParameters) DeepCopy() *VolumeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeParameters.
func (*VolumeParameters) DeepCopyInto ¶
func (in *VolumeParameters) DeepCopyInto(out *VolumeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSpec ¶
type VolumeSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider VolumeParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider VolumeInitParameters `json:"initProvider,omitempty"`
}
VolumeSpec defines the desired state of Volume
func (*VolumeSpec) DeepCopy ¶
func (in *VolumeSpec) DeepCopy() *VolumeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpec.
func (*VolumeSpec) DeepCopyInto ¶
func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeStatus ¶
type VolumeStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider VolumeObservation `json:"atProvider,omitempty"`
}
VolumeStatus defines the observed state of Volume.
func (*VolumeStatus) DeepCopy ¶
func (in *VolumeStatus) DeepCopy() *VolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatus.
func (*VolumeStatus) DeepCopyInto ¶
func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_image_terraformed.go
- zz_image_types.go
- zz_ip_terraformed.go
- zz_ip_types.go
- zz_placementgroup_terraformed.go
- zz_placementgroup_types.go
- zz_privatenic_terraformed.go
- zz_privatenic_types.go
- zz_securitygroup_terraformed.go
- zz_securitygroup_types.go
- zz_securitygrouprule_terraformed.go
- zz_securitygrouprule_types.go
- zz_server_terraformed.go
- zz_server_types.go
- zz_snapshot_terraformed.go
- zz_snapshot_types.go
- zz_userdata_terraformed.go
- zz_userdata_types.go
- zz_volume_terraformed.go
- zz_volume_types.go