The Alibaba Cloud::SchedulerX::Namespace resource creates a namespace.
Syntax
{
"Type": "ALIYUN::SchedulerX::Namespace",
"Properties": {
"Name": String,
"Description": String,
"Uid": String
}
}Properties
Parameter | Type | Required | Editable | Description | Constraint |
Name | String | Yes | No | The name of the namespace. | None |
Description | String | No | Yes | The description of the namespace. | None |
Uid | String | No | No | The unique identifier (UID) of the namespace, which must be globally unique. | Use a UUID to generate this value. |
Return values
Fn::GetAtt
NamespaceUid: The unique ID of the namespace.
Example
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Uid:
Type: String
Description:
en: The namespace UID must be globally unique. It is recommended to generate it by using a UUID.
Default: Null
Required: false
Name:
Type: String
Description:
en: The name of the namespace.
Required: true
Description:
Type: String
Description:
en: The description of the namespace.
AssociationProperty: TextArea
Default: Null
Required: false
Resources:
Namespace:
Type: ALIYUN::SchedulerX::Namespace
Properties:
Uid:
Ref: Uid
Name:
Ref: Name
Description:
Ref: Description
Outputs:
NamespaceUid:
Value:
Fn::GetAtt:
- Namespace
- NamespaceUid
Description: The ID of the namespace.
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Uid": {
"Type": "String",
"Description": {
"en": "The namespace UID must be globally unique. It is recommended to generate it by using a UUID."
},
"Default": null,
"Required": false
},
"Name": {
"Type": "String",
"Description": {
"en": "The name of the namespace."
},
"Required": true
},
"Description": {
"Type": "String",
"Description": {
"en": "The description of the namespace."
},
"AssociationProperty": "TextArea",
"Default": null,
"Required": false
}
},
"Resources": {
"Namespace": {
"Type": "ALIYUN::SchedulerX::Namespace",
"Properties": {
"Uid": {
"Ref": "Uid"
},
"Name": {
"Ref": "Name"
},
"Description": {
"Ref": "Description"
}
}
}
},
"Outputs": {
"NamespaceUid": {
"Value": {
"Fn::GetAtt": [
"Namespace",
"NamespaceUid"
]
},
"Description": "The ID of the namespace."
}
}
}