你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AgFoodPlatformExtensions.GetFarmBeatsAsync 方法

定义

列出订阅的 FarmBeats 实例。

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats
  • 操作IdFarmBeatsModels_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.AgFoodPlatform.FarmBeatResource> GetFarmBeatsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, int? maxPageSize = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetFarmBeatsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AgFoodPlatform.FarmBeatResource>
<Extension()>
Public Function GetFarmBeatsAsync (subscriptionResource As SubscriptionResource, Optional maxPageSize As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FarmBeatResource)

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

maxPageSize
Nullable<Int32>

(非独占) 所需的最大项数。 最小值 = 10,最大值 = 1000,默认值 = 50。

skipToken
String

跳过令牌以获取下一组结果。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 FarmBeatResource ,可能需要循环访问多个服务请求。

适用于