Tous les produits
Search
Centre de documentation

CloudOps Orchestration Service:ACS-ECD-BulkyRenewDesktops

Dernière mise à jour :Aug 11, 2026

Nom du modèle

ACS-ECD-BulkyRenewDesktops

Exécuter maintenant

Description du modèle

Renouvelle plusieurs cloud desktops par abonnement en une seule opération.

Type de modèle

Automatisé

Propriétaire

Alibaba Cloud

Paramètres d'entrée

Paramètre

Description

Type de données

Obligatoire

Valeur par défaut

Limite

autoPay

Indique s'il faut activer le paiement automatique.

Boolean

Oui

regionId

ID de la région.

String

Non

{{ ACS::RegionId }}

desktopIds

ID des cloud desktops.

List

Non

[]

periodUnit

Unité de durée du renouvellement. Valeurs valides :

String

Non

Month

period

Durée du renouvellement.

Number

Non

1

rateControl

Paramètres de contrôle du débit.

Json

Non

{'Mode': 'Concurrency', 'MaxErrors': 0, 'Concurrency': 10}

OOSAssumeRole

Rôle RAM endossé par OOS.

String

Non

""

Paramètres de sortie

Sans objet.

Stratégie d'autorisation requise

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "ecd:RenewDesktops"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

Références

ACS-ECD-BulkyRenewDesktops

Contenu du modèle

FormatVersion: OOS-2019-06-01
Description:
  en: Bulky renew subscription cloud desktops
  name-en: ACS-ECD-BulkyRenewDesktops
Parameters:
  regionId:
    Type: String
    Label:
      en: RegionId
    AssociationProperty: RegionId
    Default: '{{ ACS::RegionId }}'
  desktopIds:
    Label:
      en: DesktopIds
    Type: List
    Default: [ ]
  periodUnit:
    Label:
      en: PeriodUnit
    Type: String
    AllowedValues:
      - Year
      - Month
    Default: Month
  period:
    Description:
      en: >-
        The valid values of this parameter are determined by the PeriodUnit value.
        If PeriodUnit is set to Month, the valid values of the Period parameter are 1, 2, 3, and 6.
        If PeriodUnit is set to Year, the valid values of the Period parameter are 1, 2, 3, 4, and 5.
    Label:
      en: Period
    Type: Number
    Default: 1
    MinValue: 1
    MaxValue: 6
  autoPay:
    Description:
      en: >-
        Valid values:
        true: enables automatic payment. Make sure that you have sufficient balance in your account. Otherwise, abnormal orders are generated
        false: generates the order with no payment made. You can log on to the EDS console and complete the payment based on the order number     
    Label:
      en: AutoPay
    Type: Boolean
  rateControl:
    Label:
      en: RateControl
    Type: Json
    AssociationProperty: RateControl
    Default:
      Mode: Concurrency
      MaxErrors: 0
      Concurrency: 10
  OOSAssumeRole:
    Label:
      en: OOSAssumeRole
    Type: String
    Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
  - Name: renewDesktop
    Action: 'ACS::ExecuteAPI'
    Description:
      en: Renew desktops
    Properties:
      Service: ECD
      API: RenewDesktops
      Parameters:
        RegionId: '{{ regionId }}'
        DesktopId:
          - '{{ ACS::TaskLoopItem }}'
        Period: '{{ period }}'
        PeriodUnit: '{{ periodUnit }}'
        AutoPay: '{{ autoPay }}'
    Loop:
      RateControl: '{{ rateControl }}'
      Items: '{{ desktopIds }}'
Metadata:
  ALIYUN::OOS::Interface:
    ParameterGroups:
      - Parameters:
          - periodUnit
          - period
          - autoPay
        Label:
          default:
            en: Configure Parameters
      - Parameters:
          - regionId
          - desktopIds
        Label:
          default:
            en: Select ECD Desktops
      - Parameters:
          - rateControl
          - OOSAssumeRole
        Label:
          default:
            en: Control Options