Share via


DeploymentStacksOperationsExtensions.DeleteAtResourceGroupAsync Method

Definition

Overloads

DeleteAtResourceGroupAsync(IDeploymentStacksOperations, String, String, String, String, CancellationToken)

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

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

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

DeleteAtResourceGroupAsync(IDeploymentStacksOperations, 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.DeploymentStacksDeleteAtResourceGroupHeaders> DeleteAtResourceGroupAsync (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string resourceGroupName, string deploymentStackName, string unmanageActionResources = default, string unmanageActionResourceGroups = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAtResourceGroupAsync : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtResourceGroupHeaders>
<Extension()>
Public Function DeleteAtResourceGroupAsync (operations As IDeploymentStacksOperations, resourceGroupName As String, deploymentStackName As String, Optional unmanageActionResources As String = Nothing, Optional unmanageActionResourceGroups As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentStacksDeleteAtResourceGroupHeaders)

Parameters

operations
IDeploymentStacksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

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

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtResourceGroupHeaders> DeleteAtResourceGroupAsync (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string resourceGroupName, string deploymentStackName, string unmanageActionResources = default, string unmanageActionResourceGroups = default, string unmanageActionManagementGroups = default, bool? bypassStackOutOfSyncError = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAtResourceGroupAsync : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * string * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtResourceGroupHeaders>
<Extension()>
Public Function DeleteAtResourceGroupAsync (operations As IDeploymentStacksOperations, resourceGroupName 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 DeploymentStacksDeleteAtResourceGroupHeaders)

Parameters

operations
IDeploymentStacksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

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