Partilhar via


AppServiceExtensions.PreviewStaticSiteWorkflow 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
  • IdStaticSites_PreviewWorkflow de operação
public static Azure.Response<Azure.ResourceManager.AppService.Models.StaticSitesWorkflowPreview> PreviewStaticSiteWorkflow (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.AppService.Models.StaticSitesWorkflowPreviewContent content, System.Threading.CancellationToken cancellationToken = default);
static member PreviewStaticSiteWorkflow : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.AppService.Models.StaticSitesWorkflowPreviewContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.StaticSitesWorkflowPreview>
<Extension()>
Public Function PreviewStaticSiteWorkflow (subscriptionResource As SubscriptionResource, location As AzureLocation, content As StaticSitesWorkflowPreviewContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StaticSitesWorkflowPreview)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual 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