更新时间:2023-04-20 GMT+08:00
分享

IAM.UserGroup

模型说明

IAM.UserGroup用于创建用户组。

模型属性

表1 模型定义属性说明

属性

是否必选

描述

description

用户组描述信息

参数类型:string

取值约束:{u'max_length': 255}

使用建议:英文字符,最大长度255

roles

用户组角色

参数类型:IAM.Agency.Role数组

name

用户组名称

参数类型:string

取值说明:英文字符串

取值约束:可取长度为 1-64 的字符串,由英文字母、数字、中划线(- )组成

使用建议:用户自定义

关联关系

输出

属性

参数类型

描述

refName

string

用户组名称

refID

string

用户组ID

blueprint样例

tosca_definitions_version: huaweicloud_tosca_version_1_0
node_templates:
  iamugm9y:
    type: HuaweiCloud.IAM.UserGroup
    properties:
      name:
        get_input: iamugm9y_name
      roles:
        - roleId:
            get_input: iamugm9y_roles_0_roleId
          projectId:
            get_input: iamugm9y_roles_0_projectId
      description:
        get_input: iamugm9y_description
inputs:
  iamugm9y_name:
    description: 用户组名称
    label: ''
  iamugm9y_roles_0_roleId:
    description: '委托权限角色Id,多个id用逗号隔开.'
    label: ''
  iamugm9y_roles_0_projectId:
    description: 委托的项目Id
    label: ''
  iamugm9y_description:
    description: 用户组描述信息
    label: ''
分享:

    相关文档

    相关产品