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

MarketplaceOrderingExtensions.GetMarketplaceAgreementTerm 方法

定义

获取市场术语。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current
  • 操作IdMarketplaceAgreements_Get
public static Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource> GetMarketplaceAgreementTerm (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.MarketplaceOrdering.Models.AgreementOfferType offerType, string publisherId, string offerId, string planId, System.Threading.CancellationToken cancellationToken = default);
static member GetMarketplaceAgreementTerm : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.MarketplaceOrdering.Models.AgreementOfferType * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>
<Extension()>
Public Function GetMarketplaceAgreementTerm (subscriptionResource As SubscriptionResource, offerType As AgreementOfferType, publisherId As String, offerId As String, planId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MarketplaceAgreementTermResource)

参数

subscriptionResource
SubscriptionResource

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

offerType
AgreementOfferType

产品/服务类型,目前仅支持虚拟机类型。

publisherId
String

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

offerId
String

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

planId
String

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

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

publisherIdofferIdplanId 为 null。

适用于