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.
Index ¶
- Constants
- type ConfigurationProperties
- type ConfigurationProperties_STATUS
- type Configuration_STATUS
- type Configuration_Spec
- type DatabaseProperties
- type DatabaseProperties_STATUS
- type Database_STATUS
- type Database_Spec
- type MinimalTlsVersion
- type MinimalTlsVersion_STATUS
- type PrivateEndpointProperty_STATUS
- type PublicNetworkAccess
- type PublicNetworkAccess_STATUS
- type ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS
- type ServerPrivateEndpointConnectionProperties_STATUS
- type ServerPrivateEndpointConnection_STATUS
- type ServerPrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS
- type ServerPrivateLinkServiceConnectionStateProperty_STATUS
- type ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS
- type ServerPropertiesForCreate
- type ServerPropertiesForDefaultCreate
- type ServerPropertiesForDefaultCreate_CreateMode
- type ServerPropertiesForGeoRestore
- type ServerPropertiesForGeoRestore_CreateMode
- type ServerPropertiesForReplica
- type ServerPropertiesForReplica_CreateMode
- type ServerPropertiesForRestore
- type ServerPropertiesForRestore_CreateMode
- type ServerProperties_STATUS
- type ServerProperties_UserVisibleState_STATUS
- type ServerVersion
- type ServerVersion_STATUS
- type Server_STATUS
- type Server_Spec
- type Sku
- type Sku_STATUS
- type Sku_Tier
- type Sku_Tier_STATUS
- type SslEnforcement
- type SslEnforcement_STATUS
- type StorageProfile
- type StorageProfile_GeoRedundantBackup
- type StorageProfile_GeoRedundantBackup_STATUS
- type StorageProfile_STATUS
- type StorageProfile_StorageAutogrow
- type StorageProfile_StorageAutogrow_STATUS
Constants ¶
const ( Sku_Tier_Basic = Sku_Tier("Basic") Sku_Tier_GeneralPurpose = Sku_Tier("GeneralPurpose") Sku_Tier_MemoryOptimized = Sku_Tier("MemoryOptimized") )
const ( MinimalTlsVersion_TLS1_0 = MinimalTlsVersion("TLS1_0") MinimalTlsVersion_TLS1_1 = MinimalTlsVersion("TLS1_1") MinimalTlsVersion_TLS1_2 = MinimalTlsVersion("TLS1_2") MinimalTlsVersion_TLSEnforcementDisabled = MinimalTlsVersion("TLSEnforcementDisabled") )
const ( PublicNetworkAccess_Disabled = PublicNetworkAccess("Disabled") PublicNetworkAccess_Enabled = PublicNetworkAccess("Enabled") )
const ( ServerVersion_102 = ServerVersion("10.2") ServerVersion_103 = ServerVersion("10.3") )
const ( SslEnforcement_Disabled = SslEnforcement("Disabled") SslEnforcement_Enabled = SslEnforcement("Enabled") )
const ( StorageProfile_GeoRedundantBackup_Disabled = StorageProfile_GeoRedundantBackup("Disabled") StorageProfile_GeoRedundantBackup_Enabled = StorageProfile_GeoRedundantBackup("Enabled") )
const ( StorageProfile_StorageAutogrow_Disabled = StorageProfile_StorageAutogrow("Disabled") StorageProfile_StorageAutogrow_Enabled = StorageProfile_StorageAutogrow("Enabled") )
const ( MinimalTlsVersion_STATUS_TLS1_0 = MinimalTlsVersion_STATUS("TLS1_0") MinimalTlsVersion_STATUS_TLS1_1 = MinimalTlsVersion_STATUS("TLS1_1") MinimalTlsVersion_STATUS_TLS1_2 = MinimalTlsVersion_STATUS("TLS1_2") MinimalTlsVersion_STATUS_TLSEnforcementDisabled = MinimalTlsVersion_STATUS("TLSEnforcementDisabled") )
const ( PublicNetworkAccess_STATUS_Disabled = PublicNetworkAccess_STATUS("Disabled") PublicNetworkAccess_STATUS_Enabled = PublicNetworkAccess_STATUS("Enabled") )
const ( ServerProperties_UserVisibleState_STATUS_Disabled = ServerProperties_UserVisibleState_STATUS("Disabled") ServerProperties_UserVisibleState_STATUS_Dropping = ServerProperties_UserVisibleState_STATUS("Dropping") ServerProperties_UserVisibleState_STATUS_Ready = ServerProperties_UserVisibleState_STATUS("Ready") )
const ( ServerVersion_STATUS_102 = ServerVersion_STATUS("10.2") ServerVersion_STATUS_103 = ServerVersion_STATUS("10.3") )
const ( Sku_Tier_STATUS_Basic = Sku_Tier_STATUS("Basic") Sku_Tier_STATUS_GeneralPurpose = Sku_Tier_STATUS("GeneralPurpose") Sku_Tier_STATUS_MemoryOptimized = Sku_Tier_STATUS("MemoryOptimized") )
const ( SslEnforcement_STATUS_Disabled = SslEnforcement_STATUS("Disabled") SslEnforcement_STATUS_Enabled = SslEnforcement_STATUS("Enabled") )
const ( StorageProfile_GeoRedundantBackup_STATUS_Disabled = StorageProfile_GeoRedundantBackup_STATUS("Disabled") StorageProfile_GeoRedundantBackup_STATUS_Enabled = StorageProfile_GeoRedundantBackup_STATUS("Enabled") )
const ( StorageProfile_StorageAutogrow_STATUS_Disabled = StorageProfile_StorageAutogrow_STATUS("Disabled") StorageProfile_StorageAutogrow_STATUS_Enabled = StorageProfile_StorageAutogrow_STATUS("Enabled") )
const ( ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS_Approving = ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS("Approving") ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS_Dropping = ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS("Dropping") ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS_Failed = ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS("Failed") ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS_Ready = ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS("Ready") ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS_Rejecting = ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS("Rejecting") )
const ( ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS_Approved = ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS("Approved") ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS_Disconnected = ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS("Disconnected") ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS_Pending = ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS("Pending") ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS_Rejected = ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS("Rejected") )
const ServerPrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS_None = ServerPrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS("None")
const ServerPropertiesForDefaultCreate_CreateMode_Default = ServerPropertiesForDefaultCreate_CreateMode("Default")
const ServerPropertiesForGeoRestore_CreateMode_GeoRestore = ServerPropertiesForGeoRestore_CreateMode("GeoRestore")
const ServerPropertiesForReplica_CreateMode_Replica = ServerPropertiesForReplica_CreateMode("Replica")
const ServerPropertiesForRestore_CreateMode_PointInTimeRestore = ServerPropertiesForRestore_CreateMode("PointInTimeRestore")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationProperties ¶
type ConfigurationProperties struct { // Source: Source of the configuration. Source *string `json:"source,omitempty"` // Value: Value of the configuration. Value *string `json:"value,omitempty"` }
The properties of a configuration.
type ConfigurationProperties_STATUS ¶
type ConfigurationProperties_STATUS struct { // AllowedValues: Allowed values of the configuration. AllowedValues *string `json:"allowedValues,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"` // Source: Source of the configuration. Source *string `json:"source,omitempty"` // Value: Value of the configuration. Value *string `json:"value,omitempty"` }
The properties of a configuration.
type Configuration_STATUS ¶
type Configuration_STATUS 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 configuration. Properties *ConfigurationProperties_STATUS `json:"properties,omitempty"` // Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
type Configuration_Spec ¶
type Configuration_Spec struct { Name string `json:"name,omitempty"` // Properties: The properties of a configuration. Properties *ConfigurationProperties `json:"properties,omitempty"` }
func (Configuration_Spec) GetAPIVersion ¶
func (configuration Configuration_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2018-06-01"
func (*Configuration_Spec) GetName ¶
func (configuration *Configuration_Spec) GetName() string
GetName returns the Name of the resource
func (*Configuration_Spec) GetType ¶
func (configuration *Configuration_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMariaDB/servers/configurations"
type DatabaseProperties ¶
type DatabaseProperties struct { // Charset: The charset of the database. Charset *string `json:"charset,omitempty"` // Collation: The collation of the database. Collation *string `json:"collation,omitempty"` }
The properties of a database.
type DatabaseProperties_STATUS ¶
type DatabaseProperties_STATUS struct { // Charset: The charset of the database. Charset *string `json:"charset,omitempty"` // Collation: The collation of the database. Collation *string `json:"collation,omitempty"` }
The properties of a database.
type Database_STATUS ¶
type Database_STATUS 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_STATUS `json:"properties,omitempty"` // Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
type Database_Spec ¶
type Database_Spec struct { Name string `json:"name,omitempty"` // Properties: The properties of a database. Properties *DatabaseProperties `json:"properties,omitempty"` }
func (Database_Spec) GetAPIVersion ¶
func (database Database_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2018-06-01"
func (*Database_Spec) GetName ¶
func (database *Database_Spec) GetName() string
GetName returns the Name of the resource
func (*Database_Spec) GetType ¶
func (database *Database_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMariaDB/servers/databases"
type MinimalTlsVersion ¶
type MinimalTlsVersion string
Enforce a minimal Tls version for the server. +kubebuilder:validation:Enum={"TLS1_0","TLS1_1","TLS1_2","TLSEnforcementDisabled"}
type MinimalTlsVersion_STATUS ¶
type MinimalTlsVersion_STATUS string
Enforce a minimal Tls version for the server.
type PrivateEndpointProperty_STATUS ¶
type PrivateEndpointProperty_STATUS struct { // Id: Resource id of the private endpoint. Id *string `json:"id,omitempty"` }
type PublicNetworkAccess ¶
type PublicNetworkAccess string
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' +kubebuilder:validation:Enum={"Disabled","Enabled"}
type PublicNetworkAccess_STATUS ¶
type PublicNetworkAccess_STATUS string
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
type ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS ¶
type ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS string
type ServerPrivateEndpointConnectionProperties_STATUS ¶
type ServerPrivateEndpointConnectionProperties_STATUS struct { // PrivateEndpoint: Private endpoint which the connection belongs to. PrivateEndpoint *PrivateEndpointProperty_STATUS `json:"privateEndpoint,omitempty"` // PrivateLinkServiceConnectionState: Connection state of the private endpoint connection. PrivateLinkServiceConnectionState *ServerPrivateLinkServiceConnectionStateProperty_STATUS `json:"privateLinkServiceConnectionState,omitempty"` // ProvisioningState: State of the private endpoint connection. ProvisioningState *ServerPrivateEndpointConnectionProperties_ProvisioningState_STATUS `json:"provisioningState,omitempty"` }
Properties of a private endpoint connection.
type ServerPrivateEndpointConnection_STATUS ¶
type ServerPrivateEndpointConnection_STATUS struct { // Id: Resource Id of the private endpoint connection. Id *string `json:"id,omitempty"` // Properties: Private endpoint connection properties Properties *ServerPrivateEndpointConnectionProperties_STATUS `json:"properties,omitempty"` }
A private endpoint connection under a server
type ServerPrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS ¶
type ServerPrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS string
type ServerPrivateLinkServiceConnectionStateProperty_STATUS ¶
type ServerPrivateLinkServiceConnectionStateProperty_STATUS struct { // ActionsRequired: The actions required for private link service connection. ActionsRequired *ServerPrivateLinkServiceConnectionStateProperty_ActionsRequired_STATUS `json:"actionsRequired,omitempty"` // Description: The private link service connection description. Description *string `json:"description,omitempty"` // Status: The private link service connection status. Status *ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS `json:"status,omitempty"` }
type ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS ¶
type ServerPrivateLinkServiceConnectionStateProperty_Status_STATUS string
type ServerPropertiesForCreate ¶
type ServerPropertiesForCreate struct { // Default: Mutually exclusive with all other properties Default *ServerPropertiesForDefaultCreate `json:"default,omitempty"` // GeoRestore: Mutually exclusive with all other properties GeoRestore *ServerPropertiesForGeoRestore `json:"geoRestore,omitempty"` // PointInTimeRestore: Mutually exclusive with all other properties PointInTimeRestore *ServerPropertiesForRestore `json:"pointInTimeRestore,omitempty"` // Replica: Mutually exclusive with all other properties Replica *ServerPropertiesForReplica `json:"replica,omitempty"` }
func (ServerPropertiesForCreate) MarshalJSON ¶
func (create ServerPropertiesForCreate) MarshalJSON() ([]byte, error)
MarshalJSON defers JSON marshaling to the first non-nil property, because ServerPropertiesForCreate represents a discriminated union (JSON OneOf)
func (*ServerPropertiesForCreate) UnmarshalJSON ¶
func (create *ServerPropertiesForCreate) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals the ServerPropertiesForCreate
type ServerPropertiesForDefaultCreate ¶
type ServerPropertiesForDefaultCreate 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. AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"` // CreateMode: The mode to create a new server. CreateMode ServerPropertiesForDefaultCreate_CreateMode `json:"createMode,omitempty"` // MinimalTlsVersion: Enforce a minimal Tls version for the server. MinimalTlsVersion *MinimalTlsVersion `json:"minimalTlsVersion,omitempty"` // PublicNetworkAccess: Whether or not public network access is allowed for this server. Value is optional but if passed // in, must be 'Enabled' or 'Disabled' PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` // SslEnforcement: Enable ssl enforcement or not when connect to server. SslEnforcement *SslEnforcement `json:"sslEnforcement,omitempty"` // StorageProfile: Storage profile of a server. StorageProfile *StorageProfile `json:"storageProfile,omitempty"` // Version: Server version. Version *ServerVersion `json:"version,omitempty"` }
type ServerPropertiesForDefaultCreate_CreateMode ¶
type ServerPropertiesForDefaultCreate_CreateMode string
+kubebuilder:validation:Enum={"Default"}
type ServerPropertiesForGeoRestore ¶
type ServerPropertiesForGeoRestore struct { // CreateMode: The mode to create a new server. CreateMode ServerPropertiesForGeoRestore_CreateMode `json:"createMode,omitempty"` // MinimalTlsVersion: Enforce a minimal Tls version for the server. MinimalTlsVersion *MinimalTlsVersion `json:"minimalTlsVersion,omitempty"` // PublicNetworkAccess: Whether or not public network access is allowed for this server. Value is optional but if passed // in, must be 'Enabled' or 'Disabled' PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` // SourceServerId: The source server id to restore from. SourceServerId *string `json:"sourceServerId,omitempty"` // SslEnforcement: Enable ssl enforcement or not when connect to server. SslEnforcement *SslEnforcement `json:"sslEnforcement,omitempty"` // StorageProfile: Storage profile of a server. StorageProfile *StorageProfile `json:"storageProfile,omitempty"` // Version: Server version. Version *ServerVersion `json:"version,omitempty"` }
type ServerPropertiesForGeoRestore_CreateMode ¶
type ServerPropertiesForGeoRestore_CreateMode string
+kubebuilder:validation:Enum={"GeoRestore"}
type ServerPropertiesForReplica ¶
type ServerPropertiesForReplica struct { // CreateMode: The mode to create a new server. CreateMode ServerPropertiesForReplica_CreateMode `json:"createMode,omitempty"` // MinimalTlsVersion: Enforce a minimal Tls version for the server. MinimalTlsVersion *MinimalTlsVersion `json:"minimalTlsVersion,omitempty"` // PublicNetworkAccess: Whether or not public network access is allowed for this server. Value is optional but if passed // in, must be 'Enabled' or 'Disabled' PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` // SourceServerId: The master server id to create replica from. SourceServerId *string `json:"sourceServerId,omitempty"` // SslEnforcement: Enable ssl enforcement or not when connect to server. SslEnforcement *SslEnforcement `json:"sslEnforcement,omitempty"` // StorageProfile: Storage profile of a server. StorageProfile *StorageProfile `json:"storageProfile,omitempty"` // Version: Server version. Version *ServerVersion `json:"version,omitempty"` }
type ServerPropertiesForReplica_CreateMode ¶
type ServerPropertiesForReplica_CreateMode string
+kubebuilder:validation:Enum={"Replica"}
type ServerPropertiesForRestore ¶
type ServerPropertiesForRestore struct { // CreateMode: The mode to create a new server. CreateMode ServerPropertiesForRestore_CreateMode `json:"createMode,omitempty"` // MinimalTlsVersion: Enforce a minimal Tls version for the server. MinimalTlsVersion *MinimalTlsVersion `json:"minimalTlsVersion,omitempty"` // PublicNetworkAccess: Whether or not public network access is allowed for this server. Value is optional but if passed // in, must be 'Enabled' or 'Disabled' PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` // RestorePointInTime: Restore point creation time (ISO8601 format), specifying the time to restore from. RestorePointInTime *string `json:"restorePointInTime,omitempty"` // SourceServerId: The source server id to restore from. SourceServerId *string `json:"sourceServerId,omitempty"` // SslEnforcement: Enable ssl enforcement or not when connect to server. SslEnforcement *SslEnforcement `json:"sslEnforcement,omitempty"` // StorageProfile: Storage profile of a server. StorageProfile *StorageProfile `json:"storageProfile,omitempty"` // Version: Server version. Version *ServerVersion `json:"version,omitempty"` }
type ServerPropertiesForRestore_CreateMode ¶
type ServerPropertiesForRestore_CreateMode string
+kubebuilder:validation:Enum={"PointInTimeRestore"}
type ServerProperties_STATUS ¶
type ServerProperties_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"` // EarliestRestoreDate: Earliest restore point creation time (ISO8601 format) EarliestRestoreDate *string `json:"earliestRestoreDate,omitempty"` // FullyQualifiedDomainName: The fully qualified domain name of a server. FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` // MasterServerId: The master server id of a replica server. MasterServerId *string `json:"masterServerId,omitempty"` // MinimalTlsVersion: Enforce a minimal Tls version for the server. MinimalTlsVersion *MinimalTlsVersion_STATUS `json:"minimalTlsVersion,omitempty"` // PrivateEndpointConnections: List of private endpoint connections on a server PrivateEndpointConnections []ServerPrivateEndpointConnection_STATUS `json:"privateEndpointConnections,omitempty"` // PublicNetworkAccess: Whether or not public network access is allowed for this server. Value is optional but if passed // in, must be 'Enabled' or 'Disabled' PublicNetworkAccess *PublicNetworkAccess_STATUS `json:"publicNetworkAccess,omitempty"` // ReplicaCapacity: The maximum number of replicas that a master server can have. ReplicaCapacity *int `json:"replicaCapacity,omitempty"` // ReplicationRole: The replication role of the server. ReplicationRole *string `json:"replicationRole,omitempty"` // SslEnforcement: Enable ssl enforcement or not when connect to server. SslEnforcement *SslEnforcement_STATUS `json:"sslEnforcement,omitempty"` // StorageProfile: Storage profile of a server. StorageProfile *StorageProfile_STATUS `json:"storageProfile,omitempty"` // UserVisibleState: A state of a server that is visible to user. UserVisibleState *ServerProperties_UserVisibleState_STATUS `json:"userVisibleState,omitempty"` // Version: Server version. Version *ServerVersion_STATUS `json:"version,omitempty"` }
The properties of a server.
type ServerProperties_UserVisibleState_STATUS ¶
type ServerProperties_UserVisibleState_STATUS string
type ServerVersion ¶
type ServerVersion string
The version of a server. +kubebuilder:validation:Enum={"10.2","10.3"}
type Server_STATUS ¶
type Server_STATUS 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_STATUS `json:"properties,omitempty"` // Sku: The SKU (pricing tier) of the server. Sku *Sku_STATUS `json:"sku,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"` }
Represents a server.
type Server_Spec ¶
type Server_Spec struct { // Location: The location the resource resides in. Location *string `json:"location,omitempty"` Name string `json:"name,omitempty"` // Properties: Properties of the server. Properties *ServerPropertiesForCreate `json:"properties,omitempty"` // Sku: The SKU (pricing tier) of the server. Sku *Sku `json:"sku,omitempty"` // Tags: Application-specific metadata in the form of key-value pairs. Tags map[string]string `json:"tags,omitempty"` }
func (Server_Spec) GetAPIVersion ¶
func (server Server_Spec) GetAPIVersion() string
GetAPIVersion returns the ARM API version of the resource. This is always "2018-06-01"
func (*Server_Spec) GetName ¶
func (server *Server_Spec) GetName() string
GetName returns the Name of the resource
func (*Server_Spec) GetType ¶
func (server *Server_Spec) GetType() string
GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMariaDB/servers"
type Sku ¶
type Sku struct { // Capacity: The scale up/out capacity, representing server's compute units. Capacity *int `json:"capacity,omitempty"` // Family: The family of hardware. Family *string `json:"family,omitempty"` // Name: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. Name *string `json:"name,omitempty"` // Size: The size code, to be interpreted by resource as appropriate. Size *string `json:"size,omitempty"` // Tier: The tier of the particular SKU, e.g. Basic. Tier *Sku_Tier `json:"tier,omitempty"` }
Billing information related properties of a server.
type Sku_STATUS ¶
type Sku_STATUS struct { // Capacity: The scale up/out capacity, representing server's compute units. Capacity *int `json:"capacity,omitempty"` // Family: The family of hardware. Family *string `json:"family,omitempty"` // Name: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. Name *string `json:"name,omitempty"` // Size: The size code, to be interpreted by resource as appropriate. Size *string `json:"size,omitempty"` // Tier: The tier of the particular SKU, e.g. Basic. Tier *Sku_Tier_STATUS `json:"tier,omitempty"` }
Billing information related properties of a server.
type Sku_Tier ¶
type Sku_Tier string
+kubebuilder:validation:Enum={"Basic","GeneralPurpose","MemoryOptimized"}
type Sku_Tier_STATUS ¶
type Sku_Tier_STATUS string
type SslEnforcement ¶
type SslEnforcement string
Enable ssl enforcement or not when connect to server. +kubebuilder:validation:Enum={"Disabled","Enabled"}
type SslEnforcement_STATUS ¶
type SslEnforcement_STATUS string
Enable ssl enforcement or not when connect to server.
type StorageProfile ¶
type StorageProfile struct { // BackupRetentionDays: Backup retention days for the server. BackupRetentionDays *int `json:"backupRetentionDays,omitempty"` // GeoRedundantBackup: Enable Geo-redundant or not for server backup. GeoRedundantBackup *StorageProfile_GeoRedundantBackup `json:"geoRedundantBackup,omitempty"` // StorageAutogrow: Enable Storage Auto Grow. StorageAutogrow *StorageProfile_StorageAutogrow `json:"storageAutogrow,omitempty"` // StorageMB: Max storage allowed for a server. StorageMB *int `json:"storageMB,omitempty"` }
Storage Profile properties of a server
type StorageProfile_GeoRedundantBackup ¶
type StorageProfile_GeoRedundantBackup string
+kubebuilder:validation:Enum={"Disabled","Enabled"}
type StorageProfile_GeoRedundantBackup_STATUS ¶
type StorageProfile_GeoRedundantBackup_STATUS string
type StorageProfile_STATUS ¶
type StorageProfile_STATUS struct { // BackupRetentionDays: Backup retention days for the server. BackupRetentionDays *int `json:"backupRetentionDays,omitempty"` // GeoRedundantBackup: Enable Geo-redundant or not for server backup. GeoRedundantBackup *StorageProfile_GeoRedundantBackup_STATUS `json:"geoRedundantBackup,omitempty"` // StorageAutogrow: Enable Storage Auto Grow. StorageAutogrow *StorageProfile_StorageAutogrow_STATUS `json:"storageAutogrow,omitempty"` // StorageMB: Max storage allowed for a server. StorageMB *int `json:"storageMB,omitempty"` }
Storage Profile properties of a server
type StorageProfile_StorageAutogrow ¶
type StorageProfile_StorageAutogrow string
+kubebuilder:validation:Enum={"Disabled","Enabled"}
type StorageProfile_StorageAutogrow_STATUS ¶
type StorageProfile_StorageAutogrow_STATUS string