Server Class

Definition

Represents a server.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.ServerTypeConverter))]
public class Server : Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer, Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.ServerTypeConverter))>]
type Server = class
    interface IServer
    interface IJsonSerializable
    interface ITrackedResource
    interface IProxyResource
    interface IValidates
Public Class Server
Implements IServer, IValidates
Inheritance
Server
Attributes
Implements

Constructors

Server()

Creates an new Server instance.

Properties

AdministratorLogin

The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

EarliestRestoreDate

Earliest restore point creation time (ISO8601 format)

FullyQualifiedDomainName

The fully qualified domain name of a server.

Id

Resource ID

IdentityPrincipalId

The Azure Active Directory principal id.

IdentityTenantId

The Azure Active Directory tenant id.

IdentityType

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.

Location

The location the resource resides in.

MasterServerId

The master server id of a replica server.

Name

Resource name.

ReplicaCapacity

The maximum number of replicas that a master server can have.

ReplicationRole

The replication role of the server.

SkuCapacity

The scale up/out capacity, representing server's compute units.

SkuFamily

The family of hardware.

SkuName

The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.

SkuSize

The size code, to be interpreted by resource as appropriate.

SkuTier

The tier of the particular SKU, e.g. Basic.

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.

Tag

Application-specific metadata in the form of key-value pairs.

Type

Resource type.

UserVisibleState

A state of a server that is visible to user.

Version

Server version.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Server.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Server.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Server into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to