Freigeben über


StaticSiteBuildResource.CreateZipDeploymentAsync Methode

Definition

Beschreibung für Bereitgestellte gezippten Inhalt in einer bestimmten Umgebung einer statischen Website.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/zipdeploy
  • Vorgangs-IdStaticSites_CreateZipDeploymentForStaticSiteBuild
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> CreateZipDeploymentAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.StaticSiteZipDeployment staticSiteZipDeploymentEnvelope, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateZipDeploymentAsync : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.StaticSiteZipDeployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.CreateZipDeploymentAsync : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.StaticSiteZipDeployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function CreateZipDeploymentAsync (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 zeitintensive Vorgang für den Dienst abgeschlossen ist; Started , wenn sie nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführungszeit 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: