ALIYUN::POLARDB::GlobalDatabaseNetwork类型用于创建一个新的全球数据库网络(GDN)。
语法
{
"Type": "ALIYUN::POLARDB::GlobalDatabaseNetwork",
"Properties": {
"ResourceGroupId": String,
"DbClusterId": String,
"GdnDescription": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
ResourceGroupId | String | 否 | 是 | 资源组ID。 | 无 |
DbClusterId | String | 是 | 否 | 主集群ID。 | 无 |
GdnDescription | String | 否 | 是 | GDN备注描述。 | 要求如下:
|
返回值
Fn::GetAtt
- Connections:链接信息。
- DbClusters:GDN中包含的集群。
- DbVersion:数据库引擎版本。
- CreateTime:GDN的创建时间。
- GdnId:GDN ID。
- DbType:数据库引擎类型。
- GdnDescription:GDN备注描述。
示例
JSON
格式{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { }, "Resources": { "ExtensionResource": { "Type": "ALIYUN::POLARDB::GlobalDatabaseNetwork", "Properties": { "DbClusterId": "pc-bp1q76364ird*****", "GdnDescription": "GDN-fortest" } } }, "Outputs": { "Connections": { "Description": "The information about the connection to the cluster.", "Value": { "Fn::GetAtt": [ "ExtensionResource", "Connections" ] } }, "DbClusters": { "Description": "The clusters that are included in the GDN.", "Value": { "Fn::GetAtt": [ "ExtensionResource", "DbClusters" ] } }, "DbVersion": { "Description": "The version of the database engine.", "Value": { "Fn::GetAtt": [ "ExtensionResource", "DbVersion" ] } }, "CreateTime": { "Description": "The time at which the GDN was created.", "Value": { "Fn::GetAtt": [ "ExtensionResource", "CreateTime" ] } }, "GdnId": { "Description": "The ID of the GDN.", "Value": { "Fn::GetAtt": [ "ExtensionResource", "GdnId" ] } }, "DbType": { "Description": "The type of the database engine.", "Value": { "Fn::GetAtt": [ "ExtensionResource", "DbType" ] } }, "GdnDescription": { "Description": "The description of the GDN.", "Value": { "Fn::GetAtt": [ "ExtensionResource", "GdnDescription" ] } } } }