ManagementGroupsOperationsExtensions.Delete Method

Definition

Delete management group. If a management group contains child resources, the request will fail.

public static Microsoft.Azure.Management.ManagementGroups.Models.AzureAsyncOperationResults Delete (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations operations, string groupId, string cacheControl = "no-cache");
static member Delete : Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations * string * string -> Microsoft.Azure.Management.ManagementGroups.Models.AzureAsyncOperationResults
<Extension()>
Public Function Delete (operations As IManagementGroupsOperations, groupId As String, Optional cacheControl As String = "no-cache") As 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.

Returns

Applies to