openstack.compute.v2.console_auth_token

ServerRemoteConsole 类

The ConsoleAuthToken 类继承自 Resource

class openstack.compute.v2.console_auth_token.ConsoleAuthToken(_synchronized=False, connection=None, **attrs)

基础资源

参数:
  • _synchronized (bool) – 这不打算直接使用。请参阅 new()existing()

  • connection (openstack.connection.Connection) – 对正在使用的 Connection 的引用。默认为 None,允许在单元测试中等情况下使用不带活动 Connection 的 Resource 对象。Resource 代码中对 self._connection 的使用应使用 None 检查进行保护。

resource_key = 'console'

资源的单数形式的键。

base_path = '/os-console-auth-tokens'

此资源的 URI 的基本部分。

allow_fetch = True

允许对此资源进行获取操作。

instance_uuid

实例 UUID

host

超visor 主机

port

超visor 端口

tls_port

超visor TLS 端口

internal_access_path

内部访问路径