v1alpha1api20210501

package
v2.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

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.

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

Package v1alpha1api20210501 contains API Schema definitions for the dbformysql v1alpha1api20210501 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 (
	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 FlexibleServersDatabasesSpecAPIVersion20210501 = FlexibleServersDatabasesSpecAPIVersion("2021-05-01")
View Source
const FlexibleServersFirewallRulesSpecAPIVersion20210501 = FlexibleServersFirewallRulesSpecAPIVersion("2021-05-01")
View Source
const FlexibleServersSpecAPIVersion20210501 = FlexibleServersSpecAPIVersion("2021-05-01")

Variables

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

	// 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 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 *v1alpha1api20210501storage.Backup) error

AssignPropertiesFromBackup populates our Backup from the provided source Backup

func (*Backup) AssignPropertiesToBackup

func (backup *Backup) AssignPropertiesToBackup(destination *v1alpha1api20210501storage.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 (backupStatus *Backup_Status) AssignPropertiesFromBackupStatus(source *v1alpha1api20210501storage.Backup_Status) error

AssignPropertiesFromBackupStatus populates our Backup_Status from the provided source Backup_Status

func (*Backup_Status) AssignPropertiesToBackupStatus

func (backupStatus *Backup_Status) AssignPropertiesToBackupStatus(destination *v1alpha1api20210501storage.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 (backupStatus *Backup_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Backup_Status) PopulateFromARM

func (backupStatus *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 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 (databaseStatus *Database_Status) AssignPropertiesFromDatabaseStatus(source *v1alpha1api20210501storage.Database_Status) error

AssignPropertiesFromDatabaseStatus populates our Database_Status from the provided source Database_Status

func (*Database_Status) AssignPropertiesToDatabaseStatus

func (databaseStatus *Database_Status) AssignPropertiesToDatabaseStatus(destination *v1alpha1api20210501storage.Database_Status) error

AssignPropertiesToDatabaseStatus populates the provided destination Database_Status from our Database_Status

func (*Database_Status) ConvertStatusFrom

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

ConvertStatusFrom populates our Database_Status from the provided source

func (*Database_Status) ConvertStatusTo

func (databaseStatus *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 (databaseStatus *Database_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Database_Status) PopulateFromARM

func (databaseStatus *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"`

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

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

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

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 (firewallRuleStatus *FirewallRule_Status) AssignPropertiesFromFirewallRuleStatus(source *v1alpha1api20210501storage.FirewallRule_Status) error

AssignPropertiesFromFirewallRuleStatus populates our FirewallRule_Status from the provided source FirewallRule_Status

func (*FirewallRule_Status) AssignPropertiesToFirewallRuleStatus

func (firewallRuleStatus *FirewallRule_Status) AssignPropertiesToFirewallRuleStatus(destination *v1alpha1api20210501storage.FirewallRule_Status) error

AssignPropertiesToFirewallRuleStatus populates the provided destination FirewallRule_Status from our FirewallRule_Status

func (*FirewallRule_Status) ConvertStatusFrom

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

ConvertStatusFrom populates our FirewallRule_Status from the provided source

func (*FirewallRule_Status) ConvertStatusTo

func (firewallRuleStatus *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 (firewallRuleStatus *FirewallRule_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FirewallRule_Status) PopulateFromARM

func (firewallRuleStatus *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 (flexibleServer *FlexibleServer) AssignPropertiesFromFlexibleServer(source *v1alpha1api20210501storage.FlexibleServer) error

AssignPropertiesFromFlexibleServer populates our FlexibleServer from the provided source FlexibleServer

func (*FlexibleServer) AssignPropertiesToFlexibleServer

func (flexibleServer *FlexibleServer) AssignPropertiesToFlexibleServer(destination *v1alpha1api20210501storage.FlexibleServer) error

AssignPropertiesToFlexibleServer populates the provided destination FlexibleServer from our FlexibleServer

func (*FlexibleServer) AzureName

func (flexibleServer *FlexibleServer) AzureName() string

AzureName returns the Azure name of the resource

func (*FlexibleServer) ConvertFrom

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

ConvertFrom populates our FlexibleServer from the provided hub FlexibleServer

func (*FlexibleServer) ConvertTo

func (flexibleServer *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 (flexibleServer *FlexibleServer) Default()

Default applies defaults to the FlexibleServer resource

func (FlexibleServer) GetAPIVersion

func (flexibleServer FlexibleServer) GetAPIVersion() string

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

func (*FlexibleServer) GetConditions

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

GetConditions returns the conditions of the resource

func (*FlexibleServer) GetResourceKind

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

GetResourceKind returns the kind of the resource

func (*FlexibleServer) GetSpec

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

GetSpec returns the specification of this resource

func (*FlexibleServer) GetStatus

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

GetStatus returns the status of this resource

func (*FlexibleServer) GetType

func (flexibleServer *FlexibleServer) GetType() string

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

func (*FlexibleServer) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*FlexibleServer) OriginalGVK

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

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

func (*FlexibleServer) Owner

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

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

func (*FlexibleServer) SetConditions

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

SetConditions sets the conditions on the resource status

func (*FlexibleServer) SetStatus

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

SetStatus sets the status of this resource

func (*FlexibleServer) ValidateCreate

func (flexibleServer *FlexibleServer) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*FlexibleServer) ValidateDelete

func (flexibleServer *FlexibleServer) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*FlexibleServer) ValidateUpdate

func (flexibleServer *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 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 (flexibleServersDatabase *FlexibleServersDatabase) AssignPropertiesFromFlexibleServersDatabase(source *v1alpha1api20210501storage.FlexibleServersDatabase) error

AssignPropertiesFromFlexibleServersDatabase populates our FlexibleServersDatabase from the provided source FlexibleServersDatabase

func (*FlexibleServersDatabase) AssignPropertiesToFlexibleServersDatabase

func (flexibleServersDatabase *FlexibleServersDatabase) AssignPropertiesToFlexibleServersDatabase(destination *v1alpha1api20210501storage.FlexibleServersDatabase) error

AssignPropertiesToFlexibleServersDatabase populates the provided destination FlexibleServersDatabase from our FlexibleServersDatabase

func (*FlexibleServersDatabase) AzureName

func (flexibleServersDatabase *FlexibleServersDatabase) AzureName() string

AzureName returns the Azure name of the resource

func (*FlexibleServersDatabase) ConvertFrom

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

ConvertFrom populates our FlexibleServersDatabase from the provided hub FlexibleServersDatabase

func (*FlexibleServersDatabase) ConvertTo

func (flexibleServersDatabase *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 (flexibleServersDatabase *FlexibleServersDatabase) Default()

Default applies defaults to the FlexibleServersDatabase resource

func (FlexibleServersDatabase) GetAPIVersion

func (flexibleServersDatabase FlexibleServersDatabase) GetAPIVersion() string

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

func (*FlexibleServersDatabase) GetConditions

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

GetConditions returns the conditions of the resource

func (*FlexibleServersDatabase) GetResourceKind

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

GetResourceKind returns the kind of the resource

func (*FlexibleServersDatabase) GetSpec

func (flexibleServersDatabase *FlexibleServersDatabase) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*FlexibleServersDatabase) GetStatus

func (flexibleServersDatabase *FlexibleServersDatabase) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*FlexibleServersDatabase) GetType

func (flexibleServersDatabase *FlexibleServersDatabase) GetType() string

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

func (*FlexibleServersDatabase) NewEmptyStatus

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

NewEmptyStatus returns a new empty (blank) status

func (*FlexibleServersDatabase) OriginalGVK

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

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

func (*FlexibleServersDatabase) Owner

func (flexibleServersDatabase *FlexibleServersDatabase) Owner() *genruntime.ResourceReference

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

func (*FlexibleServersDatabase) SetConditions

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

SetConditions sets the conditions on the resource status

func (*FlexibleServersDatabase) SetStatus

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

SetStatus sets the status of this resource

func (*FlexibleServersDatabase) ValidateCreate

func (flexibleServersDatabase *FlexibleServersDatabase) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*FlexibleServersDatabase) ValidateDelete

func (flexibleServersDatabase *FlexibleServersDatabase) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*FlexibleServersDatabase) ValidateUpdate

func (flexibleServersDatabase *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 FlexibleServersDatabasesSpecAPIVersion

type FlexibleServersDatabasesSpecAPIVersion string

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

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

	//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 genruntime.KnownResourceReference `group:"dbformysql.azure.com" json:"owner" kind:"FlexibleServer"`

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

func (*FlexibleServersDatabases_Spec) AssignPropertiesFromFlexibleServersDatabasesSpec

func (flexibleServersDatabasesSpec *FlexibleServersDatabases_Spec) AssignPropertiesFromFlexibleServersDatabasesSpec(source *v1alpha1api20210501storage.FlexibleServersDatabases_Spec) error

AssignPropertiesFromFlexibleServersDatabasesSpec populates our FlexibleServersDatabases_Spec from the provided source FlexibleServersDatabases_Spec

func (*FlexibleServersDatabases_Spec) AssignPropertiesToFlexibleServersDatabasesSpec

func (flexibleServersDatabasesSpec *FlexibleServersDatabases_Spec) AssignPropertiesToFlexibleServersDatabasesSpec(destination *v1alpha1api20210501storage.FlexibleServersDatabases_Spec) error

AssignPropertiesToFlexibleServersDatabasesSpec populates the provided destination FlexibleServersDatabases_Spec from our FlexibleServersDatabases_Spec

func (*FlexibleServersDatabases_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our FlexibleServersDatabases_Spec from the provided source

func (*FlexibleServersDatabases_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our FlexibleServersDatabases_Spec

func (*FlexibleServersDatabases_Spec) ConvertToARM

func (flexibleServersDatabasesSpec *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 (flexibleServersDatabasesSpec *FlexibleServersDatabases_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServersDatabases_Spec) OriginalVersion

func (flexibleServersDatabasesSpec *FlexibleServersDatabases_Spec) OriginalVersion() string

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

func (*FlexibleServersDatabases_Spec) PopulateFromARM

func (flexibleServersDatabasesSpec *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 (flexibleServersDatabasesSpec *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"`

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

	//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 (flexibleServersDatabasesSpecARM FlexibleServersDatabases_SpecARM) GetAPIVersion() string

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

func (FlexibleServersDatabases_SpecARM) GetName

func (flexibleServersDatabasesSpecARM FlexibleServersDatabases_SpecARM) GetName() string

GetName returns the Name of the resource

func (FlexibleServersDatabases_SpecARM) GetType

func (flexibleServersDatabasesSpecARM 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 (flexibleServersFirewallRule *FlexibleServersFirewallRule) AssignPropertiesFromFlexibleServersFirewallRule(source *v1alpha1api20210501storage.FlexibleServersFirewallRule) error

AssignPropertiesFromFlexibleServersFirewallRule populates our FlexibleServersFirewallRule from the provided source FlexibleServersFirewallRule

func (*FlexibleServersFirewallRule) AssignPropertiesToFlexibleServersFirewallRule

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) AssignPropertiesToFlexibleServersFirewallRule(destination *v1alpha1api20210501storage.FlexibleServersFirewallRule) error

AssignPropertiesToFlexibleServersFirewallRule populates the provided destination FlexibleServersFirewallRule from our FlexibleServersFirewallRule

func (*FlexibleServersFirewallRule) AzureName

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) AzureName() string

AzureName returns the Azure name of the resource

func (*FlexibleServersFirewallRule) ConvertFrom

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

ConvertFrom populates our FlexibleServersFirewallRule from the provided hub FlexibleServersFirewallRule

func (*FlexibleServersFirewallRule) ConvertTo

func (flexibleServersFirewallRule *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 (flexibleServersFirewallRule *FlexibleServersFirewallRule) Default()

Default applies defaults to the FlexibleServersFirewallRule resource

func (FlexibleServersFirewallRule) GetAPIVersion

func (flexibleServersFirewallRule FlexibleServersFirewallRule) GetAPIVersion() string

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

func (*FlexibleServersFirewallRule) GetConditions

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

GetConditions returns the conditions of the resource

func (*FlexibleServersFirewallRule) GetResourceKind

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

GetResourceKind returns the kind of the resource

func (*FlexibleServersFirewallRule) GetSpec

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*FlexibleServersFirewallRule) GetStatus

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*FlexibleServersFirewallRule) GetType

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) GetType() string

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

func (*FlexibleServersFirewallRule) NewEmptyStatus

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*FlexibleServersFirewallRule) OriginalGVK

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) OriginalGVK() *schema.GroupVersionKind

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

func (*FlexibleServersFirewallRule) Owner

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) Owner() *genruntime.ResourceReference

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

func (*FlexibleServersFirewallRule) SetConditions

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

SetConditions sets the conditions on the resource status

func (*FlexibleServersFirewallRule) SetStatus

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*FlexibleServersFirewallRule) ValidateCreate

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) ValidateCreate() error

ValidateCreate validates the creation of the resource

func (*FlexibleServersFirewallRule) ValidateDelete

func (flexibleServersFirewallRule *FlexibleServersFirewallRule) ValidateDelete() error

ValidateDelete validates the deletion of the resource

func (*FlexibleServersFirewallRule) ValidateUpdate

func (flexibleServersFirewallRule *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 FlexibleServersFirewallRulesSpecAPIVersion

type FlexibleServersFirewallRulesSpecAPIVersion string

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

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

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

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

	// +kubebuilder:validation:Required
	Owner genruntime.KnownResourceReference `group:"dbformysql.azure.com" json:"owner" 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"`

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

func (*FlexibleServersFirewallRules_Spec) AssignPropertiesFromFlexibleServersFirewallRulesSpec

func (flexibleServersFirewallRulesSpec *FlexibleServersFirewallRules_Spec) AssignPropertiesFromFlexibleServersFirewallRulesSpec(source *v1alpha1api20210501storage.FlexibleServersFirewallRules_Spec) error

AssignPropertiesFromFlexibleServersFirewallRulesSpec populates our FlexibleServersFirewallRules_Spec from the provided source FlexibleServersFirewallRules_Spec

func (*FlexibleServersFirewallRules_Spec) AssignPropertiesToFlexibleServersFirewallRulesSpec

func (flexibleServersFirewallRulesSpec *FlexibleServersFirewallRules_Spec) AssignPropertiesToFlexibleServersFirewallRulesSpec(destination *v1alpha1api20210501storage.FlexibleServersFirewallRules_Spec) error

AssignPropertiesToFlexibleServersFirewallRulesSpec populates the provided destination FlexibleServersFirewallRules_Spec from our FlexibleServersFirewallRules_Spec

func (*FlexibleServersFirewallRules_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our FlexibleServersFirewallRules_Spec from the provided source

func (*FlexibleServersFirewallRules_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our FlexibleServersFirewallRules_Spec

func (*FlexibleServersFirewallRules_Spec) ConvertToARM

func (flexibleServersFirewallRulesSpec *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

func (flexibleServersFirewallRulesSpec *FlexibleServersFirewallRules_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServersFirewallRules_Spec) OriginalVersion

func (flexibleServersFirewallRulesSpec *FlexibleServersFirewallRules_Spec) OriginalVersion() string

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

func (*FlexibleServersFirewallRules_Spec) PopulateFromARM

func (flexibleServersFirewallRulesSpec *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 (flexibleServersFirewallRulesSpec *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"`

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

	//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 (flexibleServersFirewallRulesSpecARM FlexibleServersFirewallRules_SpecARM) GetAPIVersion() string

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

func (FlexibleServersFirewallRules_SpecARM) GetName

func (flexibleServersFirewallRulesSpecARM FlexibleServersFirewallRules_SpecARM) GetName() string

GetName returns the Name of the resource

func (FlexibleServersFirewallRules_SpecARM) GetType

func (flexibleServersFirewallRulesSpecARM FlexibleServersFirewallRules_SpecARM) GetType() string

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

type FlexibleServersSpecAPIVersion

type FlexibleServersSpecAPIVersion string

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

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 *string `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"`

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

	// +kubebuilder:validation:Required
	Owner genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner" 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 (flexibleServersSpec *FlexibleServers_Spec) AssignPropertiesFromFlexibleServersSpec(source *v1alpha1api20210501storage.FlexibleServers_Spec) error

AssignPropertiesFromFlexibleServersSpec populates our FlexibleServers_Spec from the provided source FlexibleServers_Spec

func (*FlexibleServers_Spec) AssignPropertiesToFlexibleServersSpec

func (flexibleServersSpec *FlexibleServers_Spec) AssignPropertiesToFlexibleServersSpec(destination *v1alpha1api20210501storage.FlexibleServers_Spec) error

AssignPropertiesToFlexibleServersSpec populates the provided destination FlexibleServers_Spec from our FlexibleServers_Spec

func (*FlexibleServers_Spec) ConvertSpecFrom

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

ConvertSpecFrom populates our FlexibleServers_Spec from the provided source

func (*FlexibleServers_Spec) ConvertSpecTo

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

ConvertSpecTo populates the provided destination from our FlexibleServers_Spec

func (*FlexibleServers_Spec) ConvertToARM

func (flexibleServersSpec *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 (flexibleServersSpec *FlexibleServers_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServers_Spec) OriginalVersion

func (flexibleServersSpec *FlexibleServers_Spec) OriginalVersion() string

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

func (*FlexibleServers_Spec) PopulateFromARM

func (flexibleServersSpec *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 (flexibleServersSpec *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"`

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

	//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 (flexibleServersSpecARM FlexibleServers_SpecARM) GetAPIVersion() string

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

func (FlexibleServers_SpecARM) GetName

func (flexibleServersSpecARM FlexibleServers_SpecARM) GetName() string

GetName returns the Name of the resource

func (FlexibleServers_SpecARM) GetType

func (flexibleServersSpecARM 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 (highAvailability *HighAvailability) AssignPropertiesFromHighAvailability(source *v1alpha1api20210501storage.HighAvailability) error

AssignPropertiesFromHighAvailability populates our HighAvailability from the provided source HighAvailability

func (*HighAvailability) AssignPropertiesToHighAvailability

func (highAvailability *HighAvailability) AssignPropertiesToHighAvailability(destination *v1alpha1api20210501storage.HighAvailability) error

AssignPropertiesToHighAvailability populates the provided destination HighAvailability from our HighAvailability

func (*HighAvailability) ConvertToARM

func (highAvailability *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 (highAvailability *HighAvailability) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*HighAvailability) PopulateFromARM

func (highAvailability *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 (highAvailabilityStatus *HighAvailability_Status) AssignPropertiesFromHighAvailabilityStatus(source *v1alpha1api20210501storage.HighAvailability_Status) error

AssignPropertiesFromHighAvailabilityStatus populates our HighAvailability_Status from the provided source HighAvailability_Status

func (*HighAvailability_Status) AssignPropertiesToHighAvailabilityStatus

func (highAvailabilityStatus *HighAvailability_Status) AssignPropertiesToHighAvailabilityStatus(destination *v1alpha1api20210501storage.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 (highAvailabilityStatus *HighAvailability_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*HighAvailability_Status) PopulateFromARM

func (highAvailabilityStatus *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 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 (maintenanceWindow *MaintenanceWindow) AssignPropertiesFromMaintenanceWindow(source *v1alpha1api20210501storage.MaintenanceWindow) error

AssignPropertiesFromMaintenanceWindow populates our MaintenanceWindow from the provided source MaintenanceWindow

func (*MaintenanceWindow) AssignPropertiesToMaintenanceWindow

func (maintenanceWindow *MaintenanceWindow) AssignPropertiesToMaintenanceWindow(destination *v1alpha1api20210501storage.MaintenanceWindow) error

AssignPropertiesToMaintenanceWindow populates the provided destination MaintenanceWindow from our MaintenanceWindow

func (*MaintenanceWindow) ConvertToARM

func (maintenanceWindow *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 (maintenanceWindow *MaintenanceWindow) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MaintenanceWindow) PopulateFromARM

func (maintenanceWindow *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 (maintenanceWindowStatus *MaintenanceWindow_Status) AssignPropertiesFromMaintenanceWindowStatus(source *v1alpha1api20210501storage.MaintenanceWindow_Status) error

AssignPropertiesFromMaintenanceWindowStatus populates our MaintenanceWindow_Status from the provided source MaintenanceWindow_Status

func (*MaintenanceWindow_Status) AssignPropertiesToMaintenanceWindowStatus

func (maintenanceWindowStatus *MaintenanceWindow_Status) AssignPropertiesToMaintenanceWindowStatus(destination *v1alpha1api20210501storage.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 (maintenanceWindowStatus *MaintenanceWindow_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*MaintenanceWindow_Status) PopulateFromARM

func (maintenanceWindowStatus *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 *v1alpha1api20210501storage.Network) error

AssignPropertiesFromNetwork populates our Network from the provided source Network

func (*Network) AssignPropertiesToNetwork

func (network *Network) AssignPropertiesToNetwork(destination *v1alpha1api20210501storage.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 (networkStatus *Network_Status) AssignPropertiesFromNetworkStatus(source *v1alpha1api20210501storage.Network_Status) error

AssignPropertiesFromNetworkStatus populates our Network_Status from the provided source Network_Status

func (*Network_Status) AssignPropertiesToNetworkStatus

func (networkStatus *Network_Status) AssignPropertiesToNetworkStatus(destination *v1alpha1api20210501storage.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 (networkStatus *Network_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Network_Status) PopulateFromARM

func (networkStatus *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"`

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

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

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

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

	//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 (serverStatus *Server_Status) AssignPropertiesFromServerStatus(source *v1alpha1api20210501storage.Server_Status) error

AssignPropertiesFromServerStatus populates our Server_Status from the provided source Server_Status

func (*Server_Status) AssignPropertiesToServerStatus

func (serverStatus *Server_Status) AssignPropertiesToServerStatus(destination *v1alpha1api20210501storage.Server_Status) error

AssignPropertiesToServerStatus populates the provided destination Server_Status from our Server_Status

func (*Server_Status) ConvertStatusFrom

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

ConvertStatusFrom populates our Server_Status from the provided source

func (*Server_Status) ConvertStatusTo

func (serverStatus *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 (serverStatus *Server_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Server_Status) PopulateFromARM

func (serverStatus *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"`

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

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

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

func (*Sku) AssignPropertiesFromSku

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

AssignPropertiesFromSku populates our Sku from the provided source Sku

func (*Sku) AssignPropertiesToSku

func (sku *Sku) AssignPropertiesToSku(destination *v1alpha1api20210501storage.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"`

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

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 {
	// +kubebuilder:validation:Required
	//Name: The name of the sku, e.g. Standard_D32s_v3.
	Name string `json:"name"`

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

func (*Sku_Status) AssignPropertiesFromSkuStatus

func (skuStatus *Sku_Status) AssignPropertiesFromSkuStatus(source *v1alpha1api20210501storage.Sku_Status) error

AssignPropertiesFromSkuStatus populates our Sku_Status from the provided source Sku_Status

func (*Sku_Status) AssignPropertiesToSkuStatus

func (skuStatus *Sku_Status) AssignPropertiesToSkuStatus(destination *v1alpha1api20210501storage.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 (skuStatus *Sku_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Sku_Status) PopulateFromARM

func (skuStatus *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"`

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

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 *v1alpha1api20210501storage.Storage) error

AssignPropertiesFromStorage populates our Storage from the provided source Storage

func (*Storage) AssignPropertiesToStorage

func (storage *Storage) AssignPropertiesToStorage(destination *v1alpha1api20210501storage.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 (storageStatus *Storage_Status) AssignPropertiesFromStorageStatus(source *v1alpha1api20210501storage.Storage_Status) error

AssignPropertiesFromStorageStatus populates our Storage_Status from the provided source Storage_Status

func (*Storage_Status) AssignPropertiesToStorageStatus

func (storageStatus *Storage_Status) AssignPropertiesToStorageStatus(destination *v1alpha1api20210501storage.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 (storageStatus *Storage_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*Storage_Status) PopulateFromARM

func (storageStatus *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 (systemDataStatus *SystemData_Status) AssignPropertiesFromSystemDataStatus(source *v1alpha1api20210501storage.SystemData_Status) error

AssignPropertiesFromSystemDataStatus populates our SystemData_Status from the provided source SystemData_Status

func (*SystemData_Status) AssignPropertiesToSystemDataStatus

func (systemDataStatus *SystemData_Status) AssignPropertiesToSystemDataStatus(destination *v1alpha1api20210501storage.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 (systemDataStatus *SystemData_Status) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_Status) PopulateFromARM

func (systemDataStatus *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