Share via


DeploymentStacksOperationsExtensions.DeleteAtManagementGroupAsync Method

Definition

Overloads

DeleteAtManagementGroupAsync(IDeploymentStacksOperations, String, String, String, String, String, CancellationToken)

Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content.

DeleteAtManagementGroupAsync(IDeploymentStacksOperations, String, String, String, String, String, Nullable<Boolean>, CancellationToken)

Deletes a Deployment stack by name at Management Group scope. When operation completes, status code 200 returned without content.

DeleteAtManagementGroupAsync(IDeploymentStacksOperations, String, String, String, String, String, CancellationToken)

Deletes a Deployment Stack by name. 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, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAtManagementGroupAsync : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * string * string * string * string * 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 cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentStacksDeleteAtManagementGroupHeaders)

Parameters

operations
IDeploymentStacksOperations

The operations group for this extension method.

managementGroupId
String

Management Group.

deploymentStackName
String

Name of the deployment stack.

unmanageActionResources
String

Flag to indicate delete rather than detach for the resources.

unmanageActionResourceGroups
String

Flag to indicate delete rather than detach for the resource groups.

unmanageActionManagementGroups
String

Flag to indicate delete rather than detach for the management groups.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

DeleteAtManagementGroupAsync(IDeploymentStacksOperations, String, String, String, String, String, Nullable<Boolean>, CancellationToken)

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.

bypassStackOutOfSyncError
Nullable<Boolean>

Flag to bypass service errors that indicate the stack resource list is not correctly synchronized.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to