DeploymentStacksOperationsExtensions.DeleteAtSubscriptionAsync 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.
Overloads
DeleteAtSubscriptionAsync(IDeploymentStacksOperations, String, String, String, CancellationToken) |
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content. |
DeleteAtSubscriptionAsync(IDeploymentStacksOperations, String, String, String, String, Nullable<Boolean>, CancellationToken) |
Deletes a Deployment stack by name at Subscription scope. When operation completes, status code 200 returned without content. |
DeleteAtSubscriptionAsync(IDeploymentStacksOperations, 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.DeploymentStacksDeleteAtSubscriptionHeaders> DeleteAtSubscriptionAsync (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string deploymentStackName, string unmanageActionResources = default, string unmanageActionResourceGroups = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAtSubscriptionAsync : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtSubscriptionHeaders>
<Extension()>
Public Function DeleteAtSubscriptionAsync (operations As IDeploymentStacksOperations, deploymentStackName As String, Optional unmanageActionResources As String = Nothing, Optional unmanageActionResourceGroups As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentStacksDeleteAtSubscriptionHeaders)
Parameters
- operations
- IDeploymentStacksOperations
The operations group for this extension method.
- 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
DeleteAtSubscriptionAsync(IDeploymentStacksOperations, String, String, String, String, Nullable<Boolean>, CancellationToken)
Deletes a Deployment stack by name at Subscription scope. When operation completes, status code 200 returned without content.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtSubscriptionHeaders> DeleteAtSubscriptionAsync (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string deploymentStackName, string unmanageActionResources = default, string unmanageActionResourceGroups = default, string unmanageActionManagementGroups = default, bool? bypassStackOutOfSyncError = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAtSubscriptionAsync : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtSubscriptionHeaders>
<Extension()>
Public Function DeleteAtSubscriptionAsync (operations As IDeploymentStacksOperations, 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 DeploymentStacksDeleteAtSubscriptionHeaders)
Parameters
- operations
- IDeploymentStacksOperations
The operations group for this extension method.
- 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.