MarketplaceAgreementTermCollection.GetAsync メソッド

定義

マーケットプレースの用語を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current
  • 操作IdMarketplaceAgreements_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>> GetAsync (Azure.ResourceManager.MarketplaceOrdering.Models.AgreementOfferType offerType, string publisherId, string offerId, string planId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.ResourceManager.MarketplaceOrdering.Models.AgreementOfferType * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>>
override this.GetAsync : Azure.ResourceManager.MarketplaceOrdering.Models.AgreementOfferType * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>>
Public Overridable Function GetAsync (offerType As AgreementOfferType, publisherId As String, offerId As String, planId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MarketplaceAgreementTermResource))

パラメーター

offerType
AgreementOfferType

オファーの種類。現在、virtualmachine 型のみがサポートされています。

publisherId
String

デプロイされるイメージの発行元識別子文字列。

offerId
String

デプロイされるイメージのオファー識別子文字列。

planId
String

デプロイされるイメージのプラン識別子文字列。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

publisherIdofferIdまたは planId が空の文字列であり、空でないと想定されていました。

publisherIdofferId、または planId が null です。

適用対象