Freigeben über


WebAppsOperationsExtensions.ListPublishingProfileXmlWithSecretsSlotAsync Methode

Definition

Ruft das Veröffentlichungsprofil für eine App ab (oder den Bereitstellungsslot, falls angegeben).

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

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

publishingProfileOptions
CsmPublishingProfileOptions

Gibt publishingProfileOptions für das Veröffentlichungsprofil an. Verwenden Sie beispielsweise {"format": "FileZilla3"}, um ein FileZilla-Veröffentlichungsprofil abzurufen.

slot
String

Name des Bereitstellungsslots. Wenn kein Slot angegeben ist, ruft die API das Veröffentlichungsprofil für den Produktionsslot ab.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Ruft das Veröffentlichungsprofil für eine App (oder einen Bereitstellungsslot ab, falls angegeben).

Gilt für: