Partilhar via


MarketplaceAgreementTermCollection.Get Método

Definição

Obter termos do marketplace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current
  • Operação IdMarketplaceAgreements_Get
public virtual Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource> Get (Azure.ResourceManager.MarketplaceOrdering.Models.AgreementOfferType offerType, string publisherId, string offerId, string planId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Azure.ResourceManager.MarketplaceOrdering.Models.AgreementOfferType * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>
override this.Get : Azure.ResourceManager.MarketplaceOrdering.Models.AgreementOfferType * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementTermResource>
Public Overridable Function Get (offerType As AgreementOfferType, publisherId As String, offerId As String, planId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MarketplaceAgreementTermResource)

Parâmetros

offerType
AgreementOfferType

Tipo de oferta, atualmente há suporte apenas para tipo virtualmachine.

publisherId
String

Cadeia de caracteres do identificador do publicador da imagem que está sendo implantada.

offerId
String

Cadeia de caracteres de identificador de oferta da imagem que está sendo implantada.

planId
String

Planejar a cadeia de caracteres do identificador da imagem que está sendo implantada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

publisherId, offerId ou planId é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

publisherId, offerId ou planId é nulo.

Aplica-se a