Compartilhar via


FarmBeatCollection.GetAsync(String, CancellationToken) Método

Definição

Obter recurso do FarmBeats.

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

Parâmetros

farmBeatsResourceName
String

Nome do recurso do FarmBeats.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

farmBeatsResourceName é nulo.

Aplica-se a