Managed Instance Private Endpoint Connections - Get

Mendapatkan koneksi titik akhir privat.

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

Parameter URI

Name In Required Type Description
managedInstanceName
path True
  • string

Nama instans terkelola.

privateEndpointConnectionName
path True
  • string

Nama koneksi titik akhir privat.

resourceGroupName
path True
  • string

Nama grup sumber daya yang berisi sumber daya. Anda dapat memperoleh nilai ini dari Azure Resource Manager API atau portal.

subscriptionId
path True
  • string

ID langganan yang mengidentifikasi langganan Azure.

api-version
query True
  • string

Versi API yang digunakan untuk permintaan.

Respons

Name Type Description
200 OK

Berhasil mengambil koneksi titik akhir privat tertentu.

Other Status Codes

Respons Kesalahan: ***

  • 400 PrivateEndpointConnectionDoesNotExist - Koneksi Titik Akhir Privat tidak ada

  • 400 PrivateEndpointConnectionStatusNotPending - Status Koneksi Titik Akhir Privat tidak Tertunda

  • 400 NullRemotePrivateLinkServiceConnectionState - Status Koneksi Layanan Private Link Jarak Jauh Null

  • 400 NullPrivateEndpointConnectionProperties - Properti Koneksi Titik Akhir Privat Null

  • 400 NullRemotePrivateLinkServiceConnectionStateStatus - Status Status Koneksi Layanan Private Link Jarak Jauh Null

  • 400 IncorrectPrivateLinkServiceConnectionStateStatus - Status Status Koneksi Layanan Private Link harus "Disetujui" atau "Ditolak"

  • 404 ResourceNotFound - Sumber daya yang diminta tidak ditemukan.

Contoh

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-02-01-preview

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"
    }
  }
}

Definisi

ManagedInstancePrivateEndpointConnection

Koneksi titik akhir privat

ManagedInstancePrivateEndpointProperty
ManagedInstancePrivateLinkServiceConnectionStateProperty

ManagedInstancePrivateEndpointConnection

Koneksi titik akhir privat

Name Type Description
id
  • string

ID Sumber Daya.

name
  • string

Nama sumber daya.

properties.privateEndpoint

Titik akhir privat tempat koneksi berada.

properties.privateLinkServiceConnectionState

Status Koneksi Koneksi Titik Akhir Privat.

properties.provisioningState
  • string

Status Koneksi Titik Akhir Privat.

type
  • string

Jenis sumber daya

ManagedInstancePrivateEndpointProperty

Name Type Description
id
  • string

Id sumber daya titik akhir privat.

ManagedInstancePrivateLinkServiceConnectionStateProperty

Name Type Description
actionsRequired
  • string

Deskripsi koneksi layanan tautan privat.

description
  • string

Deskripsi koneksi layanan tautan privat.

status
  • string

Status koneksi layanan tautan privat.