共用方式為


MySqlServerData Class

Definition

A class representing the MySqlServer data model. Represents a server.

public class MySqlServerData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MySql.MySqlServerData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MySql.MySqlServerData>
type MySqlServerData = class
    inherit TrackedResourceData
    interface IJsonModel<MySqlServerData>
    interface IPersistableModel<MySqlServerData>
Public Class MySqlServerData
Inherits TrackedResourceData
Implements IJsonModel(Of MySqlServerData), IPersistableModel(Of MySqlServerData)
Inheritance
Implements

Constructors

MySqlServerData(AzureLocation)

Initializes a new instance of MySqlServerData.

Properties

AdministratorLogin

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

ByokEnforcement

Status showing whether the server data encryption is enabled with customer-managed keys.

EarliestRestoreOn

Earliest restore point creation time (ISO8601 format).

FullyQualifiedDomainName

The fully qualified domain name of a server.

Id

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

(Inherited from ResourceData)
Identity

The Azure Active Directory identity of the server. Current supported identity types: SystemAssigned.

InfrastructureEncryption

Status showing whether the server enabled infrastructure encryption.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MasterServerId

The master server id of a replica server.

MinimalTlsVersion

Enforce a minimal Tls version for the server.

Name

The name of the resource.

(Inherited from ResourceData)
PrivateEndpointConnections

List of private endpoint connections on a server.

PublicNetworkAccess

Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

ReplicaCapacity

The maximum number of replicas that a master server can have.

ReplicationRole

The replication role of the server.

ResourceType

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

(Inherited from ResourceData)
Sku

The SKU (pricing tier) of the server.

SslEnforcement

Enable ssl enforcement or not when connect to server.

StorageProfile

Storage profile of a server.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
UserVisibleState

A state of a server that is visible to user.

Version

Server version.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<MySqlServerData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MySqlServerData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MySqlServerData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MySqlServerData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MySqlServerData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to