Share via


DeploymentStacksOperationsExtensions.DeleteAtManagementGroup Method

Definition

Overloads

DeleteAtManagementGroup(IDeploymentStacksOperations, String, String, String, String, String)

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

DeleteAtManagementGroup(IDeploymentStacksOperations, String, String, String, String, String, Nullable<Boolean>)

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

DeleteAtManagementGroup(IDeploymentStacksOperations, String, String, String, String, String)

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

public static Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtManagementGroupHeaders DeleteAtManagementGroup (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string managementGroupId, string deploymentStackName, string unmanageActionResources = default, string unmanageActionResourceGroups = default, string unmanageActionManagementGroups = default);
static member DeleteAtManagementGroup : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * string * string * string * string -> Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtManagementGroupHeaders
<Extension()>
Public Function DeleteAtManagementGroup (operations As IDeploymentStacksOperations, managementGroupId As String, deploymentStackName As String, Optional unmanageActionResources As String = Nothing, Optional unmanageActionResourceGroups As String = Nothing, Optional unmanageActionManagementGroups As String = Nothing) As 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.

Returns

Applies to

DeleteAtManagementGroup(IDeploymentStacksOperations, String, String, String, String, String, Nullable<Boolean>)

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

public static Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtManagementGroupHeaders DeleteAtManagementGroup (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string managementGroupId, string deploymentStackName, string unmanageActionResources = default, string unmanageActionResourceGroups = default, string unmanageActionManagementGroups = default, bool? bypassStackOutOfSyncError = default);
static member DeleteAtManagementGroup : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * string * string * string * string * Nullable<bool> -> Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtManagementGroupHeaders
<Extension()>
Public Function DeleteAtManagementGroup (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) As 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.

Returns

Applies to