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