NewResourceManagerSdkClient.DeleteResourceGroup 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
DeleteResourceGroup(String, String) |
Deletes a given resource group |
DeleteResourceGroup(String) |
Deletes a given resource group |
DeleteResourceGroup(String, String)
Deletes a given resource group
public virtual void DeleteResourceGroup (string name, string forceDeletionTypes);
abstract member DeleteResourceGroup : string * string -> unit
override this.DeleteResourceGroup : string * string -> unit
Public Overridable Sub DeleteResourceGroup (name As String, forceDeletionTypes As String)
Parameters
- name
- String
The resource group name
- forceDeletionTypes
- String
The resource types you want to force delete. Currently, only the following is supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets
Applies to
DeleteResourceGroup(String)
Deletes a given resource group
public virtual void DeleteResourceGroup (string name);
abstract member DeleteResourceGroup : string -> unit
override this.DeleteResourceGroup : string -> unit
Public Overridable Sub DeleteResourceGroup (name As String)
Parameters
- name
- String
The resource group name