novaclient.v2.client.
Client
(api_version=None, auth=None, auth_token=None, auth_url=None, cacert=None, cert=None, direct_use=True, endpoint_override=None, endpoint_type='publicURL', extensions=None, http_log_debug=False, insecure=False, logger=None, os_cache=False, password=None, project_domain_id=None, project_domain_name=None, project_id=None, project_name=None, region_name=None, service_name=None, service_type='compute', session=None, timeout=None, timings=False, user_domain_id=None, user_domain_name=None, user_id=None, username=None, **kwargs)¶Bases: object
Top-level object to access the OpenStack Compute API.
Warning
All scripts and projects should not initialize this class directly. It should be done via novaclient.client.Client interface.
Initialization of Client object.
Parameters: |
|
---|
api_version
¶authenticate
()¶Authenticate against the server.
Normally this is called automatically when you first access the API, but you can call this method to force authentication right now.
Returns on success; raises exceptions.Unauthorized
if the
credentials are wrong.
get_timings
()¶projectid
¶reset_timings
()¶set_management_url
(url)¶tenant_id
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.