ALIYUN::ECD::UserDesktopGroupAddition

更新时间:2025-02-28 02:44

ALIYUN::ECD::UserDesktopGroupAddition类型用于为云电脑池添加授权用户。

语法

{
  "Type": "ALIYUN::ECD::UserDesktopGroupAddition",
  "Properties": {
    "DesktopGroupId": String,
    "EndUserIds": List
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

属性名称

类型

必须

允许更新

描述

约束

DesktopGroupId

String

要添加授权用户的云电脑池 ID。

EndUserIds

List

要授权的用户列表。

返回值

Fn::GetAtt

  • DesktopGroupId:要添加授权用户的云电脑池 ID。

  • EndUserIds:要授权的用户列表。

示例

YAML
JSON
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DesktopGroupId:
    Type: String
    Description:
      en: The ID of the desktop group that you want to assign to more regular users.
    Required: true
  EndUserIds:
    AssociationPropertyMetadata:
      Parameter:
        Type: String
        Description:
          en: The regular user to whom you want to assign the desktop group.
        Required: false
    AssociationProperty: List[Parameter]
    Type: Json
    Description:
      en: The regular users to whom you want to assign the desktop group.
    Required: true
    MinLength: 1
    MaxLength: 10000
Resources:
  ExtensionResource:
    Type: ALIYUN::ECD::UserDesktopGroupAddition
    Properties:
      DesktopGroupId:
        Ref: DesktopGroupId
      EndUserIds:
        Ref: EndUserIds
Outputs:
  DesktopGroupId:
    Description: The ID of the desktop group that you want to assign to more regular users.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - DesktopGroupId
  EndUserIds:
    Description: The regular users to whom you want to assign the desktop group.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - EndUserIds
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DesktopGroupId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the desktop group that you want to assign to more regular users."
      },
      "Required": true
    },
    "EndUserIds": {
      "AssociationPropertyMetadata": {
        "Parameter": {
          "Type": "String",
          "Description": {
            "en": "The regular user to whom you want to assign the desktop group."
          },
          "Required": false
        }
      },
      "AssociationProperty": "List[Parameter]",
      "Type": "Json",
      "Description": {
        "en": "The regular users to whom you want to assign the desktop group."
      },
      "Required": true,
      "MinLength": 1,
      "MaxLength": 10000
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::ECD::UserDesktopGroupAddition",
      "Properties": {
        "DesktopGroupId": {
          "Ref": "DesktopGroupId"
        },
        "EndUserIds": {
          "Ref": "EndUserIds"
        }
      }
    }
  },
  "Outputs": {
    "DesktopGroupId": {
      "Description": "The ID of the desktop group that you want to assign to more regular users.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "DesktopGroupId"
        ]
      }
    },
    "EndUserIds": {
      "Description": "The regular users to whom you want to assign the desktop group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "EndUserIds"
        ]
      }
    }
  }
}                 
  • 本页导读 (1)
  • 语法
  • 属性
  • 返回值
  • 示例
文档反馈