次の方法で共有


WebSiteResource.GetPublishingProfileXmlWithSecretsAsync メソッド

定義

[説明] アプリの発行プロファイルを取得します (指定した場合はデプロイ スロット)。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml
  • 操作IdWebApps_ListPublishingProfileXmlWithSecrets
public virtual System.Threading.Tasks.Task<Azure.Response<System.IO.Stream>> GetPublishingProfileXmlWithSecretsAsync (Azure.ResourceManager.AppService.Models.CsmPublishingProfile publishingProfileOptions, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPublishingProfileXmlWithSecretsAsync : Azure.ResourceManager.AppService.Models.CsmPublishingProfile * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.IO.Stream>>
override this.GetPublishingProfileXmlWithSecretsAsync : Azure.ResourceManager.AppService.Models.CsmPublishingProfile * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.IO.Stream>>
Public Overridable Function GetPublishingProfileXmlWithSecretsAsync (publishingProfileOptions As CsmPublishingProfile, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Stream))

パラメーター

publishingProfileOptions
CsmPublishingProfile

発行プロファイルの publishingProfileOptions を指定します。 たとえば、{"format": "FileZilla3"} を使用して FileZilla 発行プロファイルを取得します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

publishingProfileOptions が null です。

適用対象