v1beta1

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=datamigration.azure.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "datamigration.azure.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	DatabaseMigrationProject_Kind             = "DatabaseMigrationProject"
	DatabaseMigrationProject_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DatabaseMigrationProject_Kind}.String()
	DatabaseMigrationProject_KindAPIVersion   = DatabaseMigrationProject_Kind + "." + CRDGroupVersion.String()
	DatabaseMigrationProject_GroupVersionKind = CRDGroupVersion.WithKind(DatabaseMigrationProject_Kind)
)

Repository type metadata.

View Source
var (
	DatabaseMigrationService_Kind             = "DatabaseMigrationService"
	DatabaseMigrationService_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DatabaseMigrationService_Kind}.String()
	DatabaseMigrationService_KindAPIVersion   = DatabaseMigrationService_Kind + "." + CRDGroupVersion.String()
	DatabaseMigrationService_GroupVersionKind = CRDGroupVersion.WithKind(DatabaseMigrationService_Kind)
)

Repository type metadata.

View Source
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
)

Functions

This section is empty.

Types

type DatabaseMigrationProject

type DatabaseMigrationProject 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.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourcePlatform) || (has(self.initProvider) && has(self.initProvider.sourcePlatform))",message="spec.forProvider.sourcePlatform is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetPlatform) || (has(self.initProvider) && has(self.initProvider.targetPlatform))",message="spec.forProvider.targetPlatform is a required parameter"
	Spec   DatabaseMigrationProjectSpec   `json:"spec"`
	Status DatabaseMigrationProjectStatus `json:"status,omitempty"`
}

DatabaseMigrationProject is the Schema for the DatabaseMigrationProjects API. Manage Azure Database Migration Project instance. +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,azure}

func (*DatabaseMigrationProject) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationProject.

func (*DatabaseMigrationProject) DeepCopyInto

func (in *DatabaseMigrationProject) DeepCopyInto(out *DatabaseMigrationProject)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DatabaseMigrationProject) DeepCopyObject

func (in *DatabaseMigrationProject) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DatabaseMigrationProject) GetCondition

GetCondition of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) GetConnectionDetailsMapping

func (tr *DatabaseMigrationProject) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DatabaseMigrationProject

func (*DatabaseMigrationProject) GetDeletionPolicy

func (mg *DatabaseMigrationProject) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) GetID

func (tr *DatabaseMigrationProject) GetID() string

GetID returns ID of underlying Terraform resource of this DatabaseMigrationProject

func (*DatabaseMigrationProject) GetInitParameters added in v0.35.0

func (tr *DatabaseMigrationProject) GetInitParameters() (map[string]any, error)

GetInitParameters of this DatabaseMigrationProject

func (*DatabaseMigrationProject) GetManagementPolicies added in v0.35.0

func (mg *DatabaseMigrationProject) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) GetMergedParameters added in v0.40.0

func (tr *DatabaseMigrationProject) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DatabaseMigrationProject

func (*DatabaseMigrationProject) GetObservation

func (tr *DatabaseMigrationProject) GetObservation() (map[string]any, error)

GetObservation of this DatabaseMigrationProject

func (*DatabaseMigrationProject) GetParameters

func (tr *DatabaseMigrationProject) GetParameters() (map[string]any, error)

GetParameters of this DatabaseMigrationProject

func (*DatabaseMigrationProject) GetProviderConfigReference

func (mg *DatabaseMigrationProject) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) GetPublishConnectionDetailsTo

func (mg *DatabaseMigrationProject) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) GetTerraformResourceType

func (mg *DatabaseMigrationProject) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DatabaseMigrationProject

func (*DatabaseMigrationProject) GetTerraformSchemaVersion

func (tr *DatabaseMigrationProject) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DatabaseMigrationProject) GetWriteConnectionSecretToReference

func (mg *DatabaseMigrationProject) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) Hub added in v0.42.1

func (tr *DatabaseMigrationProject) Hub()

Hub marks this type as a conversion hub.

func (*DatabaseMigrationProject) LateInitialize

func (tr *DatabaseMigrationProject) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DatabaseMigrationProject using its observed tfState. returns True if there are any spec changes for the resource.

func (*DatabaseMigrationProject) ResolveReferences

func (mg *DatabaseMigrationProject) ResolveReferences(
	ctx context.Context, c client.Reader) error

func (*DatabaseMigrationProject) SetConditions

func (mg *DatabaseMigrationProject) SetConditions(c ...xpv1.Condition)

SetConditions of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) SetDeletionPolicy

func (mg *DatabaseMigrationProject) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) SetManagementPolicies added in v0.35.0

func (mg *DatabaseMigrationProject) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) SetObservation

func (tr *DatabaseMigrationProject) SetObservation(obs map[string]any) error

SetObservation for this DatabaseMigrationProject

func (*DatabaseMigrationProject) SetParameters

func (tr *DatabaseMigrationProject) SetParameters(params map[string]any) error

SetParameters for this DatabaseMigrationProject

func (*DatabaseMigrationProject) SetProviderConfigReference

func (mg *DatabaseMigrationProject) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) SetPublishConnectionDetailsTo

func (mg *DatabaseMigrationProject) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DatabaseMigrationProject.

func (*DatabaseMigrationProject) SetWriteConnectionSecretToReference

func (mg *DatabaseMigrationProject) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DatabaseMigrationProject.

type DatabaseMigrationProjectInitParameters added in v0.35.0

type DatabaseMigrationProjectInitParameters struct {

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specify the name of the database migration project. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The platform type of the migration source. Possible values are SQL, PostgreSQL, MySQL and MongoDb. Changing this forces a new resource to be created.
	SourcePlatform *string `json:"sourcePlatform,omitempty" tf:"source_platform,omitempty"`

	// A mapping of tags to assigned to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The platform type of the migration target. Possible values are SQLDB, AzureDbForPostgreSql, AzureDbForMySql and MongoDb. Changing this forces a new resource to be created.
	TargetPlatform *string `json:"targetPlatform,omitempty" tf:"target_platform,omitempty"`
}

func (*DatabaseMigrationProjectInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationProjectInitParameters.

func (*DatabaseMigrationProjectInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseMigrationProjectList

type DatabaseMigrationProjectList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DatabaseMigrationProject `json:"items"`
}

DatabaseMigrationProjectList contains a list of DatabaseMigrationProjects

func (*DatabaseMigrationProjectList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationProjectList.

func (*DatabaseMigrationProjectList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DatabaseMigrationProjectList) DeepCopyObject

func (in *DatabaseMigrationProjectList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DatabaseMigrationProjectList) GetItems

GetItems of this DatabaseMigrationProjectList.

type DatabaseMigrationProjectObservation

type DatabaseMigrationProjectObservation struct {

	// The ID of Database Migration Project.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specify the name of the database migration project. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Name of the resource group in which to create the database migration project. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Name of the database migration service where resource belongs to. Changing this forces a new resource to be created.
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// The platform type of the migration source. Possible values are SQL, PostgreSQL, MySQL and MongoDb. Changing this forces a new resource to be created.
	SourcePlatform *string `json:"sourcePlatform,omitempty" tf:"source_platform,omitempty"`

	// A mapping of tags to assigned to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The platform type of the migration target. Possible values are SQLDB, AzureDbForPostgreSql, AzureDbForMySql and MongoDb. Changing this forces a new resource to be created.
	TargetPlatform *string `json:"targetPlatform,omitempty" tf:"target_platform,omitempty"`
}

func (*DatabaseMigrationProjectObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationProjectObservation.

func (*DatabaseMigrationProjectObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseMigrationProjectParameters

type DatabaseMigrationProjectParameters struct {

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specify the name of the database migration project. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Name of the resource group in which to create the database migration project. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// Name of the database migration service where resource belongs to. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/datamigration/v1beta1.DatabaseMigrationService
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("name",false)
	// +kubebuilder:validation:Optional
	ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"`

	// Reference to a DatabaseMigrationService in datamigration to populate serviceName.
	// +kubebuilder:validation:Optional
	ServiceNameRef *v1.Reference `json:"serviceNameRef,omitempty" tf:"-"`

	// Selector for a DatabaseMigrationService in datamigration to populate serviceName.
	// +kubebuilder:validation:Optional
	ServiceNameSelector *v1.Selector `json:"serviceNameSelector,omitempty" tf:"-"`

	// The platform type of the migration source. Possible values are SQL, PostgreSQL, MySQL and MongoDb. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SourcePlatform *string `json:"sourcePlatform,omitempty" tf:"source_platform,omitempty"`

	// A mapping of tags to assigned to the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The platform type of the migration target. Possible values are SQLDB, AzureDbForPostgreSql, AzureDbForMySql and MongoDb. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	TargetPlatform *string `json:"targetPlatform,omitempty" tf:"target_platform,omitempty"`
}

func (*DatabaseMigrationProjectParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationProjectParameters.

func (*DatabaseMigrationProjectParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseMigrationProjectSpec

type DatabaseMigrationProjectSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatabaseMigrationProjectParameters `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 DatabaseMigrationProjectInitParameters `json:"initProvider,omitempty"`
}

DatabaseMigrationProjectSpec defines the desired state of DatabaseMigrationProject

func (*DatabaseMigrationProjectSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationProjectSpec.

func (*DatabaseMigrationProjectSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseMigrationProjectStatus

type DatabaseMigrationProjectStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DatabaseMigrationProjectObservation `json:"atProvider,omitempty"`
}

DatabaseMigrationProjectStatus defines the observed state of DatabaseMigrationProject.

func (*DatabaseMigrationProjectStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationProjectStatus.

func (*DatabaseMigrationProjectStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseMigrationService

type DatabaseMigrationService 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.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.skuName) || (has(self.initProvider) && has(self.initProvider.skuName))",message="spec.forProvider.skuName is a required parameter"
	Spec   DatabaseMigrationServiceSpec   `json:"spec"`
	Status DatabaseMigrationServiceStatus `json:"status,omitempty"`
}

DatabaseMigrationService is the Schema for the DatabaseMigrationServices API. Manage a Azure Database Migration Service. +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,azure}

func (*DatabaseMigrationService) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationService.

func (*DatabaseMigrationService) DeepCopyInto

func (in *DatabaseMigrationService) DeepCopyInto(out *DatabaseMigrationService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DatabaseMigrationService) DeepCopyObject

func (in *DatabaseMigrationService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DatabaseMigrationService) GetCondition

GetCondition of this DatabaseMigrationService.

func (*DatabaseMigrationService) GetConnectionDetailsMapping

func (tr *DatabaseMigrationService) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DatabaseMigrationService

func (*DatabaseMigrationService) GetDeletionPolicy

func (mg *DatabaseMigrationService) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DatabaseMigrationService.

func (*DatabaseMigrationService) GetID

func (tr *DatabaseMigrationService) GetID() string

GetID returns ID of underlying Terraform resource of this DatabaseMigrationService

func (*DatabaseMigrationService) GetInitParameters added in v0.35.0

func (tr *DatabaseMigrationService) GetInitParameters() (map[string]any, error)

GetInitParameters of this DatabaseMigrationService

func (*DatabaseMigrationService) GetManagementPolicies added in v0.35.0

func (mg *DatabaseMigrationService) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DatabaseMigrationService.

func (*DatabaseMigrationService) GetMergedParameters added in v0.40.0

func (tr *DatabaseMigrationService) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DatabaseMigrationService

func (*DatabaseMigrationService) GetObservation

func (tr *DatabaseMigrationService) GetObservation() (map[string]any, error)

GetObservation of this DatabaseMigrationService

func (*DatabaseMigrationService) GetParameters

func (tr *DatabaseMigrationService) GetParameters() (map[string]any, error)

GetParameters of this DatabaseMigrationService

func (*DatabaseMigrationService) GetProviderConfigReference

func (mg *DatabaseMigrationService) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DatabaseMigrationService.

func (*DatabaseMigrationService) GetPublishConnectionDetailsTo

func (mg *DatabaseMigrationService) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DatabaseMigrationService.

func (*DatabaseMigrationService) GetTerraformResourceType

func (mg *DatabaseMigrationService) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DatabaseMigrationService

func (*DatabaseMigrationService) GetTerraformSchemaVersion

func (tr *DatabaseMigrationService) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DatabaseMigrationService) GetWriteConnectionSecretToReference

func (mg *DatabaseMigrationService) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DatabaseMigrationService.

func (*DatabaseMigrationService) Hub added in v0.42.1

func (tr *DatabaseMigrationService) Hub()

Hub marks this type as a conversion hub.

func (*DatabaseMigrationService) LateInitialize

func (tr *DatabaseMigrationService) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DatabaseMigrationService using its observed tfState. returns True if there are any spec changes for the resource.

func (*DatabaseMigrationService) ResolveReferences

func (mg *DatabaseMigrationService) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this DatabaseMigrationService.

func (*DatabaseMigrationService) SetConditions

func (mg *DatabaseMigrationService) SetConditions(c ...xpv1.Condition)

SetConditions of this DatabaseMigrationService.

func (*DatabaseMigrationService) SetDeletionPolicy

func (mg *DatabaseMigrationService) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DatabaseMigrationService.

func (*DatabaseMigrationService) SetManagementPolicies added in v0.35.0

func (mg *DatabaseMigrationService) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this DatabaseMigrationService.

func (*DatabaseMigrationService) SetObservation

func (tr *DatabaseMigrationService) SetObservation(obs map[string]any) error

SetObservation for this DatabaseMigrationService

func (*DatabaseMigrationService) SetParameters

func (tr *DatabaseMigrationService) SetParameters(params map[string]any) error

SetParameters for this DatabaseMigrationService

func (*DatabaseMigrationService) SetProviderConfigReference

func (mg *DatabaseMigrationService) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DatabaseMigrationService.

func (*DatabaseMigrationService) SetPublishConnectionDetailsTo

func (mg *DatabaseMigrationService) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DatabaseMigrationService.

func (*DatabaseMigrationService) SetWriteConnectionSecretToReference

func (mg *DatabaseMigrationService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DatabaseMigrationService.

type DatabaseMigrationServiceInitParameters added in v0.35.0

type DatabaseMigrationServiceInitParameters struct {

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specify the name of the database migration service. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The SKU name of the database migration service. Possible values are Premium_4vCores, Standard_1vCores, Standard_2vCores and Standard_4vCores. Changing this forces a new resource to be created.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// The ID of the virtual subnet resource to which the database migration service should be joined. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// A mapping of tags to assigned to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*DatabaseMigrationServiceInitParameters) DeepCopy added in v0.35.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationServiceInitParameters.

func (*DatabaseMigrationServiceInitParameters) DeepCopyInto added in v0.35.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseMigrationServiceList

type DatabaseMigrationServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DatabaseMigrationService `json:"items"`
}

DatabaseMigrationServiceList contains a list of DatabaseMigrationServices

func (*DatabaseMigrationServiceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationServiceList.

func (*DatabaseMigrationServiceList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DatabaseMigrationServiceList) DeepCopyObject

func (in *DatabaseMigrationServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DatabaseMigrationServiceList) GetItems

GetItems of this DatabaseMigrationServiceList.

type DatabaseMigrationServiceObservation

type DatabaseMigrationServiceObservation struct {

	// The ID of Database Migration Service.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specify the name of the database migration service. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Name of the resource group in which to create the database migration service. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// The SKU name of the database migration service. Possible values are Premium_4vCores, Standard_1vCores, Standard_2vCores and Standard_4vCores. Changing this forces a new resource to be created.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// The ID of the virtual subnet resource to which the database migration service should be joined. Changing this forces a new resource to be created.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// A mapping of tags to assigned to the resource.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*DatabaseMigrationServiceObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationServiceObservation.

func (*DatabaseMigrationServiceObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseMigrationServiceParameters

type DatabaseMigrationServiceParameters struct {

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Specify the name of the database migration service. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Name of the resource group in which to create the database migration service. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	// +kubebuilder:validation:Optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Reference to a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in azure to populate resourceGroupName.
	// +kubebuilder:validation:Optional
	ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"`

	// The SKU name of the database migration service. Possible values are Premium_4vCores, Standard_1vCores, Standard_2vCores and Standard_4vCores. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// The ID of the virtual subnet resource to which the database migration service should be joined. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta2.Subnet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a Subnet in network to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// A mapping of tags to assigned to the resource.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*DatabaseMigrationServiceParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationServiceParameters.

func (*DatabaseMigrationServiceParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseMigrationServiceSpec

type DatabaseMigrationServiceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatabaseMigrationServiceParameters `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 DatabaseMigrationServiceInitParameters `json:"initProvider,omitempty"`
}

DatabaseMigrationServiceSpec defines the desired state of DatabaseMigrationService

func (*DatabaseMigrationServiceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationServiceSpec.

func (*DatabaseMigrationServiceSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatabaseMigrationServiceStatus

type DatabaseMigrationServiceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DatabaseMigrationServiceObservation `json:"atProvider,omitempty"`
}

DatabaseMigrationServiceStatus defines the observed state of DatabaseMigrationService.

func (*DatabaseMigrationServiceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseMigrationServiceStatus.

func (*DatabaseMigrationServiceStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL