ALIYUN::ESA::EdgeContainerAppRecord类型用于创建边缘容器应用的关联域名。
语法
{
"Type": "ALIYUN::ESA::EdgeContainerAppRecord",
"Properties": {
"AppId": String,
"RecordName": String,
"SiteId": Integer
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
AppId | String | 是 | 否 | 应用 ID。 | 无 |
RecordName | String | 是 | 否 | 关联域名名称。 | 无 |
SiteId | Integer | 是 | 否 | 站点 ID。 | 无 |
返回值
Fn::GetAtt
RecordName:关联域名名称。
SiteId:站点 ID。
AppId:应用 ID。
CreateTime:创建时间。
UpdateTime:更新时间。
RecordId:关联域名的记录 ID。
ConfigId:关联域名的配置 ID。
SchemdId:关联域名的调度域 ID。
Cname:关联域名对应的 CNAME 域名。
示例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RecordName:
Type: String
Description:
en: The associated domain name.
Required: true
SiteId:
Type: Number
Description:
en: The website ID.
Required: true
AppId:
Type: String
Description:
en: The application ID.
Required: true
Resources:
ExtensionResource:
Type: ALIYUN::ESA::EdgeContainerAppRecord
Properties:
RecordName:
Ref: RecordName
SiteId:
Ref: SiteId
AppId:
Ref: AppId
Outputs:
RecordName:
Description: The associated domain name.
Value:
Fn::GetAtt:
- ExtensionResource
- RecordName
SiteId:
Description: The website ID.
Value:
Fn::GetAtt:
- ExtensionResource
- SiteId
AppId:
Description: The application ID.
Value:
Fn::GetAtt:
- ExtensionResource
- AppId
CreateTime:
Description: The time when the domain name was added. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.
Value:
Fn::GetAtt:
- ExtensionResource
- CreateTime
UpdateTime:
Description: The time when the scheduling domain ID or CNAME was last modified. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.
Value:
Fn::GetAtt:
- ExtensionResource
- UpdateTime
RecordId:
Description: The record ID of the associated domain name.
Value:
Fn::GetAtt:
- ExtensionResource
- RecordId
ConfigId:
Description: The configuration ID of the associated domain name.
Value:
Fn::GetAtt:
- ExtensionResource
- ConfigId
SchemdId:
Description: The scheduling domain ID of the associated domain name.
Value:
Fn::GetAtt:
- ExtensionResource
- SchemdId
Cname:
Description: The CNAME of the associated domain name.
Value:
Fn::GetAtt:
- ExtensionResource
- Cname
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RecordName": {
"Type": "String",
"Description": {
"en": "The associated domain name."
},
"Required": true
},
"SiteId": {
"Type": "Number",
"Description": {
"en": "The website ID."
},
"Required": true
},
"AppId": {
"Type": "String",
"Description": {
"en": "The application ID."
},
"Required": true
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::ESA::EdgeContainerAppRecord",
"Properties": {
"RecordName": {
"Ref": "RecordName"
},
"SiteId": {
"Ref": "SiteId"
},
"AppId": {
"Ref": "AppId"
}
}
}
},
"Outputs": {
"RecordName": {
"Description": "The associated domain name.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"RecordName"
]
}
},
"SiteId": {
"Description": "The website ID.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"SiteId"
]
}
},
"AppId": {
"Description": "The application ID.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"AppId"
]
}
},
"CreateTime": {
"Description": "The time when the domain name was added. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"CreateTime"
]
}
},
"UpdateTime": {
"Description": "The time when the scheduling domain ID or CNAME was last modified. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"UpdateTime"
]
}
},
"RecordId": {
"Description": "The record ID of the associated domain name.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"RecordId"
]
}
},
"ConfigId": {
"Description": "The configuration ID of the associated domain name.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"ConfigId"
]
}
},
"SchemdId": {
"Description": "The scheduling domain ID of the associated domain name.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"SchemdId"
]
}
},
"Cname": {
"Description": "The CNAME of the associated domain name.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"Cname"
]
}
}
}
}
该文章对您有帮助吗?