CCI.Namespace
Element Description
The CCI.Namespace element is used to create a namespace.
Element Properties
Property |
Required |
Descripiton |
---|---|---|
flavor |
Yes |
Used to specify the flavor type of the cluster namespace belongs to. Type: string Value Description: Supports customization. Default: general-computing Value Constraint: he value can be pu-accelerated,general-computing |
name |
No |
NameSpace name Type: string Value Description: Supports customization. Value Constraint: The value contains 3 to 25 characters and cannot be changed. It must start with a letter, consist of letters, digits, and hyphens (-), and meets the following requirement: (^$)|(^[a-z] ([-a-z0-9]*[a-z0-9])?$). |
network |
Yes |
Cloud container instance network object. A network object corresponds to a subnet in the virtual private cloud. Type: CCI.Network Value Description: Supports customization. Default: {u'subnetId': u'unset', u'networkType': u'underlay_neutron', u'securityGroupId': u'unset', u'vpcId': u'unset', u'availableZone': u'unset'} |
Relationships Between Elements
Description |
Target |
---|---|
Connected |
|
Connected |
|
ContainedIn |
Return Value
Property |
Type |
Description |
---|---|---|
refName |
string |
Name of the cci namespace |
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0 inputs: flavor: default: gpu-accelerated type: string name: default: hanyi-ns type: string subnet_id: description: Subnet ID label: '' security_group_id: description: ID of the security group to which the subnet belongs label: '' vpc_id: description: VPC ID label: '' node_templates: my-namespace: properties: flavor: get_input: flavor name: get_input: name network: subnetId: get_input: subnet_id networkType: underlay_neutron securityGroupId: get_input: security_group_id vpcId: get_input: vpc_id availableZone: cnnorth1a type: HuaweiCloud.CCI.Namespace
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot