Compartilhar via


DeviceProvisioningServicesPrivateLinkResourceCollection.GetAsync Método

Definição

Obter o recurso de link privado especificado para o serviço de provisionamento especificado

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

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 era esperado que não estivesse vazio.

groupId é nulo.

Aplica-se a