OpenAPI User Guide > OpenAPI User Guide > Accessing the Name Server > Name Server Query Syntax > Create Attribute Statement--Create an Attribute Data Definition
Was this helpful?
Create Attribute Statement--Create an Attribute Data Definition
This statement creates an attribute data definition.
This statement has the following syntax:
create global|private attribute vnode attr_name attr_value
This statement has the following parameters:
global|private
Specifies a global or private object. A global object is available to all users on the local node. A private object is available to a single user.
vnode
Specifies the virtual node name to be associated with this attribute data definition.
attr_name
Specifies the name of the attribute.
attr_value
Specifies the value of the attribute.
Example: Create attribute statement
The following example creates a global attribute definition on vnode apitest, where attr_name=connection_type and attr_value=direct:
create global attribute apitest connection_type direct
Last modified date: 08/14/2024