v1beta1

package
v1.7.2 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	ActiveDirectoryAdministrator_Kind             = "ActiveDirectoryAdministrator"
	ActiveDirectoryAdministrator_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ActiveDirectoryAdministrator_Kind}.String()
	ActiveDirectoryAdministrator_KindAPIVersion   = ActiveDirectoryAdministrator_Kind + "." + CRDGroupVersion.String()
	ActiveDirectoryAdministrator_GroupVersionKind = CRDGroupVersion.WithKind(ActiveDirectoryAdministrator_Kind)
)

Repository type metadata.

View Source
var (
	Configuration_Kind             = "Configuration"
	Configuration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Configuration_Kind}.String()
	Configuration_KindAPIVersion   = Configuration_Kind + "." + CRDGroupVersion.String()
	Configuration_GroupVersionKind = CRDGroupVersion.WithKind(Configuration_Kind)
)

Repository type metadata.

View Source
var (
	Database_Kind             = "Database"
	Database_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String()
	Database_KindAPIVersion   = Database_Kind + "." + CRDGroupVersion.String()
	Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind)
)

Repository type metadata.

View Source
var (
	FirewallRule_Kind             = "FirewallRule"
	FirewallRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FirewallRule_Kind}.String()
	FirewallRule_KindAPIVersion   = FirewallRule_Kind + "." + CRDGroupVersion.String()
	FirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(FirewallRule_Kind)
)

Repository type metadata.

View Source
var (
	FlexibleDatabase_Kind             = "FlexibleDatabase"
	FlexibleDatabase_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FlexibleDatabase_Kind}.String()
	FlexibleDatabase_KindAPIVersion   = FlexibleDatabase_Kind + "." + CRDGroupVersion.String()
	FlexibleDatabase_GroupVersionKind = CRDGroupVersion.WithKind(FlexibleDatabase_Kind)
)

Repository type metadata.

View Source
var (
	FlexibleServer_Kind             = "FlexibleServer"
	FlexibleServer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FlexibleServer_Kind}.String()
	FlexibleServer_KindAPIVersion   = FlexibleServer_Kind + "." + CRDGroupVersion.String()
	FlexibleServer_GroupVersionKind = CRDGroupVersion.WithKind(FlexibleServer_Kind)
)

Repository type metadata.

View Source
var (
	FlexibleServerConfiguration_Kind             = "FlexibleServerConfiguration"
	FlexibleServerConfiguration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FlexibleServerConfiguration_Kind}.String()
	FlexibleServerConfiguration_KindAPIVersion   = FlexibleServerConfiguration_Kind + "." + CRDGroupVersion.String()
	FlexibleServerConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(FlexibleServerConfiguration_Kind)
)

Repository type metadata.

View Source
var (
	FlexibleServerFirewallRule_Kind             = "FlexibleServerFirewallRule"
	FlexibleServerFirewallRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FlexibleServerFirewallRule_Kind}.String()
	FlexibleServerFirewallRule_KindAPIVersion   = FlexibleServerFirewallRule_Kind + "." + CRDGroupVersion.String()
	FlexibleServerFirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(FlexibleServerFirewallRule_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
)
View Source
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.

View Source
var (
	VirtualNetworkRule_Kind             = "VirtualNetworkRule"
	VirtualNetworkRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VirtualNetworkRule_Kind}.String()
	VirtualNetworkRule_KindAPIVersion   = VirtualNetworkRule_Kind + "." + CRDGroupVersion.String()
	VirtualNetworkRule_GroupVersionKind = CRDGroupVersion.WithKind(VirtualNetworkRule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ActiveDirectoryAdministrator added in v0.27.0

type ActiveDirectoryAdministrator 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.login) || (has(self.initProvider) && has(self.initProvider.login))",message="spec.forProvider.login is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.objectId) || (has(self.initProvider) && has(self.initProvider.objectId))",message="spec.forProvider.objectId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tenantId) || (has(self.initProvider) && has(self.initProvider.tenantId))",message="spec.forProvider.tenantId is a required parameter"
	Spec   ActiveDirectoryAdministratorSpec   `json:"spec"`
	Status ActiveDirectoryAdministratorStatus `json:"status,omitempty"`
}

ActiveDirectoryAdministrator is the Schema for the ActiveDirectoryAdministrators API. Manages an Active Directory administrator on a MySQL server +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 (*ActiveDirectoryAdministrator) DeepCopy added in v0.27.0

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

func (*ActiveDirectoryAdministrator) DeepCopyInto added in v0.27.0

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

func (*ActiveDirectoryAdministrator) DeepCopyObject added in v0.27.0

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

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

func (*ActiveDirectoryAdministrator) GetCondition added in v0.27.0

GetCondition of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) GetConnectionDetailsMapping added in v0.27.0

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

GetConnectionDetailsMapping for this ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministrator) GetDeletionPolicy added in v0.27.0

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

GetDeletionPolicy of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) GetID added in v0.27.0

GetID returns ID of underlying Terraform resource of this ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministrator) GetInitParameters added in v0.35.0

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

GetInitParameters of this ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministrator) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) GetMergedParameters added in v0.40.0

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

GetInitParameters of this ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministrator) GetObservation added in v0.27.0

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

GetObservation of this ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministrator) GetParameters added in v0.27.0

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

GetParameters of this ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministrator) GetProviderConfigReference added in v0.27.0

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

GetProviderConfigReference of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) GetPublishConnectionDetailsTo added in v0.27.0

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

GetPublishConnectionDetailsTo of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) GetTerraformResourceType added in v0.27.0

func (mg *ActiveDirectoryAdministrator) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministrator) GetTerraformSchemaVersion added in v0.27.0

func (tr *ActiveDirectoryAdministrator) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ActiveDirectoryAdministrator) GetWriteConnectionSecretToReference added in v0.27.0

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

GetWriteConnectionSecretToReference of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) Hub added in v0.42.1

func (tr *ActiveDirectoryAdministrator) Hub()

Hub marks this type as a conversion hub.

func (*ActiveDirectoryAdministrator) LateInitialize added in v0.27.0

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

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

func (*ActiveDirectoryAdministrator) ResolveReferences added in v0.27.0

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

func (*ActiveDirectoryAdministrator) SetConditions added in v0.27.0

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

SetConditions of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) SetDeletionPolicy added in v0.27.0

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

SetDeletionPolicy of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) SetObservation added in v0.27.0

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

SetObservation for this ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministrator) SetParameters added in v0.27.0

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

SetParameters for this ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministrator) SetProviderConfigReference added in v0.27.0

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

SetProviderConfigReference of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) SetPublishConnectionDetailsTo added in v0.27.0

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

SetPublishConnectionDetailsTo of this ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministrator) SetWriteConnectionSecretToReference added in v0.27.0

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

SetWriteConnectionSecretToReference of this ActiveDirectoryAdministrator.

type ActiveDirectoryAdministratorInitParameters added in v0.35.0

type ActiveDirectoryAdministratorInitParameters struct {

	// The login name of the principal to set as the server administrator
	Login *string `json:"login,omitempty" tf:"login,omitempty"`

	// The ID of the principal to set as the server administrator. For a managed identity this should be the Client ID of the identity.
	ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`

	// The name of the resource group for the MySQL server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	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 name of the MySQL Server on which to set the administrator. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.Server
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`

	// The Azure Tenant ID
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*ActiveDirectoryAdministratorInitParameters) DeepCopy added in v0.35.0

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

func (*ActiveDirectoryAdministratorInitParameters) DeepCopyInto added in v0.35.0

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

type ActiveDirectoryAdministratorList added in v0.27.0

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

ActiveDirectoryAdministratorList contains a list of ActiveDirectoryAdministrators

func (*ActiveDirectoryAdministratorList) DeepCopy added in v0.27.0

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

func (*ActiveDirectoryAdministratorList) DeepCopyInto added in v0.27.0

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

func (*ActiveDirectoryAdministratorList) DeepCopyObject added in v0.27.0

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

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

func (*ActiveDirectoryAdministratorList) GetItems added in v0.27.0

GetItems of this ActiveDirectoryAdministratorList.

type ActiveDirectoryAdministratorObservation added in v0.27.0

type ActiveDirectoryAdministratorObservation struct {

	// The ID of the MySQL Active Directory Administrator.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The login name of the principal to set as the server administrator
	Login *string `json:"login,omitempty" tf:"login,omitempty"`

	// The ID of the principal to set as the server administrator. For a managed identity this should be the Client ID of the identity.
	ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`

	// The name of the resource group for the MySQL server. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// The name of the MySQL Server on which to set the administrator. Changing this forces a new resource to be created.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// The Azure Tenant ID
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*ActiveDirectoryAdministratorObservation) DeepCopy added in v0.27.0

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

func (*ActiveDirectoryAdministratorObservation) DeepCopyInto added in v0.27.0

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

type ActiveDirectoryAdministratorParameters added in v0.27.0

type ActiveDirectoryAdministratorParameters struct {

	// The login name of the principal to set as the server administrator
	// +kubebuilder:validation:Optional
	Login *string `json:"login,omitempty" tf:"login,omitempty"`

	// The ID of the principal to set as the server administrator. For a managed identity this should be the Client ID of the identity.
	// +kubebuilder:validation:Optional
	ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`

	// The name of the resource group for the MySQL server. 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 name of the MySQL Server on which to set the administrator. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.Server
	// +kubebuilder:validation:Optional
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`

	// The Azure Tenant ID
	// +kubebuilder:validation:Optional
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*ActiveDirectoryAdministratorParameters) DeepCopy added in v0.27.0

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

func (*ActiveDirectoryAdministratorParameters) DeepCopyInto added in v0.27.0

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

type ActiveDirectoryAdministratorSpec added in v0.27.0

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

ActiveDirectoryAdministratorSpec defines the desired state of ActiveDirectoryAdministrator

func (*ActiveDirectoryAdministratorSpec) DeepCopy added in v0.27.0

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

func (*ActiveDirectoryAdministratorSpec) DeepCopyInto added in v0.27.0

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

type ActiveDirectoryAdministratorStatus added in v0.27.0

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

ActiveDirectoryAdministratorStatus defines the observed state of ActiveDirectoryAdministrator.

func (*ActiveDirectoryAdministratorStatus) DeepCopy added in v0.27.0

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

func (*ActiveDirectoryAdministratorStatus) DeepCopyInto added in v0.27.0

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

type Configuration

type Configuration 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.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.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter"
	Spec   ConfigurationSpec   `json:"spec"`
	Status ConfigurationStatus `json:"status,omitempty"`
}

Configuration is the Schema for the Configurations API. Sets a MySQL Configuration value on a MySQL Server. +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 (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

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

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

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

func (*Configuration) DeepCopyObject

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

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

func (*Configuration) GetCondition

func (mg *Configuration) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Configuration.

func (*Configuration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Configuration

func (*Configuration) GetDeletionPolicy

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

GetDeletionPolicy of this Configuration.

func (*Configuration) GetID

func (tr *Configuration) GetID() string

GetID returns ID of underlying Terraform resource of this Configuration

func (*Configuration) GetInitParameters added in v0.35.0

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

GetInitParameters of this Configuration

func (*Configuration) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Configuration.

func (*Configuration) GetMergedParameters added in v0.40.0

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

GetInitParameters of this Configuration

func (*Configuration) GetObservation

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

GetObservation of this Configuration

func (*Configuration) GetParameters

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

GetParameters of this Configuration

func (*Configuration) GetProviderConfigReference

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

GetProviderConfigReference of this Configuration.

func (*Configuration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Configuration.

func (*Configuration) GetTerraformResourceType

func (mg *Configuration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Configuration

func (*Configuration) GetTerraformSchemaVersion

func (tr *Configuration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Configuration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Configuration.

func (*Configuration) Hub added in v0.42.1

func (tr *Configuration) Hub()

Hub marks this type as a conversion hub.

func (*Configuration) LateInitialize

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

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

func (*Configuration) ResolveReferences

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

ResolveReferences of this Configuration.

func (*Configuration) SetConditions

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

SetConditions of this Configuration.

func (*Configuration) SetDeletionPolicy

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

SetDeletionPolicy of this Configuration.

func (*Configuration) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Configuration.

func (*Configuration) SetObservation

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

SetObservation for this Configuration

func (*Configuration) SetParameters

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

SetParameters for this Configuration

func (*Configuration) SetProviderConfigReference

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

SetProviderConfigReference of this Configuration.

func (*Configuration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Configuration.

func (*Configuration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Configuration.

type ConfigurationInitParameters added in v0.35.0

type ConfigurationInitParameters struct {

	// Specifies the name of the MySQL Configuration, which needs to be a valid MySQL configuration name. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup
	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:"-"`

	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.Server
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`

	// Specifies the value of the MySQL Configuration. See the MySQL documentation for valid values. Changing this forces a new resource to be created.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ConfigurationInitParameters) DeepCopy added in v0.35.0

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

func (*ConfigurationInitParameters) DeepCopyInto added in v0.35.0

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

type ConfigurationList

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

ConfigurationList contains a list of Configurations

func (*ConfigurationList) DeepCopy

func (in *ConfigurationList) DeepCopy() *ConfigurationList

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

func (*ConfigurationList) DeepCopyInto

func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList)

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

func (*ConfigurationList) DeepCopyObject

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

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

func (*ConfigurationList) GetItems

func (l *ConfigurationList) GetItems() []resource.Managed

GetItems of this ConfigurationList.

type ConfigurationObservation

type ConfigurationObservation struct {

	// The ID of the MySQL Configuration.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the name of the MySQL Configuration, which needs to be a valid MySQL configuration name. Changing this forces a new resource to be created.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Specifies the value of the MySQL Configuration. See the MySQL documentation for valid values. Changing this forces a new resource to be created.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ConfigurationObservation) DeepCopy

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

func (*ConfigurationObservation) DeepCopyInto

func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation)

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

type ConfigurationParameters

type ConfigurationParameters struct {

	// Specifies the name of the MySQL Configuration, which needs to be a valid MySQL configuration name. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the resource group in which the MySQL Server exists. 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:"-"`

	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.Server
	// +kubebuilder:validation:Optional
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`

	// Specifies the value of the MySQL Configuration. See the MySQL documentation for valid values. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ConfigurationParameters) DeepCopy

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

func (*ConfigurationParameters) DeepCopyInto

func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters)

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

type ConfigurationSpec

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

ConfigurationSpec defines the desired state of Configuration

func (*ConfigurationSpec) DeepCopy

func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec

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

func (*ConfigurationSpec) DeepCopyInto

func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)

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

type ConfigurationStatus

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

ConfigurationStatus defines the observed state of Configuration.

func (*ConfigurationStatus) DeepCopy

func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus

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

func (*ConfigurationStatus) DeepCopyInto

func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus)

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

type CustomerManagedKeyInitParameters added in v0.35.0

type CustomerManagedKeyInitParameters struct {

	// The ID of the geo backup Key Vault Key. It can't cross region and need Customer Managed Key in same region as geo backup.
	GeoBackupKeyVaultKeyID *string `json:"geoBackupKeyVaultKeyId,omitempty" tf:"geo_backup_key_vault_key_id,omitempty"`

	// The geo backup user managed identity id for a Customer Managed Key. Should be added with identity_ids. It can't cross region and need identity in same region as geo backup.
	GeoBackupUserAssignedIdentityID *string `json:"geoBackupUserAssignedIdentityId,omitempty" tf:"geo_backup_user_assigned_identity_id,omitempty"`

	// The ID of the Key Vault Key.
	KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"`

	// Specifies the primary user managed identity id for a Customer Managed Key. Should be added with identity_ids.
	PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty" tf:"primary_user_assigned_identity_id,omitempty"`
}

func (*CustomerManagedKeyInitParameters) DeepCopy added in v0.35.0

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

func (*CustomerManagedKeyInitParameters) DeepCopyInto added in v0.35.0

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

type CustomerManagedKeyObservation added in v0.27.0

type CustomerManagedKeyObservation struct {

	// The ID of the geo backup Key Vault Key. It can't cross region and need Customer Managed Key in same region as geo backup.
	GeoBackupKeyVaultKeyID *string `json:"geoBackupKeyVaultKeyId,omitempty" tf:"geo_backup_key_vault_key_id,omitempty"`

	// The geo backup user managed identity id for a Customer Managed Key. Should be added with identity_ids. It can't cross region and need identity in same region as geo backup.
	GeoBackupUserAssignedIdentityID *string `json:"geoBackupUserAssignedIdentityId,omitempty" tf:"geo_backup_user_assigned_identity_id,omitempty"`

	// The ID of the Key Vault Key.
	KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"`

	// Specifies the primary user managed identity id for a Customer Managed Key. Should be added with identity_ids.
	PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty" tf:"primary_user_assigned_identity_id,omitempty"`
}

func (*CustomerManagedKeyObservation) DeepCopy added in v0.27.0

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

func (*CustomerManagedKeyObservation) DeepCopyInto added in v0.27.0

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

type CustomerManagedKeyParameters added in v0.27.0

type CustomerManagedKeyParameters struct {

	// The ID of the geo backup Key Vault Key. It can't cross region and need Customer Managed Key in same region as geo backup.
	// +kubebuilder:validation:Optional
	GeoBackupKeyVaultKeyID *string `json:"geoBackupKeyVaultKeyId,omitempty" tf:"geo_backup_key_vault_key_id,omitempty"`

	// The geo backup user managed identity id for a Customer Managed Key. Should be added with identity_ids. It can't cross region and need identity in same region as geo backup.
	// +kubebuilder:validation:Optional
	GeoBackupUserAssignedIdentityID *string `json:"geoBackupUserAssignedIdentityId,omitempty" tf:"geo_backup_user_assigned_identity_id,omitempty"`

	// The ID of the Key Vault Key.
	// +kubebuilder:validation:Optional
	KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"`

	// Specifies the primary user managed identity id for a Customer Managed Key. Should be added with identity_ids.
	// +kubebuilder:validation:Optional
	PrimaryUserAssignedIdentityID *string `json:"primaryUserAssignedIdentityId,omitempty" tf:"primary_user_assigned_identity_id,omitempty"`
}

func (*CustomerManagedKeyParameters) DeepCopy added in v0.27.0

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

func (*CustomerManagedKeyParameters) DeepCopyInto added in v0.27.0

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

type Database added in v0.27.0

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

Database is the Schema for the Databases API. Manages a MySQL Database within a MySQL Server. +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 (*Database) DeepCopy added in v0.27.0

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto added in v0.27.0

func (in *Database) DeepCopyInto(out *Database)

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

func (*Database) DeepCopyObject added in v0.27.0

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

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

func (*Database) GetCondition added in v0.27.0

func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Database.

func (*Database) GetConnectionDetailsMapping added in v0.27.0

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

GetConnectionDetailsMapping for this Database

func (*Database) GetDeletionPolicy added in v0.27.0

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

GetDeletionPolicy of this Database.

func (*Database) GetID added in v0.27.0

func (tr *Database) GetID() string

GetID returns ID of underlying Terraform resource of this Database

func (*Database) GetInitParameters added in v0.35.0

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

GetInitParameters of this Database

func (*Database) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Database.

func (*Database) GetMergedParameters added in v0.40.0

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

GetInitParameters of this Database

func (*Database) GetObservation added in v0.27.0

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

GetObservation of this Database

func (*Database) GetParameters added in v0.27.0

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

GetParameters of this Database

func (*Database) GetProviderConfigReference added in v0.27.0

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

GetProviderConfigReference of this Database.

func (*Database) GetPublishConnectionDetailsTo added in v0.27.0

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

GetPublishConnectionDetailsTo of this Database.

func (*Database) GetTerraformResourceType added in v0.27.0

func (mg *Database) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Database

func (*Database) GetTerraformSchemaVersion added in v0.27.0

func (tr *Database) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Database) GetWriteConnectionSecretToReference added in v0.27.0

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

GetWriteConnectionSecretToReference of this Database.

func (*Database) Hub added in v0.42.1

func (tr *Database) Hub()

Hub marks this type as a conversion hub.

func (*Database) LateInitialize added in v0.27.0

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

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

func (*Database) ResolveReferences added in v0.27.0

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

ResolveReferences of this Database.

func (*Database) SetConditions added in v0.27.0

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

SetConditions of this Database.

func (*Database) SetDeletionPolicy added in v0.27.0

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

SetDeletionPolicy of this Database.

func (*Database) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Database.

func (*Database) SetObservation added in v0.27.0

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

SetObservation for this Database

func (*Database) SetParameters added in v0.27.0

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

SetParameters for this Database

func (*Database) SetProviderConfigReference added in v0.27.0

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

SetProviderConfigReference of this Database.

func (*Database) SetPublishConnectionDetailsTo added in v0.27.0

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

SetPublishConnectionDetailsTo of this Database.

func (*Database) SetWriteConnectionSecretToReference added in v0.27.0

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

SetWriteConnectionSecretToReference of this Database.

type DatabaseInitParameters added in v0.35.0

type DatabaseInitParameters struct {

	// Specifies the Charset for the MySQL Database, which needs to be a valid MySQL Charset. Changing this forces a new resource to be created.
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// Specifies the Collation for the MySQL Database, which needs to be a valid MySQL Collation. Changing this forces a new resource to be created.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`
}

func (*DatabaseInitParameters) DeepCopy added in v0.35.0

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

func (*DatabaseInitParameters) DeepCopyInto added in v0.35.0

func (in *DatabaseInitParameters) DeepCopyInto(out *DatabaseInitParameters)

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

type DatabaseList added in v0.27.0

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

DatabaseList contains a list of Databases

func (*DatabaseList) DeepCopy added in v0.27.0

func (in *DatabaseList) DeepCopy() *DatabaseList

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

func (*DatabaseList) DeepCopyInto added in v0.27.0

func (in *DatabaseList) DeepCopyInto(out *DatabaseList)

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

func (*DatabaseList) DeepCopyObject added in v0.27.0

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

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

func (*DatabaseList) GetItems added in v0.27.0

func (l *DatabaseList) GetItems() []resource.Managed

GetItems of this DatabaseList.

type DatabaseObservation added in v0.27.0

type DatabaseObservation struct {

	// Specifies the Charset for the MySQL Database, which needs to be a valid MySQL Charset. Changing this forces a new resource to be created.
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// Specifies the Collation for the MySQL Database, which needs to be a valid MySQL Collation. Changing this forces a new resource to be created.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

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

	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`
}

func (*DatabaseObservation) DeepCopy added in v0.27.0

func (in *DatabaseObservation) DeepCopy() *DatabaseObservation

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

func (*DatabaseObservation) DeepCopyInto added in v0.27.0

func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation)

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

type DatabaseParameters added in v0.27.0

type DatabaseParameters struct {

	// Specifies the Charset for the MySQL Database, which needs to be a valid MySQL Charset. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// Specifies the Collation for the MySQL Database, which needs to be a valid MySQL Collation. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The name of the resource group in which the MySQL Server exists. 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:"-"`

	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.Server
	// +kubebuilder:validation:Optional
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`
}

func (*DatabaseParameters) DeepCopy added in v0.27.0

func (in *DatabaseParameters) DeepCopy() *DatabaseParameters

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

func (*DatabaseParameters) DeepCopyInto added in v0.27.0

func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters)

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

type DatabaseSpec added in v0.27.0

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

DatabaseSpec defines the desired state of Database

func (*DatabaseSpec) DeepCopy added in v0.27.0

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

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

func (*DatabaseSpec) DeepCopyInto added in v0.27.0

func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)

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

type DatabaseStatus added in v0.27.0

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

DatabaseStatus defines the observed state of Database.

func (*DatabaseStatus) DeepCopy added in v0.27.0

func (in *DatabaseStatus) DeepCopy() *DatabaseStatus

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

func (*DatabaseStatus) DeepCopyInto added in v0.27.0

func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)

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

type FirewallRule

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

FirewallRule is the Schema for the FirewallRules API. Manages a Firewall Rule for a MySQL Server. +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 (*FirewallRule) DeepCopy

func (in *FirewallRule) DeepCopy() *FirewallRule

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

func (*FirewallRule) DeepCopyInto

func (in *FirewallRule) DeepCopyInto(out *FirewallRule)

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

func (*FirewallRule) DeepCopyObject

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

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

func (*FirewallRule) GetCondition

func (mg *FirewallRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this FirewallRule.

func (*FirewallRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this FirewallRule

func (*FirewallRule) GetDeletionPolicy

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

GetDeletionPolicy of this FirewallRule.

func (*FirewallRule) GetID

func (tr *FirewallRule) GetID() string

GetID returns ID of underlying Terraform resource of this FirewallRule

func (*FirewallRule) GetInitParameters added in v0.35.0

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

GetInitParameters of this FirewallRule

func (*FirewallRule) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this FirewallRule.

func (*FirewallRule) GetMergedParameters added in v0.40.0

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

GetInitParameters of this FirewallRule

func (*FirewallRule) GetObservation

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

GetObservation of this FirewallRule

func (*FirewallRule) GetParameters

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

GetParameters of this FirewallRule

func (*FirewallRule) GetProviderConfigReference

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

GetProviderConfigReference of this FirewallRule.

func (*FirewallRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FirewallRule.

func (*FirewallRule) GetTerraformResourceType

func (mg *FirewallRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FirewallRule

func (*FirewallRule) GetTerraformSchemaVersion

func (tr *FirewallRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FirewallRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FirewallRule.

func (*FirewallRule) Hub added in v0.42.1

func (tr *FirewallRule) Hub()

Hub marks this type as a conversion hub.

func (*FirewallRule) LateInitialize

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

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

func (*FirewallRule) ResolveReferences

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

ResolveReferences of this FirewallRule.

func (*FirewallRule) SetConditions

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

SetConditions of this FirewallRule.

func (*FirewallRule) SetDeletionPolicy

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

SetDeletionPolicy of this FirewallRule.

func (*FirewallRule) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this FirewallRule.

func (*FirewallRule) SetObservation

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

SetObservation for this FirewallRule

func (*FirewallRule) SetParameters

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

SetParameters for this FirewallRule

func (*FirewallRule) SetProviderConfigReference

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

SetProviderConfigReference of this FirewallRule.

func (*FirewallRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FirewallRule.

func (*FirewallRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FirewallRule.

type FirewallRuleInitParameters added in v0.35.0

type FirewallRuleInitParameters struct {

	// Specifies the End IP Address associated with this Firewall Rule.
	EndIPAddress *string `json:"endIpAddress,omitempty" tf:"end_ip_address,omitempty"`

	// Specifies the Start IP Address associated with this Firewall Rule.
	StartIPAddress *string `json:"startIpAddress,omitempty" tf:"start_ip_address,omitempty"`
}

func (*FirewallRuleInitParameters) DeepCopy added in v0.35.0

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

func (*FirewallRuleInitParameters) DeepCopyInto added in v0.35.0

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

type FirewallRuleList

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

FirewallRuleList contains a list of FirewallRules

func (*FirewallRuleList) DeepCopy

func (in *FirewallRuleList) DeepCopy() *FirewallRuleList

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

func (*FirewallRuleList) DeepCopyInto

func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList)

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

func (*FirewallRuleList) DeepCopyObject

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

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

func (*FirewallRuleList) GetItems

func (l *FirewallRuleList) GetItems() []resource.Managed

GetItems of this FirewallRuleList.

type FirewallRuleObservation

type FirewallRuleObservation struct {

	// Specifies the End IP Address associated with this Firewall Rule.
	EndIPAddress *string `json:"endIpAddress,omitempty" tf:"end_ip_address,omitempty"`

	// The ID of the MySQL Firewall Rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Specifies the Start IP Address associated with this Firewall Rule.
	StartIPAddress *string `json:"startIpAddress,omitempty" tf:"start_ip_address,omitempty"`
}

func (*FirewallRuleObservation) DeepCopy

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

func (*FirewallRuleObservation) DeepCopyInto

func (in *FirewallRuleObservation) DeepCopyInto(out *FirewallRuleObservation)

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

type FirewallRuleParameters

type FirewallRuleParameters struct {

	// Specifies the End IP Address associated with this Firewall Rule.
	// +kubebuilder:validation:Optional
	EndIPAddress *string `json:"endIpAddress,omitempty" tf:"end_ip_address,omitempty"`

	// The name of the resource group in which the MySQL Server exists. 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:"-"`

	// Specifies the name of the MySQL Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.Server
	// +kubebuilder:validation:Optional
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`

	// Specifies the Start IP Address associated with this Firewall Rule.
	// +kubebuilder:validation:Optional
	StartIPAddress *string `json:"startIpAddress,omitempty" tf:"start_ip_address,omitempty"`
}

func (*FirewallRuleParameters) DeepCopy

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

func (*FirewallRuleParameters) DeepCopyInto

func (in *FirewallRuleParameters) DeepCopyInto(out *FirewallRuleParameters)

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

type FirewallRuleSpec

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

FirewallRuleSpec defines the desired state of FirewallRule

func (*FirewallRuleSpec) DeepCopy

func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec

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

func (*FirewallRuleSpec) DeepCopyInto

func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec)

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

type FirewallRuleStatus

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

FirewallRuleStatus defines the observed state of FirewallRule.

func (*FirewallRuleStatus) DeepCopy

func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus

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

func (*FirewallRuleStatus) DeepCopyInto

func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus)

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

type FlexibleDatabase

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

FlexibleDatabase is the Schema for the FlexibleDatabases API. Manages a MySQL Database within a MySQL Flexible Server. +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 (*FlexibleDatabase) DeepCopy

func (in *FlexibleDatabase) DeepCopy() *FlexibleDatabase

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

func (*FlexibleDatabase) DeepCopyInto

func (in *FlexibleDatabase) DeepCopyInto(out *FlexibleDatabase)

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

func (*FlexibleDatabase) DeepCopyObject

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

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

func (*FlexibleDatabase) GetCondition

func (mg *FlexibleDatabase) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this FlexibleDatabase.

func (*FlexibleDatabase) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this FlexibleDatabase

func (*FlexibleDatabase) GetDeletionPolicy

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

GetDeletionPolicy of this FlexibleDatabase.

func (*FlexibleDatabase) GetID

func (tr *FlexibleDatabase) GetID() string

GetID returns ID of underlying Terraform resource of this FlexibleDatabase

func (*FlexibleDatabase) GetInitParameters added in v0.35.0

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

GetInitParameters of this FlexibleDatabase

func (*FlexibleDatabase) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this FlexibleDatabase.

func (*FlexibleDatabase) GetMergedParameters added in v0.40.0

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

GetInitParameters of this FlexibleDatabase

func (*FlexibleDatabase) GetObservation

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

GetObservation of this FlexibleDatabase

func (*FlexibleDatabase) GetParameters

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

GetParameters of this FlexibleDatabase

func (*FlexibleDatabase) GetProviderConfigReference

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

GetProviderConfigReference of this FlexibleDatabase.

func (*FlexibleDatabase) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FlexibleDatabase.

func (*FlexibleDatabase) GetTerraformResourceType

func (mg *FlexibleDatabase) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FlexibleDatabase

func (*FlexibleDatabase) GetTerraformSchemaVersion

func (tr *FlexibleDatabase) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FlexibleDatabase) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FlexibleDatabase.

func (*FlexibleDatabase) Hub added in v0.42.1

func (tr *FlexibleDatabase) Hub()

Hub marks this type as a conversion hub.

func (*FlexibleDatabase) LateInitialize

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

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

func (*FlexibleDatabase) ResolveReferences

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

ResolveReferences of this FlexibleDatabase.

func (*FlexibleDatabase) SetConditions

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

SetConditions of this FlexibleDatabase.

func (*FlexibleDatabase) SetDeletionPolicy

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

SetDeletionPolicy of this FlexibleDatabase.

func (*FlexibleDatabase) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this FlexibleDatabase.

func (*FlexibleDatabase) SetObservation

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

SetObservation for this FlexibleDatabase

func (*FlexibleDatabase) SetParameters

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

SetParameters for this FlexibleDatabase

func (*FlexibleDatabase) SetProviderConfigReference

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

SetProviderConfigReference of this FlexibleDatabase.

func (*FlexibleDatabase) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FlexibleDatabase.

func (*FlexibleDatabase) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FlexibleDatabase.

type FlexibleDatabaseInitParameters added in v0.35.0

type FlexibleDatabaseInitParameters struct {

	// Specifies the Charset for the MySQL Database, which needs to be a valid MySQL Charset. Changing this forces a new resource to be created.
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// Specifies the Collation for the MySQL Database, which needs to be a valid MySQL Collation. Changing this forces a new resource to be created.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`
}

func (*FlexibleDatabaseInitParameters) DeepCopy added in v0.35.0

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

func (*FlexibleDatabaseInitParameters) DeepCopyInto added in v0.35.0

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

type FlexibleDatabaseList

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

FlexibleDatabaseList contains a list of FlexibleDatabases

func (*FlexibleDatabaseList) DeepCopy

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

func (*FlexibleDatabaseList) DeepCopyInto

func (in *FlexibleDatabaseList) DeepCopyInto(out *FlexibleDatabaseList)

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

func (*FlexibleDatabaseList) DeepCopyObject

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

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

func (*FlexibleDatabaseList) GetItems

func (l *FlexibleDatabaseList) GetItems() []resource.Managed

GetItems of this FlexibleDatabaseList.

type FlexibleDatabaseObservation

type FlexibleDatabaseObservation struct {

	// Specifies the Charset for the MySQL Database, which needs to be a valid MySQL Charset. Changing this forces a new resource to be created.
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// Specifies the Collation for the MySQL Database, which needs to be a valid MySQL Collation. Changing this forces a new resource to be created.
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

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

	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`
}

func (*FlexibleDatabaseObservation) DeepCopy

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

func (*FlexibleDatabaseObservation) DeepCopyInto

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

type FlexibleDatabaseParameters

type FlexibleDatabaseParameters struct {

	// Specifies the Charset for the MySQL Database, which needs to be a valid MySQL Charset. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Charset *string `json:"charset,omitempty" tf:"charset,omitempty"`

	// Specifies the Collation for the MySQL Database, which needs to be a valid MySQL Collation. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Collation *string `json:"collation,omitempty" tf:"collation,omitempty"`

	// The name of the resource group in which the MySQL Server exists. 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:"-"`

	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.FlexibleServer
	// +kubebuilder:validation:Optional
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a FlexibleServer in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a FlexibleServer in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`
}

func (*FlexibleDatabaseParameters) DeepCopy

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

func (*FlexibleDatabaseParameters) DeepCopyInto

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

type FlexibleDatabaseSpec

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

FlexibleDatabaseSpec defines the desired state of FlexibleDatabase

func (*FlexibleDatabaseSpec) DeepCopy

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

func (*FlexibleDatabaseSpec) DeepCopyInto

func (in *FlexibleDatabaseSpec) DeepCopyInto(out *FlexibleDatabaseSpec)

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

type FlexibleDatabaseStatus

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

FlexibleDatabaseStatus defines the observed state of FlexibleDatabase.

func (*FlexibleDatabaseStatus) DeepCopy

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

func (*FlexibleDatabaseStatus) DeepCopyInto

func (in *FlexibleDatabaseStatus) DeepCopyInto(out *FlexibleDatabaseStatus)

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

type FlexibleServer

type FlexibleServer 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"
	Spec   FlexibleServerSpec   `json:"spec"`
	Status FlexibleServerStatus `json:"status,omitempty"`
}

FlexibleServer is the Schema for the FlexibleServers API. Manages a MySQL Flexible Server. +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 (*FlexibleServer) ConvertFrom added in v1.2.0

func (tr *FlexibleServer) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the FlexibleServer type.

func (*FlexibleServer) ConvertTo added in v1.2.0

func (tr *FlexibleServer) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this FlexibleServer to the hub type.

func (*FlexibleServer) DeepCopy

func (in *FlexibleServer) DeepCopy() *FlexibleServer

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

func (*FlexibleServer) DeepCopyInto

func (in *FlexibleServer) DeepCopyInto(out *FlexibleServer)

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

func (*FlexibleServer) DeepCopyObject

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

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

func (*FlexibleServer) GetCondition

func (mg *FlexibleServer) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this FlexibleServer.

func (*FlexibleServer) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this FlexibleServer

func (*FlexibleServer) GetDeletionPolicy

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

GetDeletionPolicy of this FlexibleServer.

func (*FlexibleServer) GetID

func (tr *FlexibleServer) GetID() string

GetID returns ID of underlying Terraform resource of this FlexibleServer

func (*FlexibleServer) GetInitParameters added in v0.35.0

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

GetInitParameters of this FlexibleServer

func (*FlexibleServer) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this FlexibleServer.

func (*FlexibleServer) GetMergedParameters added in v0.40.0

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

GetInitParameters of this FlexibleServer

func (*FlexibleServer) GetObservation

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

GetObservation of this FlexibleServer

func (*FlexibleServer) GetParameters

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

GetParameters of this FlexibleServer

func (*FlexibleServer) GetProviderConfigReference

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

GetProviderConfigReference of this FlexibleServer.

func (*FlexibleServer) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FlexibleServer.

func (*FlexibleServer) GetTerraformResourceType

func (mg *FlexibleServer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FlexibleServer

func (*FlexibleServer) GetTerraformSchemaVersion

func (tr *FlexibleServer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FlexibleServer) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FlexibleServer.

func (*FlexibleServer) LateInitialize

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

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

func (*FlexibleServer) ResolveReferences

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

ResolveReferences of this FlexibleServer.

func (*FlexibleServer) SetConditions

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

SetConditions of this FlexibleServer.

func (*FlexibleServer) SetDeletionPolicy

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

SetDeletionPolicy of this FlexibleServer.

func (*FlexibleServer) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this FlexibleServer.

func (*FlexibleServer) SetObservation

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

SetObservation for this FlexibleServer

func (*FlexibleServer) SetParameters

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

SetParameters for this FlexibleServer

func (*FlexibleServer) SetProviderConfigReference

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

SetProviderConfigReference of this FlexibleServer.

func (*FlexibleServer) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FlexibleServer.

func (*FlexibleServer) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FlexibleServer.

type FlexibleServerConfiguration

type FlexibleServerConfiguration 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.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter"
	Spec   FlexibleServerConfigurationSpec   `json:"spec"`
	Status FlexibleServerConfigurationStatus `json:"status,omitempty"`
}

FlexibleServerConfiguration is the Schema for the FlexibleServerConfigurations API. Sets a MySQL Flexible Server Configuration value on a MySQL Flexible Server. +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 (*FlexibleServerConfiguration) DeepCopy

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

func (*FlexibleServerConfiguration) DeepCopyInto

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

func (*FlexibleServerConfiguration) DeepCopyObject

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

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

func (*FlexibleServerConfiguration) GetCondition

GetCondition of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this FlexibleServerConfiguration

func (*FlexibleServerConfiguration) GetDeletionPolicy

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

GetDeletionPolicy of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) GetID

func (tr *FlexibleServerConfiguration) GetID() string

GetID returns ID of underlying Terraform resource of this FlexibleServerConfiguration

func (*FlexibleServerConfiguration) GetInitParameters added in v0.35.0

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

GetInitParameters of this FlexibleServerConfiguration

func (*FlexibleServerConfiguration) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) GetMergedParameters added in v0.40.0

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

GetInitParameters of this FlexibleServerConfiguration

func (*FlexibleServerConfiguration) GetObservation

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

GetObservation of this FlexibleServerConfiguration

func (*FlexibleServerConfiguration) GetParameters

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

GetParameters of this FlexibleServerConfiguration

func (*FlexibleServerConfiguration) GetProviderConfigReference

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

GetProviderConfigReference of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) GetTerraformResourceType

func (mg *FlexibleServerConfiguration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FlexibleServerConfiguration

func (*FlexibleServerConfiguration) GetTerraformSchemaVersion

func (tr *FlexibleServerConfiguration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FlexibleServerConfiguration) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) Hub added in v0.42.1

func (tr *FlexibleServerConfiguration) Hub()

Hub marks this type as a conversion hub.

func (*FlexibleServerConfiguration) LateInitialize

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

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

func (*FlexibleServerConfiguration) ResolveReferences

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

ResolveReferences of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) SetConditions

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

SetConditions of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) SetDeletionPolicy

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

SetDeletionPolicy of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) SetObservation

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

SetObservation for this FlexibleServerConfiguration

func (*FlexibleServerConfiguration) SetParameters

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

SetParameters for this FlexibleServerConfiguration

func (*FlexibleServerConfiguration) SetProviderConfigReference

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

SetProviderConfigReference of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FlexibleServerConfiguration.

func (*FlexibleServerConfiguration) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FlexibleServerConfiguration.

type FlexibleServerConfigurationInitParameters added in v0.35.0

type FlexibleServerConfigurationInitParameters struct {

	// Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*FlexibleServerConfigurationInitParameters) DeepCopy added in v0.35.0

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

func (*FlexibleServerConfigurationInitParameters) DeepCopyInto added in v0.35.0

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

type FlexibleServerConfigurationList

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

FlexibleServerConfigurationList contains a list of FlexibleServerConfigurations

func (*FlexibleServerConfigurationList) DeepCopy

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

func (*FlexibleServerConfigurationList) DeepCopyInto

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

func (*FlexibleServerConfigurationList) DeepCopyObject

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

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

func (*FlexibleServerConfigurationList) GetItems

GetItems of this FlexibleServerConfigurationList.

type FlexibleServerConfigurationObservation

type FlexibleServerConfigurationObservation struct {

	// The ID of the MySQL Flexible Server Configuration.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*FlexibleServerConfigurationObservation) DeepCopy

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

func (*FlexibleServerConfigurationObservation) DeepCopyInto

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

type FlexibleServerConfigurationParameters

type FlexibleServerConfigurationParameters struct {

	// The name of the resource group in which the MySQL Flexible Server exists. 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:"-"`

	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.FlexibleServer
	// +kubebuilder:validation:Optional
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a FlexibleServer in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a FlexibleServer in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`

	// Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*FlexibleServerConfigurationParameters) DeepCopy

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

func (*FlexibleServerConfigurationParameters) DeepCopyInto

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

type FlexibleServerConfigurationSpec

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

FlexibleServerConfigurationSpec defines the desired state of FlexibleServerConfiguration

func (*FlexibleServerConfigurationSpec) DeepCopy

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

func (*FlexibleServerConfigurationSpec) DeepCopyInto

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

type FlexibleServerConfigurationStatus

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

FlexibleServerConfigurationStatus defines the observed state of FlexibleServerConfiguration.

func (*FlexibleServerConfigurationStatus) DeepCopy

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

func (*FlexibleServerConfigurationStatus) DeepCopyInto

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

type FlexibleServerFirewallRule

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

FlexibleServerFirewallRule is the Schema for the FlexibleServerFirewallRules API. Manages a Firewall Rule for a MySQL Flexible Server. +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 (*FlexibleServerFirewallRule) DeepCopy

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

func (*FlexibleServerFirewallRule) DeepCopyInto

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

func (*FlexibleServerFirewallRule) DeepCopyObject

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

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

func (*FlexibleServerFirewallRule) GetCondition

GetCondition of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this FlexibleServerFirewallRule

func (*FlexibleServerFirewallRule) GetDeletionPolicy

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

GetDeletionPolicy of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) GetID

func (tr *FlexibleServerFirewallRule) GetID() string

GetID returns ID of underlying Terraform resource of this FlexibleServerFirewallRule

func (*FlexibleServerFirewallRule) GetInitParameters added in v0.35.0

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

GetInitParameters of this FlexibleServerFirewallRule

func (*FlexibleServerFirewallRule) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) GetMergedParameters added in v0.40.0

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

GetInitParameters of this FlexibleServerFirewallRule

func (*FlexibleServerFirewallRule) GetObservation

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

GetObservation of this FlexibleServerFirewallRule

func (*FlexibleServerFirewallRule) GetParameters

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

GetParameters of this FlexibleServerFirewallRule

func (*FlexibleServerFirewallRule) GetProviderConfigReference

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

GetProviderConfigReference of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) GetTerraformResourceType

func (mg *FlexibleServerFirewallRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FlexibleServerFirewallRule

func (*FlexibleServerFirewallRule) GetTerraformSchemaVersion

func (tr *FlexibleServerFirewallRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FlexibleServerFirewallRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) Hub added in v0.42.1

func (tr *FlexibleServerFirewallRule) Hub()

Hub marks this type as a conversion hub.

func (*FlexibleServerFirewallRule) LateInitialize

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

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

func (*FlexibleServerFirewallRule) ResolveReferences

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

ResolveReferences of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) SetConditions

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

SetConditions of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) SetDeletionPolicy

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

SetDeletionPolicy of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) SetObservation

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

SetObservation for this FlexibleServerFirewallRule

func (*FlexibleServerFirewallRule) SetParameters

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

SetParameters for this FlexibleServerFirewallRule

func (*FlexibleServerFirewallRule) SetProviderConfigReference

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

SetProviderConfigReference of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this FlexibleServerFirewallRule.

type FlexibleServerFirewallRuleInitParameters added in v0.35.0

type FlexibleServerFirewallRuleInitParameters struct {

	// Specifies the End IP Address associated with this Firewall Rule.
	EndIPAddress *string `json:"endIpAddress,omitempty" tf:"end_ip_address,omitempty"`

	// Specifies the Start IP Address associated with this Firewall Rule.
	StartIPAddress *string `json:"startIpAddress,omitempty" tf:"start_ip_address,omitempty"`
}

func (*FlexibleServerFirewallRuleInitParameters) DeepCopy added in v0.35.0

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

func (*FlexibleServerFirewallRuleInitParameters) DeepCopyInto added in v0.35.0

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

type FlexibleServerFirewallRuleList

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

FlexibleServerFirewallRuleList contains a list of FlexibleServerFirewallRules

func (*FlexibleServerFirewallRuleList) DeepCopy

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

func (*FlexibleServerFirewallRuleList) DeepCopyInto

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

func (*FlexibleServerFirewallRuleList) DeepCopyObject

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

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

func (*FlexibleServerFirewallRuleList) GetItems

GetItems of this FlexibleServerFirewallRuleList.

type FlexibleServerFirewallRuleObservation

type FlexibleServerFirewallRuleObservation struct {

	// Specifies the End IP Address associated with this Firewall Rule.
	EndIPAddress *string `json:"endIpAddress,omitempty" tf:"end_ip_address,omitempty"`

	// The ID of the MySQL Firewall Rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Specifies the Start IP Address associated with this Firewall Rule.
	StartIPAddress *string `json:"startIpAddress,omitempty" tf:"start_ip_address,omitempty"`
}

func (*FlexibleServerFirewallRuleObservation) DeepCopy

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

func (*FlexibleServerFirewallRuleObservation) DeepCopyInto

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

type FlexibleServerFirewallRuleParameters

type FlexibleServerFirewallRuleParameters struct {

	// Specifies the End IP Address associated with this Firewall Rule.
	// +kubebuilder:validation:Optional
	EndIPAddress *string `json:"endIpAddress,omitempty" tf:"end_ip_address,omitempty"`

	// The name of the resource group in which the MySQL Flexible Server exists. 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:"-"`

	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.FlexibleServer
	// +kubebuilder:validation:Optional
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a FlexibleServer in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a FlexibleServer in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`

	// Specifies the Start IP Address associated with this Firewall Rule.
	// +kubebuilder:validation:Optional
	StartIPAddress *string `json:"startIpAddress,omitempty" tf:"start_ip_address,omitempty"`
}

func (*FlexibleServerFirewallRuleParameters) DeepCopy

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

func (*FlexibleServerFirewallRuleParameters) DeepCopyInto

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

type FlexibleServerFirewallRuleSpec

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

FlexibleServerFirewallRuleSpec defines the desired state of FlexibleServerFirewallRule

func (*FlexibleServerFirewallRuleSpec) DeepCopy

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

func (*FlexibleServerFirewallRuleSpec) DeepCopyInto

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

type FlexibleServerFirewallRuleStatus

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

FlexibleServerFirewallRuleStatus defines the observed state of FlexibleServerFirewallRule.

func (*FlexibleServerFirewallRuleStatus) DeepCopy

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

func (*FlexibleServerFirewallRuleStatus) DeepCopyInto

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

type FlexibleServerInitParameters added in v0.35.0

type FlexibleServerInitParameters struct {

	// The Administrator login for the MySQL Flexible Server. Required when create_mode is Default. Changing this forces a new MySQL Flexible Server to be created.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// The backup retention days for the MySQL Flexible Server. Possible values are between 1 and 35 days. Defaults to 7.
	BackupRetentionDays *float64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"`

	// The creation mode which can be used to restore or replicate existing servers. Possible values are Default, PointInTimeRestore, GeoRestore, and Replica. Changing this forces a new MySQL Flexible Server to be created.
	CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"`

	// A customer_managed_key block as defined below.
	CustomerManagedKey []CustomerManagedKeyInitParameters `json:"customerManagedKey,omitempty" tf:"customer_managed_key,omitempty"`

	// The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	DelegatedSubnetID *string `json:"delegatedSubnetId,omitempty" tf:"delegated_subnet_id,omitempty"`

	// Reference to a Subnet in network to populate delegatedSubnetId.
	// +kubebuilder:validation:Optional
	DelegatedSubnetIDRef *v1.Reference `json:"delegatedSubnetIdRef,omitempty" tf:"-"`

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

	// Should geo redundant backup enabled? Defaults to false. Changing this forces a new MySQL Flexible Server to be created.
	GeoRedundantBackupEnabled *bool `json:"geoRedundantBackupEnabled,omitempty" tf:"geo_redundant_backup_enabled,omitempty"`

	// A high_availability block as defined below.
	HighAvailability []HighAvailabilityInitParameters `json:"highAvailability,omitempty" tf:"high_availability,omitempty"`

	// An identity block as defined below.
	Identity []IdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A maintenance_window block as defined below.
	MaintenanceWindow []MaintenanceWindowInitParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// The point in time to restore from creation_source_server_id when create_mode is PointInTimeRestore. Changing this forces a new MySQL Flexible Server to be created.
	PointInTimeRestoreTimeInUtc *string `json:"pointInTimeRestoreTimeInUtc,omitempty" tf:"point_in_time_restore_time_in_utc,omitempty"`

	// The ID of the private DNS zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	PrivateDNSZoneID *string `json:"privateDnsZoneId,omitempty" tf:"private_dns_zone_id,omitempty"`

	// Reference to a PrivateDNSZone in network to populate privateDnsZoneId.
	// +kubebuilder:validation:Optional
	PrivateDNSZoneIDRef *v1.Reference `json:"privateDnsZoneIdRef,omitempty" tf:"-"`

	// Selector for a PrivateDNSZone in network to populate privateDnsZoneId.
	// +kubebuilder:validation:Optional
	PrivateDNSZoneIDSelector *v1.Selector `json:"privateDnsZoneIdSelector,omitempty" tf:"-"`

	// The replication role. Possible value is None.
	ReplicationRole *string `json:"replicationRole,omitempty" tf:"replication_role,omitempty"`

	// The SKU Name for the MySQL Flexible Server.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// The resource ID of the source MySQL Flexible Server to be restored. Required when create_mode is PointInTimeRestore, GeoRestore, and Replica. Changing this forces a new MySQL Flexible Server to be created.
	SourceServerID *string `json:"sourceServerId,omitempty" tf:"source_server_id,omitempty"`

	// A storage block as defined below.
	Storage []StorageInitParameters `json:"storage,omitempty" tf:"storage,omitempty"`

	// A mapping of tags which should be assigned to the MySQL Flexible Server.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The version of the MySQL Flexible Server to use. Possible values are 5.7, and 8.0.21. Changing this forces a new MySQL Flexible Server to be created.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`

	// Specifies the Availability Zone in which this MySQL Flexible Server should be located. Possible values are 1, 2 and 3.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*FlexibleServerInitParameters) DeepCopy added in v0.35.0

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

func (*FlexibleServerInitParameters) DeepCopyInto added in v0.35.0

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

type FlexibleServerList

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

FlexibleServerList contains a list of FlexibleServers

func (*FlexibleServerList) DeepCopy

func (in *FlexibleServerList) DeepCopy() *FlexibleServerList

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

func (*FlexibleServerList) DeepCopyInto

func (in *FlexibleServerList) DeepCopyInto(out *FlexibleServerList)

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

func (*FlexibleServerList) DeepCopyObject

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

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

func (*FlexibleServerList) GetItems

func (l *FlexibleServerList) GetItems() []resource.Managed

GetItems of this FlexibleServerList.

type FlexibleServerObservation

type FlexibleServerObservation struct {

	// The Administrator login for the MySQL Flexible Server. Required when create_mode is Default. Changing this forces a new MySQL Flexible Server to be created.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// The backup retention days for the MySQL Flexible Server. Possible values are between 1 and 35 days. Defaults to 7.
	BackupRetentionDays *float64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"`

	// The creation mode which can be used to restore or replicate existing servers. Possible values are Default, PointInTimeRestore, GeoRestore, and Replica. Changing this forces a new MySQL Flexible Server to be created.
	CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"`

	// A customer_managed_key block as defined below.
	CustomerManagedKey []CustomerManagedKeyObservation `json:"customerManagedKey,omitempty" tf:"customer_managed_key,omitempty"`

	// The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	DelegatedSubnetID *string `json:"delegatedSubnetId,omitempty" tf:"delegated_subnet_id,omitempty"`

	// The fully qualified domain name of the MySQL Flexible Server.
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// Should geo redundant backup enabled? Defaults to false. Changing this forces a new MySQL Flexible Server to be created.
	GeoRedundantBackupEnabled *bool `json:"geoRedundantBackupEnabled,omitempty" tf:"geo_redundant_backup_enabled,omitempty"`

	// A high_availability block as defined below.
	HighAvailability []HighAvailabilityObservation `json:"highAvailability,omitempty" tf:"high_availability,omitempty"`

	// The ID of the MySQL Flexible Server.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity []IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A maintenance_window block as defined below.
	MaintenanceWindow []MaintenanceWindowObservation `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// The point in time to restore from creation_source_server_id when create_mode is PointInTimeRestore. Changing this forces a new MySQL Flexible Server to be created.
	PointInTimeRestoreTimeInUtc *string `json:"pointInTimeRestoreTimeInUtc,omitempty" tf:"point_in_time_restore_time_in_utc,omitempty"`

	// The ID of the private DNS zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	PrivateDNSZoneID *string `json:"privateDnsZoneId,omitempty" tf:"private_dns_zone_id,omitempty"`

	// Is the public network access enabled?
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// The maximum number of replicas that a primary MySQL Flexible Server can have.
	ReplicaCapacity *float64 `json:"replicaCapacity,omitempty" tf:"replica_capacity,omitempty"`

	// The replication role. Possible value is None.
	ReplicationRole *string `json:"replicationRole,omitempty" tf:"replication_role,omitempty"`

	// The name of the Resource Group where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// The SKU Name for the MySQL Flexible Server.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// The resource ID of the source MySQL Flexible Server to be restored. Required when create_mode is PointInTimeRestore, GeoRestore, and Replica. Changing this forces a new MySQL Flexible Server to be created.
	SourceServerID *string `json:"sourceServerId,omitempty" tf:"source_server_id,omitempty"`

	// A storage block as defined below.
	Storage []StorageObservation `json:"storage,omitempty" tf:"storage,omitempty"`

	// A mapping of tags which should be assigned to the MySQL Flexible Server.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The version of the MySQL Flexible Server to use. Possible values are 5.7, and 8.0.21. Changing this forces a new MySQL Flexible Server to be created.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`

	// Specifies the Availability Zone in which this MySQL Flexible Server should be located. Possible values are 1, 2 and 3.
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*FlexibleServerObservation) DeepCopy

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

func (*FlexibleServerObservation) DeepCopyInto

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

type FlexibleServerParameters

type FlexibleServerParameters struct {

	// The Administrator login for the MySQL Flexible Server. Required when create_mode is Default. Changing this forces a new MySQL Flexible Server to be created.
	// +kubebuilder:validation:Optional
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// The Password associated with the administrator_login for the MySQL Flexible Server. Required when create_mode is Default.
	// +kubebuilder:validation:Optional
	AdministratorPasswordSecretRef *v1.SecretKeySelector `json:"administratorPasswordSecretRef,omitempty" tf:"-"`

	// The backup retention days for the MySQL Flexible Server. Possible values are between 1 and 35 days. Defaults to 7.
	// +kubebuilder:validation:Optional
	BackupRetentionDays *float64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"`

	// The creation mode which can be used to restore or replicate existing servers. Possible values are Default, PointInTimeRestore, GeoRestore, and Replica. Changing this forces a new MySQL Flexible Server to be created.
	// +kubebuilder:validation:Optional
	CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"`

	// A customer_managed_key block as defined below.
	// +kubebuilder:validation:Optional
	CustomerManagedKey []CustomerManagedKeyParameters `json:"customerManagedKey,omitempty" tf:"customer_managed_key,omitempty"`

	// The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.Subnet
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	DelegatedSubnetID *string `json:"delegatedSubnetId,omitempty" tf:"delegated_subnet_id,omitempty"`

	// Reference to a Subnet in network to populate delegatedSubnetId.
	// +kubebuilder:validation:Optional
	DelegatedSubnetIDRef *v1.Reference `json:"delegatedSubnetIdRef,omitempty" tf:"-"`

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

	// Should geo redundant backup enabled? Defaults to false. Changing this forces a new MySQL Flexible Server to be created.
	// +kubebuilder:validation:Optional
	GeoRedundantBackupEnabled *bool `json:"geoRedundantBackupEnabled,omitempty" tf:"geo_redundant_backup_enabled,omitempty"`

	// A high_availability block as defined below.
	// +kubebuilder:validation:Optional
	HighAvailability []HighAvailabilityParameters `json:"highAvailability,omitempty" tf:"high_availability,omitempty"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A maintenance_window block as defined below.
	// +kubebuilder:validation:Optional
	MaintenanceWindow []MaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// The point in time to restore from creation_source_server_id when create_mode is PointInTimeRestore. Changing this forces a new MySQL Flexible Server to be created.
	// +kubebuilder:validation:Optional
	PointInTimeRestoreTimeInUtc *string `json:"pointInTimeRestoreTimeInUtc,omitempty" tf:"point_in_time_restore_time_in_utc,omitempty"`

	// The ID of the private DNS zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/network/v1beta1.PrivateDNSZone
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-azure/apis/rconfig.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PrivateDNSZoneID *string `json:"privateDnsZoneId,omitempty" tf:"private_dns_zone_id,omitempty"`

	// Reference to a PrivateDNSZone in network to populate privateDnsZoneId.
	// +kubebuilder:validation:Optional
	PrivateDNSZoneIDRef *v1.Reference `json:"privateDnsZoneIdRef,omitempty" tf:"-"`

	// Selector for a PrivateDNSZone in network to populate privateDnsZoneId.
	// +kubebuilder:validation:Optional
	PrivateDNSZoneIDSelector *v1.Selector `json:"privateDnsZoneIdSelector,omitempty" tf:"-"`

	// The replication role. Possible value is None.
	// +kubebuilder:validation:Optional
	ReplicationRole *string `json:"replicationRole,omitempty" tf:"replication_role,omitempty"`

	// The name of the Resource Group where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server 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 for the MySQL Flexible Server.
	// +kubebuilder:validation:Optional
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// The resource ID of the source MySQL Flexible Server to be restored. Required when create_mode is PointInTimeRestore, GeoRestore, and Replica. Changing this forces a new MySQL Flexible Server to be created.
	// +kubebuilder:validation:Optional
	SourceServerID *string `json:"sourceServerId,omitempty" tf:"source_server_id,omitempty"`

	// A storage block as defined below.
	// +kubebuilder:validation:Optional
	Storage []StorageParameters `json:"storage,omitempty" tf:"storage,omitempty"`

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

	// The version of the MySQL Flexible Server to use. Possible values are 5.7, and 8.0.21. Changing this forces a new MySQL Flexible Server to be created.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`

	// Specifies the Availability Zone in which this MySQL Flexible Server should be located. Possible values are 1, 2 and 3.
	// +kubebuilder:validation:Optional
	Zone *string `json:"zone,omitempty" tf:"zone,omitempty"`
}

func (*FlexibleServerParameters) DeepCopy

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

func (*FlexibleServerParameters) DeepCopyInto

func (in *FlexibleServerParameters) DeepCopyInto(out *FlexibleServerParameters)

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

type FlexibleServerSpec

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

FlexibleServerSpec defines the desired state of FlexibleServer

func (*FlexibleServerSpec) DeepCopy

func (in *FlexibleServerSpec) DeepCopy() *FlexibleServerSpec

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

func (*FlexibleServerSpec) DeepCopyInto

func (in *FlexibleServerSpec) DeepCopyInto(out *FlexibleServerSpec)

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

type FlexibleServerStatus

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

FlexibleServerStatus defines the observed state of FlexibleServer.

func (*FlexibleServerStatus) DeepCopy

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

func (*FlexibleServerStatus) DeepCopyInto

func (in *FlexibleServerStatus) DeepCopyInto(out *FlexibleServerStatus)

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

type HighAvailabilityInitParameters added in v0.35.0

type HighAvailabilityInitParameters struct {

	// The high availability mode for the MySQL Flexible Server. Possibles values are SameZone and ZoneRedundant.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Specifies the Availability Zone in which the standby Flexible Server should be located. Possible values are 1, 2 and 3.
	StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty" tf:"standby_availability_zone,omitempty"`
}

func (*HighAvailabilityInitParameters) DeepCopy added in v0.35.0

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

func (*HighAvailabilityInitParameters) DeepCopyInto added in v0.35.0

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

type HighAvailabilityObservation

type HighAvailabilityObservation struct {

	// The high availability mode for the MySQL Flexible Server. Possibles values are SameZone and ZoneRedundant.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// Specifies the Availability Zone in which the standby Flexible Server should be located. Possible values are 1, 2 and 3.
	StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty" tf:"standby_availability_zone,omitempty"`
}

func (*HighAvailabilityObservation) DeepCopy

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

func (*HighAvailabilityObservation) DeepCopyInto

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

type HighAvailabilityParameters

type HighAvailabilityParameters struct {

	// The high availability mode for the MySQL Flexible Server. Possibles values are SameZone and ZoneRedundant.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode" tf:"mode,omitempty"`

	// Specifies the Availability Zone in which the standby Flexible Server should be located. Possible values are 1, 2 and 3.
	// +kubebuilder:validation:Optional
	StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty" tf:"standby_availability_zone,omitempty"`
}

func (*HighAvailabilityParameters) DeepCopy

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

func (*HighAvailabilityParameters) DeepCopyInto

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

type IdentityInitParameters added in v0.35.0

type IdentityInitParameters struct {

	// A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this MySQL Flexible Server. The only possible value is UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityInitParameters) DeepCopy added in v0.35.0

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

func (*IdentityInitParameters) DeepCopyInto added in v0.35.0

func (in *IdentityInitParameters) DeepCopyInto(out *IdentityInitParameters)

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

type IdentityObservation

type IdentityObservation struct {

	// A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.
	// +listType=set
	IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this MySQL Flexible Server. The only possible value is UserAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*IdentityObservation) DeepCopy

func (in *IdentityObservation) DeepCopy() *IdentityObservation

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

func (*IdentityObservation) DeepCopyInto

func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation)

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

type IdentityParameters

type IdentityParameters struct {

	// A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.
	// +kubebuilder:validation:Optional
	// +listType=set
	IdentityIds []*string `json:"identityIds" tf:"identity_ids,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this MySQL Flexible Server. The only possible value is UserAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*IdentityParameters) DeepCopy

func (in *IdentityParameters) DeepCopy() *IdentityParameters

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

func (*IdentityParameters) DeepCopyInto

func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters)

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

type MaintenanceWindowInitParameters added in v0.35.0

type MaintenanceWindowInitParameters struct {

	// The day of week for maintenance window. Defaults to 0.
	DayOfWeek *float64 `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`

	// The start hour for maintenance window. Defaults to 0.
	StartHour *float64 `json:"startHour,omitempty" tf:"start_hour,omitempty"`

	// The start minute for maintenance window. Defaults to 0.
	StartMinute *float64 `json:"startMinute,omitempty" tf:"start_minute,omitempty"`
}

func (*MaintenanceWindowInitParameters) DeepCopy added in v0.35.0

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

func (*MaintenanceWindowInitParameters) DeepCopyInto added in v0.35.0

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

type MaintenanceWindowObservation

type MaintenanceWindowObservation struct {

	// The day of week for maintenance window. Defaults to 0.
	DayOfWeek *float64 `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`

	// The start hour for maintenance window. Defaults to 0.
	StartHour *float64 `json:"startHour,omitempty" tf:"start_hour,omitempty"`

	// The start minute for maintenance window. Defaults to 0.
	StartMinute *float64 `json:"startMinute,omitempty" tf:"start_minute,omitempty"`
}

func (*MaintenanceWindowObservation) DeepCopy

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

func (*MaintenanceWindowObservation) DeepCopyInto

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

type MaintenanceWindowParameters

type MaintenanceWindowParameters struct {

	// The day of week for maintenance window. Defaults to 0.
	// +kubebuilder:validation:Optional
	DayOfWeek *float64 `json:"dayOfWeek,omitempty" tf:"day_of_week,omitempty"`

	// The start hour for maintenance window. Defaults to 0.
	// +kubebuilder:validation:Optional
	StartHour *float64 `json:"startHour,omitempty" tf:"start_hour,omitempty"`

	// The start minute for maintenance window. Defaults to 0.
	// +kubebuilder:validation:Optional
	StartMinute *float64 `json:"startMinute,omitempty" tf:"start_minute,omitempty"`
}

func (*MaintenanceWindowParameters) DeepCopy

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

func (*MaintenanceWindowParameters) DeepCopyInto

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

Server is the Schema for the Servers API. Manages a MySQL Server. +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 (*Server) ConvertFrom added in v1.2.0

func (tr *Server) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the Server type.

func (*Server) ConvertTo added in v1.2.0

func (tr *Server) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this Server to the hub type.

func (*Server) DeepCopy

func (in *Server) DeepCopy() *Server

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

func (*Server) DeepCopyInto

func (in *Server) DeepCopyInto(out *Server)

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

func (*Server) DeepCopyObject

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

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

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

GetConnectionDetailsMapping for this Server

func (*Server) GetDeletionPolicy

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

GetDeletionPolicy of this Server.

func (*Server) GetID

func (tr *Server) GetID() string

GetID returns ID of underlying Terraform resource of this Server

func (*Server) GetInitParameters added in v0.35.0

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

GetInitParameters of this Server

func (*Server) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this Server.

func (*Server) GetMergedParameters added in v0.40.0

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

GetInitParameters of this Server

func (*Server) GetObservation

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

GetObservation of this Server

func (*Server) GetParameters

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

GetParameters of this Server

func (*Server) GetProviderConfigReference

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

GetProviderConfigReference of this Server.

func (*Server) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Server.

func (*Server) GetTerraformResourceType

func (mg *Server) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Server

func (*Server) GetTerraformSchemaVersion

func (tr *Server) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Server) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Server.

func (*Server) LateInitialize

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

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

func (*Server) ResolveReferences

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

ResolveReferences of this Server.

func (*Server) SetConditions

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

SetConditions of this Server.

func (*Server) SetDeletionPolicy

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

SetDeletionPolicy of this Server.

func (*Server) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this Server.

func (*Server) SetObservation

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

SetObservation for this Server

func (*Server) SetParameters

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

SetParameters for this Server

func (*Server) SetProviderConfigReference

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

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 ServerIdentityInitParameters added in v0.35.0

type ServerIdentityInitParameters struct {

	// Specifies the type of Managed Service Identity that should be configured on this MySQL Server. The only possible value is SystemAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ServerIdentityInitParameters) DeepCopy added in v0.35.0

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

func (*ServerIdentityInitParameters) DeepCopyInto added in v0.35.0

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

type ServerIdentityObservation added in v0.27.0

type ServerIdentityObservation struct {

	// The Principal ID associated with this Managed Service Identity.
	PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"`

	// The Tenant ID associated with this Managed Service Identity.
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	// Specifies the type of Managed Service Identity that should be configured on this MySQL Server. The only possible value is SystemAssigned.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ServerIdentityObservation) DeepCopy added in v0.27.0

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

func (*ServerIdentityObservation) DeepCopyInto added in v0.27.0

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

type ServerIdentityParameters added in v0.27.0

type ServerIdentityParameters struct {

	// Specifies the type of Managed Service Identity that should be configured on this MySQL Server. The only possible value is SystemAssigned.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ServerIdentityParameters) DeepCopy added in v0.27.0

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

func (*ServerIdentityParameters) DeepCopyInto added in v0.27.0

func (in *ServerIdentityParameters) DeepCopyInto(out *ServerIdentityParameters)

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

type ServerInitParameters added in v0.35.0

type ServerInitParameters struct {

	// The Administrator login for the MySQL Server. Required when create_mode is Default. Changing this forces a new resource to be created.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// Enable/Disable auto-growing of the storage. Storage auto-grow prevents your server from running out of storage and becoming read-only. If storage auto grow is enabled, the storage automatically grows without impacting the workload. Defaults to true.
	AutoGrowEnabled *bool `json:"autoGrowEnabled,omitempty" tf:"auto_grow_enabled,omitempty"`

	// Backup retention days for the server, supported values are between 7 and 35 days.
	BackupRetentionDays *float64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"`

	// The creation mode. Can be used to restore or replicate existing servers. Possible values are Default, Replica, GeoRestore, and PointInTimeRestore. Defaults to Default.
	CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"`

	// For creation modes other than Default, the source server ID to use.
	CreationSourceServerID *string `json:"creationSourceServerId,omitempty" tf:"creation_source_server_id,omitempty"`

	// Turn Geo-redundant server backups on/off. This allows you to choose between locally redundant or geo-redundant backup storage in the General Purpose and Memory Optimized tiers. When the backups are stored in geo-redundant backup storage, they are not only stored within the region in which your server is hosted, but are also replicated to a paired data center. This provides better protection and ability to restore your server in a different region in the event of a disaster. This is not supported for the Basic tier.
	GeoRedundantBackupEnabled *bool `json:"geoRedundantBackupEnabled,omitempty" tf:"geo_redundant_backup_enabled,omitempty"`

	// An identity block as defined below.
	Identity []ServerIdentityInitParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// Whether or not infrastructure is encrypted for this server. Changing this forces a new resource to be created.
	InfrastructureEncryptionEnabled *bool `json:"infrastructureEncryptionEnabled,omitempty" tf:"infrastructure_encryption_enabled,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"`

	// Whether or not public network access is allowed for this server. Defaults to true.
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// When create_mode is PointInTimeRestore, specifies the point in time to restore from creation_source_server_id. It should be provided in RFC3339 format, e.g. 2013-11-08T22:00:40Z.
	RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"`

	// Specifies if SSL should be enforced on connections. Possible values are true and false.
	SSLEnforcementEnabled *bool `json:"sslEnforcementEnabled,omitempty" tf:"ssl_enforcement_enabled,omitempty"`

	// The minimum TLS version to support on the sever. Possible values are TLSEnforcementDisabled, TLS1_0, TLS1_1, and TLS1_2. Defaults to TLS1_2.
	SSLMinimalTLSVersionEnforced *string `json:"sslMinimalTlsVersionEnforced,omitempty" tf:"ssl_minimal_tls_version_enforced,omitempty"`

	// Specifies the SKU Name for this MySQL Server. The name of the SKU, follows the tier + family + cores pattern (e.g. B_Gen4_1, GP_Gen5_8). For more information see the product documentation. Possible values are B_Gen4_1, B_Gen4_2, B_Gen5_1, B_Gen5_2, GP_Gen4_2, GP_Gen4_4, GP_Gen4_8, GP_Gen4_16, GP_Gen4_32, GP_Gen5_2, GP_Gen5_4, GP_Gen5_8, GP_Gen5_16, GP_Gen5_32, GP_Gen5_64, MO_Gen5_2, MO_Gen5_4, MO_Gen5_8, MO_Gen5_16 and MO_Gen5_32.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// Max storage allowed for a server. Possible values are between 5120 MB(5GB) and 1048576 MB(1TB) for the Basic SKU and between 5120 MB(5GB) and 16777216 MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the product documentation.
	StorageMb *float64 `json:"storageMb,omitempty" tf:"storage_mb,omitempty"`

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

	// Threat detection policy configuration, known in the API as Server Security Alerts Policy. The threat_detection_policy block supports fields documented below.
	ThreatDetectionPolicy []ThreatDetectionPolicyInitParameters `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"`

	// Specifies the version of MySQL to use. Valid values are 5.7, or 8.0. Changing this forces a new resource to be created.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ServerInitParameters) DeepCopy added in v0.35.0

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

func (*ServerInitParameters) DeepCopyInto added in v0.35.0

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 Administrator login for the MySQL Server. Required when create_mode is Default. Changing this forces a new resource to be created.
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// Enable/Disable auto-growing of the storage. Storage auto-grow prevents your server from running out of storage and becoming read-only. If storage auto grow is enabled, the storage automatically grows without impacting the workload. Defaults to true.
	AutoGrowEnabled *bool `json:"autoGrowEnabled,omitempty" tf:"auto_grow_enabled,omitempty"`

	// Backup retention days for the server, supported values are between 7 and 35 days.
	BackupRetentionDays *float64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"`

	// The creation mode. Can be used to restore or replicate existing servers. Possible values are Default, Replica, GeoRestore, and PointInTimeRestore. Defaults to Default.
	CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"`

	// For creation modes other than Default, the source server ID to use.
	CreationSourceServerID *string `json:"creationSourceServerId,omitempty" tf:"creation_source_server_id,omitempty"`

	// The FQDN of the MySQL Server.
	Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"`

	// Turn Geo-redundant server backups on/off. This allows you to choose between locally redundant or geo-redundant backup storage in the General Purpose and Memory Optimized tiers. When the backups are stored in geo-redundant backup storage, they are not only stored within the region in which your server is hosted, but are also replicated to a paired data center. This provides better protection and ability to restore your server in a different region in the event of a disaster. This is not supported for the Basic tier.
	GeoRedundantBackupEnabled *bool `json:"geoRedundantBackupEnabled,omitempty" tf:"geo_redundant_backup_enabled,omitempty"`

	// The ID of the MySQL Server.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity block as defined below.
	Identity []ServerIdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"`

	// Whether or not infrastructure is encrypted for this server. Changing this forces a new resource to be created.
	InfrastructureEncryptionEnabled *bool `json:"infrastructureEncryptionEnabled,omitempty" tf:"infrastructure_encryption_enabled,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"`

	// Whether or not public network access is allowed for this server. Defaults to true.
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// The name of the resource group in which to create the MySQL Server. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// When create_mode is PointInTimeRestore, specifies the point in time to restore from creation_source_server_id. It should be provided in RFC3339 format, e.g. 2013-11-08T22:00:40Z.
	RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"`

	// Specifies if SSL should be enforced on connections. Possible values are true and false.
	SSLEnforcementEnabled *bool `json:"sslEnforcementEnabled,omitempty" tf:"ssl_enforcement_enabled,omitempty"`

	// The minimum TLS version to support on the sever. Possible values are TLSEnforcementDisabled, TLS1_0, TLS1_1, and TLS1_2. Defaults to TLS1_2.
	SSLMinimalTLSVersionEnforced *string `json:"sslMinimalTlsVersionEnforced,omitempty" tf:"ssl_minimal_tls_version_enforced,omitempty"`

	// Specifies the SKU Name for this MySQL Server. The name of the SKU, follows the tier + family + cores pattern (e.g. B_Gen4_1, GP_Gen5_8). For more information see the product documentation. Possible values are B_Gen4_1, B_Gen4_2, B_Gen5_1, B_Gen5_2, GP_Gen4_2, GP_Gen4_4, GP_Gen4_8, GP_Gen4_16, GP_Gen4_32, GP_Gen5_2, GP_Gen5_4, GP_Gen5_8, GP_Gen5_16, GP_Gen5_32, GP_Gen5_64, MO_Gen5_2, MO_Gen5_4, MO_Gen5_8, MO_Gen5_16 and MO_Gen5_32.
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// Max storage allowed for a server. Possible values are between 5120 MB(5GB) and 1048576 MB(1TB) for the Basic SKU and between 5120 MB(5GB) and 16777216 MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the product documentation.
	StorageMb *float64 `json:"storageMb,omitempty" tf:"storage_mb,omitempty"`

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

	// Threat detection policy configuration, known in the API as Server Security Alerts Policy. The threat_detection_policy block supports fields documented below.
	ThreatDetectionPolicy []ThreatDetectionPolicyObservation `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"`

	// Specifies the version of MySQL to use. Valid values are 5.7, or 8.0. Changing this forces a new resource to be created.
	Version *string `json:"version,omitempty" tf:"version,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 Administrator login for the MySQL Server. Required when create_mode is Default. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"`

	// The Password associated with the administrator_login for the MySQL Server. Required when create_mode is Default.
	// +kubebuilder:validation:Optional
	AdministratorLoginPasswordSecretRef *v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef,omitempty" tf:"-"`

	// Enable/Disable auto-growing of the storage. Storage auto-grow prevents your server from running out of storage and becoming read-only. If storage auto grow is enabled, the storage automatically grows without impacting the workload. Defaults to true.
	// +kubebuilder:validation:Optional
	AutoGrowEnabled *bool `json:"autoGrowEnabled,omitempty" tf:"auto_grow_enabled,omitempty"`

	// Backup retention days for the server, supported values are between 7 and 35 days.
	// +kubebuilder:validation:Optional
	BackupRetentionDays *float64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"`

	// The creation mode. Can be used to restore or replicate existing servers. Possible values are Default, Replica, GeoRestore, and PointInTimeRestore. Defaults to Default.
	// +kubebuilder:validation:Optional
	CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"`

	// For creation modes other than Default, the source server ID to use.
	// +kubebuilder:validation:Optional
	CreationSourceServerID *string `json:"creationSourceServerId,omitempty" tf:"creation_source_server_id,omitempty"`

	// Turn Geo-redundant server backups on/off. This allows you to choose between locally redundant or geo-redundant backup storage in the General Purpose and Memory Optimized tiers. When the backups are stored in geo-redundant backup storage, they are not only stored within the region in which your server is hosted, but are also replicated to a paired data center. This provides better protection and ability to restore your server in a different region in the event of a disaster. This is not supported for the Basic tier.
	// +kubebuilder:validation:Optional
	GeoRedundantBackupEnabled *bool `json:"geoRedundantBackupEnabled,omitempty" tf:"geo_redundant_backup_enabled,omitempty"`

	// An identity block as defined below.
	// +kubebuilder:validation:Optional
	Identity []ServerIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"`

	// Whether or not infrastructure is encrypted for this server. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	InfrastructureEncryptionEnabled *bool `json:"infrastructureEncryptionEnabled,omitempty" tf:"infrastructure_encryption_enabled,omitempty"`

	// 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"`

	// Whether or not public network access is allowed for this server. Defaults to true.
	// +kubebuilder:validation:Optional
	PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"`

	// The name of the resource group in which to create the MySQL Server. 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:"-"`

	// When create_mode is PointInTimeRestore, specifies the point in time to restore from creation_source_server_id. It should be provided in RFC3339 format, e.g. 2013-11-08T22:00:40Z.
	// +kubebuilder:validation:Optional
	RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"`

	// Specifies if SSL should be enforced on connections. Possible values are true and false.
	// +kubebuilder:validation:Optional
	SSLEnforcementEnabled *bool `json:"sslEnforcementEnabled,omitempty" tf:"ssl_enforcement_enabled,omitempty"`

	// The minimum TLS version to support on the sever. Possible values are TLSEnforcementDisabled, TLS1_0, TLS1_1, and TLS1_2. Defaults to TLS1_2.
	// +kubebuilder:validation:Optional
	SSLMinimalTLSVersionEnforced *string `json:"sslMinimalTlsVersionEnforced,omitempty" tf:"ssl_minimal_tls_version_enforced,omitempty"`

	// Specifies the SKU Name for this MySQL Server. The name of the SKU, follows the tier + family + cores pattern (e.g. B_Gen4_1, GP_Gen5_8). For more information see the product documentation. Possible values are B_Gen4_1, B_Gen4_2, B_Gen5_1, B_Gen5_2, GP_Gen4_2, GP_Gen4_4, GP_Gen4_8, GP_Gen4_16, GP_Gen4_32, GP_Gen5_2, GP_Gen5_4, GP_Gen5_8, GP_Gen5_16, GP_Gen5_32, GP_Gen5_64, MO_Gen5_2, MO_Gen5_4, MO_Gen5_8, MO_Gen5_16 and MO_Gen5_32.
	// +kubebuilder:validation:Optional
	SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"`

	// Max storage allowed for a server. Possible values are between 5120 MB(5GB) and 1048576 MB(1TB) for the Basic SKU and between 5120 MB(5GB) and 16777216 MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the product documentation.
	// +kubebuilder:validation:Optional
	StorageMb *float64 `json:"storageMb,omitempty" tf:"storage_mb,omitempty"`

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

	// Threat detection policy configuration, known in the API as Server Security Alerts Policy. The threat_detection_policy block supports fields documented below.
	// +kubebuilder:validation:Optional
	ThreatDetectionPolicy []ThreatDetectionPolicyParameters `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"`

	// Specifies the version of MySQL to use. Valid values are 5.7, or 8.0. Changing this forces a new resource to be created.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,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 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 StorageInitParameters added in v0.35.0

type StorageInitParameters struct {

	// Should Storage Auto Grow be enabled? Defaults to true.
	AutoGrowEnabled *bool `json:"autoGrowEnabled,omitempty" tf:"auto_grow_enabled,omitempty"`

	// Should IOPS be scaled automatically? If true, iops can not be set. Defaults to false.
	IoScalingEnabled *bool `json:"ioScalingEnabled,omitempty" tf:"io_scaling_enabled,omitempty"`

	// The storage IOPS for the MySQL Flexible Server. Possible values are between 360 and 20000.
	Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// The max storage allowed for the MySQL Flexible Server. Possible values are between 20 and 16384.
	SizeGb *float64 `json:"sizeGb,omitempty" tf:"size_gb,omitempty"`
}

func (*StorageInitParameters) DeepCopy added in v0.35.0

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

func (*StorageInitParameters) DeepCopyInto added in v0.35.0

func (in *StorageInitParameters) DeepCopyInto(out *StorageInitParameters)

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

type StorageObservation

type StorageObservation struct {

	// Should Storage Auto Grow be enabled? Defaults to true.
	AutoGrowEnabled *bool `json:"autoGrowEnabled,omitempty" tf:"auto_grow_enabled,omitempty"`

	// Should IOPS be scaled automatically? If true, iops can not be set. Defaults to false.
	IoScalingEnabled *bool `json:"ioScalingEnabled,omitempty" tf:"io_scaling_enabled,omitempty"`

	// The storage IOPS for the MySQL Flexible Server. Possible values are between 360 and 20000.
	Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// The max storage allowed for the MySQL Flexible Server. Possible values are between 20 and 16384.
	SizeGb *float64 `json:"sizeGb,omitempty" tf:"size_gb,omitempty"`
}

func (*StorageObservation) DeepCopy

func (in *StorageObservation) DeepCopy() *StorageObservation

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

func (*StorageObservation) DeepCopyInto

func (in *StorageObservation) DeepCopyInto(out *StorageObservation)

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

type StorageParameters

type StorageParameters struct {

	// Should Storage Auto Grow be enabled? Defaults to true.
	// +kubebuilder:validation:Optional
	AutoGrowEnabled *bool `json:"autoGrowEnabled,omitempty" tf:"auto_grow_enabled,omitempty"`

	// Should IOPS be scaled automatically? If true, iops can not be set. Defaults to false.
	// +kubebuilder:validation:Optional
	IoScalingEnabled *bool `json:"ioScalingEnabled,omitempty" tf:"io_scaling_enabled,omitempty"`

	// The storage IOPS for the MySQL Flexible Server. Possible values are between 360 and 20000.
	// +kubebuilder:validation:Optional
	Iops *float64 `json:"iops,omitempty" tf:"iops,omitempty"`

	// The max storage allowed for the MySQL Flexible Server. Possible values are between 20 and 16384.
	// +kubebuilder:validation:Optional
	SizeGb *float64 `json:"sizeGb,omitempty" tf:"size_gb,omitempty"`
}

func (*StorageParameters) DeepCopy

func (in *StorageParameters) DeepCopy() *StorageParameters

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

func (*StorageParameters) DeepCopyInto

func (in *StorageParameters) DeepCopyInto(out *StorageParameters)

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

type ThreatDetectionPolicyInitParameters added in v0.35.0

type ThreatDetectionPolicyInitParameters struct {

	// Specifies a list of alerts which should be disabled. Possible values are Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration and Unsafe_Action.
	// +listType=set
	DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"`

	// Should the account administrators be emailed when this alert is triggered?
	EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"`

	// A list of email addresses which alerts should be sent to.
	// +listType=set
	EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"`

	// Is the policy enabled?
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`

	// Specifies the blob storage endpoint (e.g. https://example.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"`
}

func (*ThreatDetectionPolicyInitParameters) DeepCopy added in v0.35.0

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

func (*ThreatDetectionPolicyInitParameters) DeepCopyInto added in v0.35.0

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

type ThreatDetectionPolicyObservation

type ThreatDetectionPolicyObservation struct {

	// Specifies a list of alerts which should be disabled. Possible values are Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration and Unsafe_Action.
	// +listType=set
	DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"`

	// Should the account administrators be emailed when this alert is triggered?
	EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"`

	// A list of email addresses which alerts should be sent to.
	// +listType=set
	EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"`

	// Is the policy enabled?
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`

	// Specifies the blob storage endpoint (e.g. https://example.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"`
}

func (*ThreatDetectionPolicyObservation) DeepCopy

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

func (*ThreatDetectionPolicyObservation) DeepCopyInto

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

type ThreatDetectionPolicyParameters

type ThreatDetectionPolicyParameters struct {

	// Specifies a list of alerts which should be disabled. Possible values are Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration and Unsafe_Action.
	// +kubebuilder:validation:Optional
	// +listType=set
	DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"`

	// Should the account administrators be emailed when this alert is triggered?
	// +kubebuilder:validation:Optional
	EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"`

	// A list of email addresses which alerts should be sent to.
	// +kubebuilder:validation:Optional
	// +listType=set
	EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"`

	// Is the policy enabled?
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Specifies the number of days to keep in the Threat Detection audit logs.
	// +kubebuilder:validation:Optional
	RetentionDays *float64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"`

	// Specifies the identifier key of the Threat Detection audit storage account.
	// +kubebuilder:validation:Optional
	StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"`

	// Specifies the blob storage endpoint (e.g. https://example.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
	// +kubebuilder:validation:Optional
	StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"`
}

func (*ThreatDetectionPolicyParameters) DeepCopy

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

func (*ThreatDetectionPolicyParameters) DeepCopyInto

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

type VirtualNetworkRule

type VirtualNetworkRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VirtualNetworkRuleSpec   `json:"spec"`
	Status            VirtualNetworkRuleStatus `json:"status,omitempty"`
}

VirtualNetworkRule is the Schema for the VirtualNetworkRules API. Manages a MySQL Virtual Network Rule. +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 (*VirtualNetworkRule) DeepCopy

func (in *VirtualNetworkRule) DeepCopy() *VirtualNetworkRule

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

func (*VirtualNetworkRule) DeepCopyInto

func (in *VirtualNetworkRule) DeepCopyInto(out *VirtualNetworkRule)

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

func (*VirtualNetworkRule) DeepCopyObject

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

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

func (*VirtualNetworkRule) GetCondition

func (mg *VirtualNetworkRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this VirtualNetworkRule.

func (*VirtualNetworkRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this VirtualNetworkRule

func (*VirtualNetworkRule) GetDeletionPolicy

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

GetDeletionPolicy of this VirtualNetworkRule.

func (*VirtualNetworkRule) GetID

func (tr *VirtualNetworkRule) GetID() string

GetID returns ID of underlying Terraform resource of this VirtualNetworkRule

func (*VirtualNetworkRule) GetInitParameters added in v0.35.0

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

GetInitParameters of this VirtualNetworkRule

func (*VirtualNetworkRule) GetManagementPolicies added in v0.35.0

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

GetManagementPolicies of this VirtualNetworkRule.

func (*VirtualNetworkRule) GetMergedParameters added in v0.40.0

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

GetInitParameters of this VirtualNetworkRule

func (*VirtualNetworkRule) GetObservation

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

GetObservation of this VirtualNetworkRule

func (*VirtualNetworkRule) GetParameters

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

GetParameters of this VirtualNetworkRule

func (*VirtualNetworkRule) GetProviderConfigReference

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

GetProviderConfigReference of this VirtualNetworkRule.

func (*VirtualNetworkRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this VirtualNetworkRule.

func (*VirtualNetworkRule) GetTerraformResourceType

func (mg *VirtualNetworkRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VirtualNetworkRule

func (*VirtualNetworkRule) GetTerraformSchemaVersion

func (tr *VirtualNetworkRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VirtualNetworkRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VirtualNetworkRule.

func (*VirtualNetworkRule) Hub added in v0.42.1

func (tr *VirtualNetworkRule) Hub()

Hub marks this type as a conversion hub.

func (*VirtualNetworkRule) LateInitialize

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

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

func (*VirtualNetworkRule) ResolveReferences

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

ResolveReferences of this VirtualNetworkRule.

func (*VirtualNetworkRule) SetConditions

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

SetConditions of this VirtualNetworkRule.

func (*VirtualNetworkRule) SetDeletionPolicy

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

SetDeletionPolicy of this VirtualNetworkRule.

func (*VirtualNetworkRule) SetManagementPolicies added in v0.35.0

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

SetManagementPolicies of this VirtualNetworkRule.

func (*VirtualNetworkRule) SetObservation

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

SetObservation for this VirtualNetworkRule

func (*VirtualNetworkRule) SetParameters

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

SetParameters for this VirtualNetworkRule

func (*VirtualNetworkRule) SetProviderConfigReference

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

SetProviderConfigReference of this VirtualNetworkRule.

func (*VirtualNetworkRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this VirtualNetworkRule.

func (*VirtualNetworkRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VirtualNetworkRule.

type VirtualNetworkRuleInitParameters added in v0.35.0

type VirtualNetworkRuleInitParameters struct {

	// The ID of the subnet that the MySQL server will be connected to.
	// +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:"-"`
}

func (*VirtualNetworkRuleInitParameters) DeepCopy added in v0.35.0

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

func (*VirtualNetworkRuleInitParameters) DeepCopyInto added in v0.35.0

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

type VirtualNetworkRuleList

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

VirtualNetworkRuleList contains a list of VirtualNetworkRules

func (*VirtualNetworkRuleList) DeepCopy

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

func (*VirtualNetworkRuleList) DeepCopyInto

func (in *VirtualNetworkRuleList) DeepCopyInto(out *VirtualNetworkRuleList)

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

func (*VirtualNetworkRuleList) DeepCopyObject

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

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

func (*VirtualNetworkRuleList) GetItems

func (l *VirtualNetworkRuleList) GetItems() []resource.Managed

GetItems of this VirtualNetworkRuleList.

type VirtualNetworkRuleObservation

type VirtualNetworkRuleObservation struct {

	// The ID of the MySQL Virtual Network Rule.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the resource group where the MySQL server resides. Changing this forces a new resource to be created.
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"`

	// The name of the SQL Server to which this MySQL virtual network rule will be applied to. Changing this forces a new resource to be created.
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// The ID of the subnet that the MySQL server will be connected to.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*VirtualNetworkRuleObservation) DeepCopy

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

func (*VirtualNetworkRuleObservation) DeepCopyInto

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

type VirtualNetworkRuleParameters

type VirtualNetworkRuleParameters struct {

	// The name of the resource group where the MySQL server resides. 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 name of the SQL Server to which this MySQL virtual network rule will be applied to. Changing this forces a new resource to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/dbformysql/v1beta2.Server
	// +kubebuilder:validation:Optional
	ServerName *string `json:"serverName,omitempty" tf:"server_name,omitempty"`

	// Reference to a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameRef *v1.Reference `json:"serverNameRef,omitempty" tf:"-"`

	// Selector for a Server in dbformysql to populate serverName.
	// +kubebuilder:validation:Optional
	ServerNameSelector *v1.Selector `json:"serverNameSelector,omitempty" tf:"-"`

	// The ID of the subnet that the MySQL server will be connected to.
	// +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:"-"`
}

func (*VirtualNetworkRuleParameters) DeepCopy

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

func (*VirtualNetworkRuleParameters) DeepCopyInto

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

type VirtualNetworkRuleSpec

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

VirtualNetworkRuleSpec defines the desired state of VirtualNetworkRule

func (*VirtualNetworkRuleSpec) DeepCopy

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

func (*VirtualNetworkRuleSpec) DeepCopyInto

func (in *VirtualNetworkRuleSpec) DeepCopyInto(out *VirtualNetworkRuleSpec)

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

type VirtualNetworkRuleStatus

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

VirtualNetworkRuleStatus defines the observed state of VirtualNetworkRule.

func (*VirtualNetworkRuleStatus) DeepCopy

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

func (*VirtualNetworkRuleStatus) DeepCopyInto

func (in *VirtualNetworkRuleStatus) DeepCopyInto(out *VirtualNetworkRuleStatus)

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