Partilhar via


TemplateSpecResource.GetAsync Método

Definição

Obtém uma Especificação de Modelo com um determinado nome.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}
  • IdTemplateSpecs_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.TemplateSpecResource>> GetAsync (Azure.ResourceManager.Resources.Models.TemplateSpecExpandKind? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<Azure.ResourceManager.Resources.Models.TemplateSpecExpandKind> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.TemplateSpecResource>>
override this.GetAsync : Nullable<Azure.ResourceManager.Resources.Models.TemplateSpecExpandKind> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.TemplateSpecResource>>
Public Overridable Function GetAsync (Optional expand As Nullable(Of TemplateSpecExpandKind) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TemplateSpecResource))

Parâmetros

expand
Nullable<TemplateSpecExpandKind>

Permite a expansão de detalhes adicionais da Especificação de Modelo na resposta. Opcional.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a