共用方式為


RecommendationsOperationsExtensions.DisableAllForHostingEnvironmentAsync 方法

定義

停用應用程式的所有建議。

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

參數

operations
IRecommendationsOperations

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

resourceGroupName
String

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

environmentName
String

應用程式的名稱。

hostingEnvironmentName
String
cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

停用應用程式所有建議的描述。

適用於