Red Hat Training

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

2.184. openstack metric resource create

usage: openstack metric resource create [-h]
                                        [-f {json,shell,table,value,yaml}]
                                        [-c COLUMN] [--max-width <integer>]
                                        [--noindent] [--prefix PREFIX]
                                        [--type RESOURCE_TYPE] [-a ATTRIBUTE]
                                        [-m ADD_METRIC] [-n CREATE_METRIC]
                                        resource_id
Create a resource

Positional arguments

resource_id


        ID of the resource

Optional arguments

-h, --help


        show this help message and exit

--type RESOURCE_TYPE, -t RESOURCE_TYPE


      Type of resource

-a ATTRIBUTE, --attribute ATTRIBUTE


      name and value of an attribute separated with a ':'

-m ADD_METRIC, --add-metric ADD_METRIC


      name:id of a metric to add

-n CREATE_METRIC, --create-metric CREATE_METRIC


      name:archive_policy_name of a metric to create