Compartir a través de


MarketplaceOrderingExtensions.GetMarketplaceAgreementTermAsync Método

Definición

Obtenga los términos de Marketplace.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current
  • IdMarketplaceAgreements_Get de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>> GetMarketplaceAgreementTermAsync (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 GetMarketplaceAgreementTermAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.MarketplaceOrdering.Models.AgreementOfferType * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>>
<Extension()>
Public Function GetMarketplaceAgreementTermAsync (subscriptionResource As SubscriptionResource, offerType As AgreementOfferType, publisherId As String, offerId As String, planId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MarketplaceAgreementTermResource))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

offerType
AgreementOfferType

Tipo de oferta, actualmente solo se admite el tipo de máquina virtual.

publisherId
String

Cadena de identificador del publicador de la imagen que se va a implementar.

offerId
String

Cadena de identificador de oferta de la imagen que se va a implementar.

planId
String

Cadena de identificador de plan de la imagen que se va a implementar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

publisherIdo offerIdplanId es una cadena vacía y se espera que no esté vacía.

publisherId, offerId o planId es un valor null.

Se aplica a