Freigeben über


WebSiteSlotResource.GetPublishingProfileXmlWithSecretsSlot Methode

Definition

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml
  • Vorgangs-IdWebApps_ListPublishingProfileXmlWithSecretsSlot
public virtual Azure.Response<System.IO.Stream> GetPublishingProfileXmlWithSecretsSlot (Azure.ResourceManager.AppService.Models.CsmPublishingProfile publishingProfileOptions, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPublishingProfileXmlWithSecretsSlot : Azure.ResourceManager.AppService.Models.CsmPublishingProfile * System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
override this.GetPublishingProfileXmlWithSecretsSlot : Azure.ResourceManager.AppService.Models.CsmPublishingProfile * System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
Public Overridable Function GetPublishingProfileXmlWithSecretsSlot (publishingProfileOptions As CsmPublishingProfile, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Stream)

Parameter

publishingProfileOptions
CsmPublishingProfile

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

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

publishingProfileOptions ist NULL.

Gilt für: