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

ServerPropertiesForRestore Class

Definition

The properties used to create a new server by restoring from a backup.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForRestoreTypeConverter))]
public class ServerPropertiesForRestore : Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerPropertiesForRestore, Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerPropertiesForRestoreTypeConverter))>]
type ServerPropertiesForRestore = class
    interface IServerPropertiesForRestore
    interface IJsonSerializable
    interface IServerPropertiesForCreate
    interface IValidates
Public Class ServerPropertiesForRestore
Implements IServerPropertiesForRestore, IValidates
Inheritance
ServerPropertiesForRestore
Attributes
Implements

Constructors

ServerPropertiesForRestore()

Creates an new ServerPropertiesForRestore instance.

Properties

CreateMode

The mode to create a new server.

InfrastructureEncryption

Status showing whether the server enabled infrastructure encryption.

MinimalTlsVersion

Enforce a minimal Tls version for 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'

RestorePointInTime

Restore point creation time (ISO8601 format), specifying the time to restore from.

SourceServerId

The source server id to restore from.

SslEnforcement

Enable ssl enforcement or not when connect to server.

StorageProfile

Storage profile of a 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.

Version

Server version.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServerPropertiesForRestore.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServerPropertiesForRestore.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServerPropertiesForRestore into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to