IDeploymentStacksOperations.BeginDeleteAtResourceGroupWithHttpMessagesAsync 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 Resource Group scope. When operation completes, status code 200 returned without content.
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtResourceGroupHeaders>> BeginDeleteAtResourceGroupWithHttpMessagesAsync (string resourceGroupName, string deploymentStackName, string unmanageActionResources = default, string unmanageActionResourceGroups = default, string unmanageActionManagementGroups = default, bool? bypassStackOutOfSyncError = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginDeleteAtResourceGroupWithHttpMessagesAsync : string * string * string * string * string * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtResourceGroupHeaders>>
Public Function BeginDeleteAtResourceGroupWithHttpMessagesAsync (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 customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationHeaderResponse(Of DeploymentStacksDeleteAtResourceGroupHeaders))
Parameters
- 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.
Flag to bypass service errors that indicate the stack resource list is not correctly synchronized.
- customHeaders
- Dictionary<String,List<String>>
The headers that will be added to request.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Exceptions
Thrown when the operation returned an invalid status code
Remarks
Deletes a Deployment stack by name at Resource Group scope. When operation completes, status code 200 returned without content.