Share via


MockableAgFoodPlatformSubscriptionResource.GetFarmBeatsAsync Method

Definition

Lists the FarmBeats instances for a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats
  • Operation Id: FarmBeatsModels_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.AgFoodPlatform.FarmBeatResource> GetFarmBeatsAsync (int? maxPageSize = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFarmBeatsAsync : Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AgFoodPlatform.FarmBeatResource>
override this.GetFarmBeatsAsync : Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AgFoodPlatform.FarmBeatResource>
Public Overridable Function GetFarmBeatsAsync (Optional maxPageSize As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FarmBeatResource)

Parameters

maxPageSize
Nullable<Int32>

Maximum number of items needed (inclusive). Minimum = 10, Maximum = 1000, Default value = 50.

skipToken
String

Skip token for getting next set of results.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of FarmBeatResource that may take multiple service requests to iterate over.

Applies to