Server Class

Definition

Represents a server.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Server : Microsoft.Azure.Management.MySQL.FlexibleServers.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Server = class
    inherit TrackedResource
Public Class Server
Inherits TrackedResource
Inheritance
System.Object
Server
Attributes

Constructors

Server()

Initializes a new instance of the Server class.

Server(String, String, String, String, IDictionary<String,String>, Identity, Sku, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, StorageProfile, String, Nullable<Int32>, String, MaintenanceWindow, String, Nullable<DateTime>, String, String, String, DelegatedSubnetArguments, String, IDictionary<String,String>)

Initializes a new instance of the Server class.

Properties

AdministratorLogin

Gets or sets the administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

AdministratorLoginPassword

Gets or sets the password of the administrator login (required for server creation).

AvailabilityZone

Gets or sets availability Zone information of the server.

ByokEnforcement

Gets status showing whether the data encryption is enabled with customer-managed keys.

CreateMode

Gets or sets the mode to create a new MySQL server. Possible values include: 'Default', 'PointInTimeRestore', 'Replica'

DelegatedSubnetArguments

Gets or sets delegated subnet arguments.

EarliestRestoreDate

Gets earliest restore point creation time (ISO8601 format)

FullyQualifiedDomainName

Gets the fully qualified domain name of a server.

HaEnabled

Gets or sets enable HA or not for a server. Possible values include: 'Enabled', 'Disabled'

HaState

Gets the state of a HA server. Possible values include: 'NotEnabled', 'CreatingStandby', 'ReplicatingData', 'FailingOver', 'Healthy', 'RemovingStandby'

Id

Gets fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Identity

Gets or sets the Azure Active Directory identity of the server.

InfrastructureEncryption

Gets or sets status showing whether the server enabled infrastructure encryption. Possible values include: 'Enabled', 'Disabled'

Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
MaintenanceWindow

Gets or sets maintenance window of a server.

Name

Gets the name of the resource

(Inherited from Resource)
PublicNetworkAccess

Gets whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'

ReplicaCapacity

Gets the maximum number of replicas that a primary server can have.

ReplicationRole

Gets or sets the replication role.

RestorePointInTime

Gets or sets restore point creation time (ISO8601 format), specifying the time to restore from.

ServerTags

Gets or sets application-specific metadata in the form of key-value pairs.

Sku

Gets or sets the SKU (pricing tier) of the server.

SourceServerId

Gets or sets the source MySQL server id.

SslEnforcement

Gets or sets enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'

StandbyAvailabilityZone

Gets availability Zone information of the server.

State

Gets the state of a server. Possible values include: 'Ready', 'Dropping', 'Disabled', 'Starting', 'Stopping', 'Stopped', 'Updating'

StorageProfile

Gets or sets storage profile of a server.

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Type

Gets the type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

(Inherited from Resource)
Version

Gets or sets server version. Possible values include: '5.7'

Methods

Validate()

Validate the object.

Applies to