Share via


MySqlServerCreateOrUpdateContent Constructor

Definition

Initializes a new instance of MySqlServerCreateOrUpdateContent.

public MySqlServerCreateOrUpdateContent (Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForCreate properties, Azure.Core.AzureLocation location);
new Azure.ResourceManager.MySql.Models.MySqlServerCreateOrUpdateContent : Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForCreate * Azure.Core.AzureLocation -> Azure.ResourceManager.MySql.Models.MySqlServerCreateOrUpdateContent
Public Sub New (properties As MySqlServerPropertiesForCreate, location As AzureLocation)

Parameters

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.

Exceptions

properties is null.

Applies to