Share via


Server interface

Properties of a server.

Extends

Properties

administratorLogin

Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted.

administratorLoginPassword

Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time. This value contains a credential. Consider obscuring before showing to users

authConfig

Authentication configuration properties of a server.

availabilityZone

Availability zone of a server.

backup

Backup properties of a server.

cluster

Cluster properties of a server.

createMode

Creation mode of a new server.

dataEncryption

Data encryption properties of a server.

fullyQualifiedDomainName

Fully qualified domain name of a server. NOTE: This property will not be serialized. It can only be populated by the server.

highAvailability

High availability properties of a server.

identity

User assigned managed identities assigned to the server.

maintenanceWindow

Maintenance window properties of a server.

minorVersion

Minor version of PostgreSQL database engine. NOTE: This property will not be serialized. It can only be populated by the server.

network

Network properties of a server. Only required if you want your server to be integrated into a virtual network provided by customer.

pointInTimeUTC

Creation time (in ISO8601 format) of the backup which you want to restore in the new server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.

privateEndpointConnections

List of private endpoint connections associated with the specified server. NOTE: This property will not be serialized. It can only be populated by the server.

replica

Read replica properties of a server. Required only in case that you want to promote a server.

replicaCapacity

Maximum number of read replicas allowed for a server. NOTE: This property will not be serialized. It can only be populated by the server.

replicationRole

Role of the server in a replication set.

sku

Compute tier and size of a server.

sourceServerResourceId

Identifier of the server to be used as the source of the new server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target server is a read replica.

state

Possible states of a server. NOTE: This property will not be serialized. It can only be populated by the server.

storage

Storage properties of a server.

version

Major version of PostgreSQL database engine.

Inherited Properties

id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

location

The geo-location where the resource lives

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

tags

Resource tags.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

administratorLogin

Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted.

administratorLogin?: string

Property Value

string

administratorLoginPassword

Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time. This value contains a credential. Consider obscuring before showing to users

administratorLoginPassword?: string

Property Value

string

authConfig

Authentication configuration properties of a server.

authConfig?: AuthConfig

Property Value

availabilityZone

Availability zone of a server.

availabilityZone?: string

Property Value

string

backup

Backup properties of a server.

backup?: Backup

Property Value

cluster

Cluster properties of a server.

cluster?: Cluster

Property Value

createMode

Creation mode of a new server.

createMode?: string

Property Value

string

dataEncryption

Data encryption properties of a server.

dataEncryption?: DataEncryption

Property Value

fullyQualifiedDomainName

Fully qualified domain name of a server. NOTE: This property will not be serialized. It can only be populated by the server.

fullyQualifiedDomainName?: string

Property Value

string

highAvailability

High availability properties of a server.

highAvailability?: HighAvailability

Property Value

identity

User assigned managed identities assigned to the server.

identity?: UserAssignedIdentity

Property Value

maintenanceWindow

Maintenance window properties of a server.

maintenanceWindow?: MaintenanceWindow

Property Value

minorVersion

Minor version of PostgreSQL database engine. NOTE: This property will not be serialized. It can only be populated by the server.

minorVersion?: string

Property Value

string

network

Network properties of a server. Only required if you want your server to be integrated into a virtual network provided by customer.

network?: Network

Property Value

pointInTimeUTC

Creation time (in ISO8601 format) of the backup which you want to restore in the new server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.

pointInTimeUTC?: Date

Property Value

Date

privateEndpointConnections

List of private endpoint connections associated with the specified server. NOTE: This property will not be serialized. It can only be populated by the server.

privateEndpointConnections?: PrivateEndpointConnection[]

Property Value

replica

Read replica properties of a server. Required only in case that you want to promote a server.

replica?: Replica

Property Value

replicaCapacity

Maximum number of read replicas allowed for a server. NOTE: This property will not be serialized. It can only be populated by the server.

replicaCapacity?: number

Property Value

number

replicationRole

Role of the server in a replication set.

replicationRole?: string

Property Value

string

sku

Compute tier and size of a server.

sku?: Sku

Property Value

Sku

sourceServerResourceId

Identifier of the server to be used as the source of the new server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target server is a read replica.

sourceServerResourceId?: string

Property Value

string

state

Possible states of a server. NOTE: This property will not be serialized. It can only be populated by the server.

state?: string

Property Value

string

storage

Storage properties of a server.

storage?: Storage

Property Value

version

Major version of PostgreSQL database engine.

version?: string

Property Value

string

Inherited Property Details

id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From TrackedResource.id

location

The geo-location where the resource lives

location: string

Property Value

string

Inherited From TrackedResource.location

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From TrackedResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

Inherited From TrackedResource.systemData

tags

Resource tags.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From TrackedResource.tags

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From TrackedResource.type