ConfigurationsOperationsExtensions.CreateInSubscriptionAsync 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> CreateInSubscriptionAsync (this Microsoft.Azure.Management.Advisor.IConfigurationsOperations operations, Microsoft.Azure.Management.Advisor.Models.ConfigData configContract, System.Threading.CancellationToken cancellationToken = default);
static member CreateInSubscriptionAsync : Microsoft.Azure.Management.Advisor.IConfigurationsOperations * Microsoft.Azure.Management.Advisor.Models.ConfigData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody>
<Extension()>
Public Function CreateInSubscriptionAsync (operations As IConfigurationsOperations, configContract As ConfigData, 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Create/Overwrite Azure Advisor configuration and also delete all configurations of contained resource groups.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET