Share via


StaticSitesOperationsExtensions.CreateZipDeploymentForStaticSiteAsync Method

Definition

Deploys zipped content to a static site.

public static System.Threading.Tasks.Task CreateZipDeploymentForStaticSiteAsync (this Microsoft.Azure.Management.WebSites.IStaticSitesOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.StaticSiteZipDeploymentARMResource staticSiteZipDeploymentEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateZipDeploymentForStaticSiteAsync : Microsoft.Azure.Management.WebSites.IStaticSitesOperations * string * string * Microsoft.Azure.Management.WebSites.Models.StaticSiteZipDeploymentARMResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CreateZipDeploymentForStaticSiteAsync (operations As IStaticSitesOperations, resourceGroupName As String, name 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.

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 static site.

Applies to