Aracılığıyla paylaş


Private Endpoint Connections - List

Özel uç nokta bağlantılarını listeleme
Özel uç nokta bağlantı özelliklerini listeleme

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections?api-version=2023-06-30

URI Parametreleri

Name İçinde Gerekli Tür Description
resourceGroupName
path True

string

IoT hub'ını içeren kaynak grubunun adı.

resourceName
path True

string

IoT hub'ının adı.

subscriptionId
path True

string

Abonelik tanımlayıcısı.

api-version
query True

string

API sürümü.

Yanıtlar

Name Tür Description
200 OK

PrivateEndpointConnection[]

Gövde, özel uç nokta bağlantı özelliklerinin listesini içerir

Other Status Codes

ErrorDetails

DefaultErrorResponse

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

Tür: oauth2
Akış: implicit
Yetkilendirme URL’si: https://login.microsoftonline.com/common/oauth2/authorize

Kapsamlar

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

PrivateEndpointConnections_List

Örnek isteği

GET https://management.azure.com/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/iotHubs/testHub/privateEndpointConnections?api-version=2023-06-30

Örnek yanıt

[
  {
    "id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/testHub/PrivateEndpointConnections/myPrivateEndpointConnection",
    "name": "myPrivateEndpointConnection",
    "type": "Microsoft.Devices/IotHubs/PrivateEndpointConnections",
    "properties": {
      "privateEndpoint": {
        "id": "/subscriptions/a9eba280-4734-4d49-878f-b5549d1d0453/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
      },
      "privateLinkServiceConnectionState": {
        "status": "Pending",
        "description": "Please approve my request!",
        "actionsRequired": "None"
      }
    }
  }
]

Tanımlar

Name Description
ErrorDetails

Hata ayrıntıları.

PrivateEndpoint

Özel uç nokta bağlantısının özel uç nokta özelliği

PrivateEndpointConnection

IotHub'ın özel uç nokta bağlantısı

PrivateEndpointConnectionProperties

Özel uç nokta bağlantısının özellikleri

PrivateLinkServiceConnectionState

Özel uç nokta bağlantısının geçerli durumu

PrivateLinkServiceConnectionStatus

Özel uç nokta bağlantısının durumu

ErrorDetails

Hata ayrıntıları.

Name Tür Description
code

string

Hata kodu.

details

string

Hata ayrıntıları.

httpStatusCode

string

HTTP durum kodu.

message

string

Hata iletisi.

PrivateEndpoint

Özel uç nokta bağlantısının özel uç nokta özelliği

Name Tür Description
id

string

Kaynak tanımlayıcısı.

PrivateEndpointConnection

IotHub'ın özel uç nokta bağlantısı

Name Tür Description
id

string

Kaynak tanımlayıcısı.

name

string

Kaynak adı.

properties

PrivateEndpointConnectionProperties

Özel uç nokta bağlantısının özellikleri

type

string

Kaynak türü.

PrivateEndpointConnectionProperties

Özel uç nokta bağlantısının özellikleri

Name Tür Description
privateEndpoint

PrivateEndpoint

Özel uç nokta bağlantısının özel uç nokta özelliği

privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

Özel uç nokta bağlantısının geçerli durumu

PrivateLinkServiceConnectionState

Özel uç nokta bağlantısının geçerli durumu

Name Tür Description
actionsRequired

string

Özel uç nokta bağlantısı için gereken eylemler

description

string

Özel uç nokta bağlantısının geçerli durumunun açıklaması

status

PrivateLinkServiceConnectionStatus

Özel uç nokta bağlantısının durumu

PrivateLinkServiceConnectionStatus

Özel uç nokta bağlantısının durumu

Name Tür Description
Approved

string

Disconnected

string

Pending

string

Rejected

string