Servers - Update
既存のサーバーを更新します。 要求本文には、通常のサーバー定義に存在する 1 から多くのプロパティを含めることができます。
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}?api-version=2024-11-01-preview
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
resource
|
path | True |
string |
リソース グループの名前。 名前では大文字と小文字が区別されません。 |
server
|
path | True |
string |
サーバーの名前。 正規表現パターン: |
subscription
|
path | True |
string uuid |
ターゲット サブスクリプションの ID。 値は UUID である必要があります。 |
api-version
|
query | True |
string |
この操作に使用する API バージョン。 |
要求本文
名前 | 型 | 説明 |
---|---|---|
parameters |
サーバーを更新するために必要なパラメーター。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
わかりました |
|
202 Accepted |
受け入れ られる ヘッダー Location: string |
|
Other Status Codes |
操作が失敗した理由を説明するエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントを偽装する |
例
Promote a replica server as a Standalone server as forced, i.e. it will promote a replica server immediately without waiting for primary and replica to be in sync.
要求のサンプル
PATCH https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4-replica?api-version=2024-11-01-preview
{
"properties": {
"replica": {
"promoteMode": "standalone",
"promoteOption": "forced"
}
}
}
応答のサンプル
{
"sku": {
"name": "Standard_D8s_v3",
"tier": "GeneralPurpose"
},
"properties": {
"fullyQualifiedDomainName": "pgtestsvc4-replica.postgres.database.azure.com",
"version": "12",
"minorVersion": "6",
"administratorLogin": "cloudsa",
"state": "Ready",
"availabilityZone": "1",
"dataEncryption": {
"type": "SystemManaged"
},
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"storage": {
"storageSizeGB": 1024,
"autoGrow": "Enabled",
"tier": "P30",
"iops": 5000
},
"backup": {
"backupRetentionDays": 20,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00"
},
"network": {
"publicNetworkAccess": "Disabled",
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"
},
"highAvailability": {
"mode": "ZoneRedundant",
"state": "Healthy",
"standbyAvailabilityZone": "2"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
},
"replica": {
"role": "None",
"capacity": 0
}
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4-replica",
"name": "pgtestsvc4-replica",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Promote a replica server as a Standalone server as planned, i.e. it will wait for replication to complete.
要求のサンプル
PATCH https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4-replica?api-version=2024-11-01-preview
{
"properties": {
"replica": {
"promoteMode": "standalone",
"promoteOption": "planned"
}
}
}
応答のサンプル
{
"sku": {
"name": "Standard_D8s_v3",
"tier": "GeneralPurpose"
},
"properties": {
"fullyQualifiedDomainName": "pgtestsvc4-replica.postgres.database.azure.com",
"version": "12",
"minorVersion": "6",
"administratorLogin": "cloudsa",
"state": "Ready",
"availabilityZone": "1",
"dataEncryption": {
"type": "SystemManaged"
},
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"storage": {
"storageSizeGB": 1024,
"autoGrow": "Enabled",
"tier": "P30",
"iops": 5000
},
"backup": {
"backupRetentionDays": 20,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00"
},
"network": {
"publicNetworkAccess": "Disabled",
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"
},
"highAvailability": {
"mode": "ZoneRedundant",
"state": "Healthy",
"standbyAvailabilityZone": "2"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
},
"replica": {
"role": "None",
"capacity": 0
}
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4-replica",
"name": "pgtestsvc4-replica",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
ServerUpdate
要求のサンプル
PATCH https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4?api-version=2024-11-01-preview
{
"sku": {
"tier": "GeneralPurpose",
"name": "Standard_D8s_v3"
},
"properties": {
"administratorLoginPassword": "newpassword",
"createMode": "Update",
"storage": {
"storageSizeGB": 1024,
"autoGrow": "Enabled",
"tier": "P30"
},
"backup": {
"backupRetentionDays": 20
}
}
}
応答のサンプル
{
"sku": {
"name": "Standard_D8s_v3",
"tier": "GeneralPurpose"
},
"properties": {
"fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com",
"version": "12",
"minorVersion": "6",
"administratorLogin": "cloudsa",
"state": "Ready",
"availabilityZone": "1",
"dataEncryption": {
"type": "SystemManaged"
},
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"storage": {
"storageSizeGB": 1024,
"autoGrow": "Enabled",
"tier": "P30",
"iops": 5000
},
"backup": {
"backupRetentionDays": 20,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00"
},
"network": {
"publicNetworkAccess": "Disabled",
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"
},
"highAvailability": {
"mode": "ZoneRedundant",
"state": "Healthy",
"standbyAvailabilityZone": "2"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
}
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4",
"name": "pgtestsvc4",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
ServerUpdateWithAadAuthEnabled
要求のサンプル
PATCH https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4?api-version=2024-11-01-preview
{
"sku": {
"tier": "GeneralPurpose",
"name": "Standard_D8s_v3"
},
"properties": {
"administratorLoginPassword": "newpassword",
"createMode": "Update",
"authConfig": {
"activeDirectoryAuth": "Enabled",
"passwordAuth": "Enabled",
"tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt"
},
"storage": {
"storageSizeGB": 1024,
"autoGrow": "Disabled",
"tier": "P30"
},
"backup": {
"backupRetentionDays": 20
}
}
}
応答のサンプル
{
"sku": {
"name": "Standard_D8s_v3",
"tier": "GeneralPurpose"
},
"properties": {
"fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com",
"version": "12",
"minorVersion": "6",
"administratorLogin": "cloudsa",
"state": "Ready",
"availabilityZone": "1",
"dataEncryption": {
"type": "SystemManaged"
},
"authConfig": {
"activeDirectoryAuth": "Enabled",
"passwordAuth": "Enabled",
"tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt"
},
"storage": {
"storageSizeGB": 1024,
"autoGrow": "Disabled",
"tier": "P30",
"iops": 5000
},
"backup": {
"backupRetentionDays": 20,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00"
},
"network": {
"publicNetworkAccess": "Disabled",
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"
},
"highAvailability": {
"mode": "ZoneRedundant",
"state": "Healthy",
"standbyAvailabilityZone": "2"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
}
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4",
"name": "pgtestsvc4",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
ServerUpdateWithCustomerMaintenanceWindow
要求のサンプル
PATCH https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4?api-version=2024-11-01-preview
{
"properties": {
"createMode": "Update",
"maintenanceWindow": {
"customWindow": "Enabled",
"dayOfWeek": 0,
"startHour": 8,
"startMinute": 0
}
}
}
応答のサンプル
{
"sku": {
"name": "Standard_D4s_v3",
"tier": "GeneralPurpose"
},
"properties": {
"fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com",
"version": "12",
"minorVersion": "6",
"administratorLogin": "cloudsa",
"state": "Ready",
"availabilityZone": "1",
"storage": {
"storageSizeGB": 512,
"autoGrow": "Disabled",
"tier": "P20",
"iops": 2300
},
"dataEncryption": {
"type": "SystemManaged"
},
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"backup": {
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00"
},
"network": {
"publicNetworkAccess": "Disabled",
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"
},
"highAvailability": {
"mode": "ZoneRedundant",
"state": "Healthy",
"standbyAvailabilityZone": "2"
},
"maintenanceWindow": {
"customWindow": "Enabled",
"dayOfWeek": 0,
"startHour": 8,
"startMinute": 0
}
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4",
"name": "pgtestsvc4",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
ServerUpdateWithDataEncryptionEnabled
要求のサンプル
PATCH https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4?api-version=2024-11-01-preview
{
"sku": {
"tier": "GeneralPurpose",
"name": "Standard_D8s_v3"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity": {},
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-geo-usermanagedidentity": {}
},
"type": "UserAssigned"
},
"properties": {
"administratorLoginPassword": "newpassword",
"createMode": "Update",
"dataEncryption": {
"type": "AzureKeyVault",
"primaryKeyURI": "https://test-kv.vault.azure.net/keys/test-key1/77f57315bab34b0189daa113fbc78787",
"primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity",
"geoBackupKeyURI": "https://test-geo-kv.vault.azure.net/keys/test-key1/66f57315bab34b0189daa113fbc78787",
"geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-geo-usermanagedidentity"
},
"backup": {
"backupRetentionDays": 20
}
}
}
応答のサンプル
{
"sku": {
"name": "Standard_D8s_v3",
"tier": "GeneralPurpose"
},
"identity": {
"userAssignedIdentities": {
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity": {
"principalId": "0a4e0c6e-7751-4078-ae1f-a477306c11e9",
"clientId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
},
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity-1": {
"principalId": "90008082-e024-4cc3-8fcf-63bcdb9cf6b6",
"clientId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
},
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-geo-usermanagedidentity": {
"principalId": "0a4e0c6e-7751-4078-ae1f-a477306c11e9",
"clientId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
}
},
"type": "UserAssigned"
},
"properties": {
"fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com",
"version": "12",
"minorVersion": "6",
"administratorLogin": "cloudsa",
"state": "Ready",
"availabilityZone": "1",
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"dataEncryption": {
"type": "AzureKeyVault",
"primaryKeyURI": "https://test-kv.vault.azure.net/keys/test-key1/77f57315bab34b0189daa113fbc78787",
"primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-usermanagedidentity",
"geoBackupKeyURI": "https://test-geo-kv.vault.azure.net/keys/test-key1/66f57315bab34b0189daa113fbc78787",
"geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-geo-usermanagedidentity",
"primaryEncryptionKeyStatus": "Valid",
"geoBackupEncryptionKeyStatus": "Valid"
},
"storage": {
"storageSizeGB": 1024,
"autoGrow": "Disabled",
"tier": "P30",
"iops": 5000
},
"backup": {
"backupRetentionDays": 20,
"geoRedundantBackup": "Enabled",
"earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00"
},
"network": {
"publicNetworkAccess": "Disabled",
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"
},
"highAvailability": {
"mode": "ZoneRedundant",
"state": "Healthy",
"standbyAvailabilityZone": "2"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
}
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4",
"name": "pgtestsvc4",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
ServerUpdateWithMajorVersionUpgrade
要求のサンプル
応答のサンプル
{
"sku": {
"name": "Standard_D4s_v3",
"tier": "GeneralPurpose"
},
"properties": {
"fullyQualifiedDomainName": "c7d7483a8ceb.test-private-dns-zone.postgres.database.azure.com",
"version": "14",
"minorVersion": "6",
"administratorLogin": "cloudsa",
"state": "Ready",
"availabilityZone": "1",
"storage": {
"storageSizeGB": 512,
"autoGrow": "Enabled",
"tier": "P20",
"iops": 2300
},
"dataEncryption": {
"type": "SystemManaged"
},
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"backup": {
"backupRetentionDays": 7,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00"
},
"network": {
"publicNetworkAccess": "Disabled",
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"
},
"highAvailability": {
"mode": "ZoneRedundant",
"state": "Healthy",
"standbyAvailabilityZone": "2"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
}
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4",
"name": "pgtestsvc4",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
SwitchOver a replica server as forced, i.e. it will replica as Primary and original primary as replica immediately without waiting for primary and replica to be in sync.
要求のサンプル
PATCH https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4-replica?api-version=2024-11-01-preview
{
"properties": {
"replica": {
"promoteMode": "switchover",
"promoteOption": "forced"
}
}
}
応答のサンプル
{
"sku": {
"name": "Standard_D8s_v3",
"tier": "GeneralPurpose"
},
"properties": {
"fullyQualifiedDomainName": "pgtestsvc4-replica.postgres.database.azure.com",
"version": "12",
"minorVersion": "6",
"administratorLogin": "cloudsa",
"state": "Ready",
"availabilityZone": "1",
"dataEncryption": {
"type": "SystemManaged"
},
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"storage": {
"storageSizeGB": 1024,
"autoGrow": "Enabled",
"tier": "P30",
"iops": 5000
},
"backup": {
"backupRetentionDays": 20,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00"
},
"network": {
"publicNetworkAccess": "Disabled",
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"
},
"highAvailability": {
"mode": "ZoneRedundant",
"state": "Healthy",
"standbyAvailabilityZone": "2"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
},
"replica": {
"role": "Primary",
"capacity": 5
}
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4-replica",
"name": "pgtestsvc4-replica",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
SwitchOver a replica server as planned, i.e. it will wait for replication to complete before promoting replica as Primary and original primary as replica.
要求のサンプル
PATCH https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4-replica?api-version=2024-11-01-preview
{
"properties": {
"replica": {
"promoteMode": "switchover",
"promoteOption": "planned"
}
}
}
応答のサンプル
{
"sku": {
"name": "Standard_D8s_v3",
"tier": "GeneralPurpose"
},
"properties": {
"fullyQualifiedDomainName": "pgtestsvc4-replica.postgres.database.azure.com",
"version": "12",
"minorVersion": "6",
"administratorLogin": "cloudsa",
"state": "Ready",
"availabilityZone": "1",
"dataEncryption": {
"type": "SystemManaged"
},
"authConfig": {
"activeDirectoryAuth": "Disabled",
"passwordAuth": "Enabled"
},
"storage": {
"storageSizeGB": 1024,
"autoGrow": "Enabled",
"tier": "P30",
"iops": 5000
},
"backup": {
"backupRetentionDays": 20,
"geoRedundantBackup": "Disabled",
"earliestRestoreDate": "2021-05-26T01:16:58.3723361+00:00"
},
"network": {
"publicNetworkAccess": "Disabled",
"delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-vnet-subnet",
"privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.Network/privateDnsZones/test-private-dns-zone.postgres.database.azure.com"
},
"highAvailability": {
"mode": "ZoneRedundant",
"state": "Healthy",
"standbyAvailabilityZone": "2"
},
"maintenanceWindow": {
"customWindow": "Disabled",
"dayOfWeek": 0,
"startHour": 0,
"startMinute": 0
},
"replica": {
"role": "Primary",
"capacity": 5
}
},
"location": "westus",
"tags": {
"ElasticServer": "1"
},
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgtestsvc4-replica",
"name": "pgtestsvc4-replica",
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2024-11-01-preview
定義
名前 | 説明 |
---|---|
active |
[有効] の場合、Azure Active Directory 認証が有効になります。 |
Arm |
システムマネージドと Azure Key Vault のどちらであるか示すデータ暗号化の種類。 |
Auth |
サーバーの AuthConfig プロパティ。 |
Azure |
IOPS のストレージ層の名前。 |
Backup |
サーバーのバックアップ プロパティ。 |
Cluster |
サーバーのクラスター プロパティ。 |
created |
リソースを作成した ID の種類。 |
Create |
新しい PostgreSQL サーバーを作成するモード。 |
Create |
新しい PostgreSQL サーバーを更新するモード。 |
Data |
サーバーのデータ暗号化プロパティ。 |
Error |
リソース管理エラーの追加情報。 |
Error |
エラーの詳細。 |
Error |
エラー応答 |
Geo |
Geo-Redundant バックアップがサーバーで有効になっているかどうかを示す値。 |
High |
サーバーの高可用性プロパティ。 |
High |
サーバーの HA モード。 |
Identity |
このリソースに関連付けられている ID の種類 |
key |
データ暗号化が有効なサーバーのプライマリ暗号化キーの状態。 |
Maintenance |
サーバーのメンテナンス期間のプロパティ。 |
Network |
サーバーのネットワーク プロパティ。 このネットワーク プロパティは、サーバーをプライベート アクセス サーバーにする場合にのみ渡す必要があります。 |
password |
[有効] の場合、パスワード認証が有効になります。 |
Private |
プライベート エンドポイント リソース。 |
Private |
指定したリソースに関連付けられているプライベート エンドポイント接続の一覧。 |
Private |
プライベート エンドポイント接続リソースのプロビジョニング状態。 |
Private |
接続がサービスの所有者によって承認/拒否/削除されたかどうかを示します。 |
Private |
サービス コンシューマーとプロバイダー間の接続の状態に関する情報のコレクション。 |
Read |
レプリカ サーバーの昇格モードを設定します。 これは書き込み専用プロパティです。 |
Replica |
サーバーのレプリカ プロパティ。 これらのレプリカプロパティは、サーバーを昇格させる場合にのみ渡す必要があります。 |
Replication |
レプリカ サーバーの昇格オプションを設定します。 これは書き込み専用プロパティです。 |
Replication |
サーバーのレプリケーション ロール |
Replication |
レプリカ サーバーのレプリケーション状態を取得します。 このプロパティは、レプリカ API 呼び出しの場合にのみ返されます。 サポートされている値は、アクティブ、キャッチアップ、プロビジョニング、更新、破損、再構成です |
Server |
サーバーを表します。 |
Server |
サーバーを更新するために必要なパラメーター。 |
Server |
ユーザーに表示される HA サーバーの状態。 |
Server |
パブリック ネットワーク アクセスが有効かどうか |
Server |
ユーザーに表示されるサーバーの状態。 |
Server |
PostgreSQL サーバーのバージョン。 |
Sku |
サーバーの SKU (価格レベル)。 |
Sku |
特定の SKU のレベル (バースト可能など)。 |
Storage |
サーバーのストレージ プロパティ。 |
Storage |
フレキシブル サーバーのストレージ自動拡張を有効または無効にするフラグ。 |
Storage |
サーバーのストレージの種類。 使用できる値は、Premium_LRS、PremiumV2_LRS、およびUltraSSD_LRSです。 既定値はPremium_LRS (指定されていない場合) |
system |
createdBy と modifiedBy 情報を含む Azure Resource Manager メタデータ。 |
User |
アプリケーションの ID について説明します。 |
User |
アプリケーションに関連付けられている 1 つのユーザー割り当て ID について説明します。 |
activeDirectoryAuthEnum
[有効] の場合、Azure Active Directory 認証が有効になります。
名前 | 型 | 説明 |
---|---|---|
Disabled |
string |
|
Enabled |
string |
ArmServerKeyType
システムマネージドと Azure Key Vault のどちらであるか示すデータ暗号化の種類。
名前 | 型 | 説明 |
---|---|---|
AzureKeyVault |
string |
|
SystemManaged |
string |
AuthConfig
サーバーの AuthConfig プロパティ。
名前 | 型 | 規定値 | 説明 |
---|---|---|---|
activeDirectoryAuth |
[有効] の場合、Azure Active Directory 認証が有効になります。 |
||
passwordAuth | Enabled |
[有効] の場合、パスワード認証が有効になります。 |
|
tenantId |
string |
サーバーのテナント ID。 |
AzureManagedDiskPerformanceTiers
IOPS のストレージ層の名前。
名前 | 型 | 説明 |
---|---|---|
P1 |
string |
|
P10 |
string |
|
P15 |
string |
|
P2 |
string |
|
P20 |
string |
|
P3 |
string |
|
P30 |
string |
|
P4 |
string |
|
P40 |
string |
|
P50 |
string |
|
P6 |
string |
|
P60 |
string |
|
P70 |
string |
|
P80 |
string |
Backup
サーバーのバックアップ プロパティ。
名前 | 型 | 規定値 | 説明 |
---|---|---|---|
backupRetentionDays |
integer |
7 |
サーバーのバックアップ保有日数。 |
earliestRestoreDate |
string |
サーバーの最も古い復元ポイント時間 (ISO8601形式)。 |
|
geoRedundantBackup | Disabled |
Geo-Redundant バックアップがサーバーで有効になっているかどうかを示す値。 |
Cluster
サーバーのクラスター プロパティ。
名前 | 型 | 規定値 | 説明 |
---|---|---|---|
clusterSize |
integer |
0 |
クラスターのノード数。 |
createdByType
リソースを作成した ID の種類。
名前 | 型 | 説明 |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
CreateMode
新しい PostgreSQL サーバーを作成するモード。
名前 | 型 | 説明 |
---|---|---|
Create |
string |
|
Default |
string |
|
GeoRestore |
string |
|
PointInTimeRestore |
string |
|
Replica |
string |
|
ReviveDropped |
string |
|
Update |
string |
CreateModeForUpdate
新しい PostgreSQL サーバーを更新するモード。
名前 | 型 | 説明 |
---|---|---|
Default |
string |
|
Update |
string |
DataEncryption
サーバーのデータ暗号化プロパティ。
名前 | 型 | 説明 |
---|---|---|
geoBackupEncryptionKeyStatus |
データ暗号化が有効なサーバーの geo バックアップ暗号化キーの状態。 |
|
geoBackupKeyURI |
string |
サーバーの geo バックアップ用のデータ暗号化の keyvault 内のキーの URI。 |
geoBackupUserAssignedIdentityId |
string |
サーバーの geo バックアップのデータ暗号化に使用するユーザー割り当て ID のリソース ID。 |
primaryEncryptionKeyStatus |
データ暗号化が有効なサーバーのプライマリ暗号化キーの状態。 |
|
primaryKeyURI |
string |
プライマリ サーバーのデータ暗号化のための keyvault 内のキーの URI。 |
primaryUserAssignedIdentityId |
string |
プライマリ サーバーのデータ暗号化に使用するユーザー割り当て ID のリソース ID。 |
type |
システムマネージドと Azure Key Vault のどちらであるか示すデータ暗号化の種類。 |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
名前 | 型 | 説明 |
---|---|---|
info |
object |
追加情報。 |
type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
名前 | 型 | 説明 |
---|---|---|
additionalInfo |
エラーの追加情報。 |
|
code |
string |
エラー コード。 |
details |
エラーの詳細。 |
|
message |
string |
エラー メッセージ。 |
target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
名前 | 型 | 説明 |
---|---|---|
error |
エラー オブジェクト。 |
GeoRedundantBackupEnum
Geo-Redundant バックアップがサーバーで有効になっているかどうかを示す値。
名前 | 型 | 説明 |
---|---|---|
Disabled |
string |
|
Enabled |
string |
HighAvailability
サーバーの高可用性プロパティ。
名前 | 型 | 規定値 | 説明 |
---|---|---|---|
mode | Disabled |
サーバーの HA モード。 |
|
standbyAvailabilityZone |
string |
スタンバイの可用性ゾーン情報。 |
|
state |
ユーザーに表示される HA サーバーの状態。 |
HighAvailabilityMode
サーバーの HA モード。
名前 | 型 | 説明 |
---|---|---|
Disabled |
string |
|
SameZone |
string |
|
ZoneRedundant |
string |
IdentityType
このリソースに関連付けられている ID の種類
名前 | 型 | 説明 |
---|---|---|
None |
string |
|
SystemAssigned |
string |
|
UserAssigned |
string |
keyStatusEnum
データ暗号化が有効なサーバーのプライマリ暗号化キーの状態。
名前 | 型 | 説明 |
---|---|---|
Invalid |
string |
|
Valid |
string |
MaintenanceWindow
サーバーのメンテナンス期間のプロパティ。
名前 | 型 | 規定値 | 説明 |
---|---|---|---|
customWindow |
string |
Disabled |
は、カスタム ウィンドウが有効か無効かを示します |
dayOfWeek |
integer |
0 |
メンテナンス期間の曜日 |
startHour |
integer |
0 |
メンテナンス期間の開始時刻 |
startMinute |
integer |
0 |
メンテナンス期間の開始時間 (分) |
Network
サーバーのネットワーク プロパティ。 このネットワーク プロパティは、サーバーをプライベート アクセス サーバーにする場合にのみ渡す必要があります。
名前 | 型 | 説明 |
---|---|---|
delegatedSubnetResourceId |
string |
委任されたサブネット arm リソース ID。これは、サーバーを VNET に挿入する場合 (プライベート アクセス サーバーなど) の作成時に渡す必要があります。 更新中に、プライベート DNS ゾーンの値を更新する場合にのみ、これを渡します。 |
privateDnsZoneArmResourceId |
string |
プライベート DNS ゾーンの arm リソース ID。これは、サーバーを VNET に挿入する場合 (プライベート アクセス サーバーなど) の作成時に渡す必要があります。 更新中に、プライベート DNS ゾーンの値を更新する場合にのみ、これを渡します。 |
publicNetworkAccess |
パブリック ネットワーク アクセスが有効かどうか |
passwordAuthEnum
[有効] の場合、パスワード認証が有効になります。
名前 | 型 | 説明 |
---|---|---|
Disabled |
string |
|
Enabled |
string |
PrivateEndpoint
プライベート エンドポイント リソース。
名前 | 型 | 説明 |
---|---|---|
id |
string |
プライベート エンドポイントの ARM 識別子。 |
PrivateEndpointConnection
指定したリソースに関連付けられているプライベート エンドポイント接続の一覧。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name |
string |
リソースの名前 |
properties.groupIds |
string[] |
プライベート エンドポイント リソースのグループ ID。 |
properties.privateEndpoint |
プライベート エンドポイント リソース。 |
|
properties.privateLinkServiceConnectionState |
サービス コンシューマーとプロバイダー間の接続の状態に関する情報のコレクション。 |
|
properties.provisioningState |
プライベート エンドポイント接続リソースのプロビジョニング状態。 |
|
systemData |
createdBy と modifiedBy 情報を含む Azure Resource Manager メタデータ。 |
|
type |
string |
リソースの種類。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |
PrivateEndpointConnectionProvisioningState
プライベート エンドポイント接続リソースのプロビジョニング状態。
名前 | 型 | 説明 |
---|---|---|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
PrivateEndpointServiceConnectionStatus
接続がサービスの所有者によって承認/拒否/削除されたかどうかを示します。
名前 | 型 | 説明 |
---|---|---|
Approved |
string |
|
Pending |
string |
|
Rejected |
string |
PrivateLinkServiceConnectionState
サービス コンシューマーとプロバイダー間の接続の状態に関する情報のコレクション。
名前 | 型 | 説明 |
---|---|---|
actionsRequired |
string |
サービス プロバイダーの変更にコンシューマーの更新が必要かどうかを示すメッセージ。 |
description |
string |
接続の承認/拒否の理由。 |
status |
接続がサービスの所有者によって承認/拒否/削除されたかどうかを示します。 |
ReadReplicaPromoteMode
レプリカ サーバーの昇格モードを設定します。 これは書き込み専用プロパティです。
名前 | 型 | 説明 |
---|---|---|
standalone |
string |
|
switchover |
string |
Replica
サーバーのレプリカ プロパティ。 これらのレプリカプロパティは、サーバーを昇格させる場合にのみ渡す必要があります。
名前 | 型 | 説明 |
---|---|---|
capacity |
integer |
サーバーに対して許可されるレプリカ。 |
promoteMode |
レプリカ サーバーの昇格モードを設定します。 これは書き込み専用プロパティです。 |
|
promoteOption |
レプリカ サーバーの昇格オプションを設定します。 これは書き込み専用プロパティです。 |
|
replicationState |
レプリカ サーバーのレプリケーション状態を取得します。 このプロパティは、レプリカ API 呼び出しの場合にのみ返されます。 サポートされている値は、アクティブ、キャッチアップ、プロビジョニング、更新、破損、再構成です |
|
role |
レプリケーション セット内のサーバーの役割を示すために使用されます。 |
ReplicationPromoteOption
レプリカ サーバーの昇格オプションを設定します。 これは書き込み専用プロパティです。
名前 | 型 | 説明 |
---|---|---|
forced |
string |
|
planned |
string |
ReplicationRole
サーバーのレプリケーション ロール
名前 | 型 | 説明 |
---|---|---|
AsyncReplica |
string |
|
GeoAsyncReplica |
string |
|
None |
string |
|
Primary |
string |
ReplicationState
レプリカ サーバーのレプリケーション状態を取得します。 このプロパティは、レプリカ API 呼び出しの場合にのみ返されます。 サポートされている値は、アクティブ、キャッチアップ、プロビジョニング、更新、破損、再構成です
名前 | 型 | 説明 |
---|---|---|
Active |
string |
|
Broken |
string |
|
Catchup |
string |
|
Provisioning |
string |
|
Reconfiguring |
string |
|
Updating |
string |
Server
サーバーを表します。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
identity |
アプリケーションの ID について説明します。 |
|
location |
string |
リソースが存在する地理的な場所 |
name |
string |
リソースの名前 |
properties.administratorLogin |
string |
サーバーの管理者のログイン名。 サーバーの作成時にのみ指定できます (作成に必要です)。 |
properties.administratorLoginPassword |
string |
管理者ログイン パスワード (サーバーの作成に必要)。 |
properties.authConfig |
サーバーの AuthConfig プロパティ。 |
|
properties.availabilityZone |
string |
サーバーの可用性ゾーン情報。 |
properties.backup |
サーバーのバックアップ プロパティ。 |
|
properties.cluster |
サーバーのクラスター プロパティ。 |
|
properties.createMode |
新しい PostgreSQL サーバーを作成するモード。 |
|
properties.dataEncryption |
サーバーのデータ暗号化プロパティ。 |
|
properties.fullyQualifiedDomainName |
string |
サーバーの完全修飾ドメイン名。 |
properties.highAvailability |
サーバーの高可用性プロパティ。 |
|
properties.maintenanceWindow |
サーバーのメンテナンス期間のプロパティ。 |
|
properties.minorVersion |
string |
サーバーのマイナー バージョン。 |
properties.network |
サーバーのネットワーク プロパティ。 このネットワーク プロパティは、サーバーをプライベート アクセス サーバーにする場合にのみ渡す必要があります。 |
|
properties.pointInTimeUTC |
string |
復元ポイントの作成時刻 (ISO8601形式)。復元元の時刻を指定します。 'createMode' が 'PointInTimeRestore' または 'GeoRestore' または 'ReviveDropped' の場合は必須です。 |
properties.privateEndpointConnections |
指定したリソースに関連付けられているプライベート エンドポイント接続の一覧。 |
|
properties.replica |
サーバーのレプリカ プロパティ。 これらのレプリカプロパティは、サーバーを昇格させる場合にのみ渡す必要があります。 |
|
properties.replicaCapacity |
integer |
サーバーに対して許可されるレプリカ。 |
properties.replicationRole |
サーバーのレプリケーション ロール |
|
properties.sourceServerResourceId |
string |
復元元のソース サーバー リソース ID。 'createMode' が 'PointInTimeRestore' または 'GeoRestore' または 'Replica' または 'ReviveDropped' の場合は必須です。 このプロパティは、レプリカ サーバーに対してのみ返されます |
properties.state |
ユーザーに表示されるサーバーの状態。 |
|
properties.storage |
サーバーのストレージ プロパティ。 |
|
properties.version |
PostgreSQL サーバーのバージョン。 |
|
sku |
サーバーの SKU (価格レベル)。 |
|
systemData |
createdBy と modifiedBy 情報を含む Azure Resource Manager メタデータ。 |
|
tags |
object |
リソース タグ。 |
type |
string |
リソースの種類。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |
ServerForUpdate
サーバーを更新するために必要なパラメーター。
名前 | 型 | 説明 |
---|---|---|
identity |
アプリケーションの ID について説明します。 |
|
properties.administratorLogin |
string |
サーバーの管理者のログイン名。 サーバーがパスワード認証に切り替えようとしていて、既定の管理者ログインがない場合にのみ指定できます。 |
properties.administratorLoginPassword |
string |
管理者ログインのパスワード。 |
properties.authConfig |
サーバーの AuthConfig プロパティ。 |
|
properties.backup |
サーバーのバックアップ プロパティ。 |
|
properties.cluster |
サーバーのクラスター プロパティ。 |
|
properties.createMode |
新しい PostgreSQL サーバーを更新するモード。 |
|
properties.dataEncryption |
サーバーのデータ暗号化プロパティ。 |
|
properties.highAvailability |
サーバーの高可用性プロパティ。 |
|
properties.maintenanceWindow |
サーバーのメンテナンス期間のプロパティ。 |
|
properties.network |
サーバーのネットワーク プロパティ。 これらは、サーバーがプライベート アクセス サーバーの場合にのみ渡す必要があります。 |
|
properties.replica |
サーバーのレプリカ プロパティ。 これらのレプリカプロパティは、サーバーを昇格させる場合にのみ渡す必要があります。 |
|
properties.replicationRole |
サーバーのレプリケーション ロール |
|
properties.storage |
サーバーのストレージ プロパティ。 |
|
properties.version |
PostgreSQL サーバーのバージョン。 バージョン 16 は現在、MVU ではサポートされていません。 |
|
sku |
サーバーの SKU (価格レベル)。 |
|
tags |
object |
キーと値のペアの形式のアプリケーション固有のメタデータ。 |
ServerHAState
ユーザーに表示される HA サーバーの状態。
名前 | 型 | 説明 |
---|---|---|
CreatingStandby |
string |
|
FailingOver |
string |
|
Healthy |
string |
|
NotEnabled |
string |
|
RemovingStandby |
string |
|
ReplicatingData |
string |
ServerPublicNetworkAccessState
パブリック ネットワーク アクセスが有効かどうか
名前 | 型 | 説明 |
---|---|---|
Disabled |
string |
|
Enabled |
string |
ServerState
ユーザーに表示されるサーバーの状態。
名前 | 型 | 説明 |
---|---|---|
Disabled |
string |
|
Dropping |
string |
|
Ready |
string |
|
Starting |
string |
|
Stopped |
string |
|
Stopping |
string |
|
Updating |
string |
ServerVersion
PostgreSQL サーバーのバージョン。
名前 | 型 | 説明 |
---|---|---|
11 |
string |
|
12 |
string |
|
13 |
string |
|
14 |
string |
|
15 |
string |
|
16 |
string |
|
17 |
string |
Sku
サーバーの SKU (価格レベル)。
名前 | 型 | 説明 |
---|---|---|
name |
string |
sku の名前 。通常は、階層 + ファミリ + コア (例: Standard_D4s_v3)。 |
tier |
特定の SKU のレベル (バースト可能など)。 |
SkuTier
特定の SKU のレベル (バースト可能など)。
名前 | 型 | 説明 |
---|---|---|
Burstable |
string |
|
GeneralPurpose |
string |
|
MemoryOptimized |
string |
Storage
サーバーのストレージ プロパティ。
名前 | 型 | 説明 |
---|---|---|
autoGrow |
フレキシブル サーバーのストレージ自動拡張を有効または無効にするフラグ。 |
|
iops |
integer |
ストレージ層の IOPS 量。 このプロパティは、ストレージの種類のPremiumV2_LRSとUltraSSD_LRSに設定する必要があります。 |
storageSizeGB |
integer |
サーバーに対して許可される最大ストレージ数。 |
throughput |
integer |
サーバーのストレージ スループット。 これは、ストレージの種類のPremiumV2_LRSとUltraSSD_LRSに設定する必要があります。 |
tier |
IOPS のストレージ層の名前。 |
|
type |
サーバーのストレージの種類。 使用できる値は、Premium_LRS、PremiumV2_LRS、およびUltraSSD_LRSです。 既定値はPremium_LRS (指定されていない場合) |
StorageAutoGrow
フレキシブル サーバーのストレージ自動拡張を有効または無効にするフラグ。
名前 | 型 | 説明 |
---|---|---|
Disabled |
string |
|
Enabled |
string |
StorageType
サーバーのストレージの種類。 使用できる値は、Premium_LRS、PremiumV2_LRS、およびUltraSSD_LRSです。 既定値はPremium_LRS (指定されていない場合)
名前 | 型 | 説明 |
---|---|---|
PremiumV2_LRS |
string |
|
Premium_LRS |
string |
|
UltraSSD_LRS |
string |
systemData
createdBy と modifiedBy 情報を含む Azure Resource Manager メタデータ。
名前 | 型 | 説明 |
---|---|---|
createdAt |
string |
リソース作成のタイムスタンプ (UTC)。 |
createdBy |
string |
リソースを作成した ID。 |
createdByType |
リソースを作成した ID の種類。 |
|
lastModifiedAt |
string |
リソースの最終変更のタイムスタンプ (UTC) |
lastModifiedBy |
string |
リソースを最後に変更した ID。 |
lastModifiedByType |
リソースを最後に変更した ID の種類。 |
UserAssignedIdentity
アプリケーションの ID について説明します。
名前 | 型 | 説明 |
---|---|---|
tenantId |
string |
サーバーのテナント ID。 |
type |
このリソースに関連付けられている ID の種類 |
|
userAssignedIdentities |
<string,
User |
は、ユーザー割り当て ID マップを表します。 |
UserIdentity
アプリケーションに関連付けられている 1 つのユーザー割り当て ID について説明します。
名前 | 型 | 説明 |
---|---|---|
clientId |
string |
この ID が表すサービス プリンシパルのクライアント識別子。 |
principalId |
string |
この ID が表すサービス プリンシパルのオブジェクト識別子。 |