Parameter
EnumParameter
¶
Bases: Parameter
Source code in lib/python/src/aria/ops/definition/parameter.py
__init__(key, values, label=None, description=None, default=None, required=True, advanced=False, display_order=0)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
key |
str
|
Used to identify the parameter. |
required |
values |
list[Union[str, tuple[str, str]]]
|
An array containing all enum values. If 'default' is specified and not part of this array, it will be added as an additional enum value. Enum values are not localizable. |
required |
label |
Optional[str]
|
Label that is displayed in the VMware Aria Operations UI. Defaults to the key. |
None
|
description |
Optional[str]
|
More in-depth explanation of the parameter. Displayed as a tooltip in the VMware Aria Operations UI. |
None
|
default |
Optional[str]
|
The default value of the parameter. |
None
|
required |
bool
|
True if user is required to provide this parameter. Defaults to True. |
True
|
advanced |
bool
|
True if the parameter should be collapsed by default. Defaults to False. |
False
|
display_order |
int
|
Determines the order parameters will be displayed in the UI. |
0
|
Source code in lib/python/src/aria/ops/definition/parameter.py
IntParameter
¶
Bases: Parameter
Source code in lib/python/src/aria/ops/definition/parameter.py
__init__(key, label=None, description=None, default=None, required=True, advanced=False, display_order=0)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
key |
str
|
Used to identify the parameter. |
required |
label |
Optional[str]
|
Label that is displayed in the VMware Aria Operations UI. Defaults to the key. |
None
|
description |
Optional[str]
|
More in-depth explanation of the parameter. Displayed as a tooltip in the VMware Aria Operations UI. |
None
|
default |
Optional[int]
|
The default value of the parameter. |
None
|
required |
bool
|
True if user is required to provide this parameter. Defaults to True. |
True
|
advanced |
bool
|
True if the parameter should be collapsed by default. Defaults to False. |
False
|
display_order |
int
|
Determines the order parameters will be displayed in the UI. |
0
|
Source code in lib/python/src/aria/ops/definition/parameter.py
Parameter
¶
Bases: ABC
Source code in lib/python/src/aria/ops/definition/parameter.py
__init__(key, label=None, description=None, default=None, required=True, advanced=False, display_order=0)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
key |
str
|
Used to identify the parameter. |
required |
label |
Optional[str]
|
Label that is displayed in the VMware Aria Operations UI. Defaults to the key. |
None
|
description |
Optional[str]
|
More in-depth explanation of the parameter. Displayed as a tooltip in the VMware Aria Operations UI. |
None
|
default |
Optional[Union[str, int]]
|
The default value of the parameter. |
None
|
required |
bool
|
True if user is required to provide this parameter. Defaults to True. |
True
|
advanced |
bool
|
True if the parameter should be collapsed by default. Defaults to False. |
False
|
display_order |
int
|
Determines the order parameters will be displayed in the UI. |
0
|
Source code in lib/python/src/aria/ops/definition/parameter.py
StringParameter
¶
Bases: Parameter
Source code in lib/python/src/aria/ops/definition/parameter.py
__init__(key, label=None, description=None, default=None, max_length=512, required=True, advanced=False, display_order=0)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
key |
str
|
Used to identify the parameter. |
required |
label |
Optional[str]
|
Label that is displayed in the VMware Aria Operations UI. Defaults to the key. |
None
|
description |
Optional[str]
|
More in-depth explanation of the parameter. Displayed as a tooltip in the VMware Aria Operations UI. |
None
|
default |
Optional[str]
|
The default value of the parameter. |
None
|
max_length |
int
|
The max length of the parameter value. Defaults to 512. |
512
|
required |
bool
|
True if user is required to provide this parameter. Defaults to True. |
True
|
advanced |
bool
|
True if the parameter should be collapsed by default. Defaults to False. |
False
|
display_order |
int
|
Determines the order parameters will be displayed in the UI. |
0
|