Compartilhar via


AppServiceExtensions.PreviewStaticSiteWorkflowAsync Método

Definição

Descrição de Gera um arquivo de fluxo de trabalho de visualização para o site estático

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Web/locations/{location}/previewStaticSiteWorkflowFile
  • Operação IdStaticSites_PreviewWorkflow
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSitesWorkflowPreview>> PreviewStaticSiteWorkflowAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.AppService.Models.StaticSitesWorkflowPreviewContent content, System.Threading.CancellationToken cancellationToken = default);
static member PreviewStaticSiteWorkflowAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.AppService.Models.StaticSitesWorkflowPreviewContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSitesWorkflowPreview>>
<Extension()>
Public Function PreviewStaticSiteWorkflowAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As StaticSitesWorkflowPreviewContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StaticSitesWorkflowPreview))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

Local em que você planeja criar o site estático.

content
StaticSitesWorkflowPreviewContent

Uma representação JSON das propriedades StaticSitesWorkflowPreviewRequest. Confira o exemplo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a