Share via


StaticSitesOperationsExtensions.PreviewWorkflowAsync Method

Definition

Generates a preview workflow file for the static site

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.StaticSitesWorkflowPreview> PreviewWorkflowAsync (this Microsoft.Azure.Management.WebSites.IStaticSitesOperations operations, string location, Microsoft.Azure.Management.WebSites.Models.StaticSitesWorkflowPreviewRequest staticSitesWorkflowPreviewRequest, System.Threading.CancellationToken cancellationToken = default);
static member PreviewWorkflowAsync : Microsoft.Azure.Management.WebSites.IStaticSitesOperations * string * Microsoft.Azure.Management.WebSites.Models.StaticSitesWorkflowPreviewRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.StaticSitesWorkflowPreview>
<Extension()>
Public Function PreviewWorkflowAsync (operations As IStaticSitesOperations, location As String, staticSitesWorkflowPreviewRequest As StaticSitesWorkflowPreviewRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StaticSitesWorkflowPreview)

Parameters

operations
IStaticSitesOperations

The operations group for this extension method.

location
String

Location where you plan to create the static site.

staticSitesWorkflowPreviewRequest
StaticSitesWorkflowPreviewRequest

A JSON representation of the StaticSitesWorkflowPreviewRequest properties. See example.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Generates a preview workflow file for the static site

Applies to