Tipe resource ALIYUN::ResourceManager::ResourceGroup digunakan untuk membuat resource group.
Syntax
{
"Type": "ALIYUN::ResourceManager::ResourceGroup",
"Properties": {
"DisplayName": String,
"Name": String,
"Tags": List
}
}Properties
Property name | Type | Required | Update allowed | Description | Constraint |
DisplayName | String | Yes | Yes | Nama tampilan dari resource group. | Panjang: 1 hingga 30 karakter. Dapat berisi karakter Tionghoa, huruf, angka, dan tanda hubung (-). |
Name | String | Yes | No | Pengidentifikasi unik dari resource group. | Panjang: 3 hingga 12 karakter. Harus diawali dengan huruf. Dapat berisi huruf, angka, dan tanda hubung (-). |
Tags | List | No | Yes | Tag-tag tersebut. | Untuk informasi selengkapnya, lihat properti Tags. |
Tags syntax
"Tags": [
{
"Key": String,
"Value": String
}
]Tags property
Property name | Type | Required | Update allowed | Description | Constraint |
Key | String | Yes | No | Kunci tag. | None |
Value | String | No | No | Nilai tag. | None |
Return values
Fn::GetAtt
RegionStatuses: Status resource group di setiap wilayah.
AccountId: ID akun Alibaba Cloud dari resource group.
DisplayName: Nama tampilan resource group.
Id: ID resource group.
Name: Pengidentifikasi unik resource group.
ResourceGroupId: ID resource group.
Examples
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"DisplayName": {
"Type": "String",
"Description": "Nama tampilan dari resource group"
},
"Name": {
"Type": "String",
"Description": "Pengidentifikasi unik dari resource group"
}
},
"Resources": {
"ResourceManagerResourceGroup": {
"Type": "ALIYUN::ResourceManager::ResourceGroup",
"Properties": {
"DisplayName": {
"Ref": "DisplayName"
},
"Name": {
"Ref": "Name"
}
}
}
},
"Outputs": {
"RegionStatuses": {
"Description": "Status resource group di semua wilayah",
"Value": {
"Fn::GetAtt": [
"ResourceManagerResourceGroup",
"RegionStatuses"
]
}
},
"AccountId": {
"Description": "ID akun Alibaba Cloud tempat resource group berada",
"Value": {
"Fn::GetAtt": [
"ResourceManagerResourceGroup",
"AccountId"
]
}
},
"DisplayName": {
"Description": "Nama tampilan dari resource group",
"Value": {
"Fn::GetAtt": [
"ResourceManagerResourceGroup",
"DisplayName"
]
}
},
"Id": {
"Description": "ID dari resource group",
"Value": {
"Fn::GetAtt": [
"ResourceManagerResourceGroup",
"Id"
]
}
},
"Name": {
"Description": "Pengidentifikasi unik dari resource group",
"Value": {
"Fn::GetAtt": [
"ResourceManagerResourceGroup",
"Name"
]
}
}
}
}ROSTemplateFormatVersion: '2015-09-01'
Parameters:
DisplayName:
Type: String
Description: Nama tampilan dari resource group
Name:
Type: String
Description: Pengidentifikasi unik dari resource group
Resources:
ResourceManagerResourceGroup:
Type: 'ALIYUN::ResourceManager::ResourceGroup'
Properties:
DisplayName:
Ref: DisplayName
Name:
Ref: Name
Outputs:
RegionStatuses:
Description: Status resource group di semua wilayah
Value:
'Fn::GetAtt':
- ResourceManagerResourceGroup
- RegionStatuses
AccountId:
Description: ID akun Alibaba Cloud tempat resource group berada
Value:
'Fn::GetAtt':
- ResourceManagerResourceGroup
- AccountId
DisplayName:
Description: Nama tampilan dari resource group
Value:
'Fn::GetAtt':
- ResourceManagerResourceGroup
- DisplayName
Id:
Description: ID dari resource group
Value:
'Fn::GetAtt':
- ResourceManagerResourceGroup
- Id
Name:
Description: Pengidentifikasi unik dari resource group
Value:
'Fn::GetAtt':
- ResourceManagerResourceGroup
- Name