Share via


Server Class

Definition

Represents a server.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerTypeConverter))]
public class Server : Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer, Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.ServerTypeConverter))>]
type Server = class
    interface IServer
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    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).

ByokEnforcement

Status showing whether the server data encryption is enabled with customer-managed keys.

EarliestRestoreDate

Earliest restore point creation time (ISO8601 format)

FullyQualifiedDomainName

The fully qualified domain name of a server.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

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.

InfrastructureEncryption

Status showing whether the server enabled infrastructure encryption.

Location

The geo-location where the resource lives

MasterServerId

The master server id of a replica server.

MinimalTlsVersion

Enforce a minimal Tls version for the server.

Name

The name of the resource

PrivateEndpointConnection

List of private endpoint connections on a 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'

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

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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.MySql.Models.Api20171201.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