Delete Group

Microsoft.Windows.Cluster.HostedGroup.Delete (Task)

This task deletes a Resource Group from cluster.

Knowledge Base article:

Summary

his task deletes a resource group from the cluster.

Resolutions

In case the task failed due to insufficient permissions, you can grant the 'Default Action Account' from Root Management Server the rights to administer the cluster using the Cluster Administration console, or you can configure the 'Windows Cluster Action Account' Run As profile with an account that has access to the cluster.

Element properties:

TargetMicrosoft.Windows.Cluster.HostedGroup
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.Cluster.Group.Action Default

Source Code:

<Task ID="Microsoft.Windows.Cluster.HostedGroup.Delete" Accessibility="Public" Enabled="true" Target="ClusLibrary!Microsoft.Windows.Cluster.HostedGroup" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Cluster.Group.Action">
<NodeName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.HostedGroup']/NodeName$</NodeName>
<GroupName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.HostedGroup']/EscapedGroupName$</GroupName>
<MethodName>Delete</MethodName>
<TimeoutSeconds>360</TimeoutSeconds>
</WriteAction>
</Task>