Freigeben über


WebAppsOperationsExtensions.CreateDeploymentAsync Methode

Definition

Erstellen Sie eine Bereitstellung für eine App oder einen Bereitstellungsslot.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Deployment> CreateDeploymentAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string id, Microsoft.Azure.Management.WebSites.Models.Deployment deployment, System.Threading.CancellationToken cancellationToken = default);
static member CreateDeploymentAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.Deployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Deployment>
<Extension()>
Public Function CreateDeploymentAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, id As String, deployment As Deployment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Deployment)

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name der App

id
String

ID einer vorhandenen Bereitstellung.

deployment
Deployment

Bereitstellungsdetails.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Erstellen einer Bereitstellung für eine App oder eines Bereitstellungsslots.

Gilt für: