v1api20220101

package
v2.0.0-...-a7294fb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

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

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

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

Package v1api20220101 contains API Schema definitions for the dbformysql v1api20220101 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 +versionName=v1api20220101

Index

Constants

View Source
const (
	SystemData_CreatedByType_STATUS_Application     = SystemData_CreatedByType_STATUS("Application")
	SystemData_CreatedByType_STATUS_Key             = SystemData_CreatedByType_STATUS("Key")
	SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
	SystemData_CreatedByType_STATUS_User            = SystemData_CreatedByType_STATUS("User")
)
View Source
const (
	SystemData_LastModifiedByType_STATUS_Application     = SystemData_LastModifiedByType_STATUS("Application")
	SystemData_LastModifiedByType_STATUS_Key             = SystemData_LastModifiedByType_STATUS("Key")
	SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
	SystemData_LastModifiedByType_STATUS_User            = SystemData_LastModifiedByType_STATUS("User")
)
View Source
const (
	ConfigurationProperties_IsConfigPendingRestart_STATUS_False = ConfigurationProperties_IsConfigPendingRestart_STATUS("False")
	ConfigurationProperties_IsConfigPendingRestart_STATUS_True  = ConfigurationProperties_IsConfigPendingRestart_STATUS("True")
)
View Source
const (
	ConfigurationProperties_IsDynamicConfig_STATUS_False = ConfigurationProperties_IsDynamicConfig_STATUS("False")
	ConfigurationProperties_IsDynamicConfig_STATUS_True  = ConfigurationProperties_IsDynamicConfig_STATUS("True")
)
View Source
const (
	ConfigurationProperties_IsReadOnly_STATUS_False = ConfigurationProperties_IsReadOnly_STATUS("False")
	ConfigurationProperties_IsReadOnly_STATUS_True  = ConfigurationProperties_IsReadOnly_STATUS("True")
)
View Source
const (
	ConfigurationProperties_Source_SystemDefault = ConfigurationProperties_Source("system-default")
	ConfigurationProperties_Source_UserOverride  = ConfigurationProperties_Source("user-override")
)
View Source
const (
	ConfigurationProperties_Source_STATUS_SystemDefault = ConfigurationProperties_Source_STATUS("system-default")
	ConfigurationProperties_Source_STATUS_UserOverride  = ConfigurationProperties_Source_STATUS("user-override")
)
View Source
const APIVersion_Value = APIVersion("2022-01-01")
View Source
const AdministratorProperties_AdministratorType_ActiveDirectory = AdministratorProperties_AdministratorType("ActiveDirectory")
View Source
const AdministratorProperties_AdministratorType_STATUS_ActiveDirectory = AdministratorProperties_AdministratorType_STATUS("ActiveDirectory")

Variables

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

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

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

Functions

This section is empty.

Types

type APIVersion

type APIVersion string

+kubebuilder:validation:Enum={"2022-01-01"}

type AdministratorProperties_AdministratorType

type AdministratorProperties_AdministratorType string

+kubebuilder:validation:Enum={"ActiveDirectory"}

type AdministratorProperties_AdministratorType_STATUS

type AdministratorProperties_AdministratorType_STATUS string

type ConfigurationProperties_IsConfigPendingRestart_STATUS

type ConfigurationProperties_IsConfigPendingRestart_STATUS string

type ConfigurationProperties_IsDynamicConfig_STATUS

type ConfigurationProperties_IsDynamicConfig_STATUS string

type ConfigurationProperties_IsReadOnly_STATUS

type ConfigurationProperties_IsReadOnly_STATUS string

type ConfigurationProperties_Source

type ConfigurationProperties_Source string

+kubebuilder:validation:Enum={"system-default","user-override"}

type ConfigurationProperties_Source_STATUS

type ConfigurationProperties_Source_STATUS string

type FlexibleServersAdministrator

type FlexibleServersAdministrator struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FlexibleServersAdministrator_Spec   `json:"spec,omitempty"`
	Status            FlexibleServersAdministrator_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" Generator information: - Generated from: /mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2022-01-01/AzureADAdministrator.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}

func (*FlexibleServersAdministrator) AssignProperties_From_FlexibleServersAdministrator

func (administrator *FlexibleServersAdministrator) AssignProperties_From_FlexibleServersAdministrator(source *storage.FlexibleServersAdministrator) error

AssignProperties_From_FlexibleServersAdministrator populates our FlexibleServersAdministrator from the provided source FlexibleServersAdministrator

func (*FlexibleServersAdministrator) AssignProperties_To_FlexibleServersAdministrator

func (administrator *FlexibleServersAdministrator) AssignProperties_To_FlexibleServersAdministrator(destination *storage.FlexibleServersAdministrator) error

AssignProperties_To_FlexibleServersAdministrator populates the provided destination FlexibleServersAdministrator from our FlexibleServersAdministrator

func (*FlexibleServersAdministrator) AzureName

func (administrator *FlexibleServersAdministrator) AzureName() string

AzureName returns the Azure name of the resource (always "ActiveDirectory")

func (*FlexibleServersAdministrator) ConfigMapDestinationExpressions

func (administrator *FlexibleServersAdministrator) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*FlexibleServersAdministrator) ConvertFrom

func (administrator *FlexibleServersAdministrator) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our FlexibleServersAdministrator from the provided hub FlexibleServersAdministrator

func (*FlexibleServersAdministrator) ConvertTo

func (administrator *FlexibleServersAdministrator) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub FlexibleServersAdministrator from our FlexibleServersAdministrator

func (*FlexibleServersAdministrator) DeepCopy

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

func (*FlexibleServersAdministrator) DeepCopyInto

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

func (*FlexibleServersAdministrator) DeepCopyObject

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

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

func (*FlexibleServersAdministrator) Default

func (administrator *FlexibleServersAdministrator) Default()

Default applies defaults to the FlexibleServersAdministrator resource

func (FlexibleServersAdministrator) GetAPIVersion

func (administrator FlexibleServersAdministrator) GetAPIVersion() string

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

func (*FlexibleServersAdministrator) GetConditions

func (administrator *FlexibleServersAdministrator) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*FlexibleServersAdministrator) GetResourceScope

func (administrator *FlexibleServersAdministrator) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*FlexibleServersAdministrator) GetSpec

func (administrator *FlexibleServersAdministrator) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*FlexibleServersAdministrator) GetStatus

func (administrator *FlexibleServersAdministrator) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*FlexibleServersAdministrator) GetSupportedOperations

func (administrator *FlexibleServersAdministrator) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*FlexibleServersAdministrator) GetType

func (administrator *FlexibleServersAdministrator) GetType() string

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

func (*FlexibleServersAdministrator) NewEmptyStatus

func (administrator *FlexibleServersAdministrator) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*FlexibleServersAdministrator) OriginalGVK

func (administrator *FlexibleServersAdministrator) OriginalGVK() *schema.GroupVersionKind

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

func (*FlexibleServersAdministrator) Owner

Owner returns the ResourceReference of the owner

func (*FlexibleServersAdministrator) SecretDestinationExpressions

func (administrator *FlexibleServersAdministrator) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*FlexibleServersAdministrator) SetConditions

func (administrator *FlexibleServersAdministrator) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*FlexibleServersAdministrator) SetStatus

func (administrator *FlexibleServersAdministrator) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*FlexibleServersAdministrator) ValidateCreate

func (administrator *FlexibleServersAdministrator) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*FlexibleServersAdministrator) ValidateDelete

func (administrator *FlexibleServersAdministrator) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*FlexibleServersAdministrator) ValidateUpdate

func (administrator *FlexibleServersAdministrator) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type FlexibleServersAdministratorList

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

+kubebuilder:object:root=true Generator information: - Generated from: /mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2022-01-01/AzureADAdministrator.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}

func (*FlexibleServersAdministratorList) DeepCopy

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

func (*FlexibleServersAdministratorList) DeepCopyInto

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

func (*FlexibleServersAdministratorList) DeepCopyObject

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

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

type FlexibleServersAdministratorOperatorSpec

type FlexibleServersAdministratorOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

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

func (*FlexibleServersAdministratorOperatorSpec) AssignProperties_From_FlexibleServersAdministratorOperatorSpec

func (operator *FlexibleServersAdministratorOperatorSpec) AssignProperties_From_FlexibleServersAdministratorOperatorSpec(source *storage.FlexibleServersAdministratorOperatorSpec) error

AssignProperties_From_FlexibleServersAdministratorOperatorSpec populates our FlexibleServersAdministratorOperatorSpec from the provided source FlexibleServersAdministratorOperatorSpec

func (*FlexibleServersAdministratorOperatorSpec) AssignProperties_To_FlexibleServersAdministratorOperatorSpec

func (operator *FlexibleServersAdministratorOperatorSpec) AssignProperties_To_FlexibleServersAdministratorOperatorSpec(destination *storage.FlexibleServersAdministratorOperatorSpec) error

AssignProperties_To_FlexibleServersAdministratorOperatorSpec populates the provided destination FlexibleServersAdministratorOperatorSpec from our FlexibleServersAdministratorOperatorSpec

func (*FlexibleServersAdministratorOperatorSpec) DeepCopy

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

func (*FlexibleServersAdministratorOperatorSpec) DeepCopyInto

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

type FlexibleServersAdministrator_STATUS

type FlexibleServersAdministrator_STATUS struct {
	// AdministratorType: Type of the sever administrator.
	AdministratorType *AdministratorProperties_AdministratorType_STATUS `json:"administratorType,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"`

	// IdentityResourceId: The resource id of the identity used for AAD Authentication.
	IdentityResourceId *string `json:"identityResourceId,omitempty"`

	// Login: Login name of the server administrator.
	Login *string `json:"login,omitempty"`

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

	// Sid: SID (object ID) of the server administrator.
	Sid *string `json:"sid,omitempty"`

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

	// TenantId: Tenant ID of the administrator.
	TenantId *string `json:"tenantId,omitempty"`

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

func (*FlexibleServersAdministrator_STATUS) AssignProperties_From_FlexibleServersAdministrator_STATUS

func (administrator *FlexibleServersAdministrator_STATUS) AssignProperties_From_FlexibleServersAdministrator_STATUS(source *storage.FlexibleServersAdministrator_STATUS) error

AssignProperties_From_FlexibleServersAdministrator_STATUS populates our FlexibleServersAdministrator_STATUS from the provided source FlexibleServersAdministrator_STATUS

func (*FlexibleServersAdministrator_STATUS) AssignProperties_To_FlexibleServersAdministrator_STATUS

func (administrator *FlexibleServersAdministrator_STATUS) AssignProperties_To_FlexibleServersAdministrator_STATUS(destination *storage.FlexibleServersAdministrator_STATUS) error

AssignProperties_To_FlexibleServersAdministrator_STATUS populates the provided destination FlexibleServersAdministrator_STATUS from our FlexibleServersAdministrator_STATUS

func (*FlexibleServersAdministrator_STATUS) ConvertStatusFrom

func (administrator *FlexibleServersAdministrator_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our FlexibleServersAdministrator_STATUS from the provided source

func (*FlexibleServersAdministrator_STATUS) ConvertStatusTo

func (administrator *FlexibleServersAdministrator_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our FlexibleServersAdministrator_STATUS

func (*FlexibleServersAdministrator_STATUS) DeepCopy

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

func (*FlexibleServersAdministrator_STATUS) DeepCopyInto

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

func (*FlexibleServersAdministrator_STATUS) NewEmptyARMValue

func (administrator *FlexibleServersAdministrator_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServersAdministrator_STATUS) PopulateFromARM

func (administrator *FlexibleServersAdministrator_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FlexibleServersAdministrator_Spec

type FlexibleServersAdministrator_Spec struct {
	// AdministratorType: Type of the sever administrator.
	AdministratorType *AdministratorProperties_AdministratorType `json:"administratorType,omitempty"`

	// IdentityResourceReference: The resource id of the identity used for AAD Authentication.
	IdentityResourceReference *genruntime.ResourceReference `armReference:"IdentityResourceId" json:"identityResourceReference,omitempty"`

	// Login: Login name of the server administrator.
	Login *string `json:"login,omitempty"`

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

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

	// Sid: SID (object ID) of the server administrator.
	Sid *string `json:"sid,omitempty" optionalConfigMapPair:"Sid"`

	// SidFromConfig: SID (object ID) of the server administrator.
	SidFromConfig *genruntime.ConfigMapReference `json:"sidFromConfig,omitempty" optionalConfigMapPair:"Sid"`

	// TenantId: Tenant ID of the administrator.
	TenantId *string `json:"tenantId,omitempty" optionalConfigMapPair:"TenantId"`

	// TenantIdFromConfig: Tenant ID of the administrator.
	TenantIdFromConfig *genruntime.ConfigMapReference `json:"tenantIdFromConfig,omitempty" optionalConfigMapPair:"TenantId"`
}

func (*FlexibleServersAdministrator_Spec) AssignProperties_From_FlexibleServersAdministrator_Spec

func (administrator *FlexibleServersAdministrator_Spec) AssignProperties_From_FlexibleServersAdministrator_Spec(source *storage.FlexibleServersAdministrator_Spec) error

AssignProperties_From_FlexibleServersAdministrator_Spec populates our FlexibleServersAdministrator_Spec from the provided source FlexibleServersAdministrator_Spec

func (*FlexibleServersAdministrator_Spec) AssignProperties_To_FlexibleServersAdministrator_Spec

func (administrator *FlexibleServersAdministrator_Spec) AssignProperties_To_FlexibleServersAdministrator_Spec(destination *storage.FlexibleServersAdministrator_Spec) error

AssignProperties_To_FlexibleServersAdministrator_Spec populates the provided destination FlexibleServersAdministrator_Spec from our FlexibleServersAdministrator_Spec

func (*FlexibleServersAdministrator_Spec) ConvertSpecFrom

func (administrator *FlexibleServersAdministrator_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our FlexibleServersAdministrator_Spec from the provided source

func (*FlexibleServersAdministrator_Spec) ConvertSpecTo

func (administrator *FlexibleServersAdministrator_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our FlexibleServersAdministrator_Spec

func (*FlexibleServersAdministrator_Spec) ConvertToARM

func (administrator *FlexibleServersAdministrator_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FlexibleServersAdministrator_Spec) DeepCopy

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

func (*FlexibleServersAdministrator_Spec) DeepCopyInto

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

func (*FlexibleServersAdministrator_Spec) NewEmptyARMValue

func (administrator *FlexibleServersAdministrator_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServersAdministrator_Spec) OriginalVersion

func (administrator *FlexibleServersAdministrator_Spec) OriginalVersion() string

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

func (*FlexibleServersAdministrator_Spec) PopulateFromARM

func (administrator *FlexibleServersAdministrator_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FlexibleServersConfiguration

type FlexibleServersConfiguration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FlexibleServersConfiguration_Spec   `json:"spec,omitempty"`
	Status            FlexibleServersConfiguration_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" Generator information: - Generated from: /mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2022-01-01/Configurations.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations/{configurationName}

func (*FlexibleServersConfiguration) AssignProperties_From_FlexibleServersConfiguration

func (configuration *FlexibleServersConfiguration) AssignProperties_From_FlexibleServersConfiguration(source *storage.FlexibleServersConfiguration) error

AssignProperties_From_FlexibleServersConfiguration populates our FlexibleServersConfiguration from the provided source FlexibleServersConfiguration

func (*FlexibleServersConfiguration) AssignProperties_To_FlexibleServersConfiguration

func (configuration *FlexibleServersConfiguration) AssignProperties_To_FlexibleServersConfiguration(destination *storage.FlexibleServersConfiguration) error

AssignProperties_To_FlexibleServersConfiguration populates the provided destination FlexibleServersConfiguration from our FlexibleServersConfiguration

func (*FlexibleServersConfiguration) AzureName

func (configuration *FlexibleServersConfiguration) AzureName() string

AzureName returns the Azure name of the resource

func (*FlexibleServersConfiguration) ConfigMapDestinationExpressions

func (configuration *FlexibleServersConfiguration) ConfigMapDestinationExpressions() []*core.DestinationExpression

ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property

func (*FlexibleServersConfiguration) ConvertFrom

func (configuration *FlexibleServersConfiguration) ConvertFrom(hub conversion.Hub) error

ConvertFrom populates our FlexibleServersConfiguration from the provided hub FlexibleServersConfiguration

func (*FlexibleServersConfiguration) ConvertTo

func (configuration *FlexibleServersConfiguration) ConvertTo(hub conversion.Hub) error

ConvertTo populates the provided hub FlexibleServersConfiguration from our FlexibleServersConfiguration

func (*FlexibleServersConfiguration) DeepCopy

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

func (*FlexibleServersConfiguration) DeepCopyInto

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

func (*FlexibleServersConfiguration) DeepCopyObject

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

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

func (*FlexibleServersConfiguration) Default

func (configuration *FlexibleServersConfiguration) Default()

Default applies defaults to the FlexibleServersConfiguration resource

func (FlexibleServersConfiguration) GetAPIVersion

func (configuration FlexibleServersConfiguration) GetAPIVersion() string

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

func (*FlexibleServersConfiguration) GetConditions

func (configuration *FlexibleServersConfiguration) GetConditions() conditions.Conditions

GetConditions returns the conditions of the resource

func (*FlexibleServersConfiguration) GetResourceScope

func (configuration *FlexibleServersConfiguration) GetResourceScope() genruntime.ResourceScope

GetResourceScope returns the scope of the resource

func (*FlexibleServersConfiguration) GetSpec

func (configuration *FlexibleServersConfiguration) GetSpec() genruntime.ConvertibleSpec

GetSpec returns the specification of this resource

func (*FlexibleServersConfiguration) GetStatus

func (configuration *FlexibleServersConfiguration) GetStatus() genruntime.ConvertibleStatus

GetStatus returns the status of this resource

func (*FlexibleServersConfiguration) GetSupportedOperations

func (configuration *FlexibleServersConfiguration) GetSupportedOperations() []genruntime.ResourceOperation

GetSupportedOperations returns the operations supported by the resource

func (*FlexibleServersConfiguration) GetType

func (configuration *FlexibleServersConfiguration) GetType() string

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

func (*FlexibleServersConfiguration) NewEmptyStatus

func (configuration *FlexibleServersConfiguration) NewEmptyStatus() genruntime.ConvertibleStatus

NewEmptyStatus returns a new empty (blank) status

func (*FlexibleServersConfiguration) OriginalGVK

func (configuration *FlexibleServersConfiguration) OriginalGVK() *schema.GroupVersionKind

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

func (*FlexibleServersConfiguration) Owner

Owner returns the ResourceReference of the owner

func (*FlexibleServersConfiguration) SecretDestinationExpressions

func (configuration *FlexibleServersConfiguration) SecretDestinationExpressions() []*core.DestinationExpression

SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property

func (*FlexibleServersConfiguration) SetConditions

func (configuration *FlexibleServersConfiguration) SetConditions(conditions conditions.Conditions)

SetConditions sets the conditions on the resource status

func (*FlexibleServersConfiguration) SetStatus

func (configuration *FlexibleServersConfiguration) SetStatus(status genruntime.ConvertibleStatus) error

SetStatus sets the status of this resource

func (*FlexibleServersConfiguration) ValidateCreate

func (configuration *FlexibleServersConfiguration) ValidateCreate() (admission.Warnings, error)

ValidateCreate validates the creation of the resource

func (*FlexibleServersConfiguration) ValidateDelete

func (configuration *FlexibleServersConfiguration) ValidateDelete() (admission.Warnings, error)

ValidateDelete validates the deletion of the resource

func (*FlexibleServersConfiguration) ValidateUpdate

func (configuration *FlexibleServersConfiguration) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate validates an update of the resource

type FlexibleServersConfigurationList

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

+kubebuilder:object:root=true Generator information: - Generated from: /mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2022-01-01/Configurations.json - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations/{configurationName}

func (*FlexibleServersConfigurationList) DeepCopy

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

func (*FlexibleServersConfigurationList) DeepCopyInto

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

func (*FlexibleServersConfigurationList) DeepCopyObject

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

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

type FlexibleServersConfigurationOperatorSpec

type FlexibleServersConfigurationOperatorSpec struct {
	// ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`

	// SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).
	SecretExpressions []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

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

func (*FlexibleServersConfigurationOperatorSpec) AssignProperties_From_FlexibleServersConfigurationOperatorSpec

func (operator *FlexibleServersConfigurationOperatorSpec) AssignProperties_From_FlexibleServersConfigurationOperatorSpec(source *storage.FlexibleServersConfigurationOperatorSpec) error

AssignProperties_From_FlexibleServersConfigurationOperatorSpec populates our FlexibleServersConfigurationOperatorSpec from the provided source FlexibleServersConfigurationOperatorSpec

func (*FlexibleServersConfigurationOperatorSpec) AssignProperties_To_FlexibleServersConfigurationOperatorSpec

func (operator *FlexibleServersConfigurationOperatorSpec) AssignProperties_To_FlexibleServersConfigurationOperatorSpec(destination *storage.FlexibleServersConfigurationOperatorSpec) error

AssignProperties_To_FlexibleServersConfigurationOperatorSpec populates the provided destination FlexibleServersConfigurationOperatorSpec from our FlexibleServersConfigurationOperatorSpec

func (*FlexibleServersConfigurationOperatorSpec) DeepCopy

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

func (*FlexibleServersConfigurationOperatorSpec) DeepCopyInto

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

type FlexibleServersConfiguration_STATUS

type FlexibleServersConfiguration_STATUS struct {
	// AllowedValues: Allowed values of the configuration.
	AllowedValues *string `json:"allowedValues,omitempty"`

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

	// CurrentValue: Current value of the configuration.
	CurrentValue *string `json:"currentValue,omitempty"`

	// DataType: Data type of the configuration.
	DataType *string `json:"dataType,omitempty"`

	// DefaultValue: Default value of the configuration.
	DefaultValue *string `json:"defaultValue,omitempty"`

	// Description: Description of the configuration.
	Description *string `json:"description,omitempty"`

	// DocumentationLink: The link used to get the document from community or Azure site.
	DocumentationLink *string `json:"documentationLink,omitempty"`

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

	// IsConfigPendingRestart: If is the configuration pending restart or not.
	IsConfigPendingRestart *ConfigurationProperties_IsConfigPendingRestart_STATUS `json:"isConfigPendingRestart,omitempty"`

	// IsDynamicConfig: If is the configuration dynamic.
	IsDynamicConfig *ConfigurationProperties_IsDynamicConfig_STATUS `json:"isDynamicConfig,omitempty"`

	// IsReadOnly: If is the configuration read only.
	IsReadOnly *ConfigurationProperties_IsReadOnly_STATUS `json:"isReadOnly,omitempty"`

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

	// Source: Source of the configuration.
	Source *ConfigurationProperties_Source_STATUS `json:"source,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"`

	// Value: Value of the configuration.
	Value *string `json:"value,omitempty"`
}

func (*FlexibleServersConfiguration_STATUS) AssignProperties_From_FlexibleServersConfiguration_STATUS

func (configuration *FlexibleServersConfiguration_STATUS) AssignProperties_From_FlexibleServersConfiguration_STATUS(source *storage.FlexibleServersConfiguration_STATUS) error

AssignProperties_From_FlexibleServersConfiguration_STATUS populates our FlexibleServersConfiguration_STATUS from the provided source FlexibleServersConfiguration_STATUS

func (*FlexibleServersConfiguration_STATUS) AssignProperties_To_FlexibleServersConfiguration_STATUS

func (configuration *FlexibleServersConfiguration_STATUS) AssignProperties_To_FlexibleServersConfiguration_STATUS(destination *storage.FlexibleServersConfiguration_STATUS) error

AssignProperties_To_FlexibleServersConfiguration_STATUS populates the provided destination FlexibleServersConfiguration_STATUS from our FlexibleServersConfiguration_STATUS

func (*FlexibleServersConfiguration_STATUS) ConvertStatusFrom

func (configuration *FlexibleServersConfiguration_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error

ConvertStatusFrom populates our FlexibleServersConfiguration_STATUS from the provided source

func (*FlexibleServersConfiguration_STATUS) ConvertStatusTo

func (configuration *FlexibleServersConfiguration_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error

ConvertStatusTo populates the provided destination from our FlexibleServersConfiguration_STATUS

func (*FlexibleServersConfiguration_STATUS) DeepCopy

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

func (*FlexibleServersConfiguration_STATUS) DeepCopyInto

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

func (*FlexibleServersConfiguration_STATUS) NewEmptyARMValue

func (configuration *FlexibleServersConfiguration_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServersConfiguration_STATUS) PopulateFromARM

func (configuration *FlexibleServersConfiguration_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

type FlexibleServersConfiguration_Spec

type FlexibleServersConfiguration_Spec struct {
	// +kubebuilder:validation:Pattern="^[a-zA-Z0-9_.-]+$"
	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName string `json:"azureName,omitempty"`

	// CurrentValue: Current value of the configuration.
	CurrentValue *string `json:"currentValue,omitempty"`

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

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

	// Source: Source of the configuration.
	Source *ConfigurationProperties_Source `json:"source,omitempty"`

	// Value: Value of the configuration.
	Value *string `json:"value,omitempty"`
}

func (*FlexibleServersConfiguration_Spec) AssignProperties_From_FlexibleServersConfiguration_Spec

func (configuration *FlexibleServersConfiguration_Spec) AssignProperties_From_FlexibleServersConfiguration_Spec(source *storage.FlexibleServersConfiguration_Spec) error

AssignProperties_From_FlexibleServersConfiguration_Spec populates our FlexibleServersConfiguration_Spec from the provided source FlexibleServersConfiguration_Spec

func (*FlexibleServersConfiguration_Spec) AssignProperties_To_FlexibleServersConfiguration_Spec

func (configuration *FlexibleServersConfiguration_Spec) AssignProperties_To_FlexibleServersConfiguration_Spec(destination *storage.FlexibleServersConfiguration_Spec) error

AssignProperties_To_FlexibleServersConfiguration_Spec populates the provided destination FlexibleServersConfiguration_Spec from our FlexibleServersConfiguration_Spec

func (*FlexibleServersConfiguration_Spec) ConvertSpecFrom

func (configuration *FlexibleServersConfiguration_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error

ConvertSpecFrom populates our FlexibleServersConfiguration_Spec from the provided source

func (*FlexibleServersConfiguration_Spec) ConvertSpecTo

func (configuration *FlexibleServersConfiguration_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error

ConvertSpecTo populates the provided destination from our FlexibleServersConfiguration_Spec

func (*FlexibleServersConfiguration_Spec) ConvertToARM

func (configuration *FlexibleServersConfiguration_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error)

ConvertToARM converts from a Kubernetes CRD object to an ARM object

func (*FlexibleServersConfiguration_Spec) DeepCopy

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

func (*FlexibleServersConfiguration_Spec) DeepCopyInto

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

func (*FlexibleServersConfiguration_Spec) NewEmptyARMValue

func (configuration *FlexibleServersConfiguration_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*FlexibleServersConfiguration_Spec) OriginalVersion

func (configuration *FlexibleServersConfiguration_Spec) OriginalVersion() string

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

func (*FlexibleServersConfiguration_Spec) PopulateFromARM

func (configuration *FlexibleServersConfiguration_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

func (*FlexibleServersConfiguration_Spec) SetAzureName

func (configuration *FlexibleServersConfiguration_Spec) SetAzureName(azureName string)

SetAzureName sets the Azure name of the resource

type SystemData_CreatedByType_STATUS

type SystemData_CreatedByType_STATUS string

type SystemData_LastModifiedByType_STATUS

type SystemData_LastModifiedByType_STATUS 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 *SystemData_CreatedByType_STATUS `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 *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}

Metadata pertaining to creation and last modification of the resource.

func (*SystemData_STATUS) AssignProperties_From_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error

AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS

func (*SystemData_STATUS) AssignProperties_To_SystemData_STATUS

func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error

AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS

func (*SystemData_STATUS) DeepCopy

func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS

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

func (*SystemData_STATUS) DeepCopyInto

func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS)

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

func (*SystemData_STATUS) NewEmptyARMValue

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

NewEmptyARMValue returns an empty ARM value suitable for deserializing into

func (*SystemData_STATUS) PopulateFromARM

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

PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object

Directories

Path Synopsis
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.
Code generated by azure-service-operator-codegen.

Jump to

Keyboard shortcuts

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