Share via


ServerPropertiesForReplica Class

Definition

The properties to create a new replica.

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

Constructors

ServerPropertiesForReplica()

Creates an new ServerPropertiesForReplica 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 master server id to create replica 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 ServerPropertiesForReplica.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServerPropertiesForReplica.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServerPropertiesForReplica into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to