Servers - Get
Gets information about an existing server.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}?api-version=2025-08-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
|
server
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)* |
The name of the server. |
|
subscription
|
path | True |
string (uuid) |
The ID of the target subscription. The value must be an UUID. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Azure operation completed successfully. |
|
| Other Status Codes |
An unexpected error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
Get information about an existing server that is integrated into a virtual network provided by customer.
Sample request
GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2025-08-01
Sample response
{
"name": "exampleserver",
"type": "Microsoft.DBforPostgreSQL/flexibleServers",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
"location": "eastus",
"properties": {
"administratorLogin": "exampleadministratorlogin",
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"availabilityZone": "1",
"backup": {
"backupRetentionDays": 7,
"earliestRestoreDate": "2025-06-01T18:35:22.123456Z",
"geoRedundantBackup": "Enabled"
},
"dataEncryption": {
"type": "SystemManaged"
},
"fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
"highAvailability": {
"mode": "ZoneRedundant",
"standbyAvailabilityZone": "2",
"state": "Healthy"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
},
"minorVersion": "5",
"network": {
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleserver.private.postgres.database.azure.com",
"publicNetworkAccess": "Disabled"
},
"replica": {
"capacity": 5,
"role": "Primary"
},
"replicaCapacity": 5,
"replicationRole": "Primary",
"state": "Ready",
"storage": {
"type": "",
"autoGrow": "Disabled",
"iops": 2300,
"storageSizeGB": 512,
"tier": "P20"
},
"version": "17"
},
"sku": {
"name": "Standard_D4ds_v5",
"tier": "GeneralPurpose"
},
"systemData": {
"createdAt": "2025-06-01T18:30:22.123456Z"
},
"tags": {
"VnetServer": "1"
}
}
Get information about an existing server that isn't integrated into a virtual network provided by customer and has private endpoint connections.
Sample request
GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2025-08-01
Sample response
{
"name": "exampleserver",
"type": "Microsoft.DBforPostgreSQL/flexibleServers",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
"location": "eastus",
"properties": {
"administratorLogin": "exampleadministratorlogin",
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"availabilityZone": "1",
"backup": {
"backupRetentionDays": 7,
"earliestRestoreDate": "2025-06-01T18:35:22.123456Z",
"geoRedundantBackup": "Disabled"
},
"fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
"highAvailability": {
"mode": "Disabled",
"state": "NotEnabled"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
},
"minorVersion": "5",
"network": {
"publicNetworkAccess": "Enabled"
},
"privateEndpointConnections": [
{
"name": "exampleprivateendpoint.40c899c7-5847-493e-9c9e-d0a0c90aaf92",
"type": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnections",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/privateEndpointConnections/exampleprivateendpoint.40c899c7-5847-493e-9c9e-d0a0c90aaf92",
"properties": {
"groupIds": [
"postgresqlServer"
],
"privateEndpoint": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleprivateendpointresourcegroup/providers/Microsoft.Network/privateEndpoints/exampleprivateendpoint"
},
"privateLinkServiceConnectionState": {
"description": "Auto-Approved",
"actionsRequired": "None",
"status": "Approved"
},
"provisioningState": "Succeeded"
}
}
],
"state": "Ready",
"storage": {
"autoGrow": "Disabled",
"iops": 2300,
"storageSizeGB": 512,
"tier": "P20"
},
"version": "17"
},
"sku": {
"name": "Standard_D4ds_v5",
"tier": "GeneralPurpose"
}
}
Get information about an existing server.
Sample request
GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2025-08-01
Sample response
{
"name": "exampleserver",
"type": "Microsoft.DBforPostgreSQL/flexibleServers",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
"location": "eastus",
"properties": {
"administratorLogin": "exampleadministratorlogin",
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"availabilityZone": "1",
"backup": {
"backupRetentionDays": 7,
"earliestRestoreDate": "2025-06-01T18:35:22.123456Z",
"geoRedundantBackup": "Enabled"
},
"dataEncryption": {
"type": "SystemManaged"
},
"fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
"highAvailability": {
"mode": "Disabled",
"state": "NotEnabled"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
},
"minorVersion": "5",
"network": {
"publicNetworkAccess": "Enabled"
},
"privateEndpointConnections": [],
"replica": {
"capacity": 5,
"role": "Primary"
},
"replicaCapacity": 5,
"replicationRole": "Primary",
"state": "Ready",
"storage": {
"type": "",
"autoGrow": "Disabled",
"iops": 500,
"storageSizeGB": 128,
"tier": "P10"
},
"version": "17"
},
"sku": {
"name": "Standard_D4ds_v5",
"tier": "GeneralPurpose"
},
"systemData": {
"createdAt": "2025-06-01T18:30:22.123456Z"
}
}
Definitions
| Name | Description |
|---|---|
|
Auth |
Authentication configuration properties of a server. |
|
Azure |
Storage tier of a server. |
| Backup |
Backup properties of a server. |
| Cluster |
Cluster properties of a server. |
|
created |
The type of identity that created the resource. |
|
Create |
Creation mode of a new server. |
|
Data |
Data encryption properties of a server. |
|
Data |
Data encryption type used by a server. |
|
Encryption |
Status of key used by a server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server. |
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Geographically |
Indicates if the server is configured to create geographically redundant backups. |
|
High |
High availability properties of a server. |
|
High |
Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant. |
|
Identity |
Types of identities associated with a server. |
|
Maintenance |
Maintenance window properties of a server. |
|
Microsoft |
Indicates if the server supports Microsoft Entra authentication. |
| Network |
Network properties of a server. |
|
Password |
Indicates if the server supports password based authentication. |
|
Postgres |
Major version of PostgreSQL database engine. |
|
Postgre |
Modes of high availability supported for this compute. |
|
Private |
The private endpoint resource. |
|
Private |
The private endpoint connection resource. |
|
Private |
The current provisioning state. |
|
Private |
The private endpoint connection status. |
|
Private |
A collection of information about the state of the connection between service consumer and provider. |
|
Read |
Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server. |
|
Read |
Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only. |
| Replica |
Replica properties of a server. |
|
Replication |
Role of the server in a replication set. |
|
Replication |
Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating |
| Server |
Properties of a server. |
|
Server |
Indicates if public network access is enabled or not. |
|
Server |
Possible states of a server. |
| Sku |
Compute information of a server. |
|
Sku |
Tier of the compute assigned to a server. |
| Storage |
Storage properties of a server. |
|
Storage |
Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. |
|
Storage |
Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS. |
|
system |
Metadata pertaining to creation and last modification of the resource. |
|
User |
Identities associated with a server. |
|
User |
User assigned managed identity associated with a server. |
AuthConfig
Authentication configuration properties of a server.
| Name | Type | Default value | Description |
|---|---|---|---|
| activeDirectoryAuth |
Indicates if the server supports Microsoft Entra authentication. |
||
| passwordAuth | Enabled |
Indicates if the server supports password based authentication. |
|
| tenantId |
string |
Identifier of the tenant of the delegated resource. |
AzureManagedDiskPerformanceTier
Storage tier of a server.
| Value | Description |
|---|---|
| P1 | |
| P2 | |
| P3 | |
| P4 | |
| P6 | |
| P10 | |
| P15 | |
| P20 | |
| P30 | |
| P40 | |
| P50 | |
| P60 | |
| P70 | |
| P80 |
Backup
Backup properties of a server.
| Name | Type | Default value | Description |
|---|---|---|---|
| backupRetentionDays |
integer (int32) |
7 |
Backup retention days for the server. |
| earliestRestoreDate |
string (date-time) |
Earliest restore point time (ISO8601 format) for a server. |
|
| geoRedundantBackup | Disabled |
Indicates if the server is configured to create geographically redundant backups. |
Cluster
Cluster properties of a server.
| Name | Type | Default value | Description |
|---|---|---|---|
| clusterSize |
integer (int32) |
0 |
Number of nodes assigned to the elastic cluster. |
| defaultDatabaseName |
string |
Default database name for the elastic cluster. |
createdByType
The type of identity that created the resource.
| Value | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
CreateMode
Creation mode of a new server.
| Value | Description |
|---|---|
| Default | |
| Create | |
| Update | |
| PointInTimeRestore | |
| GeoRestore | |
| Replica | |
| ReviveDropped |
DataEncryption
Data encryption properties of a server.
| Name | Type | Description |
|---|---|---|
| geoBackupEncryptionKeyStatus |
Status of key used by a server configured with data encryption based on customer managed key, to encrypt the geographically redundant storage associated to the server when it is configured to support geographically redundant backups. |
|
| geoBackupKeyURI |
string |
Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. |
| geoBackupUserAssignedIdentityId |
string |
Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. |
| primaryEncryptionKeyStatus |
Status of key used by a server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server. |
|
| primaryKeyURI |
string |
URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. |
| primaryUserAssignedIdentityId |
string |
Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. |
| type |
Data encryption type used by a server. |
DataEncryptionType
Data encryption type used by a server.
| Value | Description |
|---|---|
| SystemManaged | |
| AzureKeyVault |
EncryptionKeyStatus
Status of key used by a server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
| Value | Description |
|---|---|
| Valid | |
| Invalid |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
GeographicallyRedundantBackup
Indicates if the server is configured to create geographically redundant backups.
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
HighAvailability
High availability properties of a server.
| Name | Type | Default value | Description |
|---|---|---|---|
| mode | Disabled |
High availability mode for a server. |
|
| standbyAvailabilityZone |
string |
Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. |
|
| state |
Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant. |
HighAvailabilityState
Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant.
| Value | Description |
|---|---|
| NotEnabled | |
| CreatingStandby | |
| ReplicatingData | |
| FailingOver | |
| Healthy | |
| RemovingStandby |
IdentityType
Types of identities associated with a server.
| Value | Description |
|---|---|
| None | |
| UserAssigned | |
| SystemAssigned | |
| SystemAssigned,UserAssigned |
MaintenanceWindow
Maintenance window properties of a server.
| Name | Type | Default value | Description |
|---|---|---|---|
| customWindow |
string |
Disabled |
Indicates whether custom window is enabled or disabled. |
| dayOfWeek |
integer (int32) |
0 |
Day of the week to be used for maintenance window. |
| startHour |
integer (int32) |
0 |
Start hour to be used for maintenance window. |
| startMinute |
integer (int32) |
0 |
Start minute to be used for maintenance window. |
MicrosoftEntraAuth
Indicates if the server supports Microsoft Entra authentication.
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
Network
Network properties of a server.
| Name | Type | Description |
|---|---|---|
| delegatedSubnetResourceId |
string (arm-id) |
Resource identifier of the delegated subnet. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. |
| privateDnsZoneArmResourceId |
string (arm-id) |
Identifier of the private DNS zone. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. |
| publicNetworkAccess |
Indicates if public network access is enabled or not. This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. |
PasswordBasedAuth
Indicates if the server supports password based authentication.
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
PostgresMajorVersion
Major version of PostgreSQL database engine.
| Value | Description |
|---|---|
| 18 | |
| 17 | |
| 16 | |
| 15 | |
| 14 | |
| 13 | |
| 12 | |
| 11 |
PostgreSqlFlexibleServerHighAvailabilityMode
Modes of high availability supported for this compute.
| Value | Description |
|---|---|
| Disabled | |
| ZoneRedundant | |
| SameZone |
PrivateEndpoint
The private endpoint resource.
| Name | Type | Description |
|---|---|---|
| id |
string |
The ARM identifier for private endpoint. |
PrivateEndpointConnection
The private endpoint connection resource.
| Name | Type | Description |
|---|---|---|
| id |
string (arm-id) |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
The name of the resource |
| properties.groupIds |
string[] |
The group ids for the private endpoint resource. |
| properties.privateEndpoint |
The private endpoint resource. |
|
| properties.privateLinkServiceConnectionState |
A collection of information about the state of the connection between service consumer and provider. |
|
| properties.provisioningState |
The provisioning state of the private endpoint connection resource. |
|
| systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
PrivateEndpointConnectionProvisioningState
The current provisioning state.
| Value | Description |
|---|---|
| Succeeded | |
| Creating | |
| Deleting | |
| Failed |
PrivateEndpointServiceConnectionStatus
The private endpoint connection status.
| Value | Description |
|---|---|
| Pending | |
| Approved | |
| Rejected |
PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
| Name | Type | Description |
|---|---|---|
| actionsRequired |
string |
A message indicating if changes on the service provider require any updates on the consumer. |
| description |
string |
The reason for approval/rejection of the connection. |
| status |
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. |
ReadReplicaPromoteMode
Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server.
| Value | Description |
|---|---|
| Standalone |
Read replica will become an independent server. |
| Switchover |
Read replica will swap roles with primary server. |
ReadReplicaPromoteOption
Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only.
| Value | Description |
|---|---|
| Planned |
The operation will wait for data in the read replica to be fully synchronized with its source server, before it initiates the operation. |
| Forced |
The operation will not wait for data in the read replica to be synchronized with its source server, before it initiates the operation. |
Replica
Replica properties of a server.
| Name | Type | Description |
|---|---|---|
| capacity |
integer (int32) |
Maximum number of read replicas allowed for a server. |
| promoteMode |
Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server. |
|
| promoteOption |
Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only. |
|
| replicationState |
Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating |
|
| role |
Role of the server in a replication set. |
ReplicationRole
Role of the server in a replication set.
| Value | Description |
|---|---|
| None | |
| Primary | |
| AsyncReplica | |
| GeoAsyncReplica |
ReplicationState
Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating
| Value | Description |
|---|---|
| Active |
The read replica server is fully synchronized and actively replicating data from the primary server. |
| Catchup |
The read replica server is behind the primary server and is currently catching up with pending changes. |
| Provisioning |
The read replica server is being created and is in process of getting initialized. |
| Updating |
The read replica server is undergoing some changes it can be changing compute size of promoting it to primary server. |
| Broken |
Replication has failed or been interrupted. |
| Reconfiguring |
The read replica server is being reconfigured, possibly due to changes in source or settings. |
Server
Properties of a server.
| Name | Type | Description |
|---|---|---|
| id |
string (arm-id) |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| identity |
User assigned managed identities assigned to the server. |
|
| location |
string |
The geo-location where the resource lives |
| name |
string |
The name of the resource |
| properties.administratorLogin |
string |
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. |
| properties.administratorLoginPassword |
string (password) |
Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time. |
| properties.authConfig |
Authentication configuration properties of a server. |
|
| properties.availabilityZone |
string |
Availability zone of a server. |
| properties.backup |
Backup properties of a server. |
|
| properties.cluster |
Cluster properties of a server. |
|
| properties.createMode |
Creation mode of a new server. |
|
| properties.dataEncryption |
Data encryption properties of a server. |
|
| properties.fullyQualifiedDomainName |
string |
Fully qualified domain name of a server. |
| properties.highAvailability |
High availability properties of a server. |
|
| properties.maintenanceWindow |
Maintenance window properties of a server. |
|
| properties.minorVersion |
string |
Minor version of PostgreSQL database engine. |
| properties.network |
Network properties of a server. Only required if you want your server to be integrated into a virtual network provided by customer. |
|
| properties.pointInTimeUTC |
string (date-time) |
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'. |
| properties.privateEndpointConnections |
List of private endpoint connections associated with the specified server. |
|
| properties.replica |
Read replica properties of a server. Required only in case that you want to promote a server. |
|
| properties.replicaCapacity |
integer (int32) |
Maximum number of read replicas allowed for a server. |
| properties.replicationRole |
Role of the server in a replication set. |
|
| properties.sourceServerResourceId |
string (arm-id) |
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. |
| properties.state |
Possible states of a server. |
|
| properties.storage |
Storage properties of a server. |
|
| properties.version |
Major version of PostgreSQL database engine. |
|
| sku |
Compute tier and size of a server. |
|
| systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
| tags |
object |
Resource tags. |
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
ServerPublicNetworkAccessState
Indicates if public network access is enabled or not.
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
ServerState
Possible states of a server.
| Value | Description |
|---|---|
| Ready | |
| Dropping | |
| Disabled | |
| Starting | |
| Stopping | |
| Stopped | |
| Updating | |
| Restarting | |
| Inaccessible | |
| Provisioning |
Sku
Compute information of a server.
| Name | Type | Description |
|---|---|---|
| name |
string |
Name by which is known a given compute size assigned to a server. |
| tier |
Tier of the compute assigned to a server. |
SkuTier
Tier of the compute assigned to a server.
| Value | Description |
|---|---|
| Burstable | |
| GeneralPurpose | |
| MemoryOptimized |
Storage
Storage properties of a server.
| Name | Type | Description |
|---|---|---|
| autoGrow |
Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. |
|
| iops |
integer (int32) |
Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. |
| storageSizeGB |
integer (int32) |
Size of storage assigned to a server. |
| throughput |
integer (int32) |
Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. |
| tier |
Storage tier of a server. |
|
| type |
Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS. |
StorageAutoGrow
Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size.
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
StorageType
Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS.
| Value | Description |
|---|---|
| Premium_LRS | |
| PremiumV2_LRS | |
| UltraSSD_LRS |
systemData
Metadata pertaining to creation and last modification of the resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
| createdBy |
string |
The identity that created the resource. |
| createdByType |
The type of identity that created the resource. |
|
| lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
| lastModifiedBy |
string |
The identity that last modified the resource. |
| lastModifiedByType |
The type of identity that last modified the resource. |
UserAssignedIdentity
Identities associated with a server.
| Name | Type | Description |
|---|---|---|
| principalId |
string |
Identifier of the object of the service principal associated to the user assigned managed identity. |
| tenantId |
string |
Identifier of the tenant of a server. |
| type |
Types of identities associated with a server. |
|
| userAssignedIdentities |
<string,
User |
Map of user assigned managed identities. |
UserIdentity
User assigned managed identity associated with a server.
| Name | Type | Description |
|---|---|---|
| clientId |
string |
Identifier of the client of the service principal associated to the user assigned managed identity. |
| principalId |
string |
Identifier of the object of the service principal associated to the user assigned managed identity. |