Partilhar via


IotHubDescriptionResource.GetIotHubPrivateEndpointConnection Método

Definição

Obter propriedades de conexão de ponto de extremidade privado

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • IdPrivateEndpointConnections_Get de operação
public virtual Azure.Response<Azure.ResourceManager.IotHub.IotHubPrivateEndpointConnectionResource> GetIotHubPrivateEndpointConnection (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIotHubPrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.IotHubPrivateEndpointConnectionResource>
override this.GetIotHubPrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.IotHubPrivateEndpointConnectionResource>
Public Overridable Function GetIotHubPrivateEndpointConnection (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IotHubPrivateEndpointConnectionResource)

Parâmetros

privateEndpointConnectionName
String

O nome da conexão de ponto de extremidade privado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

privateEndpointConnectionName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

privateEndpointConnectionName é nulo.

Aplica-se a