ALIYUN::OOS::ApplicationGroupDeployment类型用于部署应用分组。
语法
{
"Type": "ALIYUN::OOS::ApplicationGroupDeployment",
"Properties": {
"ApplicationName": String,
"Name": String,
"DeployParameters": String,
"RevisionId": String
}
}属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
ApplicationName | String | 是 | 否 | 应用名称。 | 无 |
Name | String | 是 | 否 | 应用分组名称。 | 无 |
DeployParameters | String | 否 | 否 | 应用分组部署配置信息。 | 示例: |
RevisionId | String | 否 | 否 | 部署物 ID。 | 无 |
返回值
Fn::GetAtt
无
示例
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"
}
}
}
}
}
该文章对您有帮助吗?