Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::OOS::ApplicationGroupDeployment

Última atualização: Jun 27, 2026

Implanta um grupo de aplicativos do OOS.

Sintaxe

{
  "Type": "ALIYUN::OOS::ApplicationGroupDeployment",
  "Properties": {
    "ApplicationName": String,
    "Name": String,
    "DeployParameters": String,
    "RevisionId": String
  }
}

Propriedades

Nome da propriedade

Tipo

Obrigatório

Atualização permitida

Descrição

Restrições

ApplicationName

String

Sim

Não

Nome do aplicativo.

Nenhuma

Name

String

Sim

Não

Nome do grupo de aplicativos.

Nenhuma

DeployParameters

String

Não

Não

Configuração de implantação do grupo de aplicativos.

Exemplo:

{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" }

RevisionId

String

Não

Não

ID da implantação.

Nenhuma

Valores de retorno

Fn::GetAtt

  • ExecutionId: ID de execução da implantação.

  • ApplicationName: nome do aplicativo.

  • Name: nome do grupo de aplicativos.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ApplicationName:
    Type: String
    Description:
      en: The name of the application.
    Required: true
    MinLength: 1
    MaxLength: 100
  RevisionId:
    Type: String
    Description:
      en: The ID of the revision.
    Required: false
  Name:
    Type: String
    Description:
      en: The name of the application group.
    Required: true
    MinLength: 1
    MaxLength: 100
Resources:
  ApplicationGroupDeployment:
    Type: ALIYUN::OOS::ApplicationGroupDeployment
    Properties:
      ApplicationName:
        Ref: ApplicationName
      RevisionId:
        Ref: RevisionId
      Name:
        Ref: Name
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ApplicationName": {
      "Type": "String",
      "Description": {
        "en": "The name of the application."
      },
      "Required": true,
      "MinLength": 1,
      "MaxLength": 100
    },
    "RevisionId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the revision."
      },
      "Required": false
    },
    "Name": {
      "Type": "String",
      "Description": {
        "en": "The name of the application group."
      },
      "Required": true,
      "MinLength": 1,
      "MaxLength": 100
    }
  },
  "Resources": {
    "ApplicationGroupDeployment": {
      "Type": "ALIYUN::OOS::ApplicationGroupDeployment",
      "Properties": {
        "ApplicationName": {
          "Ref": "ApplicationName"
        },
        "RevisionId": {
          "Ref": "RevisionId"
        },
        "Name": {
          "Ref": "Name"
        }
      }
    }
  }
}