Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

14.33. gnocchi resource-type create

usage: gnocchi resource-type create [-h] [-f {json,shell,table,value,yaml}]
                                    [-c COLUMN] [--max-width <integer>]
                                    [--noindent] [--prefix PREFIX]
                                    [-a ATTRIBUTE]
                                    name
Create a resource type

Positional arguments

name


        name of the resource type

Optional arguments

-h, --help


        show this help message and exit

-a ATTRIBUTE, --attribute ATTRIBUTE


      attribute definition, attribute_name:attribute_type:at
      tribute_is_required:attribute_type_option_name=attribu
      te_type_option_value:… For example:
      display_name:string:true:max_length=255