RecommendationsOperationsExtensions.DisableRecommendationForHostingEnvironmentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disables the specific rule for a web site permanently.
public static System.Threading.Tasks.Task DisableRecommendationForHostingEnvironmentAsync (this Microsoft.Azure.Management.WebSites.IRecommendationsOperations operations, string resourceGroupName, string environmentName, string name, string hostingEnvironmentName, System.Threading.CancellationToken cancellationToken = default);
static member DisableRecommendationForHostingEnvironmentAsync : Microsoft.Azure.Management.WebSites.IRecommendationsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DisableRecommendationForHostingEnvironmentAsync (operations As IRecommendationsOperations, resourceGroupName As String, environmentName As String, name As String, hostingEnvironmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IRecommendationsOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group to which the resource belongs.
- environmentName
- String
Site name
- name
- String
Rule name
- hostingEnvironmentName
- String
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Description for Disables the specific rule for a web site permanently.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET