다음을 통해 공유


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
Attributes

Constructors

Server()

Initializes a new instance of the Server class.

Server(String, String, String, String, IDictionary<String,String>, Sku, String, String, String, String, String, String, Nullable<DateTime>, String, Nullable<Int32>, String, String, Storage, Backup, HighAvailability, Network, MaintenanceWindow, SystemData)

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.

Backup

Gets or sets backup related properties of a server.

CreateMode

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

FullyQualifiedDomainName

Gets the fully qualified domain name of a server.

HighAvailability

Gets or sets high availability related properties of a server.

Id

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

(Inherited from Resource)
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)
Network

Gets or sets network related properties of a server.

ReplicaCapacity

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

ReplicationRole

Gets or sets the replication role. Possible values include: 'None', 'Source', 'Replica'

RestorePointInTime

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

Sku

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

SourceServerResourceId

Gets or sets the source MySQL server id.

State

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

Storage

Gets or sets storage related properties of a server.

SystemData

Gets the system metadata relating to this resource.

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)
Version

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

Methods

Validate()

Validate the object.

Applies to