ServerPropertiesForReplica Class

Definition

The properties to create a new replica.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.ServerPropertiesForReplicaTypeConverter))]
public class ServerPropertiesForReplica : Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServerPropertiesForReplica, Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.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.

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.MariaDb.Models.Api20180601Preview.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