IDeploymentStacksOperations.DeleteAtResourceGroupWithHttpMessagesAsync 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
DeleteAtResourceGroupWithHttpMessagesAsync(String, String, String, String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken) |
Deletes a Deployment stack by name at Resource Group scope. When operation completes, status code 200 returned without content. |
DeleteAtResourceGroupWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken) |
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content. |
DeleteAtResourceGroupWithHttpMessagesAsync(String, String, String, String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)
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>> DeleteAtResourceGroupWithHttpMessagesAsync (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 DeleteAtResourceGroupWithHttpMessagesAsync : 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 DeleteAtResourceGroupWithHttpMessagesAsync (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.
Applies to
DeleteAtResourceGroupWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content.
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.Resources.Models.DeploymentStacksDeleteAtResourceGroupHeaders>> DeleteAtResourceGroupWithHttpMessagesAsync (string resourceGroupName, string deploymentStackName, string unmanageActionResources = default, string unmanageActionResourceGroups = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAtResourceGroupWithHttpMessagesAsync : string * string * string * string * 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 DeleteAtResourceGroupWithHttpMessagesAsync (resourceGroupName As String, deploymentStackName As String, Optional unmanageActionResources As String = Nothing, Optional unmanageActionResourceGroups As String = 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 the resources.
- unmanageActionResourceGroups
- String
Flag to indicate delete rather than detach for the resource groups.
- 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
Thrown when a required parameter is null
Thrown when the operation returned an invalid status code
Remarks
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content.