Server Class

Definition

Represents a server.

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

Constructors

Server()

Initializes a new instance of the Server class.

Server(String, String, String, String, IDictionary<String,String>, Identity, Sku, String, String, String, String, String, String, String, StorageProfile, String, MaintenanceWindow, Nullable<HAEnabledEnum>, String, Nullable<DateTime>, String, String, String, ServerPropertiesDelegatedSubnetArguments, String, IDictionary<String,String>)

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).

AdministratorLoginPassword

Gets or sets the administrator login password (required for server creation).

AvailabilityZone

Gets or sets availability Zone information of the server.

ByokEnforcement

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

CreateMode

Gets or sets the mode to create a new PostgreSQL server. Possible values include: 'Default', 'PointInTimeRestore'

DelegatedSubnetArguments
DisplayName

Gets or sets the display name of a server.

FullyQualifiedDomainName

Gets the fully qualified domain name of a server.

HaEnabled

Gets or sets stand by count value can be either enabled or disabled. Possible values include: 'Enabled', 'Disabled'

HaState

Gets a state of a HA server that is visible to user. Possible values include: 'NotEnabled', 'CreatingStandby', 'ReplicatingData', 'FailingOver', 'Healthy', 'RemovingStandby'

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.

Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
MaintenanceWindow

Gets or sets maintenance window of a server.

Name

Gets the name of the resource

(Inherited from Resource)
PointInTimeUTC

Gets or sets restore point creation time (ISO8601 format), specifying the time to restore from.

PublicNetworkAccess

Gets public network access is enabled or not. Possible values include: 'Enabled', 'Disabled'

ServerTags

Gets or sets application-specific metadata in the form of key-value pairs.

Sku

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

SourceServerName

Gets or sets the source PostgreSQL server name to restore from.

StandbyAvailabilityZone

Gets availability Zone information of the server.

State

Gets a state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', 'Disabled', 'Starting', 'Stopping', 'Stopped', 'Updating'

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

(Inherited from Resource)
Version

Gets or sets postgreSQL Server version. Possible values include: '12', '11'

Methods

Validate()

Validate the object.

Applies to