Partilhar via


OfferResource.GetAsync(String, CancellationToken) Método

Definição

Obter detalhes do recurso de oferta em um editor do Cluster HCI.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}
  • Operação IdOffers_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.OfferResource>> GetAsync (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.OfferResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.OfferResource>>
Public Overridable Function GetAsync (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OfferResource))

Parâmetros

expand
String

Especifique $expand=content,contentVersion para preencher campos adicionais relacionados à oferta do marketplace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a