Partilhar via


AgFoodPlatformExtensions.GetFarmBeat Método

Definição

Obter o recurso FarmBeats.

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

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

farmBeatsResourceName
String

Nome do recurso farmBeats.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

farmBeatsResourceName é nulo.

Aplica-se a