All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::OOS::ApplicationGroupDeployment

Last Updated:Nov 12, 2025

The ALIYUN::OOS::ApplicationGroupDeployment resource deploys an application group.

Syntax

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

Properties

Property name

Type

Required

Update allowed

Description

Constraints

ApplicationName

String

Yes

No

The application name.

None

Name

String

Yes

No

The application group name.

None

DeployParameters

String

No

No

The deployment configuration of the application group.

Example:

{ "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

No

No

Deployment ID

None

Return value

Fn::GetAtt

None

Examples

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