Managed Instance Private Endpoint Connections - Get

プライベート エンドポイント接続を取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2021-11-01

URI パラメーター

名前 / 必須 説明
managedInstanceName
path True

string

マネージド インスタンスの名前。

privateEndpointConnectionName
path True

string

プライベート エンドポイント接続の名前。

resourceGroupName
path True

string

リソースが含まれているリソース グループの名前。 この値は、Azure リソース マネージャー API またはポータルから取得できます。

subscriptionId
path True

string

Azure サブスクリプションを識別するサブスクリプション ID。

api-version
query True

string

要求で使用する API のバージョン。

応答

名前 説明
200 OK

ManagedInstancePrivateEndpointConnection

指定されたプライベート エンドポイント接続が正常に取得されました。

Other Status Codes

エラー応答: ***

  • 400 PrivateEndpointConnectionDoesNotExist - プライベート エンドポイント接続が存在しません

  • 400 PrivateEndpointConnectionStatusNotPending - プライベート エンドポイント接続の状態が保留中ではない

  • 400 NullRemotePrivateLinkServiceConnectionState - リモート Private Link サービス接続状態が Null

  • 400 NullPrivateEndpointConnectionProperties - プライベート エンドポイント接続プロパティが Null

  • 400 NullRemotePrivateLinkServiceConnectionStateStatus - リモート Private Link サービス接続状態の状態が Null

  • 400 IncorrectPrivateLinkServiceConnectionStateStatus - Private Link サービス接続状態の状態は "承認済み" または "拒否" である必要があります

  • 404 ResourceNotFound - 要求されたリソースが見つかりませんでした。

Gets private endpoint connection.

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/test-cl/privateEndpointConnections/private-endpoint-connection-name?api-version=2021-11-01

Sample Response

{
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/test-cl/privateEndpointConnections/private-endpoint-connection-name",
  "name": "private-endpoint-connection-name",
  "type": "Microsoft.Sql/managedInstances/privateEndpointConnections",
  "properties": {
    "provisioningState": "Ready",
    "privateEndpoint": {
      "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
    },
    "privateLinkServiceConnectionState": {
      "status": "Approved",
      "description": "Auto-approved",
      "actionsRequired": "None"
    }
  }
}

定義

名前 説明
ManagedInstancePrivateEndpointConnection

プライベート エンドポイント接続

ManagedInstancePrivateEndpointProperty
ManagedInstancePrivateLinkServiceConnectionStateProperty

ManagedInstancePrivateEndpointConnection

プライベート エンドポイント接続

名前 説明
id

string

リソースの ID

name

string

リソース名。

properties.privateEndpoint

ManagedInstancePrivateEndpointProperty

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

properties.privateLinkServiceConnectionState

ManagedInstancePrivateLinkServiceConnectionStateProperty

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

properties.provisioningState

string

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

type

string

リソースの種類。

ManagedInstancePrivateEndpointProperty

名前 説明
id

string

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

ManagedInstancePrivateLinkServiceConnectionStateProperty

名前 説明
actionsRequired

string

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

description

string

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

status

string

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