Share via


ServerPropertiesForGeoRestore Class

Definition

The properties used to create a new server by restoring to a different region from a geo replicated backup.

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

Constructors

ServerPropertiesForGeoRestore()

Creates an new ServerPropertiesForGeoRestore 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'

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 ServerPropertiesForGeoRestore.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServerPropertiesForGeoRestore.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerPropertiesForGeoRestore.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServerPropertiesForGeoRestore into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to