O recurso ALIYUN::ARMS::RetcodeApp cria uma tarefa de monitoramento de navegador.
Sintaxe
{
"Type": "ALIYUN::ARMS::RetcodeApp",
"Properties": {
"RetcodeAppType": String,
"RegionId": String,
"RetcodeAppName": String
}
}
Propriedades
Propriedade | Tipo | Obrigatório | Editável | Descrição | Restrição |
RegionId | String | Sim | Não | ID da região. | Valores válidos:
|
RetcodeAppName | String | Sim | Não | Nome do aplicativo associado à tarefa de monitoramento de navegador. | Nenhuma. |
RetcodeAppType | String | Sim | Não | Tipo do aplicativo associado à tarefa de monitoramento de navegador. | Valores válidos:
|
Valores de retorno
Fn::GetAtt
Pid: ID do processo (PID).
AppId: ID do aplicativo.
Exemplos
Formato YAML
ROSTemplateFormatVersion: '2015-09-01'
Resources:
RetcodeApp:
Type: 'ALIYUN::ARMS::RetcodeApp'
Properties:
RetcodeAppType:
Ref: RetcodeAppType
RegionId:
Ref: RegionId
RetcodeAppName:
Ref: RetcodeAppName
Parameters:
RetcodeAppType:
Type: String
Description: >-
The type of the application for which you want to create the browser
monitoring job. Allowed values: web, weex, mini_dd, mini_alipay, mini_wx,
mini_common.
RegionId:
Default: cn-hangzhou
Type: String
Description: >-
Region ID. Allowed values: cn-hangzhou, ap-southeast-1. Default to
cn-hangzhou.
AllowedValues:
- cn-hangzhou
- ap-southeast-1
RetcodeAppName:
Type: String
Description: >-
The name of the application for which you want to create the browser
monitoring job.
Outputs:
Pid:
Description: The PID.
Value:
'Fn::GetAtt':
- RetcodeApp
- Pid
AppId:
Description: >-
The ID of the application for which you created the browser monitoring
job.
Value:
'Fn::GetAtt':
- RetcodeApp
- AppId
Formato JSON
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"RetcodeApp": {
"Type": "ALIYUN::ARMS::RetcodeApp",
"Properties": {
"RetcodeAppType": {
"Ref": "RetcodeAppType"
},
"RegionId": {
"Ref": "RegionId"
},
"RetcodeAppName": {
"Ref": "RetcodeAppName"
}
}
}
},
"Parameters": {
"RetcodeAppType": {
"Type": "String",
"Description": "The type of the application for which you want to create the browser monitoring job. Allowed values: web, weex, mini_dd, mini_alipay, mini_wx, mini_common."
},
"RegionId": {
"Default": "cn-hangzhou",
"Type": "String",
"Description": "Region ID. Allowed values: cn-hangzhou, ap-southeast-1. Default to cn-hangzhou.",
"AllowedValues": [
"cn-hangzhou",
"ap-southeast-1"
]
},
"RetcodeAppName": {
"Type": "String",
"Description": "The name of the application for which you want to create the browser monitoring job."
}
},
"Outputs": {
"Pid": {
"Description": "The PID.",
"Value": {
"Fn::GetAtt": [
"RetcodeApp",
"Pid"
]
}
},
"AppId": {
"Description": "The ID of the application for which you created the browser monitoring job.",
"Value": {
"Fn::GetAtt": [
"RetcodeApp",
"AppId"
]
}
}
}
}