Udostępnij za pośrednictwem


Server Class

Definition

Represents a server.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Server : Microsoft.Azure.Management.PostgreSQL.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Server = class
    inherit TrackedResource
Public Class Server
Inherits TrackedResource
Inheritance
Attributes

Constructors

Server()

Initializes a new instance of the Server class.

Server(String, String, String, String, IDictionary<String,String>, ResourceIdentity, Sku, String, String, Nullable<SslEnforcementEnum>, String, String, String, String, String, Nullable<DateTime>, StorageProfile, String, String, Nullable<Int32>, String, IList<ServerPrivateEndpointConnection>)

Initializes a new instance of the Server class.

Properties

AdministratorLogin

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

ByokEnforcement

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

EarliestRestoreDate

Gets or sets earliest restore point creation time (ISO8601 format)

FullyQualifiedDomainName

Gets or sets the fully qualified domain name of a server.

Id

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

(Inherited from Resource)
Identity

Gets or sets the Azure Active Directory identity of the server.

InfrastructureEncryption

Gets or sets status showing whether the server enabled infrastructure encryption. Possible values include: 'Enabled', 'Disabled'

Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
MasterServerId

Gets or sets the master server id of a replica server.

MinimalTlsVersion

Gets or sets enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2', 'TLSEnforcementDisabled'

Name

Gets the name of the resource

(Inherited from Resource)
PrivateEndpointConnections

Gets list of private endpoint connections on a server

PublicNetworkAccess

Gets or sets whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'

ReplicaCapacity

Gets or sets the maximum number of replicas that a master server can have.

ReplicationRole

Gets or sets the replication role of the server.

Sku

Gets or sets the SKU (pricing tier) of the server.

SslEnforcement

Gets or sets enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'

StorageProfile

Gets or sets storage profile of a server.

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Type

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

(Inherited from Resource)
UserVisibleState

Gets or sets a state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', 'Disabled', 'Inaccessible'

Version

Gets or sets server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'

Methods

Validate()

Validate the object.

Applies to