Dela via


MySqlServerCreateOrUpdateContent Class

Definition

Represents a server to be created.

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

Constructors

MySqlServerCreateOrUpdateContent(MySqlServerPropertiesForCreate, AzureLocation)

Initializes a new instance of MySqlServerCreateOrUpdateContent.

Properties

Identity

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

Location

The location the resource resides in.

Properties

Properties of the server. Please note MySqlServerPropertiesForCreate is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MySqlServerPropertiesForDefaultCreate, MySqlServerPropertiesForGeoRestore, MySqlServerPropertiesForRestore and MySqlServerPropertiesForReplica.

Sku

The SKU (pricing tier) of the server.

Tags

Application-specific metadata in the form of key-value pairs.

Explicit Interface Implementations

IJsonModel<MySqlServerCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MySqlServerCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MySqlServerCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MySqlServerCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MySqlServerCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to