Tous les produits
Search
Centre de documentation

Resource Orchestration Service:ALIYUN::HBR::BackupClients

Dernière mise à jour :Aug 10, 2026

La ressource ALIYUN::HBR::BackupClients installe des clients de sauvegarde sur des instances ECS.

Syntaxe

{
  "Type": "ALIYUN::HBR::BackupClients",
  "Properties": {
    "InstanceIds": List,
    "Tags": List
  }
}

Propriétés

Propriété

Type

Obligatoire

Modifiable

Description

Contrainte

InstanceIds

List

Oui

Non

Identifiants des instances ECS sur lesquelles installer les clients de sauvegarde.

20 instances ECS maximum.

Tags

List

Non

Oui

Tags personnalisés.

Pour plus d'informations, consultez la section Propriétés des tags.

Syntaxe des tags

"Tags": [
  {
    "Value": String,
    "Key": String
  }
]

Propriétés des tags

Propriété

Type

Obligatoire

Modifiable

Description

Contrainte

Key

String

Oui

Non

Clé du tag.

De 1 à 128 caractères. Ne doit pas commencer par aliyun ni par acs:. Ne doit pas contenir http:// ni https://.

Value

String

Non

Non

Valeur du tag.

Jusqu'à 128 caractères. Ne doit pas commencer par aliyun ni par acs:. Ne doit pas contenir http:// ni https://.

Valeurs de retour

Fn::GetAtt

  • InstanceIds : identifiants des instances ECS.

  • ClientIds : identifiants des clients de sauvegarde.

  • Arn : nom de ressource Alibaba Cloud (ARN).

Exemples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
 InstanceIds:
  Type: Json
  Description: ID list of instances to install backup client
  MinLength: 1
  MaxLength: 20
Resources:
 BackupClients:
  Type: 'ALIYUN::HBR::BackupClients'
  Properties:
   InstanceIds:
    Ref: InstanceIds
Outputs:
 InstanceIds:
  Description: ID list of instances to install backup client
  Value:
   'Fn::GetAtt':
    - BackupClients
    - InstanceIds
 ClientIds:
  Description: ID list of clients installed in instances
  Value:
   'Fn::GetAtt':
    - BackupClients
    - ClientIds
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "InstanceIds": {
      "Type": "Json",
      "Description": "ID list of instances to install backup client",
      "MinLength": 1,
      "MaxLength": 20
    }
  },
  "Resources": {
    "BackupClients": {
      "Type": "ALIYUN::HBR::BackupClients",
      "Properties": {
        "InstanceIds": {
          "Ref": "InstanceIds"
        }
      }
    }
  },
  "Outputs": {
    "InstanceIds": {
      "Description": "ID list of instances to install backup client",
      "Value": {
        "Fn::GetAtt": [
          "BackupClients",
          "InstanceIds"
        ]
      }
    },
    "ClientIds": {
      "Description": "ID list of clients installed in instances",
      "Value": {
        "Fn::GetAtt": [
          "BackupClients",
          "ClientIds"
        ]
      }
    }
  }
}