Partilhar via


DigitalTwinsEndpointResourceCollection.GetAsync Método

Definição

Obter ponto de extremidade DigitalTwinsInstances.

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

Parâmetros

endpointName
String

Nome do Recurso de Ponto de Extremidade.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

endpointName é nulo.

Aplica-se a