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

PrivateStoreResource.QueryApprovedPlansAsync 方法

定义

获取计划和相关已批准订阅的映射。

  • 请求路径/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/queryApprovedPlans
  • 操作IdPrivateStore_QueryApprovedPlans
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Marketplace.Models.QueryApprovedPlansResult>> QueryApprovedPlansAsync (Azure.ResourceManager.Marketplace.Models.QueryApprovedPlansContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member QueryApprovedPlansAsync : Azure.ResourceManager.Marketplace.Models.QueryApprovedPlansContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Marketplace.Models.QueryApprovedPlansResult>>
override this.QueryApprovedPlansAsync : Azure.ResourceManager.Marketplace.Models.QueryApprovedPlansContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Marketplace.Models.QueryApprovedPlansResult>>
Public Overridable Function QueryApprovedPlansAsync (Optional content As QueryApprovedPlansContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of QueryApprovedPlansResult))

参数

content
QueryApprovedPlansContent

要使用的 QueryApprovedPlansContent。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于