Tous les produits
Search
Centre de documentation

CloudOps Orchestration Service:ACS-ECD-BulkyModifyDesktopChargeType

Dernière mise à jour :Aug 11, 2026

Nom du modèle

ACS-ECD-BulkyModifyDesktopChargeType

Exécuter maintenant

Description du modèle

Modifie le mode de facturation de plusieurs cloud desktops simultanément.

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**
| | --- | --- | --- | --- | --- | --- | |
desktopIds
|
Les ID des cloud desktops.
|
List
|
Oui
| | | |
periodUnit
|
L'unité de la période d'abonnement.
|
String
|
Oui
| | | |
period
|
La période d'abonnement.
|
Number
|
Oui
| | | |
regionId
|
L'ID de la région.
|
String
|
Non
|
{{ ACS::RegionId }}
| | |
desktopChargeType
|
Le mode de facturation cible pour les cloud desktops.
|
String
|
Non
|
PrePaid
| | |
autoPay
|
Indique si le paiement automatique est activé.
|
Boolean
|
Non
|
True
| | |
rateControl
|
Les paramètres de contrôle du débit.
|
Json
|
Non
|
{'Mode': 'Concurrency', 'MaxErrors': 0, 'Concurrency': 10}
| | |
OOSAssumeRole
|
Le rôle RAM assumé par CloudOps Orchestration Service (OOS).
|
String
|
Non
|
""
| |

Paramètres de sortie

S.O.

Politique d'autorisation requise pour exécuter le modèle

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

Références

ACS-ECD-BulkyModifyDesktopChargeType

Contenu du modèle

FormatVersion: OOS-2019-06-01
Description:
  en: Bulky Modify ECD desktop charge type   
  name-en: ACS-ECD-BulkyModifyDesktopChargeType  
Parameters:
  regionId:
    Label:
      en: RegionId      
    Type: String
    AssociationProperty: RegionId
    Default: '{{ ACS::RegionId }}'
  desktopIds:
    Label:
      en: DesktopIds     
    Type: List
  desktopChargeType:
    Description:
      en: Currently only supports conversion from postpaid to monthly prepaid, and the value is PrePaid      
    Label:
      en: DesktopChargeType      
    Type: String
    AllowedValues:
      - PrePaid
    Default: PrePaid
  periodUnit:
    Label:
      en: PeriodUnit      
    Type: String
    AllowedValues:
      - Week
      - Month
      - Year
  period:
    Description:
      en: "Valid values:
          Valid values when PeriodUnit is set to Week: 1.
          Valid values when PeriodUnit is set to Month: 1, 2, 3, and 6.
          Valid values when PeriodUnit is set to Month: 1, 2, 3, 4, and 5."       
    Label:
      en: Period      
    Type: Number
    AllowedValues:
      - 1
      - 2
      - 3
      - 4
      - 5
      - 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
    Default: true
  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: modifyDesktopChargeType
    Description:
      en: Modify desktop charge type      
    Action: ACS::ECD::ModifyDesktopChargeType
    Properties:
      regionId: '{{ regionId }}'
      desktopId: '{{ ACS::TaskLoopItem }}'
      desktopChargeType: '{{ desktopChargeType }}'
      period: '{{ period }}'
      periodUnit: '{{ periodUnit }}'
      autoPay: '{{ autoPay }}'
    Loop:
      RateControl: '{{ rateControl }}'
      Items: '{{ desktopIds }}'
Metadata:
  ALIYUN::OOS::Interface:
    ParameterGroups:
      - Parameters:
          - desktopChargeType
          - 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