DELETE STGRULE (Delete storage rules for storage pools)

Use this command to delete storage rules for one or more storage pools.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DELete STGRULE--rule_name-----------------------------------><

Parameters

rule_name(Required)
Specifies the name of the storage rule that must be deleted. The maximum length of the name is 30 characters.

Delete a storage rule

Delete a storage rule that is named stgrule1:
delete stgrule stgrule1

Related commands

Table 1. Commands related to DELETE STGRULE
Command Description
DEFINE STGRULE Defines a storage rule.
QUERY STGRULE Displays storage rule information.
UPDATE STGRULE Updates a storage rule.