Freigeben über


StaticSiteBuildResource.CreateZipDeployment 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 Azure.ResourceManager.ArmOperation CreateZipDeployment (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.StaticSiteZipDeployment staticSiteZipDeploymentEnvelope, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateZipDeployment : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.StaticSiteZipDeployment * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.CreateZipDeployment : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.StaticSiteZipDeployment * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function CreateZipDeployment (waitUntil As WaitUntil, staticSiteZipDeploymentEnvelope As StaticSiteZipDeployment, Optional cancellationToken As CancellationToken = Nothing) As 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: