ManagementGroupsOperationsExtensions.DeleteAsync 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.
Delete management group. If a management group contains child resources, the request will fail.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.AzureAsyncOperationResults> DeleteAsync (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations operations, string groupId, string cacheControl = "no-cache", System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.AzureAsyncOperationResults>
<Extension()>
Public Function DeleteAsync (operations As IManagementGroupsOperations, groupId As String, Optional cacheControl As String = "no-cache", Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureAsyncOperationResults)
Parameters
- operations
- IManagementGroupsOperations
The operations group for this extension method.
- groupId
- String
Management Group ID.
- cacheControl
- String
Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches.
- cancellationToken
- CancellationToken
The cancellation token.