openstack.identity.v3.identity_provider

IdentityProvider 类

IdentityProvider 类继承自 Resource

class openstack.identity.v3.identity_provider.IdentityProvider(_synchronized=False, connection=None, **attrs)

基础资源

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

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

resource_key = 'identity_provider'

资源的单数形式的键。

resources_key = 'identity_providers'

资源的复数形式的键。

base_path = '/OS-FEDERATION/identity_providers'

此资源的 URI 的基本部分。

allow_create = True

允许对此资源进行创建操作。

allow_fetch = True

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

allow_commit = True

允许对此资源进行更新操作。

allow_delete = True

允许对此资源进行删除操作。

allow_list = True

允许对此资源进行列表操作。

create_method = 'PUT'

创建资源的 HTTP 方法 (POST、PUT)

create_exclude_id_from_body = True

创建是否应从请求主体中排除 ID。

commit_method = 'PATCH'

提交资源的 HTTP 方法 (PUT、PATCH、POST)

description

此身份提供程序的描述。类型:字符串

is_enabled

如果身份提供程序当前已启用。类型:布尔值

remote_ids

与身份提供程序关联的远程 ID。类型:列表

name

身份提供程序的标识符(只读)。类型:字符串