DeploymentStacksOperationsExtensions.DeleteAtManagementGroupAsync 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.
Deletes a Deployment stack by name at Management Group scope. When operation completes, status code 200 returned without content.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtManagementGroupHeaders> DeleteAtManagementGroupAsync (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string managementGroupId, string deploymentStackName, string unmanageActionResources = default, string unmanageActionResourceGroups = default, string unmanageActionManagementGroups = default, bool? bypassStackOutOfSyncError = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAtManagementGroupAsync : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * string * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtManagementGroupHeaders>
<Extension()>
Public Function DeleteAtManagementGroupAsync (operations As IDeploymentStacksOperations, managementGroupId As String, deploymentStackName As String, Optional unmanageActionResources As String = Nothing, Optional unmanageActionResourceGroups As String = Nothing, Optional unmanageActionManagementGroups As String = Nothing, Optional bypassStackOutOfSyncError As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentStacksDeleteAtManagementGroupHeaders)
Parameters
- operations
- IDeploymentStacksOperations
The operations group for this extension method.
- managementGroupId
- String
Management Group id.
- deploymentStackName
- String
Name of the deployment stack.
- unmanageActionResources
- String
Flag to indicate delete rather than detach for unmanaged resources.
- unmanageActionResourceGroups
- String
Flag to indicate delete rather than detach for unmanaged resource groups.
- unmanageActionManagementGroups
- String
Flag to indicate delete rather than detach for unmanaged management groups.
Flag to bypass service errors that indicate the stack resource list is not correctly synchronized.
- cancellationToken
- CancellationToken
The cancellation token.