Replicas - List By Server

特定のサーバーのすべてのレプリカを一覧表示します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/replicas?api-version=2017-12-01

URI パラメーター

名前 / 必須 説明
resourceGroupName
path True

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serverName
path True

string

サーバーの名前。

subscriptionId
path True

string

ターゲット サブスクリプションの ID。

api-version
query True

string

この操作に使用する API バージョン。

応答

名前 説明
200 OK

ServerListResult

OK

Other Status Codes

CloudError

操作に失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

ReplicasListByServer

Sample Request

GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master/replicas?api-version=2017-12-01

Sample Response

{
  "value": [
    {
      "sku": {
        "name": "GP_Gen4_16",
        "tier": "GeneralPurpose",
        "family": "Gen4",
        "capacity": 16
      },
      "properties": {
        "administratorLogin": "postgres",
        "storageProfile": {
          "storageMB": 2048000,
          "backupRetentionDays": 7,
          "geoRedundantBackup": "Disabled"
        },
        "version": "9.6",
        "sslEnforcement": "Disabled",
        "userVisibleState": "Ready",
        "fullyQualifiedDomainName": "testserver-replica1.postgres.database.azure.com",
        "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
        "replicationRole": "Replica",
        "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
        "replicaCapacity": 0
      },
      "location": "westcentralus",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica1",
      "name": "testserver-replica1",
      "type": "Microsoft.DBforPostgreSQL/servers"
    },
    {
      "sku": {
        "name": "GP_Gen4_16",
        "tier": "GeneralPurpose",
        "family": "Gen4",
        "capacity": 16
      },
      "properties": {
        "administratorLogin": "postgres",
        "storageProfile": {
          "storageMB": 2048000,
          "backupRetentionDays": 7,
          "geoRedundantBackup": "Disabled"
        },
        "version": "9.6",
        "sslEnforcement": "Disabled",
        "userVisibleState": "Ready",
        "fullyQualifiedDomainName": "testserver-replica2.postgres.database.azure.com",
        "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
        "replicationRole": "Replica",
        "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
        "replicaCapacity": 0
      },
      "location": "westcentralus",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica2",
      "name": "testserver-replica2",
      "type": "Microsoft.DBforPostgreSQL/servers"
    },
    {
      "sku": {
        "name": "GP_Gen4_16",
        "tier": "GeneralPurpose",
        "family": "Gen4",
        "capacity": 16
      },
      "properties": {
        "administratorLogin": "postgres",
        "storageProfile": {
          "storageMB": 2048000,
          "backupRetentionDays": 7,
          "geoRedundantBackup": "Disabled"
        },
        "version": "9.6",
        "sslEnforcement": "Disabled",
        "userVisibleState": "Ready",
        "fullyQualifiedDomainName": "testserver-replica3.postgres.database.azure.com",
        "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
        "replicationRole": "Replica",
        "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
        "replicaCapacity": 0
      },
      "location": "westcentralus",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica3",
      "name": "testserver-replica3",
      "type": "Microsoft.DBforPostgreSQL/servers"
    },
    {
      "sku": {
        "name": "GP_Gen4_16",
        "tier": "GeneralPurpose",
        "family": "Gen4",
        "capacity": 16
      },
      "properties": {
        "administratorLogin": "postgres",
        "storageProfile": {
          "storageMB": 2048000,
          "backupRetentionDays": 7,
          "geoRedundantBackup": "Disabled"
        },
        "version": "9.6",
        "sslEnforcement": "Disabled",
        "userVisibleState": "Ready",
        "fullyQualifiedDomainName": "testserver-replica4.postgres.database.azure.com",
        "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
        "replicationRole": "Replica",
        "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
        "replicaCapacity": 0
      },
      "location": "westcentralus",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica4",
      "name": "testserver-replica4",
      "type": "Microsoft.DBforPostgreSQL/servers"
    },
    {
      "sku": {
        "name": "GP_Gen4_16",
        "tier": "GeneralPurpose",
        "family": "Gen4",
        "capacity": 16
      },
      "properties": {
        "administratorLogin": "postgres",
        "storageProfile": {
          "storageMB": 2048000,
          "backupRetentionDays": 7,
          "geoRedundantBackup": "Disabled"
        },
        "version": "9.6",
        "sslEnforcement": "Disabled",
        "userVisibleState": "Ready",
        "fullyQualifiedDomainName": "testserver-replica5.postgres.database.azure.com",
        "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
        "replicationRole": "Replica",
        "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
        "replicaCapacity": 0
      },
      "location": "westcentralus",
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica5",
      "name": "testserver-replica5",
      "type": "Microsoft.DBforPostgreSQL/servers"
    }
  ]
}

定義

名前 説明
CloudError

Batch サービスからのエラー応答。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorResponse

エラー応答

GeoRedundantBackup

サーバー バックアップで geo 冗長を有効にするか、有効にしないか。

IdentityType

ID の種類。 リソースの Azure Active Directory プリンシパルを自動的に作成して割り当てるには、これを "SystemAssigned" に設定します。

InfrastructureEncryption

データ保護を強化する新しい暗号化アルゴリズムを使用して、データの 2 番目の暗号化レイヤーを追加します。 値は省略可能ですが、渡される場合は 、'Disabled' または 'Enabled' である必要があります。

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

PrivateEndpointProperty
PrivateEndpointProvisioningState

プライベート エンドポイント接続の状態。

PrivateLinkServiceConnectionStateActionsRequire

プライベート リンク サービス接続に必要なアクション。

PrivateLinkServiceConnectionStateStatus

プライベート リンク サービスの接続状態。

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 、'Enabled' または 'Disabled' である必要があります

ResourceIdentity

リソースの Azure Active Directory ID 構成。

Server

サーバーを表します。

ServerListResult

サーバーの一覧。

ServerPrivateEndpointConnection

サーバー下のプライベート エンドポイント接続

ServerPrivateEndpointConnectionProperties

プライベート エンドポイント接続のプロパティ。

ServerPrivateLinkServiceConnectionStateProperty
ServerState

ユーザーに表示されるサーバーの状態。

ServerVersion

サーバーのバージョン。

Sku

サーバーの課金情報関連のプロパティ。

SkuTier

特定の SKU のレベル (Basic など)。

SslEnforcementEnum

サーバーに接続するときに ssl 強制を有効にするか、有効にしないか。

StorageAutogrow

ストレージの自動拡張を有効にします。

StorageProfile

サーバーのストレージ プロファイルプロパティ

CloudError

Batch サービスからのエラー応答。

名前 説明
error

ErrorResponse

エラー応答
失敗した操作のエラーの詳細を返す、すべての Azure Resource Manager API に対する一般的なエラー応答 (これは、OData エラー応答形式にも従います)。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorResponse

エラー応答

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorResponse[]

エラーの詳細です。

message

string

エラー メッセージ。

target

string

エラーのターゲット。

GeoRedundantBackup

サーバー バックアップで geo 冗長を有効にするか、有効にしないか。

名前 説明
Disabled

string

Enabled

string

IdentityType

ID の種類。 リソースの Azure Active Directory プリンシパルを自動的に作成して割り当てるには、これを "SystemAssigned" に設定します。

名前 説明
SystemAssigned

string

InfrastructureEncryption

データ保護を強化する新しい暗号化アルゴリズムを使用して、データの 2 番目の暗号化レイヤーを追加します。 値は省略可能ですが、渡される場合は 、'Disabled' または 'Enabled' である必要があります。

名前 説明
Disabled

string

保存データの追加 (第 2) 層の暗号化

Enabled

string

保存データの暗号化の単一レイヤーの既定値。

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

名前 説明
TLS1_0

string

TLS1_1

string

TLS1_2

string

TLSEnforcementDisabled

string

PrivateEndpointProperty

名前 説明
id

string

プライベート エンドポイントのリソース ID。

PrivateEndpointProvisioningState

プライベート エンドポイント接続の状態。

名前 説明
Approving

string

Dropping

string

Failed

string

Ready

string

Rejecting

string

PrivateLinkServiceConnectionStateActionsRequire

プライベート リンク サービス接続に必要なアクション。

名前 説明
None

string

PrivateLinkServiceConnectionStateStatus

プライベート リンク サービスの接続状態。

名前 説明
Approved

string

Disconnected

string

Pending

string

Rejected

string

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 、'Enabled' または 'Disabled' である必要があります

名前 説明
Disabled

string

Enabled

string

ResourceIdentity

リソースの Azure Active Directory ID 構成。

名前 説明
principalId

string

Azure Active Directory プリンシパル ID。

tenantId

string

Azure Active Directory テナント ID。

type

IdentityType

ID の種類。 リソースの Azure Active Directory プリンシパルを自動的に作成して割り当てるには、これを "SystemAssigned" に設定します。

Server

サーバーを表します。

名前 説明
id

string

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

identity

ResourceIdentity

サーバーの Azure Active Directory ID。

location

string

リソースが保存されている地理的な場所

name

string

リソースの名前

properties.administratorLogin

string

サーバーの管理者のログイン名。 サーバーの作成時にのみ指定できます (作成には と が必要です)。

properties.byokEnforcement

string

サーバー データ暗号化がカスタマー マネージド キーで有効になっているかどうかを示す状態。

properties.earliestRestoreDate

string

最も早い復元ポイントの作成時刻 (ISO8601形式)

properties.fullyQualifiedDomainName

string

サーバーの完全修飾ドメイン名。

properties.infrastructureEncryption

InfrastructureEncryption

サーバーでインフラストラクチャ暗号化が有効になっているかどうかを示す状態。

properties.masterServerId

string

レプリカ サーバーのマスター サーバー ID。

properties.minimalTlsVersion

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

properties.privateEndpointConnections

ServerPrivateEndpointConnection[]

サーバー上のプライベート エンドポイント接続の一覧

properties.publicNetworkAccess

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 、'Enabled' または 'Disabled' である必要があります

properties.replicaCapacity

integer

マスター サーバーで使用できるレプリカの最大数。

properties.replicationRole

string

サーバーのレプリケーション ロール。

properties.sslEnforcement

SslEnforcementEnum

サーバーに接続するときに ssl 強制を有効にするか、有効にしないか。

properties.storageProfile

StorageProfile

サーバーのストレージ プロファイル。

properties.userVisibleState

ServerState

ユーザーに表示されるサーバーの状態。

properties.version

ServerVersion

サーバーのバージョン。

sku

Sku

サーバーの SKU (価格レベル)。

tags

object

リソース タグ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

ServerListResult

サーバーの一覧。

名前 説明
value

Server[]

サーバーの一覧

ServerPrivateEndpointConnection

サーバー下のプライベート エンドポイント接続

名前 説明
id

string

プライベート エンドポイント接続のリソース ID。

properties

ServerPrivateEndpointConnectionProperties

プライベート エンドポイント接続プロパティ

ServerPrivateEndpointConnectionProperties

プライベート エンドポイント接続のプロパティ。

名前 説明
privateEndpoint

PrivateEndpointProperty

接続が属するプライベート エンドポイント。

privateLinkServiceConnectionState

ServerPrivateLinkServiceConnectionStateProperty

プライベート エンドポイント接続の接続状態。

provisioningState

PrivateEndpointProvisioningState

プライベート エンドポイント接続の状態。

ServerPrivateLinkServiceConnectionStateProperty

名前 説明
actionsRequired

PrivateLinkServiceConnectionStateActionsRequire

プライベート リンク サービス接続に必要なアクション。

description

string

プライベート リンク サービス接続の説明。

status

PrivateLinkServiceConnectionStateStatus

プライベート リンク サービスの接続状態。

ServerState

ユーザーに表示されるサーバーの状態。

名前 説明
Disabled

string

Dropping

string

Inaccessible

string

Ready

string

ServerVersion

サーバーのバージョン。

名前 説明
10

string

10.0

string

10.2

string

11

string

9.5

string

9.6

string

Sku

サーバーの課金情報関連のプロパティ。

名前 説明
capacity

integer

サーバーのコンピューティング ユニットを表すスケールアップ/スケールアウト容量。

family

string

ハードウェアのファミリ。

name

string

sku の名前 (通常は階層 + ファミリ + コア) (B_Gen4_1、GP_Gen5_8など)。

size

string

必要に応じてリソースによって解釈されるサイズ コード。

tier

SkuTier

特定の SKU のレベル (Basic など)。

SkuTier

特定の SKU のレベル (Basic など)。

名前 説明
Basic

string

GeneralPurpose

string

MemoryOptimized

string

SslEnforcementEnum

サーバーに接続するときに ssl 強制を有効にするか、有効にしないか。

名前 説明
Disabled

string

Enabled

string

StorageAutogrow

ストレージの自動拡張を有効にします。

名前 説明
Disabled

string

Enabled

string

StorageProfile

サーバーのストレージ プロファイルプロパティ

名前 説明
backupRetentionDays

integer

サーバーのバックアップ保有日数。

geoRedundantBackup

GeoRedundantBackup

サーバー バックアップで geo 冗長を有効にするか、有効にしないか。

storageAutogrow

StorageAutogrow

ストレージの自動拡張を有効にします。

storageMB

integer

サーバーに対して許可される最大ストレージ数。