Share via


ServerPropertiesForCreate Class

Definition

The properties used to create a new server.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.ServerPropertiesForCreateTypeConverter))]
public class ServerPropertiesForCreate : Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerPropertiesForCreate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.ServerPropertiesForCreateTypeConverter))>]
type ServerPropertiesForCreate = class
    interface IServerPropertiesForCreate
    interface IJsonSerializable
Public Class ServerPropertiesForCreate
Implements IServerPropertiesForCreate
Inheritance
ServerPropertiesForCreate
Attributes
Implements

Constructors

ServerPropertiesForCreate()

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

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.

Version

Server version.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServerPropertiesForCreate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServerPropertiesForCreate.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerPropertiesForCreate. Note: the Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerPropertiesForCreate interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServerPropertiesForCreate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to