Partilhar via


IotHubPrivateEndpointGroupInformationCollection.GetAsync Método

Definição

Obter o recurso de link privado especificado para o IotHub especificado

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateLinkResources/{groupId}
  • Operação IdPrivateLinkResources_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.IotHubPrivateEndpointGroupInformationResource>> GetAsync (string groupId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.IotHubPrivateEndpointGroupInformationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.IotHubPrivateEndpointGroupInformationResource>>
Public Overridable Function GetAsync (groupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotHubPrivateEndpointGroupInformationResource))

Parâmetros

groupId
String

O nome do recurso de link privado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

groupId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

groupId é nulo.

Aplica-se a