Crie um aplicativo de Real User Monitoring (RUM).
Sintaxe
{
"Type": "ALIYUN::ARMS::Rum",
"Properties": {
"AppName": String,
"SiteType": String,
"AppGroup": String,
"Description": String,
"Language": String,
"NickName": String,
"PackageName": String,
"ResourceGroupId": String,
"RealRegionId": String,
"Source": String,
"Tags": List
}
}
Propriedades
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualizável |
Descrição |
Restrições |
|
AppName |
String |
Sim |
Não |
Nome do aplicativo. |
Nenhuma |
|
SiteType |
String |
Sim |
Não |
Tipo do aplicativo. |
Valores válidos:
|
|
AppGroup |
String |
Não |
Não |
Grupo ao qual o aplicativo pertence. |
Nenhuma |
|
Description |
String |
Não |
Sim |
Descrição do aplicativo. |
Nenhuma |
|
Language |
String |
Não |
Não |
Idioma do cliente. |
Nenhuma |
|
NickName |
String |
Não |
Sim |
Nome de exibição do aplicativo. |
Nenhuma |
|
PackageName |
String |
Não |
Não |
Nome do pacote do aplicativo Android. |
Obrigatório ao criar um aplicativo Android. |
|
ResourceGroupId |
String |
Não |
Sim |
ID do grupo de recursos. |
Nenhuma |
|
RealRegionId |
String |
Não |
Não |
Região de acesso ao aplicativo. |
Aplicável apenas ao cenário do Alibaba Finance Cloud em Xangai. |
|
source |
String |
Não |
Não |
Origem do aplicativo. |
Nenhuma |
|
Tags |
List |
Não |
Não |
As tags. |
Para mais informações, consulte Propriedades de Tags. |
Sintaxe de Tags
"Tags": [
{
"Value": String,
"Key": String
}
]
Propriedades de Tags
|
Nome da propriedade |
Tipo |
Obrigatório |
Permite atualizações |
Descrição |
Restrições |
|
Key |
String |
Sim |
Não |
Chave da tag. |
Nenhuma |
|
Value |
String |
Não |
Não |
Valor da tag. |
Nenhuma |
Valores de retorno
Fn::GetAtt
Endpoint: endpoint para relatório de dados do aplicativo.
CdnDomain: nome de domínio CDN do aplicativo.
Pid: ID do aplicativo.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
SiteType:
Type: String
Description:
en: The type of the website.
Required: true
AppName:
Type: String
Description:
en: |-
The name of the RUM application.
The value can be up to 64 characters in length.
Required: true
Resources:
Rum:
Type: ALIYUN::ARMS::Rum
Properties:
SiteType:
Ref: SiteType
AppName:
Ref: AppName
Outputs:
Endpoint:
Description: The endpoint of the RUM application.
Value:
Fn::GetAtt:
- Rum
- Endpoint
CdnDomain:
Description: The CDN domain of the RUM application.
Value:
Fn::GetAtt:
- Rum
- CdnDomain
Pid:
Description: The PID of the RUM application.
Value:
Fn::GetAtt:
- Rum
- Pid
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"SiteType": {
"Type": "String",
"Description": {
"en": "The type of the website."
},
"Required": true
},
"AppName": {
"Type": "String",
"Description": {
"en": "The name of the RUM application.\nThe value can be up to 64 characters in length."
},
"Required": true
}
},
"Resources": {
"Rum": {
"Type": "ALIYUN::ARMS::Rum",
"Properties": {
"SiteType": {
"Ref": "SiteType"
},
"AppName": {
"Ref": "AppName"
}
}
}
},
"Outputs": {
"Endpoint": {
"Description": "The endpoint of the RUM application.",
"Value": {
"Fn::GetAtt": [
"Rum",
"Endpoint"
]
}
},
"CdnDomain": {
"Description": "The CDN domain of the RUM application.",
"Value": {
"Fn::GetAtt": [
"Rum",
"CdnDomain"
]
}
},
"Pid": {
"Description": "The PID of the RUM application.",
"Value": {
"Fn::GetAtt": [
"Rum",
"Pid"
]
}
}
}
}