你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServerForCreate Class

Definition

Represents a server to be created.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreateTypeConverter))]
public class ServerForCreate : Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerForCreateTypeConverter))>]
type ServerForCreate = class
    interface IServerForCreate
    interface IJsonSerializable
Public Class ServerForCreate
Implements IServerForCreate
Inheritance
ServerForCreate
Attributes
Implements

Constructors

ServerForCreate()

Creates an new ServerForCreate instance.

Properties

CreateMode

The mode to create a new server.

IdentityPrincipalId

The Azure Active Directory principal id.

IdentityTenantId

The Azure Active Directory tenant id.

IdentityType

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.

InfrastructureEncryption

Status showing whether the server enabled infrastructure encryption.

Location

The location the resource resides in.

MinimalTlsVersion

Enforce a minimal Tls version for the server.

Property

Properties of the 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'

SkuCapacity

The scale up/out capacity, representing server's compute units.

SkuFamily

The family of hardware.

SkuName

The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.

SkuSize

The size code, to be interpreted by resource as appropriate.

SkuTier

The tier of the particular SKU, e.g. Basic.

SslEnforcement

Enable ssl enforcement or not when connect to server.

StorageProfileBackupRetentionDay

Backup retention days for the server.

StorageProfileGeoRedundantBackup

Enable Geo-redundant or not for server backup.

StorageProfileStorageAutogrow

Enable Storage Auto Grow.

StorageProfileStorageMb

Max storage allowed for a server.

Tag

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

Version

Server version.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServerForCreate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServerForCreate.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreate.

FromJsonString(String)

Creates a new instance of ServerForCreate, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServerForCreate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to