Freigeben über


StaticSiteResource.CreateZipDeploymentForStaticSiteAsync Methode

Definition

Beschreibung für Bereitstellung gezippter Inhalte auf einer statischen Website.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/zipdeploy
  • Vorgang IdStaticSites_CreateZipDeploymentForStaticSite
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> CreateZipDeploymentForStaticSiteAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.StaticSiteZipDeployment staticSiteZipDeploymentEnvelope, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateZipDeploymentForStaticSiteAsync : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.StaticSiteZipDeployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.CreateZipDeploymentForStaticSiteAsync : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.StaticSiteZipDeployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function CreateZipDeploymentForStaticSiteAsync (waitUntil As WaitUntil, staticSiteZipDeploymentEnvelope As StaticSiteZipDeployment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der lange ausgeführte Vorgang für den Dienst abgeschlossen ist; Started , wenn es nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführung finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

staticSiteZipDeploymentEnvelope
StaticSiteZipDeployment

Eine JSON-Darstellung der StaticSiteZipDeployment-Eigenschaften. Weitere Informationen sind im Beispiel enthalten.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

staticSiteZipDeploymentEnvelope ist NULL.

Gilt für: