No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
delete resource_group

delete resource_group

Function

The delete resource_group command is used to delete a resource group.

Format

delete resource_group { name=? | group_id=? }

Parameters

Parameter

Description

Value

name=?

Name of the resource group.

The value consists of 1 to 63 characters, and cannot contain control character or any of the following special characters: /\[]:;|=,+*?<>@. The last character cannot be a period (.).

group_id=?

ID of the resource group.

The value ranges from 0 to 900,000.

Level

Administrator

Usage Guidelines

None

Example

  • Delete a resource group.
    admin:/>delete resource_group group_id=100001 
    WARNING:You are going to delete resource group.This operation may cause access exceptions. 
    Suggestion:Before you perform this operation, determine whether the delete is necessary. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • Delete a resource group.
    admin:/>delete resource_group name=group2 
    WARNING:You are going to delete resource group.This operation may cause access exceptions. 
    Suggestion:Before you perform this operation, determine whether the delete is necessary. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • Query all resource groups.
    admin:/>show resource_group general 
    Resource Group ID Resource Group Name Group Type  
    ----------------- ------------------- ----------  
    99999 Administrators Default  
    100000 default_group Default

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181601

Views: 310241

Downloads: 39

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next