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.

Tip: A retention-copy storage rule is automatically deleted when its associated retention storage pool is deleted.

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

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.