All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::ECD::UserDesktopGroupAddition

Last Updated:Feb 28, 2025

ALIYUN::ECD::UserDesktopGroupAddition is used grant the permissions on a cloud computer pool to users.

Syntax

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

Properties

Property

Type

Required

Editable

Description

Constraint

DesktopGroupId

String

Yes

No

The ID of the cloud computer pool.

None.

EndUserIds

List

Yes

No

The IDs of the users.

None.

Return values

Fn::GetAtt

  • DesktopGroupId: the ID of the cloud computer pool.

  • EndUserIds: the IDs of the users.

Examples

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"
        ]
      }
    }
  }
}