共用方式為


WebAppsOperationsExtensions.GenerateNewSitePublishingPasswordAsync 方法

定義

如果指定) ,則為應用程式 (或部署位置產生新的發佈密碼。

public static System.Threading.Tasks.Task GenerateNewSitePublishingPasswordAsync(this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, System.Threading.CancellationToken cancellationToken = default);
static member GenerateNewSitePublishingPasswordAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function GenerateNewSitePublishingPasswordAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

operations
IWebAppsOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

name
String

應用程式的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

如果指定) ,則為應用程式產生新的發佈密碼 (或部署位置的描述。

適用於