Share via


MySqlServerAdministratorData Class

Definition

A class representing the MySqlServerAdministrator data model. Represents a and external administrator to be created.

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

Constructors

MySqlServerAdministratorData()

Initializes a new instance of MySqlServerAdministratorData.

Properties

AdministratorType

The type of administrator.

Id

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

(Inherited from ResourceData)
LoginAccountName

The server administrator login account name.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

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

(Inherited from ResourceData)
SecureId

The server administrator Sid (Secure ID).

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TenantId

The server Active Directory Administrator tenant id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<MySqlServerAdministratorData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MySqlServerAdministratorData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MySqlServerAdministratorData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MySqlServerAdministratorData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MySqlServerAdministratorData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to