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

MarketplaceAgreementCollection.Get 方法

定义

获取市场协议。

  • 请求路径/订阅/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}
  • 操作IdMarketplaceAgreements_GetAgreement
public virtual Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementResource> Get (string publisherId, string offerId, string planId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementResource>
override this.Get : string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementResource>
Public Overridable Function Get (publisherId As String, offerId As String, planId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MarketplaceAgreementResource)

参数

publisherId
String

正在部署的映像的发布者标识符字符串。

offerId
String

正在部署的映像的套餐标识符字符串。

planId
String

正在部署的映像的计划标识符字符串。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

publisherIdofferIdplanId 是空字符串,预期为非空。

publisherIdofferIdplanId 为 null。

适用于