Implement metric docs
This change introduces metric docs. There is only one method in the proxy as of right now, so that was easy. Change-Id: Ica327f27b26e5dd4b6744566eb09ea81a6e9583e
This commit is contained in:
@@ -80,6 +80,7 @@ but listed below are the ones provided by this SDK by default.
|
|||||||
Image v2 <proxies/image_v2>
|
Image v2 <proxies/image_v2>
|
||||||
Key Manager <proxies/key_manager>
|
Key Manager <proxies/key_manager>
|
||||||
Network <proxies/network>
|
Network <proxies/network>
|
||||||
|
Metric <proxies/metric>
|
||||||
Object Store <proxies/object_store>
|
Object Store <proxies/object_store>
|
||||||
Orchestration <proxies/orchestration>
|
Orchestration <proxies/orchestration>
|
||||||
Telemetry <proxies/telemetry>
|
Telemetry <proxies/telemetry>
|
||||||
|
18
doc/source/users/proxies/metric.rst
Normal file
18
doc/source/users/proxies/metric.rst
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
Metric API
|
||||||
|
==========
|
||||||
|
|
||||||
|
.. automodule:: openstack.metric.v1._proxy
|
||||||
|
|
||||||
|
The Metric Class
|
||||||
|
----------------
|
||||||
|
|
||||||
|
The metric high-level interface is available through the ``metric``
|
||||||
|
member of a :class:`~openstack.connection.Connection` object. The
|
||||||
|
``metric`` member will only be added if the service is detected.
|
||||||
|
|
||||||
|
Capability Operations
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
.. autoclass:: openstack.metric.v1._proxy.Proxy
|
||||||
|
|
||||||
|
.. automethod:: openstack.metric.v1._proxy.Proxy.capabilities
|
Reference in New Issue
Block a user