v1beta20210501

package
v2.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Package v1beta20210501 contains API Schema definitions for the dbformysql v1beta20210501 API group +groupName=dbformysql.azure.com

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Package v1beta20210501 contains API Schema definitions for the dbformysql v1beta20210501 API group +kubebuilder:object:generate=true All object properties are optional by default, this will be overridden when needed: +kubebuilder:validation:Optional +groupName=dbformysql.azure.com

Code generated by azure-service-operator-codegen. DO NOT EDIT. Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

View Source
const (
	SystemDataStatusCreatedByTypeApplication     = SystemDataStatusCreatedByType("Application")
	SystemDataStatusCreatedByTypeKey             = SystemDataStatusCreatedByType("Key")
	SystemDataStatusCreatedByTypeManagedIdentity = SystemDataStatusCreatedByType("ManagedIdentity")
	SystemDataStatusCreatedByTypeUser            = SystemDataStatusCreatedByType("User")
)
View Source
const (
	SystemDataStatusLastModifiedByTypeApplication     = SystemDataStatusLastModifiedByType("Application")
	SystemDataStatusLastModifiedByTypeKey             = SystemDataStatusLastModifiedByType("Key")
	SystemDataStatusLastModifiedByTypeManagedIdentity = SystemDataStatusLastModifiedByType("ManagedIdentity")
	SystemDataStatusLastModifiedByTypeUser            = SystemDataStatusLastModifiedByType("User")
)
View Source
const (
	ReplicationRole_StatusNone    = ReplicationRole_Status("None")
	ReplicationRole_StatusReplica = ReplicationRole_Status("Replica")
	ReplicationRole_StatusSource  = ReplicationRole_Status("Source")
)
View Source
const (
	ServerPropertiesCreateModeDefault            = ServerPropertiesCreateMode("Default")
	ServerPropertiesCreateModeGeoRestore         = ServerPropertiesCreateMode("GeoRestore")
	ServerPropertiesCreateModePointInTimeRestore = ServerPropertiesCreateMode("PointInTimeRestore")
	ServerPropertiesCreateModeReplica            = ServerPropertiesCreateMode("Replica")
)
View Source
const (
	ServerPropertiesReplicationRoleNone    = ServerPropertiesReplicationRole("None")
	ServerPropertiesReplicationRoleReplica = ServerPropertiesReplicationRole("Replica")
	ServerPropertiesReplicationRoleSource  = ServerPropertiesReplicationRole("Source")
)
View Source
const (
	ServerPropertiesStatusCreateModeDefault            = ServerPropertiesStatusCreateMode("Default")
	ServerPropertiesStatusCreateModeGeoRestore         = ServerPropertiesStatusCreateMode("GeoRestore")
	ServerPropertiesStatusCreateModePointInTimeRestore = ServerPropertiesStatusCreateMode("PointInTimeRestore")
	ServerPropertiesStatusCreateModeReplica            = ServerPropertiesStatusCreateMode("Replica")
)
View Source
const (
	ServerPropertiesStatusStateDisabled = ServerPropertiesStatusState("Disabled")
	ServerPropertiesStatusStateDropping = ServerPropertiesStatusState("Dropping")
	ServerPropertiesStatusStateReady    = ServerPropertiesStatusState("Ready")
	ServerPropertiesStatusStateStarting = ServerPropertiesStatusState("Starting")
	ServerPropertiesStatusStateStopped  = ServerPropertiesStatusState("Stopped")
	ServerPropertiesStatusStateStopping = ServerPropertiesStatusState("Stopping")
	ServerPropertiesStatusStateUpdating = ServerPropertiesStatusState("Updating")
)
View Source
const (
	ServerPropertiesVersion57   = ServerPropertiesVersion("5.7")
	ServerPropertiesVersion8021 = ServerPropertiesVersion("8.0.21")
)
View Source
const (
	ServerVersion_Status57   = ServerVersion_Status("5.7")
	ServerVersion_Status8021 = ServerVersion_Status("8.0.21")
)
View Source
const (
	BackupGeoRedundantBackupDisabled = BackupGeoRedundantBackup("Disabled")
	BackupGeoRedundantBackupEnabled  = BackupGeoRedundantBackup("Enabled")
)
View Source
const (
	DataEncryptionStatusTypeAzureKeyVault = DataEncryptionStatusType("AzureKeyVault")
	DataEncryptionStatusTypeSystemManaged = DataEncryptionStatusType("SystemManaged")
)
View Source
const (
	EnableStatusEnum_StatusDisabled = EnableStatusEnum_Status("Disabled")
	EnableStatusEnum_StatusEnabled  = EnableStatusEnum_Status("Enabled")
)
View Source
const (
	HighAvailabilityModeDisabled      = HighAvailabilityMode("Disabled")
	HighAvailabilityModeSameZone      = HighAvailabilityMode("SameZone")
	HighAvailabilityModeZoneRedundant = HighAvailabilityMode("ZoneRedundant")
)
View Source
const (
	HighAvailabilityStatusModeDisabled      = HighAvailabilityStatusMode("Disabled")
	HighAvailabilityStatusModeSameZone      = HighAvailabilityStatusMode("SameZone")
	HighAvailabilityStatusModeZoneRedundant = HighAvailabilityStatusMode("ZoneRedundant")
)
View Source
const (
	HighAvailabilityStatusStateCreatingStandby = HighAvailabilityStatusState("CreatingStandby")
	HighAvailabilityStatusStateFailingOver     = HighAvailabilityStatusState("FailingOver")
	HighAvailabilityStatusStateHealthy         = HighAvailabilityStatusState("Healthy")
	HighAvailabilityStatusStateNotEnabled      = HighAvailabilityStatusState("NotEnabled")
	HighAvailabilityStatusStateRemovingStandby = HighAvailabilityStatusState("RemovingStandby")
)
View Source
const (
	StorageAutoGrowDisabled = StorageAutoGrow("Disabled")
	StorageAutoGrowEnabled  = StorageAutoGrow("Enabled")
)
View Source
const (
	SkuTierBurstable       = SkuTier("Burstable")
	SkuTierGeneralPurpose  = SkuTier("GeneralPurpose")
	SkuTierMemoryOptimized = SkuTier("MemoryOptimized")
)
View Source
const (
	SkuStatusTierBurstable       = SkuStatusTier("Burstable")
	SkuStatusTierGeneralPurpose  = SkuStatusTier("GeneralPurpose")
	SkuStatusTierMemoryOptimized = SkuStatusTier("MemoryOptimized")
)
View Source
const APIVersionValue = APIVersion("2021-05-01")
View Source
const IdentityStatusTypeUserAssigned = IdentityStatusType("UserAssigned")

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "dbformysql.azure.com", Version: "v1beta20210501"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIVersion

type APIVersion string

+kubebuilder:validation:Enum={"2021-05-01"}

type Backup

type Backup struct {
	// BackupRetentionDays: Backup retention days for the server.
	BackupRetentionDays *int `json:"backupRetentionDays,omitempty"`

	// GeoRedundantBackup: Whether or not geo redundant backup is enabled.
	GeoRedundantBackup *BackupGeoRedundantBackup `json:"geoRedundantBackup,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/Backup

func (*Backup) AssignPropertiesFromBackup

func (backup *Backup) AssignPropertiesFromBackup(source *v20210501s.Backup) error

AssignPropertiesFromBackup populates our Backup from the provided source Backup

func (*Backup) AssignPropertiesToBackup

func (backup *Backup) AssignPropertiesToBackup(destination *v20210501s.Backup) error

AssignPropertiesToBackup populates the provided destination Backup from our Backup

func (*Backup) ConvertToARM

func (backup *Backup) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Backup) DeepCopy

func (in *Backup) DeepCopy() *Backup

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

func (*Backup) DeepCopyInto

func (in *Backup) DeepCopyInto(out *Backup)

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

func (*Backup) NewEmptyARMValue

func (backup *Backup) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Backup) PopulateFromARM

func (backup *Backup) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type BackupARM

type BackupARM struct {
	// BackupRetentionDays: Backup retention days for the server.
	BackupRetentionDays *int `json:"backupRetentionDays,omitempty"`

	// GeoRedundantBackup: Whether or not geo redundant backup is enabled.
	GeoRedundantBackup *BackupGeoRedundantBackup `json:"geoRedundantBackup,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/Backup

func (*BackupARM) DeepCopy

func (in *BackupARM) DeepCopy() *BackupARM

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

func (*BackupARM) DeepCopyInto

func (in *BackupARM) DeepCopyInto(out *BackupARM)

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

type BackupGeoRedundantBackup

type BackupGeoRedundantBackup string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type Backup_Status

type Backup_Status struct {
	// BackupRetentionDays: Backup retention days for the server.
	BackupRetentionDays *int `json:"backupRetentionDays,omitempty"`

	// EarliestRestoreDate: Earliest restore point creation time (ISO8601 format)
	EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"`

	// GeoRedundantBackup: Whether or not geo redundant backup is enabled.
	GeoRedundantBackup *EnableStatusEnum_Status `json:"geoRedundantBackup,omitempty"`
}

func (*Backup_Status) AssignPropertiesFromBackupStatus

func (backup *Backup_Status) AssignPropertiesFromBackupStatus(source *v20210501s.Backup_Status) error

AssignPropertiesFromBackupStatus populates our Backup_Status from the provided source Backup_Status

func (*Backup_Status) AssignPropertiesToBackupStatus

func (backup *Backup_Status) AssignPropertiesToBackupStatus(destination *v20210501s.Backup_Status) error

AssignPropertiesToBackupStatus populates the provided destination Backup_Status from our Backup_Status

func (*Backup_Status) DeepCopy

func (in *Backup_Status) DeepCopy() *Backup_Status

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

func (*Backup_Status) DeepCopyInto

func (in *Backup_Status) DeepCopyInto(out *Backup_Status)

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

func (*Backup_Status) NewEmptyARMValue

func (backup *Backup_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Backup_Status) PopulateFromARM

func (backup *Backup_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Backup_StatusARM

type Backup_StatusARM struct {
	// BackupRetentionDays: Backup retention days for the server.
	BackupRetentionDays *int `json:"backupRetentionDays,omitempty"`

	// EarliestRestoreDate: Earliest restore point creation time (ISO8601 format)
	EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"`

	// GeoRedundantBackup: Whether or not geo redundant backup is enabled.
	GeoRedundantBackup *EnableStatusEnum_Status `json:"geoRedundantBackup,omitempty"`
}

func (*Backup_StatusARM) DeepCopy

func (in *Backup_StatusARM) DeepCopy() *Backup_StatusARM

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

func (*Backup_StatusARM) DeepCopyInto

func (in *Backup_StatusARM) DeepCopyInto(out *Backup_StatusARM)

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

type DataEncryptionStatusType

type DataEncryptionStatusType string

type DataEncryption_Status

type DataEncryption_Status struct {
	// GeoBackupKeyUri: Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
	GeoBackupKeyUri *string `json:"geoBackupKeyUri,omitempty"`

	// GeoBackupUserAssignedIdentityId: Geo backup user identity resource id as identity can't cross region, need identity in
	// same region as geo backup
	GeoBackupUserAssignedIdentityId *string `json:"geoBackupUserAssignedIdentityId,omitempty"`

	// PrimaryKeyUri: Primary key uri
	PrimaryKeyUri *string `json:"primaryKeyUri,omitempty"`

	// PrimaryUserAssignedIdentityId: Primary user identity resource id
	PrimaryUserAssignedIdentityId *string `json:"primaryUserAssignedIdentityId,omitempty"`

	// Type: The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
	Type *DataEncryptionStatusType `json:"type,omitempty"`
}

func (*DataEncryption_Status) AssignPropertiesFromDataEncryptionStatus

func (encryption *DataEncryption_Status) AssignPropertiesFromDataEncryptionStatus(source *v20210501s.DataEncryption_Status) error

AssignPropertiesFromDataEncryptionStatus populates our DataEncryption_Status from the provided source DataEncryption_Status

func (*DataEncryption_Status) AssignPropertiesToDataEncryptionStatus

func (encryption *DataEncryption_Status) AssignPropertiesToDataEncryptionStatus(destination *v20210501s.DataEncryption_Status) error

AssignPropertiesToDataEncryptionStatus populates the provided destination DataEncryption_Status from our DataEncryption_Status

func (*DataEncryption_Status) DeepCopy

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

func (*DataEncryption_Status) DeepCopyInto

func (in *DataEncryption_Status) DeepCopyInto(out *DataEncryption_Status)

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

func (*DataEncryption_Status) NewEmptyARMValue

func (encryption *DataEncryption_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*DataEncryption_Status) PopulateFromARM

func (encryption *DataEncryption_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type DataEncryption_StatusARM

type DataEncryption_StatusARM struct {
	// GeoBackupKeyUri: Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
	GeoBackupKeyUri *string `json:"geoBackupKeyUri,omitempty"`

	// GeoBackupUserAssignedIdentityId: Geo backup user identity resource id as identity can't cross region, need identity in
	// same region as geo backup
	GeoBackupUserAssignedIdentityId *string `json:"geoBackupUserAssignedIdentityId,omitempty"`

	// PrimaryKeyUri: Primary key uri
	PrimaryKeyUri *string `json:"primaryKeyUri,omitempty"`

	// PrimaryUserAssignedIdentityId: Primary user identity resource id
	PrimaryUserAssignedIdentityId *string `json:"primaryUserAssignedIdentityId,omitempty"`

	// Type: The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
	Type *DataEncryptionStatusType `json:"type,omitempty"`
}

func (*DataEncryption_StatusARM) DeepCopy

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

func (*DataEncryption_StatusARM) DeepCopyInto

func (in *DataEncryption_StatusARM) DeepCopyInto(out *DataEncryption_StatusARM)

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

type DatabasePropertiesARM

type DatabasePropertiesARM struct {
	// Charset: The charset of the database.
	Charset *string `json:"charset,omitempty"`

	// Collation: The collation of the database.
	Collation *string `json:"collation,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/DatabaseProperties

func (*DatabasePropertiesARM) DeepCopy

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

func (*DatabasePropertiesARM) DeepCopyInto

func (in *DatabasePropertiesARM) DeepCopyInto(out *DatabasePropertiesARM)

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

type DatabaseProperties_StatusARM

type DatabaseProperties_StatusARM struct {
	// Charset: The charset of the database.
	Charset *string `json:"charset,omitempty"`

	// Collation: The collation of the database.
	Collation *string `json:"collation,omitempty"`
}

func (*DatabaseProperties_StatusARM) DeepCopy

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

func (*DatabaseProperties_StatusARM) DeepCopyInto

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

type Database_Status

type Database_Status struct {
	// Charset: The charset of the database.
	Charset *string `json:"charset,omitempty"`

	// Collation: The collation of the database.
	Collation *string `json:"collation,omitempty"`

	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// SystemData: The system metadata relating to this resource.
	SystemData *SystemData_Status `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*Database_Status) AssignPropertiesFromDatabaseStatus

func (database *Database_Status) AssignPropertiesFromDatabaseStatus(source *v20210501s.Database_Status) error

AssignPropertiesFromDatabaseStatus populates our Database_Status from the provided source Database_Status

func (*Database_Status) AssignPropertiesToDatabaseStatus

func (database *Database_Status) AssignPropertiesToDatabaseStatus(destination *v20210501s.Database_Status) error

AssignPropertiesToDatabaseStatus populates the provided destination Database_Status from our Database_Status

func (*Database_Status) ConvertStatusFrom

func (database *Database_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Database_Status from the provided source

func (*Database_Status) ConvertStatusTo

func (database *Database_Status) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Database_Status

func (*Database_Status) DeepCopy

func (in *Database_Status) DeepCopy() *Database_Status

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

func (*Database_Status) DeepCopyInto

func (in *Database_Status) DeepCopyInto(out *Database_Status)

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

func (*Database_Status) NewEmptyARMValue

func (database *Database_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Database_Status) PopulateFromARM

func (database *Database_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Database_StatusARM

type Database_StatusARM struct {
	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Properties: The properties of a database.
	Properties *DatabaseProperties_StatusARM `json:"properties,omitempty"`

	// SystemData: The system metadata relating to this resource.
	SystemData *SystemData_StatusARM `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*Database_StatusARM) DeepCopy

func (in *Database_StatusARM) DeepCopy() *Database_StatusARM

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

func (*Database_StatusARM) DeepCopyInto

func (in *Database_StatusARM) DeepCopyInto(out *Database_StatusARM)

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

type EnableStatusEnum_Status

type EnableStatusEnum_Status string

type FirewallRulePropertiesARM

type FirewallRulePropertiesARM struct {
	// EndIpAddress: The end IP address of the server firewall rule. Must be IPv4 format.
	EndIpAddress *string `json:"endIpAddress,omitempty"`

	// StartIpAddress: The start IP address of the server firewall rule. Must be IPv4 format.
	StartIpAddress *string `json:"startIpAddress,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/FirewallRuleProperties

func (*FirewallRulePropertiesARM) DeepCopy

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

func (*FirewallRulePropertiesARM) DeepCopyInto

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

type FirewallRuleProperties_StatusARM

type FirewallRuleProperties_StatusARM struct {
	// EndIpAddress: The end IP address of the server firewall rule. Must be IPv4 format.
	EndIpAddress *string `json:"endIpAddress,omitempty"`

	// StartIpAddress: The start IP address of the server firewall rule. Must be IPv4 format.
	StartIpAddress *string `json:"startIpAddress,omitempty"`
}

func (*FirewallRuleProperties_StatusARM) DeepCopy

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

func (*FirewallRuleProperties_StatusARM) DeepCopyInto

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

type FirewallRule_Status

type FirewallRule_Status struct {
	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// EndIpAddress: The end IP address of the server firewall rule. Must be IPv4 format.
	EndIpAddress *string `json:"endIpAddress,omitempty"`

	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// StartIpAddress: The start IP address of the server firewall rule. Must be IPv4 format.
	StartIpAddress *string `json:"startIpAddress,omitempty"`

	// SystemData: The system metadata relating to this resource.
	SystemData *SystemData_Status `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*FirewallRule_Status) AssignPropertiesFromFirewallRuleStatus

func (rule *FirewallRule_Status) AssignPropertiesFromFirewallRuleStatus(source *v20210501s.FirewallRule_Status) error

AssignPropertiesFromFirewallRuleStatus populates our FirewallRule_Status from the provided source FirewallRule_Status

func (*FirewallRule_Status) AssignPropertiesToFirewallRuleStatus

func (rule *FirewallRule_Status) AssignPropertiesToFirewallRuleStatus(destination *v20210501s.FirewallRule_Status) error

AssignPropertiesToFirewallRuleStatus populates the provided destination FirewallRule_Status from our FirewallRule_Status

func (*FirewallRule_Status) ConvertStatusFrom

func (rule *FirewallRule_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our FirewallRule_Status from the provided source

func (*FirewallRule_Status) ConvertStatusTo

func (rule *FirewallRule_Status) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our FirewallRule_Status

func (*FirewallRule_Status) DeepCopy

func (in *FirewallRule_Status) DeepCopy() *FirewallRule_Status

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

func (*FirewallRule_Status) DeepCopyInto

func (in *FirewallRule_Status) DeepCopyInto(out *FirewallRule_Status)

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

func (*FirewallRule_Status) NewEmptyARMValue

func (rule *FirewallRule_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FirewallRule_Status) PopulateFromARM

func (rule *FirewallRule_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FirewallRule_StatusARM

type FirewallRule_StatusARM struct {
	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Properties: The properties of a firewall rule.
	Properties *FirewallRuleProperties_StatusARM `json:"properties,omitempty"`

	// SystemData: The system metadata relating to this resource.
	SystemData *SystemData_StatusARM `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*FirewallRule_StatusARM) DeepCopy

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

func (*FirewallRule_StatusARM) DeepCopyInto

func (in *FirewallRule_StatusARM) DeepCopyInto(out *FirewallRule_StatusARM)

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"`
	Spec              FlexibleServers_Spec `json:"spec,omitempty"`
	Status            Server_Status        `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers

func (*FlexibleServer) AssignPropertiesFromFlexibleServer

func (server *FlexibleServer) AssignPropertiesFromFlexibleServer(source *v20210501s.FlexibleServer) error

AssignPropertiesFromFlexibleServer populates our FlexibleServer from the provided source FlexibleServer

func (*FlexibleServer) AssignPropertiesToFlexibleServer

func (server *FlexibleServer) AssignPropertiesToFlexibleServer(destination *v20210501s.FlexibleServer) error

AssignPropertiesToFlexibleServer populates the provided destination FlexibleServer from our FlexibleServer

func (*FlexibleServer) AzureName

func (server *FlexibleServer) AzureName() string

AzureName returns the Azure name of the resource

func (*FlexibleServer) ConvertFrom

func (server *FlexibleServer) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our FlexibleServer from the provided hub FlexibleServer

func (*FlexibleServer) ConvertTo

func (server *FlexibleServer) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub FlexibleServer from our FlexibleServer

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) Default

func (server *FlexibleServer) Default()

Default applies defaults to the FlexibleServer resource

func (FlexibleServer) GetAPIVersion

func (server FlexibleServer) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-05-01"

func (*FlexibleServer) GetConditions

func (server *FlexibleServer) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*FlexibleServer) GetResourceKind

func (server *FlexibleServer) GetResourceKind() genruntime.ResourceKind

GetResourceKind returns the kind of the resource

func (*FlexibleServer) GetSpec

func (server *FlexibleServer) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*FlexibleServer) GetStatus

func (server *FlexibleServer) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*FlexibleServer) GetType

func (server *FlexibleServer) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMySQL/flexibleServers"

func (*FlexibleServer) NewEmptyStatus

func (server *FlexibleServer) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*FlexibleServer) OriginalGVK

func (server *FlexibleServer) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*FlexibleServer) Owner

func (server *FlexibleServer) Owner() *genruntime.ResourceReference

Owner returns the ResourceReference of the owner, or nil if there is no owner

func (*FlexibleServer) SetConditions

func (server *FlexibleServer) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*FlexibleServer) SetStatus

func (server *FlexibleServer) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*FlexibleServer) ValidateCreate

func (server *FlexibleServer) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*FlexibleServer) ValidateDelete

func (server *FlexibleServer) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*FlexibleServer) ValidateUpdate

func (server *FlexibleServer) ValidateUpdate(old runtime.Object) error

ValidateUpdate validates an update of the resource

type FlexibleServerList

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

+kubebuilder:object:root=true Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/resourceDefinitions/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.

type FlexibleServerOperatorSecrets

type FlexibleServerOperatorSecrets struct {
	// FullyQualifiedDomainName: indicates where the FullyQualifiedDomainName secret should be placed. If omitted, the secret
	// will not be retrieved from Azure.
	FullyQualifiedDomainName *genruntime.SecretDestination `json:"fullyQualifiedDomainName,omitempty"`
}

func (*FlexibleServerOperatorSecrets) AssignPropertiesFromFlexibleServerOperatorSecrets

func (secrets *FlexibleServerOperatorSecrets) AssignPropertiesFromFlexibleServerOperatorSecrets(source *v20210501s.FlexibleServerOperatorSecrets) error

AssignPropertiesFromFlexibleServerOperatorSecrets populates our FlexibleServerOperatorSecrets from the provided source FlexibleServerOperatorSecrets

func (*FlexibleServerOperatorSecrets) AssignPropertiesToFlexibleServerOperatorSecrets

func (secrets *FlexibleServerOperatorSecrets) AssignPropertiesToFlexibleServerOperatorSecrets(destination *v20210501s.FlexibleServerOperatorSecrets) error

AssignPropertiesToFlexibleServerOperatorSecrets populates the provided destination FlexibleServerOperatorSecrets from our FlexibleServerOperatorSecrets

func (*FlexibleServerOperatorSecrets) DeepCopy

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

func (*FlexibleServerOperatorSecrets) DeepCopyInto

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

type FlexibleServerOperatorSpec

type FlexibleServerOperatorSpec struct {
	// Secrets: configures where to place Azure generated secrets.
	Secrets *FlexibleServerOperatorSecrets `json:"secrets,omitempty"`
}

Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure

func (*FlexibleServerOperatorSpec) AssignPropertiesFromFlexibleServerOperatorSpec

func (operator *FlexibleServerOperatorSpec) AssignPropertiesFromFlexibleServerOperatorSpec(source *v20210501s.FlexibleServerOperatorSpec) error

AssignPropertiesFromFlexibleServerOperatorSpec populates our FlexibleServerOperatorSpec from the provided source FlexibleServerOperatorSpec

func (*FlexibleServerOperatorSpec) AssignPropertiesToFlexibleServerOperatorSpec

func (operator *FlexibleServerOperatorSpec) AssignPropertiesToFlexibleServerOperatorSpec(destination *v20210501s.FlexibleServerOperatorSpec) error

AssignPropertiesToFlexibleServerOperatorSpec populates the provided destination FlexibleServerOperatorSpec from our FlexibleServerOperatorSpec

func (*FlexibleServerOperatorSpec) DeepCopy

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

func (*FlexibleServerOperatorSpec) DeepCopyInto

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

type FlexibleServersDatabase

type FlexibleServersDatabase struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FlexibleServersDatabases_Spec `json:"spec,omitempty"`
	Status            Database_Status               `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_databases

func (*FlexibleServersDatabase) AssignPropertiesFromFlexibleServersDatabase

func (database *FlexibleServersDatabase) AssignPropertiesFromFlexibleServersDatabase(source *v20210501s.FlexibleServersDatabase) error

AssignPropertiesFromFlexibleServersDatabase populates our FlexibleServersDatabase from the provided source FlexibleServersDatabase

func (*FlexibleServersDatabase) AssignPropertiesToFlexibleServersDatabase

func (database *FlexibleServersDatabase) AssignPropertiesToFlexibleServersDatabase(destination *v20210501s.FlexibleServersDatabase) error

AssignPropertiesToFlexibleServersDatabase populates the provided destination FlexibleServersDatabase from our FlexibleServersDatabase

func (*FlexibleServersDatabase) AzureName

func (database *FlexibleServersDatabase) AzureName() string

AzureName returns the Azure name of the resource

func (*FlexibleServersDatabase) ConvertFrom

func (database *FlexibleServersDatabase) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our FlexibleServersDatabase from the provided hub FlexibleServersDatabase

func (*FlexibleServersDatabase) ConvertTo

func (database *FlexibleServersDatabase) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub FlexibleServersDatabase from our FlexibleServersDatabase

func (*FlexibleServersDatabase) DeepCopy

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

func (*FlexibleServersDatabase) DeepCopyInto

func (in *FlexibleServersDatabase) DeepCopyInto(out *FlexibleServersDatabase)

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

func (*FlexibleServersDatabase) DeepCopyObject

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

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

func (*FlexibleServersDatabase) Default

func (database *FlexibleServersDatabase) Default()

Default applies defaults to the FlexibleServersDatabase resource

func (FlexibleServersDatabase) GetAPIVersion

func (database FlexibleServersDatabase) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-05-01"

func (*FlexibleServersDatabase) GetConditions

func (database *FlexibleServersDatabase) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*FlexibleServersDatabase) GetResourceKind

func (database *FlexibleServersDatabase) GetResourceKind() genruntime.ResourceKind

GetResourceKind returns the kind of the resource

func (*FlexibleServersDatabase) GetSpec

GetSpec returns the specification of this resource

func (*FlexibleServersDatabase) GetStatus

GetStatus returns the status of this resource

func (*FlexibleServersDatabase) GetType

func (database *FlexibleServersDatabase) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMySQL/flexibleServers/databases"

func (*FlexibleServersDatabase) NewEmptyStatus

func (database *FlexibleServersDatabase) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*FlexibleServersDatabase) OriginalGVK

func (database *FlexibleServersDatabase) OriginalGVK() *schema.GroupVersionKind

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*FlexibleServersDatabase) Owner

Owner returns the ResourceReference of the owner, or nil if there is no owner

func (*FlexibleServersDatabase) SetConditions

func (database *FlexibleServersDatabase) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*FlexibleServersDatabase) SetStatus

func (database *FlexibleServersDatabase) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*FlexibleServersDatabase) ValidateCreate

func (database *FlexibleServersDatabase) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*FlexibleServersDatabase) ValidateDelete

func (database *FlexibleServersDatabase) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*FlexibleServersDatabase) ValidateUpdate

func (database *FlexibleServersDatabase) ValidateUpdate(old runtime.Object) error

ValidateUpdate validates an update of the resource

type FlexibleServersDatabaseList

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

+kubebuilder:object:root=true Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_databases

func (*FlexibleServersDatabaseList) DeepCopy

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

func (*FlexibleServersDatabaseList) DeepCopyInto

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

func (*FlexibleServersDatabaseList) DeepCopyObject

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

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

type FlexibleServersDatabases_Spec

type FlexibleServersDatabases_Spec struct {
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// Charset: The charset of the database.
	Charset *string `json:"charset,omitempty"`

	// Collation: The collation of the database.
	Collation *string `json:"collation,omitempty"`

	// Location: Location to deploy resource to
	Location *string `json:"location,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a dbformysql.azure.com/FlexibleServer resource
	Owner *genruntime.KnownResourceReference `group:"dbformysql.azure.com" json:"owner,omitempty" kind:"FlexibleServer"`

	// Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*FlexibleServersDatabases_Spec) AssignPropertiesFromFlexibleServersDatabasesSpec

func (databases *FlexibleServersDatabases_Spec) AssignPropertiesFromFlexibleServersDatabasesSpec(source *v20210501s.FlexibleServersDatabases_Spec) error

AssignPropertiesFromFlexibleServersDatabasesSpec populates our FlexibleServersDatabases_Spec from the provided source FlexibleServersDatabases_Spec

func (*FlexibleServersDatabases_Spec) AssignPropertiesToFlexibleServersDatabasesSpec

func (databases *FlexibleServersDatabases_Spec) AssignPropertiesToFlexibleServersDatabasesSpec(destination *v20210501s.FlexibleServersDatabases_Spec) error

AssignPropertiesToFlexibleServersDatabasesSpec populates the provided destination FlexibleServersDatabases_Spec from our FlexibleServersDatabases_Spec

func (*FlexibleServersDatabases_Spec) ConvertSpecFrom

func (databases *FlexibleServersDatabases_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our FlexibleServersDatabases_Spec from the provided source

func (*FlexibleServersDatabases_Spec) ConvertSpecTo

func (databases *FlexibleServersDatabases_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our FlexibleServersDatabases_Spec

func (*FlexibleServersDatabases_Spec) ConvertToARM

func (databases *FlexibleServersDatabases_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FlexibleServersDatabases_Spec) DeepCopy

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

func (*FlexibleServersDatabases_Spec) DeepCopyInto

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

func (*FlexibleServersDatabases_Spec) NewEmptyARMValue

func (databases *FlexibleServersDatabases_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServersDatabases_Spec) OriginalVersion

func (databases *FlexibleServersDatabases_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*FlexibleServersDatabases_Spec) PopulateFromARM

func (databases *FlexibleServersDatabases_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*FlexibleServersDatabases_Spec) SetAzureName

func (databases *FlexibleServersDatabases_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type FlexibleServersDatabases_SpecARM

type FlexibleServersDatabases_SpecARM struct {
	// Location: Location to deploy resource to
	Location *string `json:"location,omitempty"`

	// Name: The name of the database.
	Name string `json:"name,omitempty"`

	// Properties: The properties of a database.
	Properties *DatabasePropertiesARM `json:"properties,omitempty"`

	// Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*FlexibleServersDatabases_SpecARM) DeepCopy

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

func (*FlexibleServersDatabases_SpecARM) DeepCopyInto

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

func (FlexibleServersDatabases_SpecARM) GetAPIVersion

func (databases FlexibleServersDatabases_SpecARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-05-01"

func (*FlexibleServersDatabases_SpecARM) GetName

func (databases *FlexibleServersDatabases_SpecARM) GetName() string

GetName returns the Name of the resource

func (*FlexibleServersDatabases_SpecARM) GetType

func (databases *FlexibleServersDatabases_SpecARM) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMySQL/flexibleServers/databases"

type FlexibleServersFirewallRule

type FlexibleServersFirewallRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FlexibleServersFirewallRules_Spec `json:"spec,omitempty"`
	Status            FirewallRule_Status               `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message" Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_firewallRules

func (*FlexibleServersFirewallRule) AssignPropertiesFromFlexibleServersFirewallRule

func (rule *FlexibleServersFirewallRule) AssignPropertiesFromFlexibleServersFirewallRule(source *v20210501s.FlexibleServersFirewallRule) error

AssignPropertiesFromFlexibleServersFirewallRule populates our FlexibleServersFirewallRule from the provided source FlexibleServersFirewallRule

func (*FlexibleServersFirewallRule) AssignPropertiesToFlexibleServersFirewallRule

func (rule *FlexibleServersFirewallRule) AssignPropertiesToFlexibleServersFirewallRule(destination *v20210501s.FlexibleServersFirewallRule) error

AssignPropertiesToFlexibleServersFirewallRule populates the provided destination FlexibleServersFirewallRule from our FlexibleServersFirewallRule

func (*FlexibleServersFirewallRule) AzureName

func (rule *FlexibleServersFirewallRule) AzureName() string

AzureName returns the Azure name of the resource

func (*FlexibleServersFirewallRule) ConvertFrom

func (rule *FlexibleServersFirewallRule) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our FlexibleServersFirewallRule from the provided hub FlexibleServersFirewallRule

func (*FlexibleServersFirewallRule) ConvertTo

func (rule *FlexibleServersFirewallRule) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub FlexibleServersFirewallRule from our FlexibleServersFirewallRule

func (*FlexibleServersFirewallRule) DeepCopy

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

func (*FlexibleServersFirewallRule) DeepCopyInto

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

func (*FlexibleServersFirewallRule) DeepCopyObject

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

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

func (*FlexibleServersFirewallRule) Default

func (rule *FlexibleServersFirewallRule) Default()

Default applies defaults to the FlexibleServersFirewallRule resource

func (FlexibleServersFirewallRule) GetAPIVersion

func (rule FlexibleServersFirewallRule) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-05-01"

func (*FlexibleServersFirewallRule) GetConditions

func (rule *FlexibleServersFirewallRule) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*FlexibleServersFirewallRule) GetResourceKind

func (rule *FlexibleServersFirewallRule) GetResourceKind() genruntime.ResourceKind

GetResourceKind returns the kind of the resource

func (*FlexibleServersFirewallRule) GetSpec

GetSpec returns the specification of this resource

func (*FlexibleServersFirewallRule) GetStatus

GetStatus returns the status of this resource

func (*FlexibleServersFirewallRule) GetType

func (rule *FlexibleServersFirewallRule) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMySQL/flexibleServers/firewallRules"

func (*FlexibleServersFirewallRule) NewEmptyStatus

NewEmptyStatus returns a new empty (blank) status

func (*FlexibleServersFirewallRule) OriginalGVK

OriginalGVK returns a GroupValueKind for the original API version used to create the resource

func (*FlexibleServersFirewallRule) Owner

Owner returns the ResourceReference of the owner, or nil if there is no owner

func (*FlexibleServersFirewallRule) SetConditions

func (rule *FlexibleServersFirewallRule) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*FlexibleServersFirewallRule) SetStatus

SetStatus sets the status of this resource

func (*FlexibleServersFirewallRule) ValidateCreate

func (rule *FlexibleServersFirewallRule) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*FlexibleServersFirewallRule) ValidateDelete

func (rule *FlexibleServersFirewallRule) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*FlexibleServersFirewallRule) ValidateUpdate

func (rule *FlexibleServersFirewallRule) ValidateUpdate(old runtime.Object) error

ValidateUpdate validates an update of the resource

type FlexibleServersFirewallRuleList

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

+kubebuilder:object:root=true Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_firewallRules

func (*FlexibleServersFirewallRuleList) DeepCopy

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

func (*FlexibleServersFirewallRuleList) DeepCopyInto

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

func (*FlexibleServersFirewallRuleList) DeepCopyObject

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

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

type FlexibleServersFirewallRules_Spec

type FlexibleServersFirewallRules_Spec struct {
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern="^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
	// EndIpAddress: The end IP address of the server firewall rule. Must be IPv4 format.
	EndIpAddress *string `json:"endIpAddress,omitempty"`

	// Location: Location to deploy resource to
	Location *string `json:"location,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a dbformysql.azure.com/FlexibleServer resource
	Owner *genruntime.KnownResourceReference `group:"dbformysql.azure.com" json:"owner,omitempty" kind:"FlexibleServer"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern="^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
	// StartIpAddress: The start IP address of the server firewall rule. Must be IPv4 format.
	StartIpAddress *string `json:"startIpAddress,omitempty"`

	// Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*FlexibleServersFirewallRules_Spec) AssignPropertiesFromFlexibleServersFirewallRulesSpec

func (rules *FlexibleServersFirewallRules_Spec) AssignPropertiesFromFlexibleServersFirewallRulesSpec(source *v20210501s.FlexibleServersFirewallRules_Spec) error

AssignPropertiesFromFlexibleServersFirewallRulesSpec populates our FlexibleServersFirewallRules_Spec from the provided source FlexibleServersFirewallRules_Spec

func (*FlexibleServersFirewallRules_Spec) AssignPropertiesToFlexibleServersFirewallRulesSpec

func (rules *FlexibleServersFirewallRules_Spec) AssignPropertiesToFlexibleServersFirewallRulesSpec(destination *v20210501s.FlexibleServersFirewallRules_Spec) error

AssignPropertiesToFlexibleServersFirewallRulesSpec populates the provided destination FlexibleServersFirewallRules_Spec from our FlexibleServersFirewallRules_Spec

func (*FlexibleServersFirewallRules_Spec) ConvertSpecFrom

func (rules *FlexibleServersFirewallRules_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our FlexibleServersFirewallRules_Spec from the provided source

func (*FlexibleServersFirewallRules_Spec) ConvertSpecTo

func (rules *FlexibleServersFirewallRules_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our FlexibleServersFirewallRules_Spec

func (*FlexibleServersFirewallRules_Spec) ConvertToARM

func (rules *FlexibleServersFirewallRules_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FlexibleServersFirewallRules_Spec) DeepCopy

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

func (*FlexibleServersFirewallRules_Spec) DeepCopyInto

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

func (*FlexibleServersFirewallRules_Spec) NewEmptyARMValue

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServersFirewallRules_Spec) OriginalVersion

func (rules *FlexibleServersFirewallRules_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*FlexibleServersFirewallRules_Spec) PopulateFromARM

func (rules *FlexibleServersFirewallRules_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*FlexibleServersFirewallRules_Spec) SetAzureName

func (rules *FlexibleServersFirewallRules_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type FlexibleServersFirewallRules_SpecARM

type FlexibleServersFirewallRules_SpecARM struct {
	// Location: Location to deploy resource to
	Location *string `json:"location,omitempty"`

	// Name: The name of the server firewall rule.
	Name string `json:"name,omitempty"`

	// Properties: The properties of a server firewall rule.
	Properties *FirewallRulePropertiesARM `json:"properties,omitempty"`

	// Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*FlexibleServersFirewallRules_SpecARM) DeepCopy

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

func (*FlexibleServersFirewallRules_SpecARM) DeepCopyInto

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

func (FlexibleServersFirewallRules_SpecARM) GetAPIVersion

func (rules FlexibleServersFirewallRules_SpecARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-05-01"

func (*FlexibleServersFirewallRules_SpecARM) GetName

GetName returns the Name of the resource

func (*FlexibleServersFirewallRules_SpecARM) GetType

GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMySQL/flexibleServers/firewallRules"

type FlexibleServers_Spec

type FlexibleServers_Spec struct {
	// AdministratorLogin: The administrator's login name of a server. Can only be specified when the server is being created
	// (and is required for creation).
	AdministratorLogin *string `json:"administratorLogin,omitempty"`

	// AdministratorLoginPassword: The password of the administrator login (required for server creation).
	AdministratorLoginPassword *genruntime.SecretReference `json:"administratorLoginPassword,omitempty"`

	// AvailabilityZone: availability Zone information of the server.
	AvailabilityZone *string `json:"availabilityZone,omitempty"`

	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// Backup: Storage Profile properties of a server
	Backup *Backup `json:"backup,omitempty"`

	// CreateMode: The mode to create a new MySQL server.
	CreateMode *ServerPropertiesCreateMode `json:"createMode,omitempty"`

	// HighAvailability: Network related properties of a server
	HighAvailability *HighAvailability `json:"highAvailability,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// MaintenanceWindow: Maintenance window of a server.
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`

	// Network: Network related properties of a server
	Network *Network `json:"network,omitempty"`

	// OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
	// passed directly to Azure
	OperatorSpec *FlexibleServerOperatorSpec `json:"operatorSpec,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a resources.azure.com/ResourceGroup resource
	Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`

	// ReplicationRole: The replication role.
	ReplicationRole *ServerPropertiesReplicationRole `json:"replicationRole,omitempty"`

	// RestorePointInTime: Restore point creation time (ISO8601 format), specifying the time to restore from.
	RestorePointInTime *string `json:"restorePointInTime,omitempty"`

	// Sku: Billing information related properties of a server.
	Sku *Sku `json:"sku,omitempty"`

	// SourceServerResourceId: The source MySQL server id.
	SourceServerResourceId *string `json:"sourceServerResourceId,omitempty"`

	// Storage: Storage Profile properties of a server
	Storage *Storage `json:"storage,omitempty"`

	// Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`

	// Version: Server version.
	Version *ServerPropertiesVersion `json:"version,omitempty"`
}

func (*FlexibleServers_Spec) AssignPropertiesFromFlexibleServersSpec

func (servers *FlexibleServers_Spec) AssignPropertiesFromFlexibleServersSpec(source *v20210501s.FlexibleServers_Spec) error

AssignPropertiesFromFlexibleServersSpec populates our FlexibleServers_Spec from the provided source FlexibleServers_Spec

func (*FlexibleServers_Spec) AssignPropertiesToFlexibleServersSpec

func (servers *FlexibleServers_Spec) AssignPropertiesToFlexibleServersSpec(destination *v20210501s.FlexibleServers_Spec) error

AssignPropertiesToFlexibleServersSpec populates the provided destination FlexibleServers_Spec from our FlexibleServers_Spec

func (*FlexibleServers_Spec) ConvertSpecFrom

func (servers *FlexibleServers_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our FlexibleServers_Spec from the provided source

func (*FlexibleServers_Spec) ConvertSpecTo

func (servers *FlexibleServers_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our FlexibleServers_Spec

func (*FlexibleServers_Spec) ConvertToARM

func (servers *FlexibleServers_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FlexibleServers_Spec) DeepCopy

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

func (*FlexibleServers_Spec) DeepCopyInto

func (in *FlexibleServers_Spec) DeepCopyInto(out *FlexibleServers_Spec)

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

func (*FlexibleServers_Spec) NewEmptyARMValue

func (servers *FlexibleServers_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServers_Spec) OriginalVersion

func (servers *FlexibleServers_Spec) OriginalVersion() string

OriginalVersion returns the original API version used to create the resource.

func (*FlexibleServers_Spec) PopulateFromARM

func (servers *FlexibleServers_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*FlexibleServers_Spec) SetAzureName

func (servers *FlexibleServers_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type FlexibleServers_SpecARM

type FlexibleServers_SpecARM struct {
	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// Name: The name of the server.
	Name string `json:"name,omitempty"`

	// Properties: The properties of a server.
	Properties *ServerPropertiesARM `json:"properties,omitempty"`

	// Sku: Billing information related properties of a server.
	Sku *SkuARM `json:"sku,omitempty"`

	// Tags: Name-value pairs to add to the resource
	Tags map[string]string `json:"tags,omitempty"`
}

func (*FlexibleServers_SpecARM) DeepCopy

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

func (*FlexibleServers_SpecARM) DeepCopyInto

func (in *FlexibleServers_SpecARM) DeepCopyInto(out *FlexibleServers_SpecARM)

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

func (FlexibleServers_SpecARM) GetAPIVersion

func (servers FlexibleServers_SpecARM) GetAPIVersion() string

GetAPIVersion returns the ARM API version of the resource. This is always "2021-05-01"

func (*FlexibleServers_SpecARM) GetName

func (servers *FlexibleServers_SpecARM) GetName() string

GetName returns the Name of the resource

func (*FlexibleServers_SpecARM) GetType

func (servers *FlexibleServers_SpecARM) GetType() string

GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMySQL/flexibleServers"

type HighAvailability

type HighAvailability struct {
	// Mode: High availability mode for a server.
	Mode *HighAvailabilityMode `json:"mode,omitempty"`

	// StandbyAvailabilityZone: Availability zone of the standby server.
	StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/HighAvailability

func (*HighAvailability) AssignPropertiesFromHighAvailability

func (availability *HighAvailability) AssignPropertiesFromHighAvailability(source *v20210501s.HighAvailability) error

AssignPropertiesFromHighAvailability populates our HighAvailability from the provided source HighAvailability

func (*HighAvailability) AssignPropertiesToHighAvailability

func (availability *HighAvailability) AssignPropertiesToHighAvailability(destination *v20210501s.HighAvailability) error

AssignPropertiesToHighAvailability populates the provided destination HighAvailability from our HighAvailability

func (*HighAvailability) ConvertToARM

func (availability *HighAvailability) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*HighAvailability) DeepCopy

func (in *HighAvailability) DeepCopy() *HighAvailability

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

func (*HighAvailability) DeepCopyInto

func (in *HighAvailability) DeepCopyInto(out *HighAvailability)

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

func (*HighAvailability) NewEmptyARMValue

func (availability *HighAvailability) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*HighAvailability) PopulateFromARM

func (availability *HighAvailability) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type HighAvailabilityARM

type HighAvailabilityARM struct {
	// Mode: High availability mode for a server.
	Mode *HighAvailabilityMode `json:"mode,omitempty"`

	// StandbyAvailabilityZone: Availability zone of the standby server.
	StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/HighAvailability

func (*HighAvailabilityARM) DeepCopy

func (in *HighAvailabilityARM) DeepCopy() *HighAvailabilityARM

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

func (*HighAvailabilityARM) DeepCopyInto

func (in *HighAvailabilityARM) DeepCopyInto(out *HighAvailabilityARM)

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

type HighAvailabilityMode

type HighAvailabilityMode string

+kubebuilder:validation:Enum={"Disabled","SameZone","ZoneRedundant"}

type HighAvailabilityStatusMode

type HighAvailabilityStatusMode string

type HighAvailabilityStatusState

type HighAvailabilityStatusState string

type HighAvailability_Status

type HighAvailability_Status struct {
	// Mode: High availability mode for a server.
	Mode *HighAvailabilityStatusMode `json:"mode,omitempty"`

	// StandbyAvailabilityZone: Availability zone of the standby server.
	StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty"`

	// State: The state of server high availability.
	State *HighAvailabilityStatusState `json:"state,omitempty"`
}

func (*HighAvailability_Status) AssignPropertiesFromHighAvailabilityStatus

func (availability *HighAvailability_Status) AssignPropertiesFromHighAvailabilityStatus(source *v20210501s.HighAvailability_Status) error

AssignPropertiesFromHighAvailabilityStatus populates our HighAvailability_Status from the provided source HighAvailability_Status

func (*HighAvailability_Status) AssignPropertiesToHighAvailabilityStatus

func (availability *HighAvailability_Status) AssignPropertiesToHighAvailabilityStatus(destination *v20210501s.HighAvailability_Status) error

AssignPropertiesToHighAvailabilityStatus populates the provided destination HighAvailability_Status from our HighAvailability_Status

func (*HighAvailability_Status) DeepCopy

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

func (*HighAvailability_Status) DeepCopyInto

func (in *HighAvailability_Status) DeepCopyInto(out *HighAvailability_Status)

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

func (*HighAvailability_Status) NewEmptyARMValue

func (availability *HighAvailability_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*HighAvailability_Status) PopulateFromARM

func (availability *HighAvailability_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type HighAvailability_StatusARM

type HighAvailability_StatusARM struct {
	// Mode: High availability mode for a server.
	Mode *HighAvailabilityStatusMode `json:"mode,omitempty"`

	// StandbyAvailabilityZone: Availability zone of the standby server.
	StandbyAvailabilityZone *string `json:"standbyAvailabilityZone,omitempty"`

	// State: The state of server high availability.
	State *HighAvailabilityStatusState `json:"state,omitempty"`
}

func (*HighAvailability_StatusARM) DeepCopy

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

func (*HighAvailability_StatusARM) DeepCopyInto

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

type IdentityStatusType

type IdentityStatusType string

type Identity_Status

type Identity_Status struct {
	// PrincipalId: ObjectId from the KeyVault
	PrincipalId *string `json:"principalId,omitempty"`

	// TenantId: TenantId from the KeyVault
	TenantId *string `json:"tenantId,omitempty"`

	// Type: Type of managed service identity.
	Type *IdentityStatusType `json:"type,omitempty"`

	// UserAssignedIdentities: Metadata of user assigned identity.
	UserAssignedIdentities map[string]v1.JSON `json:"userAssignedIdentities,omitempty"`
}

func (*Identity_Status) AssignPropertiesFromIdentityStatus

func (identity *Identity_Status) AssignPropertiesFromIdentityStatus(source *v20210501s.Identity_Status) error

AssignPropertiesFromIdentityStatus populates our Identity_Status from the provided source Identity_Status

func (*Identity_Status) AssignPropertiesToIdentityStatus

func (identity *Identity_Status) AssignPropertiesToIdentityStatus(destination *v20210501s.Identity_Status) error

AssignPropertiesToIdentityStatus populates the provided destination Identity_Status from our Identity_Status

func (*Identity_Status) DeepCopy

func (in *Identity_Status) DeepCopy() *Identity_Status

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

func (*Identity_Status) DeepCopyInto

func (in *Identity_Status) DeepCopyInto(out *Identity_Status)

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

func (*Identity_Status) NewEmptyARMValue

func (identity *Identity_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Identity_Status) PopulateFromARM

func (identity *Identity_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Identity_StatusARM

type Identity_StatusARM struct {
	// PrincipalId: ObjectId from the KeyVault
	PrincipalId *string `json:"principalId,omitempty"`

	// TenantId: TenantId from the KeyVault
	TenantId *string `json:"tenantId,omitempty"`

	// Type: Type of managed service identity.
	Type *IdentityStatusType `json:"type,omitempty"`

	// UserAssignedIdentities: Metadata of user assigned identity.
	UserAssignedIdentities map[string]v1.JSON `json:"userAssignedIdentities,omitempty"`
}

func (*Identity_StatusARM) DeepCopy

func (in *Identity_StatusARM) DeepCopy() *Identity_StatusARM

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

func (*Identity_StatusARM) DeepCopyInto

func (in *Identity_StatusARM) DeepCopyInto(out *Identity_StatusARM)

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

type MaintenanceWindow

type MaintenanceWindow struct {
	// CustomWindow: indicates whether custom window is enabled or disabled
	CustomWindow *string `json:"customWindow,omitempty"`

	// DayOfWeek: day of week for maintenance window
	DayOfWeek *int `json:"dayOfWeek,omitempty"`

	// StartHour: start hour for maintenance window
	StartHour *int `json:"startHour,omitempty"`

	// StartMinute: start minute for maintenance window
	StartMinute *int `json:"startMinute,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/MaintenanceWindow

func (*MaintenanceWindow) AssignPropertiesFromMaintenanceWindow

func (window *MaintenanceWindow) AssignPropertiesFromMaintenanceWindow(source *v20210501s.MaintenanceWindow) error

AssignPropertiesFromMaintenanceWindow populates our MaintenanceWindow from the provided source MaintenanceWindow

func (*MaintenanceWindow) AssignPropertiesToMaintenanceWindow

func (window *MaintenanceWindow) AssignPropertiesToMaintenanceWindow(destination *v20210501s.MaintenanceWindow) error

AssignPropertiesToMaintenanceWindow populates the provided destination MaintenanceWindow from our MaintenanceWindow

func (*MaintenanceWindow) ConvertToARM

func (window *MaintenanceWindow) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*MaintenanceWindow) DeepCopy

func (in *MaintenanceWindow) DeepCopy() *MaintenanceWindow

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

func (*MaintenanceWindow) DeepCopyInto

func (in *MaintenanceWindow) DeepCopyInto(out *MaintenanceWindow)

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

func (*MaintenanceWindow) NewEmptyARMValue

func (window *MaintenanceWindow) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MaintenanceWindow) PopulateFromARM

func (window *MaintenanceWindow) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MaintenanceWindowARM

type MaintenanceWindowARM struct {
	// CustomWindow: indicates whether custom window is enabled or disabled
	CustomWindow *string `json:"customWindow,omitempty"`

	// DayOfWeek: day of week for maintenance window
	DayOfWeek *int `json:"dayOfWeek,omitempty"`

	// StartHour: start hour for maintenance window
	StartHour *int `json:"startHour,omitempty"`

	// StartMinute: start minute for maintenance window
	StartMinute *int `json:"startMinute,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/MaintenanceWindow

func (*MaintenanceWindowARM) DeepCopy

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

func (*MaintenanceWindowARM) DeepCopyInto

func (in *MaintenanceWindowARM) DeepCopyInto(out *MaintenanceWindowARM)

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

type MaintenanceWindow_Status

type MaintenanceWindow_Status struct {
	// CustomWindow: indicates whether custom window is enabled or disabled
	CustomWindow *string `json:"customWindow,omitempty"`

	// DayOfWeek: day of week for maintenance window
	DayOfWeek *int `json:"dayOfWeek,omitempty"`

	// StartHour: start hour for maintenance window
	StartHour *int `json:"startHour,omitempty"`

	// StartMinute: start minute for maintenance window
	StartMinute *int `json:"startMinute,omitempty"`
}

func (*MaintenanceWindow_Status) AssignPropertiesFromMaintenanceWindowStatus

func (window *MaintenanceWindow_Status) AssignPropertiesFromMaintenanceWindowStatus(source *v20210501s.MaintenanceWindow_Status) error

AssignPropertiesFromMaintenanceWindowStatus populates our MaintenanceWindow_Status from the provided source MaintenanceWindow_Status

func (*MaintenanceWindow_Status) AssignPropertiesToMaintenanceWindowStatus

func (window *MaintenanceWindow_Status) AssignPropertiesToMaintenanceWindowStatus(destination *v20210501s.MaintenanceWindow_Status) error

AssignPropertiesToMaintenanceWindowStatus populates the provided destination MaintenanceWindow_Status from our MaintenanceWindow_Status

func (*MaintenanceWindow_Status) DeepCopy

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

func (*MaintenanceWindow_Status) DeepCopyInto

func (in *MaintenanceWindow_Status) DeepCopyInto(out *MaintenanceWindow_Status)

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

func (*MaintenanceWindow_Status) NewEmptyARMValue

func (window *MaintenanceWindow_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MaintenanceWindow_Status) PopulateFromARM

func (window *MaintenanceWindow_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type MaintenanceWindow_StatusARM

type MaintenanceWindow_StatusARM struct {
	// CustomWindow: indicates whether custom window is enabled or disabled
	CustomWindow *string `json:"customWindow,omitempty"`

	// DayOfWeek: day of week for maintenance window
	DayOfWeek *int `json:"dayOfWeek,omitempty"`

	// StartHour: start hour for maintenance window
	StartHour *int `json:"startHour,omitempty"`

	// StartMinute: start minute for maintenance window
	StartMinute *int `json:"startMinute,omitempty"`
}

func (*MaintenanceWindow_StatusARM) DeepCopy

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

func (*MaintenanceWindow_StatusARM) DeepCopyInto

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

type Network

type Network struct {
	// DelegatedSubnetResourceReference: Delegated subnet resource id used to setup vnet for a server.
	DelegatedSubnetResourceReference *genruntime.ResourceReference `armReference:"DelegatedSubnetResourceId" json:"delegatedSubnetResourceReference,omitempty"`

	// PrivateDnsZoneResourceReference: Private DNS zone resource id.
	PrivateDnsZoneResourceReference *genruntime.ResourceReference `armReference:"PrivateDnsZoneResourceId" json:"privateDnsZoneResourceReference,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/Network

func (*Network) AssignPropertiesFromNetwork

func (network *Network) AssignPropertiesFromNetwork(source *v20210501s.Network) error

AssignPropertiesFromNetwork populates our Network from the provided source Network

func (*Network) AssignPropertiesToNetwork

func (network *Network) AssignPropertiesToNetwork(destination *v20210501s.Network) error

AssignPropertiesToNetwork populates the provided destination Network from our Network

func (*Network) ConvertToARM

func (network *Network) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Network) DeepCopy

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

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

func (*Network) NewEmptyARMValue

func (network *Network) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Network) PopulateFromARM

func (network *Network) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type NetworkARM

type NetworkARM struct {
	DelegatedSubnetResourceId *string `json:"delegatedSubnetResourceId,omitempty"`
	PrivateDnsZoneResourceId  *string `json:"privateDnsZoneResourceId,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/Network

func (*NetworkARM) DeepCopy

func (in *NetworkARM) DeepCopy() *NetworkARM

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

func (*NetworkARM) DeepCopyInto

func (in *NetworkARM) DeepCopyInto(out *NetworkARM)

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

type Network_Status

type Network_Status struct {
	// DelegatedSubnetResourceId: Delegated subnet resource id used to setup vnet for a server.
	DelegatedSubnetResourceId *string `json:"delegatedSubnetResourceId,omitempty"`

	// PrivateDnsZoneResourceId: Private DNS zone resource id.
	PrivateDnsZoneResourceId *string `json:"privateDnsZoneResourceId,omitempty"`

	// PublicNetworkAccess: Whether or not public network access is allowed for this server. Value is 'Disabled' when server
	// has VNet integration.
	PublicNetworkAccess *EnableStatusEnum_Status `json:"publicNetworkAccess,omitempty"`
}

func (*Network_Status) AssignPropertiesFromNetworkStatus

func (network *Network_Status) AssignPropertiesFromNetworkStatus(source *v20210501s.Network_Status) error

AssignPropertiesFromNetworkStatus populates our Network_Status from the provided source Network_Status

func (*Network_Status) AssignPropertiesToNetworkStatus

func (network *Network_Status) AssignPropertiesToNetworkStatus(destination *v20210501s.Network_Status) error

AssignPropertiesToNetworkStatus populates the provided destination Network_Status from our Network_Status

func (*Network_Status) DeepCopy

func (in *Network_Status) DeepCopy() *Network_Status

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

func (*Network_Status) DeepCopyInto

func (in *Network_Status) DeepCopyInto(out *Network_Status)

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

func (*Network_Status) NewEmptyARMValue

func (network *Network_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Network_Status) PopulateFromARM

func (network *Network_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Network_StatusARM

type Network_StatusARM struct {
	// DelegatedSubnetResourceId: Delegated subnet resource id used to setup vnet for a server.
	DelegatedSubnetResourceId *string `json:"delegatedSubnetResourceId,omitempty"`

	// PrivateDnsZoneResourceId: Private DNS zone resource id.
	PrivateDnsZoneResourceId *string `json:"privateDnsZoneResourceId,omitempty"`

	// PublicNetworkAccess: Whether or not public network access is allowed for this server. Value is 'Disabled' when server
	// has VNet integration.
	PublicNetworkAccess *EnableStatusEnum_Status `json:"publicNetworkAccess,omitempty"`
}

func (*Network_StatusARM) DeepCopy

func (in *Network_StatusARM) DeepCopy() *Network_StatusARM

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

func (*Network_StatusARM) DeepCopyInto

func (in *Network_StatusARM) DeepCopyInto(out *Network_StatusARM)

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

type ReplicationRole_Status

type ReplicationRole_Status string

type ServerPropertiesARM

type ServerPropertiesARM struct {
	// AdministratorLogin: The administrator's login name of a server. Can only be specified when the server is being created
	// (and is required for creation).
	AdministratorLogin *string `json:"administratorLogin,omitempty"`

	// AdministratorLoginPassword: The password of the administrator login (required for server creation).
	AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"`

	// AvailabilityZone: availability Zone information of the server.
	AvailabilityZone *string `json:"availabilityZone,omitempty"`

	// Backup: Storage Profile properties of a server
	Backup *BackupARM `json:"backup,omitempty"`

	// CreateMode: The mode to create a new MySQL server.
	CreateMode *ServerPropertiesCreateMode `json:"createMode,omitempty"`

	// HighAvailability: Network related properties of a server
	HighAvailability *HighAvailabilityARM `json:"highAvailability,omitempty"`

	// MaintenanceWindow: Maintenance window of a server.
	MaintenanceWindow *MaintenanceWindowARM `json:"maintenanceWindow,omitempty"`

	// Network: Network related properties of a server
	Network *NetworkARM `json:"network,omitempty"`

	// ReplicationRole: The replication role.
	ReplicationRole *ServerPropertiesReplicationRole `json:"replicationRole,omitempty"`

	// RestorePointInTime: Restore point creation time (ISO8601 format), specifying the time to restore from.
	RestorePointInTime *string `json:"restorePointInTime,omitempty"`

	// SourceServerResourceId: The source MySQL server id.
	SourceServerResourceId *string `json:"sourceServerResourceId,omitempty"`

	// Storage: Storage Profile properties of a server
	Storage *StorageARM `json:"storage,omitempty"`

	// Version: Server version.
	Version *ServerPropertiesVersion `json:"version,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/ServerProperties

func (*ServerPropertiesARM) DeepCopy

func (in *ServerPropertiesARM) DeepCopy() *ServerPropertiesARM

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

func (*ServerPropertiesARM) DeepCopyInto

func (in *ServerPropertiesARM) DeepCopyInto(out *ServerPropertiesARM)

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

type ServerPropertiesCreateMode

type ServerPropertiesCreateMode string

+kubebuilder:validation:Enum={"Default","GeoRestore","PointInTimeRestore","Replica"}

type ServerPropertiesReplicationRole

type ServerPropertiesReplicationRole string

+kubebuilder:validation:Enum={"None","Replica","Source"}

type ServerPropertiesStatusCreateMode

type ServerPropertiesStatusCreateMode string

type ServerPropertiesStatusState

type ServerPropertiesStatusState string

type ServerPropertiesVersion

type ServerPropertiesVersion string

+kubebuilder:validation:Enum={"5.7","8.0.21"}

type ServerProperties_StatusARM

type ServerProperties_StatusARM struct {
	// AdministratorLogin: The administrator's login name of a server. Can only be specified when the server is being created
	// (and is required for creation).
	AdministratorLogin *string `json:"administratorLogin,omitempty"`

	// AvailabilityZone: availability Zone information of the server.
	AvailabilityZone *string `json:"availabilityZone,omitempty"`

	// Backup: Backup related properties of a server.
	Backup *Backup_StatusARM `json:"backup,omitempty"`

	// CreateMode: The mode to create a new MySQL server.
	CreateMode *ServerPropertiesStatusCreateMode `json:"createMode,omitempty"`

	// DataEncryption: The Data Encryption for CMK.
	DataEncryption *DataEncryption_StatusARM `json:"dataEncryption,omitempty"`

	// FullyQualifiedDomainName: The fully qualified domain name of a server.
	FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"`

	// HighAvailability: High availability related properties of a server.
	HighAvailability *HighAvailability_StatusARM `json:"highAvailability,omitempty"`

	// MaintenanceWindow: Maintenance window of a server.
	MaintenanceWindow *MaintenanceWindow_StatusARM `json:"maintenanceWindow,omitempty"`

	// Network: Network related properties of a server.
	Network *Network_StatusARM `json:"network,omitempty"`

	// ReplicaCapacity: The maximum number of replicas that a primary server can have.
	ReplicaCapacity *int `json:"replicaCapacity,omitempty"`

	// ReplicationRole: The replication role.
	ReplicationRole *ReplicationRole_Status `json:"replicationRole,omitempty"`

	// RestorePointInTime: Restore point creation time (ISO8601 format), specifying the time to restore from.
	RestorePointInTime *string `json:"restorePointInTime,omitempty"`

	// SourceServerResourceId: The source MySQL server id.
	SourceServerResourceId *string `json:"sourceServerResourceId,omitempty"`

	// State: The state of a server.
	State *ServerPropertiesStatusState `json:"state,omitempty"`

	// Storage: Storage related properties of a server.
	Storage *Storage_StatusARM `json:"storage,omitempty"`

	// Version: Server version.
	Version *ServerVersion_Status `json:"version,omitempty"`
}

func (*ServerProperties_StatusARM) DeepCopy

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

func (*ServerProperties_StatusARM) DeepCopyInto

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

type ServerVersion_Status

type ServerVersion_Status string

type Server_Status

type Server_Status struct {
	// AdministratorLogin: The administrator's login name of a server. Can only be specified when the server is being created
	// (and is required for creation).
	AdministratorLogin *string `json:"administratorLogin,omitempty"`

	// AvailabilityZone: availability Zone information of the server.
	AvailabilityZone *string `json:"availabilityZone,omitempty"`

	// Backup: Backup related properties of a server.
	Backup *Backup_Status `json:"backup,omitempty"`

	// Conditions: The observed state of the resource
	Conditions []conditions.Condition `json:"conditions,omitempty"`

	// CreateMode: The mode to create a new MySQL server.
	CreateMode *ServerPropertiesStatusCreateMode `json:"createMode,omitempty"`

	// DataEncryption: The Data Encryption for CMK.
	DataEncryption *DataEncryption_Status `json:"dataEncryption,omitempty"`

	// FullyQualifiedDomainName: The fully qualified domain name of a server.
	FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"`

	// HighAvailability: High availability related properties of a server.
	HighAvailability *HighAvailability_Status `json:"highAvailability,omitempty"`

	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// Identity: The cmk identity for the server.
	Identity *Identity_Status `json:"identity,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// MaintenanceWindow: Maintenance window of a server.
	MaintenanceWindow *MaintenanceWindow_Status `json:"maintenanceWindow,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Network: Network related properties of a server.
	Network *Network_Status `json:"network,omitempty"`

	// ReplicaCapacity: The maximum number of replicas that a primary server can have.
	ReplicaCapacity *int `json:"replicaCapacity,omitempty"`

	// ReplicationRole: The replication role.
	ReplicationRole *ReplicationRole_Status `json:"replicationRole,omitempty"`

	// RestorePointInTime: Restore point creation time (ISO8601 format), specifying the time to restore from.
	RestorePointInTime *string `json:"restorePointInTime,omitempty"`

	// Sku: The SKU (pricing tier) of the server.
	Sku *Sku_Status `json:"sku,omitempty"`

	// SourceServerResourceId: The source MySQL server id.
	SourceServerResourceId *string `json:"sourceServerResourceId,omitempty"`

	// State: The state of a server.
	State *ServerPropertiesStatusState `json:"state,omitempty"`

	// Storage: Storage related properties of a server.
	Storage *Storage_Status `json:"storage,omitempty"`

	// SystemData: The system metadata relating to this resource.
	SystemData *SystemData_Status `json:"systemData,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`

	// Version: Server version.
	Version *ServerVersion_Status `json:"version,omitempty"`
}

func (*Server_Status) AssignPropertiesFromServerStatus

func (server *Server_Status) AssignPropertiesFromServerStatus(source *v20210501s.Server_Status) error

AssignPropertiesFromServerStatus populates our Server_Status from the provided source Server_Status

func (*Server_Status) AssignPropertiesToServerStatus

func (server *Server_Status) AssignPropertiesToServerStatus(destination *v20210501s.Server_Status) error

AssignPropertiesToServerStatus populates the provided destination Server_Status from our Server_Status

func (*Server_Status) ConvertStatusFrom

func (server *Server_Status) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our Server_Status from the provided source

func (*Server_Status) ConvertStatusTo

func (server *Server_Status) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our Server_Status

func (*Server_Status) DeepCopy

func (in *Server_Status) DeepCopy() *Server_Status

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

func (*Server_Status) DeepCopyInto

func (in *Server_Status) DeepCopyInto(out *Server_Status)

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

func (*Server_Status) NewEmptyARMValue

func (server *Server_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Server_Status) PopulateFromARM

func (server *Server_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Server_StatusARM

type Server_StatusARM struct {
	// Id: Fully qualified resource ID for the resource. Ex -
	// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id *string `json:"id,omitempty"`

	// Identity: The cmk identity for the server.
	Identity *Identity_StatusARM `json:"identity,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Properties: Properties of the server.
	Properties *ServerProperties_StatusARM `json:"properties,omitempty"`

	// Sku: The SKU (pricing tier) of the server.
	Sku *Sku_StatusARM `json:"sku,omitempty"`

	// SystemData: The system metadata relating to this resource.
	SystemData *SystemData_StatusARM `json:"systemData,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

func (*Server_StatusARM) DeepCopy

func (in *Server_StatusARM) DeepCopy() *Server_StatusARM

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

func (*Server_StatusARM) DeepCopyInto

func (in *Server_StatusARM) DeepCopyInto(out *Server_StatusARM)

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

type Sku

type Sku struct {
	// +kubebuilder:validation:Required
	// Name: The name of the sku, e.g. Standard_D32s_v3.
	Name *string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	// Tier: The tier of the particular SKU, e.g. GeneralPurpose.
	Tier *SkuTier `json:"tier,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/Sku

func (*Sku) AssignPropertiesFromSku

func (sku *Sku) AssignPropertiesFromSku(source *v20210501s.Sku) error

AssignPropertiesFromSku populates our Sku from the provided source Sku

func (*Sku) AssignPropertiesToSku

func (sku *Sku) AssignPropertiesToSku(destination *v20210501s.Sku) error

AssignPropertiesToSku populates the provided destination Sku from our Sku

func (*Sku) ConvertToARM

func (sku *Sku) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Sku) DeepCopy

func (in *Sku) DeepCopy() *Sku

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

func (*Sku) DeepCopyInto

func (in *Sku) DeepCopyInto(out *Sku)

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

func (*Sku) NewEmptyARMValue

func (sku *Sku) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku) PopulateFromARM

func (sku *Sku) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SkuARM

type SkuARM struct {
	// Name: The name of the sku, e.g. Standard_D32s_v3.
	Name *string `json:"name,omitempty"`

	// Tier: The tier of the particular SKU, e.g. GeneralPurpose.
	Tier *SkuTier `json:"tier,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/Sku

func (*SkuARM) DeepCopy

func (in *SkuARM) DeepCopy() *SkuARM

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

func (*SkuARM) DeepCopyInto

func (in *SkuARM) DeepCopyInto(out *SkuARM)

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

type SkuStatusTier

type SkuStatusTier string

type SkuTier

type SkuTier string

+kubebuilder:validation:Enum={"Burstable","GeneralPurpose","MemoryOptimized"}

type Sku_Status

type Sku_Status struct {
	// Name: The name of the sku, e.g. Standard_D32s_v3.
	Name *string `json:"name,omitempty"`

	// Tier: The tier of the particular SKU, e.g. GeneralPurpose.
	Tier *SkuStatusTier `json:"tier,omitempty"`
}

func (*Sku_Status) AssignPropertiesFromSkuStatus

func (sku *Sku_Status) AssignPropertiesFromSkuStatus(source *v20210501s.Sku_Status) error

AssignPropertiesFromSkuStatus populates our Sku_Status from the provided source Sku_Status

func (*Sku_Status) AssignPropertiesToSkuStatus

func (sku *Sku_Status) AssignPropertiesToSkuStatus(destination *v20210501s.Sku_Status) error

AssignPropertiesToSkuStatus populates the provided destination Sku_Status from our Sku_Status

func (*Sku_Status) DeepCopy

func (in *Sku_Status) DeepCopy() *Sku_Status

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

func (*Sku_Status) DeepCopyInto

func (in *Sku_Status) DeepCopyInto(out *Sku_Status)

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

func (*Sku_Status) NewEmptyARMValue

func (sku *Sku_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku_Status) PopulateFromARM

func (sku *Sku_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Sku_StatusARM

type Sku_StatusARM struct {
	// Name: The name of the sku, e.g. Standard_D32s_v3.
	Name *string `json:"name,omitempty"`

	// Tier: The tier of the particular SKU, e.g. GeneralPurpose.
	Tier *SkuStatusTier `json:"tier,omitempty"`
}

func (*Sku_StatusARM) DeepCopy

func (in *Sku_StatusARM) DeepCopy() *Sku_StatusARM

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

func (*Sku_StatusARM) DeepCopyInto

func (in *Sku_StatusARM) DeepCopyInto(out *Sku_StatusARM)

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

type Storage

type Storage struct {
	// AutoGrow: Enable Storage Auto Grow or not.
	AutoGrow *StorageAutoGrow `json:"autoGrow,omitempty"`

	// Iops: Storage IOPS for a server.
	Iops *int `json:"iops,omitempty"`

	// StorageSizeGB: Max storage size allowed for a server.
	StorageSizeGB *int `json:"storageSizeGB,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/Storage

func (*Storage) AssignPropertiesFromStorage

func (storage *Storage) AssignPropertiesFromStorage(source *v20210501s.Storage) error

AssignPropertiesFromStorage populates our Storage from the provided source Storage

func (*Storage) AssignPropertiesToStorage

func (storage *Storage) AssignPropertiesToStorage(destination *v20210501s.Storage) error

AssignPropertiesToStorage populates the provided destination Storage from our Storage

func (*Storage) ConvertToARM

func (storage *Storage) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*Storage) DeepCopy

func (in *Storage) DeepCopy() *Storage

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

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

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

func (*Storage) NewEmptyARMValue

func (storage *Storage) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Storage) PopulateFromARM

func (storage *Storage) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type StorageARM

type StorageARM struct {
	// AutoGrow: Enable Storage Auto Grow or not.
	AutoGrow *StorageAutoGrow `json:"autoGrow,omitempty"`

	// Iops: Storage IOPS for a server.
	Iops *int `json:"iops,omitempty"`

	// StorageSizeGB: Max storage size allowed for a server.
	StorageSizeGB *int `json:"storageSizeGB,omitempty"`
}

Generated from: https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/definitions/Storage

func (*StorageARM) DeepCopy

func (in *StorageARM) DeepCopy() *StorageARM

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

func (*StorageARM) DeepCopyInto

func (in *StorageARM) DeepCopyInto(out *StorageARM)

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

type StorageAutoGrow

type StorageAutoGrow string

+kubebuilder:validation:Enum={"Disabled","Enabled"}

type Storage_Status

type Storage_Status struct {
	// AutoGrow: Enable Storage Auto Grow or not.
	AutoGrow *EnableStatusEnum_Status `json:"autoGrow,omitempty"`

	// Iops: Storage IOPS for a server.
	Iops *int `json:"iops,omitempty"`

	// StorageSizeGB: Max storage size allowed for a server.
	StorageSizeGB *int `json:"storageSizeGB,omitempty"`

	// StorageSku: The sku name of the server storage.
	StorageSku *string `json:"storageSku,omitempty"`
}

func (*Storage_Status) AssignPropertiesFromStorageStatus

func (storage *Storage_Status) AssignPropertiesFromStorageStatus(source *v20210501s.Storage_Status) error

AssignPropertiesFromStorageStatus populates our Storage_Status from the provided source Storage_Status

func (*Storage_Status) AssignPropertiesToStorageStatus

func (storage *Storage_Status) AssignPropertiesToStorageStatus(destination *v20210501s.Storage_Status) error

AssignPropertiesToStorageStatus populates the provided destination Storage_Status from our Storage_Status

func (*Storage_Status) DeepCopy

func (in *Storage_Status) DeepCopy() *Storage_Status

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

func (*Storage_Status) DeepCopyInto

func (in *Storage_Status) DeepCopyInto(out *Storage_Status)

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

func (*Storage_Status) NewEmptyARMValue

func (storage *Storage_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Storage_Status) PopulateFromARM

func (storage *Storage_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type Storage_StatusARM

type Storage_StatusARM struct {
	// AutoGrow: Enable Storage Auto Grow or not.
	AutoGrow *EnableStatusEnum_Status `json:"autoGrow,omitempty"`

	// Iops: Storage IOPS for a server.
	Iops *int `json:"iops,omitempty"`

	// StorageSizeGB: Max storage size allowed for a server.
	StorageSizeGB *int `json:"storageSizeGB,omitempty"`

	// StorageSku: The sku name of the server storage.
	StorageSku *string `json:"storageSku,omitempty"`
}

func (*Storage_StatusARM) DeepCopy

func (in *Storage_StatusARM) DeepCopy() *Storage_StatusARM

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

func (*Storage_StatusARM) DeepCopyInto

func (in *Storage_StatusARM) DeepCopyInto(out *Storage_StatusARM)

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

type SystemDataStatusCreatedByType

type SystemDataStatusCreatedByType string

type SystemDataStatusLastModifiedByType

type SystemDataStatusLastModifiedByType string

type SystemData_Status

type SystemData_Status struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemDataStatusCreatedByType `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemDataStatusLastModifiedByType `json:"lastModifiedByType,omitempty"`
}

func (*SystemData_Status) AssignPropertiesFromSystemDataStatus

func (data *SystemData_Status) AssignPropertiesFromSystemDataStatus(source *v20210501s.SystemData_Status) error

AssignPropertiesFromSystemDataStatus populates our SystemData_Status from the provided source SystemData_Status

func (*SystemData_Status) AssignPropertiesToSystemDataStatus

func (data *SystemData_Status) AssignPropertiesToSystemDataStatus(destination *v20210501s.SystemData_Status) error

AssignPropertiesToSystemDataStatus populates the provided destination SystemData_Status from our SystemData_Status

func (*SystemData_Status) DeepCopy

func (in *SystemData_Status) DeepCopy() *SystemData_Status

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

func (*SystemData_Status) DeepCopyInto

func (in *SystemData_Status) DeepCopyInto(out *SystemData_Status)

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

func (*SystemData_Status) NewEmptyARMValue

func (data *SystemData_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_Status) PopulateFromARM

func (data *SystemData_Status) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type SystemData_StatusARM

type SystemData_StatusARM struct {
	// CreatedAt: The timestamp of resource creation (UTC).
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy: The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// CreatedByType: The type of identity that created the resource.
	CreatedByType *SystemDataStatusCreatedByType `json:"createdByType,omitempty"`

	// LastModifiedAt: The timestamp of resource last modification (UTC)
	LastModifiedAt *string `json:"lastModifiedAt,omitempty"`

	// LastModifiedBy: The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// LastModifiedByType: The type of identity that last modified the resource.
	LastModifiedByType *SystemDataStatusLastModifiedByType `json:"lastModifiedByType,omitempty"`
}

func (*SystemData_StatusARM) DeepCopy

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

func (*SystemData_StatusARM) DeepCopyInto

func (in *SystemData_StatusARM) DeepCopyInto(out *SystemData_StatusARM)

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