ConfigurationsOperationsExtensions.CreateInResourceGroupAsync 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.
Create/Overwrite Azure Advisor configuration.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody> CreateInResourceGroupAsync (this Microsoft.Azure.Management.Advisor.IConfigurationsOperations operations, Microsoft.Azure.Management.Advisor.Models.ConfigData configContract, string resourceGroup, System.Threading.CancellationToken cancellationToken = default);
static member CreateInResourceGroupAsync : Microsoft.Azure.Management.Advisor.IConfigurationsOperations * Microsoft.Azure.Management.Advisor.Models.ConfigData * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody>
<Extension()>
Public Function CreateInResourceGroupAsync (operations As IConfigurationsOperations, configContract As ConfigData, resourceGroup As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ARMErrorResponseBody)
Parameters
- operations
- IConfigurationsOperations
The operations group for this extension method.
- configContract
- ConfigData
The Azure Advisor configuration data structure.
- resourceGroup
- String
The name of the Azure resource group.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
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