glanceclient.v2.metadefs
Module¶glanceclient.v2.metadefs.
NamespaceController
(http_client, schema_client)¶Bases: object
create
(**kwargs)¶Create a namespace.
Parameters: | kwargs – Unpacked namespace object. |
---|
delete
(namespace)¶Delete a namespace.
get
(namespace, **kwargs)¶list
(**kwargs)¶Retrieve a listing of Namespace objects.
Parameters: |
|
---|---|
Returns: | generator over list of Namespaces |
model
¶update
(namespace_name, **kwargs)¶Update a namespace.
Parameters: |
|
---|
glanceclient.v2.metadefs.
ObjectController
(http_client, schema_client)¶Bases: object
create
(namespace, **kwargs)¶Create an object.
Parameters: |
|
---|
delete
(namespace, object_name)¶Delete an object.
delete_all
(namespace)¶Delete all objects in a namespace.
get
(namespace, object_name)¶list
(namespace, **kwargs)¶Retrieve a listing of metadata objects.
Returns: | generator over list of objects |
---|
model
¶update
(namespace, object_name, **kwargs)¶Update an object.
Parameters: |
|
---|
glanceclient.v2.metadefs.
PropertyController
(http_client, schema_client)¶Bases: object
create
(namespace, **kwargs)¶Create a property.
Parameters: |
|
---|
delete
(namespace, prop_name)¶Delete a property.
delete_all
(namespace)¶Delete all properties in a namespace.
get
(namespace, prop_name)¶list
(namespace, **kwargs)¶Retrieve a listing of metadata properties.
Returns: | generator over list of objects |
---|
model
¶update
(namespace, prop_name, **kwargs)¶Update a property.
Parameters: |
|
---|
glanceclient.v2.metadefs.
ResourceTypeController
(http_client, schema_client)¶Bases: object
associate
(namespace, **kwargs)¶Associate a resource type with a namespace.
deassociate
(namespace, resource)¶Deassociate a resource type with a namespace.
get
(namespace)¶list
()¶Retrieve a listing of available resource types.
Returns: | generator over list of resource_types |
---|
model
¶glanceclient.v2.metadefs.
TagController
(http_client, schema_client)¶Bases: object
create
(namespace, tag_name)¶Create a tag.
Parameters: |
|
---|
create_multiple
(namespace, **kwargs)¶Create the list of tags.
Parameters: |
|
---|
delete
(namespace, tag_name)¶Delete a tag.
delete_all
(namespace)¶Delete all tags in a namespace.
get
(namespace, tag_name)¶list
(namespace, **kwargs)¶Retrieve a listing of metadata tags.
Returns: | generator over list of tags. |
---|
model
¶update
(namespace, tag_name, **kwargs)¶Update a tag.
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.