Freigeben über


WebAppsOperationsExtensions.GetDeploymentAsync Methode

Definition

Rufen Sie eine Bereitstellung anhand ihrer ID für eine App oder einen Bereitstellungsslot ab.

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

Bereitstellungs-ID

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Abrufen einer Bereitstellung nach ihrer ID für eine App oder einen Bereitstellungsslot.

Gilt für: