다음을 통해 공유


Servers - Create

새 서버를 만듭니다.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}?api-version=2024-08-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
resourceGroupName
path True

string

minLength: 1
maxLength: 90

리소스 그룹의 이름입니다. 이름은 대소문자를 구분하지 않습니다.

serverName
path True

string

minLength: 3
maxLength: 63
pattern: ^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*

서버의 이름입니다.

subscriptionId
path True

string (uuid)

대상 구독의 ID입니다. 값은 UUID여야 합니다.

api-version
query True

string

minLength: 1

이 작업에 사용할 API 버전입니다.

요청 본문

Name 형식 Description
parameters

Server

새 유연한 서버를 만들거나 기존 유연한 서버를 업데이트하는 데 필요한 매개 변수입니다.

응답

Name 형식 Description
200 OK

Server

그래

201 Created

Server

생성됨

202 Accepted

수락됨

헤더

Location: string

Other Status Codes

ErrorResponse

작업이 실패한 이유를 설명하는 오류 응답입니다.

보안

azure_auth

Microsoft Entra OAuth2 흐름

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

Create a new flexible server using a backup of a flexible server that was deleted or dropped recently.
Create a new flexible server using a point in time restore of a backup of an existing flexible server.
Create a new flexible server using a restore of a geographically redundant backup of an existing flexible server, with data encryption based on customer managed key.
Create a new flexible server with data encryption based on customer managed key.
Create a new flexible server with Microsoft Entra authentication enabled.
Create a new flexible server.
Create a read replica of an existing flexible server.

Create a new flexible server using a backup of a flexible server that was deleted or dropped recently.

샘플 요청

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2024-08-01

{
  "___location": "westus",
  "properties": {
    "createMode": "ReviveDropped",
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampledeletedserver",
    "pointInTimeUTC": "2024-08-01T18:30:22.123456Z"
  }
}

샘플 응답

{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "2",
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2024-08-01T18:35:22.123456Z"
    },
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "Primary",
    "replicaCapacity": 0
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "2",
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2024-08-01T18:35:22.123456Z"
    },
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "Primary",
    "replicaCapacity": 0
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}

Create a new flexible server using a point in time restore of a backup of an existing flexible server.

샘플 요청

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2024-08-01

{
  "___location": "westus",
  "properties": {
    "createMode": "PointInTimeRestore",
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
    "pointInTimeUTC": "2024-08-01T18:35:22.123456Z"
  }
}

샘플 응답

{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "2",
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "dataEncryption": {
      "type": "SystemManaged"
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2024-08-01T18:40:22.123456Z"
    },
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    }
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "2",
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "dataEncryption": {
      "type": "SystemManaged"
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2024-08-01T18:40:22.123456Z"
    },
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    }
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}

Create a new flexible server using a restore of a geographically redundant backup of an existing flexible server, with data encryption based on customer managed key.

샘플 요청

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2024-08-01

{
  "___location": "westus",
  "identity": {
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {},
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity": {}
    },
    "type": "UserAssigned"
  },
  "properties": {
    "createMode": "GeoRestore",
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
    "pointInTimeUTC": "2024-08-01T18:35:22.123456Z",
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
      "geoBackupKeyURI": "https://examplegeoredundantkeyvault.vault.azure.net/keys/examplekey/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
      "geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity"
    }
  }
}

샘플 응답

{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "identity": {
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {
        "principalId": "pppppppp-pppp-pppp-pppp-pppppppppppp",
        "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
      },
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity": {
        "principalId": "rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr",
        "clientId": "llllllll-llll-llll-llll-llllllllllll"
      }
    },
    "type": "UserAssigned",
    "tenantId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "2",
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
      "geoBackupKeyURI": "https://examplegeoredundantkeyvault.vault.azure.net/keys/examplekey/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
      "geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity",
      "primaryEncryptionKeyStatus": "Valid",
      "geoBackupEncryptionKeyStatus": "Valid"
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled",
      "earliestRestoreDate": "2024-08-01T18:35:22.123456Z"
    },
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    }
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "identity": {
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {
        "principalId": "pppppppp-pppp-pppp-pppp-pppppppppppp",
        "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
      },
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity": {
        "principalId": "rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr",
        "clientId": "llllllll-llll-llll-llll-llllllllllll"
      }
    },
    "type": "UserAssigned",
    "tenantId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "2",
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
      "geoBackupKeyURI": "https://examplegeoredundantkeyvault.vault.azure.net/keys/examplekey/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
      "geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity",
      "primaryEncryptionKeyStatus": "Valid",
      "geoBackupEncryptionKeyStatus": "Valid"
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled",
      "earliestRestoreDate": "2025-03-03T00:28:17.7279547+00:00"
    },
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    }
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}

Create a new flexible server with data encryption based on customer managed key.

샘플 요청

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2024-08-01

{
  "___location": "westus",
  "sku": {
    "tier": "GeneralPurpose",
    "name": "Standard_D4ds_v5"
  },
  "identity": {
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {}
    },
    "type": "UserAssigned"
  },
  "properties": {
    "administratorLogin": "administratorlogin",
    "administratorLoginPassword": "examplepassword",
    "version": "16",
    "availabilityZone": "1",
    "createMode": "Create",
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
      "geoBackupKeyURI": "",
      "geoBackupUserAssignedIdentityId": ""
    },
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled"
    },
    "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/exampleprivatednszone.postgres.database.azure.com"
    },
    "highAvailability": {
      "mode": "ZoneRedundant"
    }
  }
}

샘플 응답

{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "identity": {
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {
        "principalId": "pppppppp-pppp-pppp-pppp-pppppppppppp",
        "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
      }
    },
    "type": "UserAssigned",
    "tenantId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
  },
  "systemData": {
    "createdAt": "2025-03-03T17:44:30.7095047Z"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.exampleprivatednszone.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "1",
    "authConfig": {
      "activeDirectoryAuth": "Enabled",
      "passwordAuth": "Enabled"
    },
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
      "primaryEncryptionKeyStatus": "Valid"
    },
    "storage": {
      "type": "",
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2025-02-26T01:08:06.7197478+00:00"
    },
    "network": {
      "publicNetworkAccess": "Disabled",
      "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/exampleprivatednszone.postgres.database.azure.com"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "2"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "Primary",
    "replicaCapacity": 5
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "identity": {
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {
        "principalId": "pppppppp-pppp-pppp-pppp-pppppppppppp",
        "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
      }
    },
    "type": "UserAssigned",
    "tenantId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.exampleprivatednszone.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "1",
    "authConfig": {
      "activeDirectoryAuth": "Enabled",
      "passwordAuth": "Enabled"
    },
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
      "primaryEncryptionKeyStatus": "Valid"
    },
    "storage": {
      "type": "",
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2025-02-26T01:08:06.7197478+00:00"
    },
    "network": {
      "publicNetworkAccess": "Disabled",
      "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/exampleprivatednszone.postgres.database.azure.com"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "2"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "Primary",
    "replicaCapacity": 5
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}

Create a new flexible server with Microsoft Entra authentication enabled.

샘플 요청

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2024-08-01

{
  "___location": "westus",
  "sku": {
    "tier": "GeneralPurpose",
    "name": "Standard_D4ds_v5"
  },
  "properties": {
    "administratorLogin": "administratorlogin",
    "administratorLoginPassword": "examplepassword",
    "version": "16",
    "availabilityZone": "1",
    "createMode": "Create",
    "authConfig": {
      "activeDirectoryAuth": "Enabled",
      "passwordAuth": "Enabled",
      "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt"
    },
    "dataEncryption": {
      "type": "SystemManaged"
    },
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled"
    },
    "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/exampleprivatednszone.postgres.database.azure.com"
    },
    "highAvailability": {
      "mode": "ZoneRedundant"
    }
  }
}

샘플 응답

{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "replica": {
      "role": "Primary",
      "capacity": 5
    },
    "fullyQualifiedDomainName": "exampleserver.exampleprivatednszone.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "1",
    "authConfig": {
      "activeDirectoryAuth": "Enabled",
      "passwordAuth": "Enabled",
      "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt"
    },
    "dataEncryption": {
      "type": "SystemManaged"
    },
    "storage": {
      "type": "",
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2024-08-01T18:35:22.123456Z"
    },
    "network": {
      "publicNetworkAccess": "Disabled",
      "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/exampleprivatednszone.postgres.database.azure.com"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "2"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "Primary",
    "replicaCapacity": 5
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "replica": {
      "role": "Primary",
      "capacity": 5
    },
    "fullyQualifiedDomainName": "exampleserver.exampleprivatednszone.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "1",
    "authConfig": {
      "activeDirectoryAuth": "Enabled",
      "passwordAuth": "Enabled",
      "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt"
    },
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2024-08-01T18:35:22.123456Z"
    },
    "network": {
      "publicNetworkAccess": "Disabled",
      "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/exampleprivatednszone.postgres.database.azure.com"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "2"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    }
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}

Create a new flexible server.

샘플 요청

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2024-08-01

{
  "___location": "westus",
  "sku": {
    "tier": "GeneralPurpose",
    "name": "Standard_D4ds_v5"
  },
  "properties": {
    "administratorLogin": "administratorlogin",
    "administratorLoginPassword": "examplepassword",
    "version": "16",
    "availabilityZone": "1",
    "createMode": "Create",
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled"
    },
    "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/exampleprivatednszone.private.postgres.database"
    },
    "highAvailability": {
      "mode": "ZoneRedundant"
    }
  },
  "tags": {
    "VNetServer": "1"
  }
}

샘플 응답

{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "systemData": {
    "createdAt": "2024-08-01T18:30:22.123456Z"
  },
  "properties": {
    "replica": {
      "role": "Primary",
      "capacity": 5
    },
    "storage": {
      "type": "",
      "iops": 2300,
      "tier": "P20",
      "storageSizeGB": 512,
      "autoGrow": "Disabled"
    },
    "network": {
      "publicNetworkAccess": "Disabled",
      "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/exampleprivatednszone.private.postgres.database.azure.com"
    },
    "dataEncryption": {
      "type": "SystemManaged"
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "1",
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled",
      "earliestRestoreDate": "2024-08-01T18:35:22.123456Z"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "2"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "Primary",
    "replicaCapacity": 5
  },
  "___location": "westus",
  "tags": {
    "VnetServer": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "systemData": {
    "createdAt": "2024-08-01T18:30:22.123456Z"
  },
  "properties": {
    "replica": {
      "role": "Primary",
      "capacity": 5
    },
    "storage": {
      "type": "",
      "iops": 2300,
      "tier": "P20",
      "storageSizeGB": 512,
      "autoGrow": "Disabled"
    },
    "network": {
      "publicNetworkAccess": "Disabled",
      "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/exampleprivatednszone.private.postgres.database.azure.com"
    },
    "dataEncryption": {
      "type": "SystemManaged"
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "1",
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled",
      "earliestRestoreDate": "2024-08-01T18:35:22.123456Z"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "2"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "Primary",
    "replicaCapacity": 5
  },
  "___location": "westus",
  "tags": {
    "VnetServer": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}

Create a read replica of an existing flexible server.

샘플 요청

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver?api-version=2024-08-01

{
  "___location": "westus",
  "identity": {
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {}
    },
    "type": "UserAssigned"
  },
  "properties": {
    "createMode": "Replica",
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
    "pointInTimeUTC": "2024-08-01T18:35:22.123456Z",
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
      "geoBackupKeyURI": "",
      "geoBackupUserAssignedIdentityId": ""
    }
  }
}

샘플 응답

{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "identity": {
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {
        "principalId": "pppppppp-pppp-pppp-pppp-pppppppppppp",
        "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
      }
    },
    "type": "UserAssigned",
    "tenantId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "2",
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
      "primaryEncryptionKeyStatus": "Valid"
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2024-08-01T18:40:22.123456Z"
    },
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
    "replicationRole": "AsyncReplica",
    "replicaCapacity": 0,
    "replica": {
      "role": "AsyncReplica",
      "capacity": 0,
      "replicationState": "Active"
    }
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D4ds_v5",
    "tier": "GeneralPurpose"
  },
  "identity": {
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {
        "principalId": "pppppppp-pppp-pppp-pppp-pppppppppppp",
        "clientId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
      }
    },
    "type": "UserAssigned",
    "tenantId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
  },
  "properties": {
    "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com",
    "version": "16",
    "minorVersion": "8",
    "administratorLogin": "administratorlogin",
    "state": "Ready",
    "availabilityZone": "2",
    "storage": {
      "storageSizeGB": 512,
      "autoGrow": "Disabled",
      "tier": "P20",
      "iops": 2300
    },
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
      "primaryEncryptionKeyStatus": "Valid"
    },
    "authConfig": {
      "activeDirectoryAuth": "Disabled",
      "passwordAuth": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2024-08-01T18:40:22.123456Z"
    },
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    },
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
    "replicationRole": "AsyncReplica",
    "replicaCapacity": 0,
    "replica": {
      "role": "AsyncReplica",
      "capacity": 0,
      "replicationState": "Active"
    }
  },
  "___location": "westus",
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver",
  "name": "exampleserver",
  "type": "Microsoft.DBforPostgreSQL/flexibleServers"
}

정의

Name Description
activeDirectoryAuthEnum

서버가 Microsoft Entra 인증을 지원하는지 여부를 나타냅니다.

ArmServerKeyType

유연한 서버에서 사용하는 데이터 암호화 유형입니다.

AuthConfig

유연한 서버의 인증 구성 속성.

AzureManagedDiskPerformanceTiers

유연한 서버의 스토리지 계층입니다.

Backup

유연한 서버의 백업 속성.

createdByType

리소스를 만든 ID의 형식입니다.

CreateMode

새 유연한 서버의 만들기 모드입니다.

DataEncryption

유연한 서버의 데이터 암호화 속성.

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

ErrorDetail

오류 세부 정보입니다.

ErrorResponse

오류 응답

GeoRedundantBackupEnum

서버가 지리적으로 중복된 백업을 만들도록 구성되어 있는지 여부를 나타냅니다.

HighAvailability

유연한 서버의 고가용성 속성입니다.

HighAvailabilityMode

유연한 서버를 위한 고가용성 모드입니다.

IdentityType

유연한 서버와 연결된 ID 유형입니다.

keyStatusEnum

서버에 연결된 기본 스토리지를 암호화하기 위해 고객 관리형 키를 기반으로 데이터 암호화로 구성된 유연한 서버에서 사용하는 키의 상태입니다.

MaintenanceWindow

유연한 서버의 유지 관리 기간 속성.

Network

유연한 서버의 네트워크 속성입니다. 고객이 제공한 가상 네트워크에 서버를 통합하려는 경우에만 필요합니다.

passwordAuthEnum

서버가 암호 기반 인증을 지원하는지 여부를 나타냅니다.

PrivateEndpoint

프라이빗 엔드포인트 리소스입니다.

PrivateEndpointConnection

지정된 유연한 서버와 연결된 프라이빗 엔드포인트 연결 목록입니다.

PrivateEndpointConnectionProvisioningState

프라이빗 엔드포인트 연결 리소스의 프로비전 상태입니다.

PrivateEndpointServiceConnectionStatus

서비스 소유자가 연결을 승인/거부/제거했는지 여부를 나타냅니다.

PrivateLinkServiceConnectionState

서비스 소비자와 공급자 간의 연결 상태에 대한 정보 컬렉션입니다.

ReadReplicaPromoteMode

읽기 전용 복제본에 적용할 작업 유형입니다. 이 속성은 쓰기 전용입니다. 독립 실행형은 읽기 전용 복제본이 독립 실행형 서버로 승격되고 복제 세트에서 완전히 독립적인 엔터티가 됨을 의미합니다. 전환은 읽기 복제본이 주 서버와 함께 역할을 수행함을 의미합니다.

Replica

유연한 서버의 읽기 복제본 속성. 서버를 승격하려는 경우에만 필요합니다.

ReplicationPromoteOption

promoteMode 속성에 지정된 작업을 처리할 때 사용할 데이터 동기화 옵션: 이 속성은 쓰기 전용입니다. 계획됨은 작업이 작업을 시작하기 전에 읽기 전용 복제본의 데이터가 원본 서버와 완전히 동기화될 때까지 대기함을 의미합니다. Forced는 작업이 작업을 시작하기 전에 읽기 복제본의 데이터가 원본 서버와 동기화될 때까지 기다리지 않음을 의미합니다.

ReplicationRole

복제 세트에서 서버의 역할입니다.

ReplicationState

읽기 전용 복제본의 복제 상태를 나타냅니다. 이 속성은 대상 유연한 서버가 읽기 복제본인 경우에만 반환됩니다. 가능한 값은 Active, Broken, Catchup, Provisioning, Reconfiguring 및 Updating입니다

Server

유연한 서버.

ServerHAState

고가용성이 SameZone 또는 ZoneRedundant로 설정될 때 생성되는 대기 서버의 가능한 상태입니다.

ServerPublicNetworkAccessState

공용 네트워크 액세스를 사용할 수 있는지 여부를 나타냅니다.

ServerState

유연한 서버의 가능한 상태입니다.

ServerVersion

PostgreSQL 데이터베이스 엔진의 주 버전입니다.

Sku

유연한 서버의 컴퓨팅 계층 및 크기.

SkuTier

유연한 서버에 할당된 컴퓨팅의 계층입니다.

Storage

유연한 서버의 스토리지 속성입니다.

StorageAutoGrow

사용 가능한 공간이 0에 가깝고 조건이 스토리지 크기를 자동으로 늘릴 수 있는 경우 유연한 서버의 스토리지 크기 자동 증가를 사용하거나 사용하지 않도록 설정하는 플래그입니다.

StorageType

유연한 서버에 할당된 스토리지 유형입니다. 허용되는 값은 Premium_LRS 또는 PremiumV2_LRS입니다. 지정하지 않으면 기본값은 Premium_LRS입니다.

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

UserAssignedIdentity

유연한 서버에 할당된 사용자 할당 관리 ID입니다.

UserIdentity

유연한 서버와 연결된 사용자 할당 관리 ID입니다.

activeDirectoryAuthEnum

서버가 Microsoft Entra 인증을 지원하는지 여부를 나타냅니다.

Description
Disabled
Enabled

ArmServerKeyType

유연한 서버에서 사용하는 데이터 암호화 유형입니다.

Description
AzureKeyVault
SystemManaged

AuthConfig

유연한 서버의 인증 구성 속성.

Name 형식 Default value Description
activeDirectoryAuth

activeDirectoryAuthEnum

서버가 Microsoft Entra 인증을 지원하는지 여부를 나타냅니다.

passwordAuth

passwordAuthEnum

Enabled

서버가 암호 기반 인증을 지원하는지 여부를 나타냅니다.

tenantId

string

위임된 리소스의 테넌트 식별자입니다.

AzureManagedDiskPerformanceTiers

유연한 서버의 스토리지 계층입니다.

Description
P1
P10
P15
P2
P20
P3
P30
P4
P40
P50
P6
P60
P70
P80

Backup

유연한 서버의 백업 속성.

Name 형식 Default value Description
backupRetentionDays

integer (int32)

7

유연한 서버에 대한 백업 보존 일수입니다.

earliestRestoreDate

string (date-time)

유연한 서버에 대한 가장 빠른 복원 시점(ISO8601 형식)입니다.

geoRedundantBackup

GeoRedundantBackupEnum

Disabled

서버가 지리적으로 중복된 백업을 만들도록 구성되어 있는지 여부를 나타냅니다.

createdByType

리소스를 만든 ID의 형식입니다.

Description
Application
Key
ManagedIdentity
User

CreateMode

새 유연한 서버의 만들기 모드입니다.

Description
Create
Default
GeoRestore
PointInTimeRestore
Replica
ReviveDropped
Update

DataEncryption

유연한 서버의 데이터 암호화 속성.

Name 형식 Description
geoBackupEncryptionKeyStatus

keyStatusEnum

고객 관리형 키를 기반으로 데이터 암호화로 구성된 유연한 서버에서 사용하는 키의 상태로, 지리적으로 중복된 백업을 지원하도록 구성된 경우 서버에 연결된 지리적으로 중복된 스토리지를 암호화합니다.

geoBackupKeyURI

string

지리적으로 중복된 백업을 지원하도록 구성된 유연한 서버에 연결된 지리적으로 중복된 스토리지의 데이터 암호화를 위해 Azure Key Vault 키에 액세스하는 데 사용되는 사용자 할당 관리 ID의 식별자입니다.

geoBackupUserAssignedIdentityId

string

지리적으로 중복된 백업을 지원하도록 구성된 유연한 서버에 연결된 지리적으로 중복된 스토리지의 데이터 암호화를 위해 Azure Key Vault 키에 액세스하는 데 사용되는 사용자 할당 관리 ID의 식별자입니다.

primaryEncryptionKeyStatus

keyStatusEnum

서버에 연결된 기본 스토리지를 암호화하기 위해 고객 관리형 키를 기반으로 데이터 암호화로 구성된 유연한 서버에서 사용하는 키의 상태입니다.

primaryKeyURI

string

유연한 서버에 연결된 기본 스토리지의 데이터 암호화에 사용되는 Azure Key Vault의 키 URI입니다.

primaryUserAssignedIdentityId

string

유연한 서버에 연결된 기본 스토리지의 데이터 암호화를 위해 Azure Key Vault 키에 액세스하는 데 사용되는 사용자 할당 관리 ID의 식별자입니다.

type

ArmServerKeyType

유연한 서버에서 사용하는 데이터 암호화 유형입니다.

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

Name 형식 Description
info

object

추가 정보입니다.

type

string

추가 정보 유형입니다.

ErrorDetail

오류 세부 정보입니다.

Name 형식 Description
additionalInfo

ErrorAdditionalInfo[]

오류 추가 정보입니다.

code

string

오류 코드입니다.

details

ErrorDetail[]

오류 세부 정보입니다.

message

string

오류 메시지입니다.

target

string

오류 대상입니다.

ErrorResponse

오류 응답

Name 형식 Description
error

ErrorDetail

오류 개체입니다.

GeoRedundantBackupEnum

서버가 지리적으로 중복된 백업을 만들도록 구성되어 있는지 여부를 나타냅니다.

Description
Disabled
Enabled

HighAvailability

유연한 서버의 고가용성 속성입니다.

Name 형식 Default value Description
mode

HighAvailabilityMode

Disabled

유연한 서버를 위한 고가용성 모드입니다.

standbyAvailabilityZone

string

고가용성이 SameZone 또는 ZoneRedundant로 설정될 때 생성되는 대기 서버와 연결된 가용성 영역입니다.

state

ServerHAState

고가용성이 SameZone 또는 ZoneRedundant로 설정될 때 생성되는 대기 서버의 가능한 상태입니다.

HighAvailabilityMode

유연한 서버를 위한 고가용성 모드입니다.

Description
Disabled
SameZone
ZoneRedundant

IdentityType

유연한 서버와 연결된 ID 유형입니다.

Description
None
SystemAssigned
SystemAssigned,UserAssigned
UserAssigned

keyStatusEnum

서버에 연결된 기본 스토리지를 암호화하기 위해 고객 관리형 키를 기반으로 데이터 암호화로 구성된 유연한 서버에서 사용하는 키의 상태입니다.

Description
Invalid
Valid

MaintenanceWindow

유연한 서버의 유지 관리 기간 속성.

Name 형식 Default value Description
customWindow

string

Disabled

사용자 지정 창이 활성화되었는지 여부를 나타냅니다.

dayOfWeek

integer (int32)

0

유지 관리 창에 사용할 요일입니다.

startHour

integer (int32)

0

유지 관리 창에 사용할 시작 시간입니다.

startMinute

integer (int32)

0

유지 관리 창에 사용할 시작 시간(분)입니다.

Network

유연한 서버의 네트워크 속성입니다. 고객이 제공한 가상 네트워크에 서버를 통합하려는 경우에만 필요합니다.

Name 형식 Description
delegatedSubnetResourceId

string

위임된 서브넷의 리소스 식별자입니다. 서버를 사용자 고유의 가상 네트워크에 통합하려는 경우 새 서버를 만드는 동안 필요합니다. 업데이트 작업의 경우 프라이빗 DNS 영역에 할당된 값을 변경하려는 경우에만 이 속성을 제공해야 합니다.

privateDnsZoneArmResourceId

string

프라이빗 DNS 영역의 식별자입니다. 서버를 사용자 고유의 가상 네트워크에 통합하려는 경우 새 서버를 만드는 동안 필요합니다. 업데이트 작업의 경우 프라이빗 DNS 영역에 할당된 값을 변경하려는 경우에만 이 속성을 제공해야 합니다.

publicNetworkAccess

ServerPublicNetworkAccessState

공용 네트워크 액세스를 사용할 수 있는지 여부를 나타냅니다.

passwordAuthEnum

서버가 암호 기반 인증을 지원하는지 여부를 나타냅니다.

Description
Disabled
Enabled

PrivateEndpoint

프라이빗 엔드포인트 리소스입니다.

Name 형식 Description
id

string

프라이빗 엔드포인트에 대한 ARM 식별자입니다.

PrivateEndpointConnection

지정된 유연한 서버와 연결된 프라이빗 엔드포인트 연결 목록입니다.

Name 형식 Description
id

string (arm-id)

리소스에 대한 정규화된 리소스 ID입니다. 예: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

리소스의 이름

properties.groupIds

string[]

프라이빗 엔드포인트 리소스의 그룹 ID입니다.

properties.privateEndpoint

PrivateEndpoint

프라이빗 엔드포인트 리소스입니다.

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

서비스 소비자와 공급자 간의 연결 상태에 대한 정보 컬렉션입니다.

properties.provisioningState

PrivateEndpointConnectionProvisioningState

프라이빗 엔드포인트 연결 리소스의 프로비전 상태입니다.

systemData

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

type

string

리소스의 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts"

PrivateEndpointConnectionProvisioningState

프라이빗 엔드포인트 연결 리소스의 프로비전 상태입니다.

Description
Creating
Deleting
Failed
Succeeded

PrivateEndpointServiceConnectionStatus

서비스 소유자가 연결을 승인/거부/제거했는지 여부를 나타냅니다.

Description
Approved
Pending
Rejected

PrivateLinkServiceConnectionState

서비스 소비자와 공급자 간의 연결 상태에 대한 정보 컬렉션입니다.

Name 형식 Description
actionsRequired

string

서비스 공급자의 변경 내용에 소비자에 대한 업데이트가 필요한지 여부를 나타내는 메시지입니다.

description

string

연결의 승인/거부 이유입니다.

status

PrivateEndpointServiceConnectionStatus

서비스 소유자가 연결을 승인/거부/제거했는지 여부를 나타냅니다.

ReadReplicaPromoteMode

읽기 전용 복제본에 적용할 작업 유형입니다. 이 속성은 쓰기 전용입니다. 독립 실행형은 읽기 전용 복제본이 독립 실행형 서버로 승격되고 복제 세트에서 완전히 독립적인 엔터티가 됨을 의미합니다. 전환은 읽기 복제본이 주 서버와 함께 역할을 수행함을 의미합니다.

Description
standalone
switchover

Replica

유연한 서버의 읽기 복제본 속성. 서버를 승격하려는 경우에만 필요합니다.

Name 형식 Description
capacity

integer (int32)

유연한 서버에 허용되는 최대 읽기 복제본 수입니다.

promoteMode

ReadReplicaPromoteMode

읽기 전용 복제본에 적용할 작업 유형입니다. 이 속성은 쓰기 전용입니다. 독립 실행형은 읽기 전용 복제본이 독립 실행형 서버로 승격되고 복제 세트에서 완전히 독립적인 엔터티가 됨을 의미합니다. 전환은 읽기 복제본이 주 서버와 함께 역할을 수행함을 의미합니다.

promoteOption

ReplicationPromoteOption

promoteMode 속성에 지정된 작업을 처리할 때 사용할 데이터 동기화 옵션: 이 속성은 쓰기 전용입니다. 계획됨은 작업이 작업을 시작하기 전에 읽기 전용 복제본의 데이터가 원본 서버와 완전히 동기화될 때까지 대기함을 의미합니다. Forced는 작업이 작업을 시작하기 전에 읽기 복제본의 데이터가 원본 서버와 동기화될 때까지 기다리지 않음을 의미합니다.

replicationState

ReplicationState

읽기 전용 복제본의 복제 상태를 나타냅니다. 이 속성은 대상 유연한 서버가 읽기 복제본인 경우에만 반환됩니다. 가능한 값은 Active, Broken, Catchup, Provisioning, Reconfiguring 및 Updating입니다

role

ReplicationRole

복제 세트에서 서버의 역할입니다.

ReplicationPromoteOption

promoteMode 속성에 지정된 작업을 처리할 때 사용할 데이터 동기화 옵션: 이 속성은 쓰기 전용입니다. 계획됨은 작업이 작업을 시작하기 전에 읽기 전용 복제본의 데이터가 원본 서버와 완전히 동기화될 때까지 대기함을 의미합니다. Forced는 작업이 작업을 시작하기 전에 읽기 복제본의 데이터가 원본 서버와 동기화될 때까지 기다리지 않음을 의미합니다.

Description
forced
planned

ReplicationRole

복제 세트에서 서버의 역할입니다.

Description
AsyncReplica
GeoAsyncReplica
None
Primary

ReplicationState

읽기 전용 복제본의 복제 상태를 나타냅니다. 이 속성은 대상 유연한 서버가 읽기 복제본인 경우에만 반환됩니다. 가능한 값은 Active, Broken, Catchup, Provisioning, Reconfiguring 및 Updating입니다

Description
Active
Broken
Catchup
Provisioning
Reconfiguring
Updating

Server

유연한 서버.

Name 형식 Description
id

string (arm-id)

리소스에 대한 정규화된 리소스 ID입니다. 예: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

identity

UserAssignedIdentity

유연한 서버에 할당된 사용자 할당 관리 ID입니다.

___location

string

리소스가 있는 지리적 위치

name

string

리소스의 이름

properties.administratorLogin

string

PostgreSQL 인스턴스에 할당된 첫 번째 암호 기반 관리자로 지정된 로그인의 이름입니다. 서버에서 암호 기반 인증을 처음 활성화할 때 지정해야 합니다. 한 번 지정된 값으로 설정하면 서버의 남은 수명 동안 변경할 수 없습니다. 암호 기반 인증을 사용하도록 설정된 서버에서 암호 기반 인증을 사용하지 않도록 설정하면 이 암호 기반 역할이 삭제되지 않습니다.

properties.administratorLoginPassword

string (password)

관리자 로그인에 할당된 암호입니다. 암호 인증이 활성화되어 있는 한 이 암호는 언제든지 변경할 수 있습니다.

properties.authConfig

AuthConfig

유연한 서버의 인증 구성 속성.

properties.availabilityZone

string

유연한 서버의 가용성 영역입니다.

properties.backup

Backup

유연한 서버의 백업 속성.

properties.createMode

CreateMode

새 유연한 서버의 만들기 모드입니다.

properties.dataEncryption

DataEncryption

유연한 서버의 데이터 암호화 속성.

properties.fullyQualifiedDomainName

string

유연한 서버의 정규화된 도메인 이름입니다.

properties.highAvailability

HighAvailability

유연한 서버의 고가용성 속성입니다.

properties.maintenanceWindow

MaintenanceWindow

유연한 서버의 유지 관리 기간 속성.

properties.minorVersion

string

PostgreSQL 데이터베이스 엔진의 부 버전입니다.

properties.network

Network

유연한 서버의 네트워크 속성입니다. 고객이 제공한 가상 네트워크에 서버를 통합하려는 경우에만 필요합니다.

properties.pointInTimeUTC

string (date-time)

새 유연한 서버에서 복원하려는 백업의 생성 시간(ISO8601 형식)입니다. 'createMode'가 'PointInTimeRestore', 'GeoRestore' 또는 'ReviveDropped'인 경우 필요합니다.

properties.privateEndpointConnections

PrivateEndpointConnection[]

지정된 유연한 서버와 연결된 프라이빗 엔드포인트 연결 목록입니다.

properties.replica

Replica

유연한 서버의 읽기 복제본 속성. 서버를 승격하려는 경우에만 필요합니다.

properties.replicaCapacity

integer (int32)

유연한 서버에 허용되는 최대 읽기 복제본 수입니다.

properties.replicationRole

ReplicationRole

복제 세트에서 서버의 역할입니다.

properties.sourceServerResourceId

string

새 유연한 서버의 원본으로 사용할 유연한 서버의 식별자입니다. 'createMode'가 'PointInTimeRestore', 'GeoRestore', 'Replica' 또는 'ReviveDropped'인 경우 필요합니다. 이 속성은 대상 유연한 서버가 읽기 복제본인 경우에만 반환됩니다.

properties.state

ServerState

유연한 서버의 가능한 상태입니다.

properties.storage

Storage

유연한 서버의 스토리지 속성입니다.

properties.version

ServerVersion

PostgreSQL 데이터베이스 엔진의 주 버전입니다.

sku

Sku

유연한 서버의 컴퓨팅 계층 및 크기.

systemData

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

tags

object

리소스 태그.

type

string

리소스의 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts"

ServerHAState

고가용성이 SameZone 또는 ZoneRedundant로 설정될 때 생성되는 대기 서버의 가능한 상태입니다.

Description
CreatingStandby
FailingOver
Healthy
NotEnabled
RemovingStandby
ReplicatingData

ServerPublicNetworkAccessState

공용 네트워크 액세스를 사용할 수 있는지 여부를 나타냅니다.

Description
Disabled
Enabled

ServerState

유연한 서버의 가능한 상태입니다.

Description
Disabled
Dropping
Ready
Starting
Stopped
Stopping
Updating

ServerVersion

PostgreSQL 데이터베이스 엔진의 주 버전입니다.

Description
11
12
13
14
15
16

Sku

유연한 서버의 컴퓨팅 계층 및 크기.

Name 형식 Description
name

string

유연한 서버에 할당된 지정된 컴퓨팅 크기로 알려진 이름입니다.

tier

SkuTier

유연한 서버에 할당된 컴퓨팅의 계층입니다.

SkuTier

유연한 서버에 할당된 컴퓨팅의 계층입니다.

Description
Burstable
GeneralPurpose
MemoryOptimized

Storage

유연한 서버의 스토리지 속성입니다.

Name 형식 Description
autoGrow

StorageAutoGrow

사용 가능한 공간이 0에 가깝고 조건이 스토리지 크기를 자동으로 늘릴 수 있는 경우 유연한 서버의 스토리지 크기 자동 증가를 사용하거나 사용하지 않도록 설정하는 플래그입니다.

iops

integer (int32)

스토리지에 지원되는 최대 IOPS입니다. 스토리지 유형이 PremiumV2_LRS인 경우 필요합니다.

storageSizeGB

integer (int32)

유연한 서버에 할당된 스토리지의 크기입니다.

throughput

integer (int32)

스토리지에 지원되는 최대 처리량입니다. 스토리지 유형이 PremiumV2_LRS인 경우 필요합니다.

tier

AzureManagedDiskPerformanceTiers

유연한 서버의 스토리지 계층입니다.

type

StorageType

유연한 서버에 할당된 스토리지 유형입니다. 허용되는 값은 Premium_LRS 또는 PremiumV2_LRS입니다. 지정하지 않으면 기본값은 Premium_LRS입니다.

StorageAutoGrow

사용 가능한 공간이 0에 가깝고 조건이 스토리지 크기를 자동으로 늘릴 수 있는 경우 유연한 서버의 스토리지 크기 자동 증가를 사용하거나 사용하지 않도록 설정하는 플래그입니다.

Description
Disabled
Enabled

StorageType

유연한 서버에 할당된 스토리지 유형입니다. 허용되는 값은 Premium_LRS 또는 PremiumV2_LRS입니다. 지정하지 않으면 기본값은 Premium_LRS입니다.

Description
PremiumV2_LRS
Premium_LRS

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

Name 형식 Description
createdAt

string (date-time)

리소스 만들기의 타임스탬프(UTC)입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID의 형식입니다.

lastModifiedAt

string (date-time)

리소스 마지막 수정의 타임스탬프(UTC)

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID의 형식입니다.

UserAssignedIdentity

유연한 서버에 할당된 사용자 할당 관리 ID입니다.

Name 형식 Description
principalId

string

사용자 할당 관리 ID에 연결된 서비스 주체의 개체 식별자입니다.

tenantId

string

유연한 서버의 테넌트 식별자입니다.

type

IdentityType

유연한 서버와 연결된 ID 유형입니다.

userAssignedIdentities

<string,  UserIdentity>

사용자가 할당한 관리 ID의 매핑입니다.

UserIdentity

유연한 서버와 연결된 사용자 할당 관리 ID입니다.

Name 형식 Description
clientId

string

사용자 할당 관리 ID에 연결된 서비스 주체의 클라이언트 식별자입니다.

principalId

string

사용자 할당 관리 ID에 연결된 서비스 주체의 개체 식별자입니다.