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
Copy to Clipboard Toggle word wrap
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

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat