Dela via


StaticSitesOperationsExtensions.CreateZipDeploymentForStaticSiteBuildAsync Method

Definition

Deploys zipped content to a specific environment of a static site.

public static System.Threading.Tasks.Task CreateZipDeploymentForStaticSiteBuildAsync (this Microsoft.Azure.Management.WebSites.IStaticSitesOperations operations, string resourceGroupName, string name, string environmentName, Microsoft.Azure.Management.WebSites.Models.StaticSiteZipDeploymentARMResource staticSiteZipDeploymentEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateZipDeploymentForStaticSiteBuildAsync : Microsoft.Azure.Management.WebSites.IStaticSitesOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.StaticSiteZipDeploymentARMResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CreateZipDeploymentForStaticSiteBuildAsync (operations As IStaticSitesOperations, resourceGroupName As String, name As String, environmentName As String, staticSiteZipDeploymentEnvelope As StaticSiteZipDeploymentARMResource, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IStaticSitesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the static site.

environmentName
String

Name of the environment.

staticSiteZipDeploymentEnvelope
StaticSiteZipDeploymentARMResource

A JSON representation of the StaticSiteZipDeployment properties. See example.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Deploys zipped content to a specific environment of a static site.

Applies to