ArmMySqlModelFactory.MySqlServerCreateOrUpdateContent Method

Definition

Initializes a new instance of MySqlServerCreateOrUpdateContent.

public static Azure.ResourceManager.MySql.Models.MySqlServerCreateOrUpdateContent MySqlServerCreateOrUpdateContent (Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.MySql.Models.MySqlSku sku = default, Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForCreate properties = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member MySqlServerCreateOrUpdateContent : Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.MySql.Models.MySqlSku * Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForCreate * Azure.Core.AzureLocation * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.MySql.Models.MySqlServerCreateOrUpdateContent
Public Shared Function MySqlServerCreateOrUpdateContent (Optional identity As ManagedServiceIdentity = Nothing, Optional sku As MySqlSku = Nothing, Optional properties As MySqlServerPropertiesForCreate = Nothing, Optional location As AzureLocation = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As MySqlServerCreateOrUpdateContent

Parameters

identity
ManagedServiceIdentity

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

sku
MySqlSku

The SKU (pricing tier) of the server.

properties
MySqlServerPropertiesForCreate

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.

location
AzureLocation

The location the resource resides in.

tags
IDictionary<String,String>

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

Returns

A new MySqlServerCreateOrUpdateContent instance for mocking.

Applies to