Partilhar via


AgFoodPlatformPrivateLinkResourceCollection.GetAsync Método

Definição

Obter objeto de recurso de link privado.

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

Parâmetros

subResourceName
String

Nome do sub-recurso.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

subResourceName é nulo.

Aplica-se a