FleetProperty¶
- class oci.fleet_apps_management.models.FleetProperty(**kwargs)¶
Bases:
objectProperty to manage fleet metadata details in Fleet Application Management.
Attributes:
A constant which can be used with the lifecycle_state property of a FleetProperty.
A constant which can be used with the lifecycle_state property of a FleetProperty.
A constant which can be used with the lifecycle_state property of a FleetProperty.
A constant which can be used with the selection_type property of a FleetProperty.
A constant which can be used with the selection_type property of a FleetProperty.
A constant which can be used with the selection_type property of a FleetProperty.
A constant which can be used with the value_type property of a FleetProperty.
A constant which can be used with the value_type property of a FleetProperty.
Gets the allowed_values of this FleetProperty.
[Required] Gets the compartment_id of this FleetProperty.
[Required] Gets the display_name of this FleetProperty.
[Required] Gets the id of this FleetProperty.
[Required] Gets the lifecycle_state of this FleetProperty.
Gets the property_id of this FleetProperty.
[Required] Gets the selection_type of this FleetProperty.
Gets the system_tags of this FleetProperty.
[Required] Gets the time_created of this FleetProperty.
Gets the time_updated of this FleetProperty.
Gets the value of this FleetProperty.
[Required] Gets the value_type of this FleetProperty.
Methods:
__init__(**kwargs)Initializes a new FleetProperty object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a FleetProperty. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a FleetProperty. This constant has a value of “DELETED”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a FleetProperty. This constant has a value of “FAILED”
- SELECTION_TYPE_DEFAULT_TEXT = 'DEFAULT_TEXT'¶
A constant which can be used with the selection_type property of a FleetProperty. This constant has a value of “DEFAULT_TEXT”
- SELECTION_TYPE_MULTI_CHOICE = 'MULTI_CHOICE'¶
A constant which can be used with the selection_type property of a FleetProperty. This constant has a value of “MULTI_CHOICE”
- SELECTION_TYPE_SINGLE_CHOICE = 'SINGLE_CHOICE'¶
A constant which can be used with the selection_type property of a FleetProperty. This constant has a value of “SINGLE_CHOICE”
- VALUE_TYPE_NUMERIC = 'NUMERIC'¶
A constant which can be used with the value_type property of a FleetProperty. This constant has a value of “NUMERIC”
- VALUE_TYPE_STRING = 'STRING'¶
A constant which can be used with the value_type property of a FleetProperty. This constant has a value of “STRING”
- __init__(**kwargs)¶
Initializes a new FleetProperty object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this FleetProperty.
compartment_id (str) – The value to assign to the compartment_id property of this FleetProperty.
display_name (str) – The value to assign to the display_name property of this FleetProperty.
time_created (datetime) – The value to assign to the time_created property of this FleetProperty.
time_updated (datetime) – The value to assign to the time_updated property of this FleetProperty.
value (str) – The value to assign to the value property of this FleetProperty.
property_id (str) – The value to assign to the property_id property of this FleetProperty.
selection_type (str) – The value to assign to the selection_type property of this FleetProperty. Allowed values for this property are: “SINGLE_CHOICE”, “MULTI_CHOICE”, “DEFAULT_TEXT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
value_type (str) – The value to assign to the value_type property of this FleetProperty. Allowed values for this property are: “STRING”, “NUMERIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
allowed_values (list[str]) – The value to assign to the allowed_values property of this FleetProperty.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this FleetProperty. Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this FleetProperty.
- property allowed_values¶
Gets the allowed_values of this FleetProperty. Values of the property (must be a single value if selectionType = ‘SINGLE_CHOICE’).
- Returns
The allowed_values of this FleetProperty.
- Return type
list[str]
- property compartment_id¶
[Required] Gets the compartment_id of this FleetProperty. Compartment OCID
- Returns
The compartment_id of this FleetProperty.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this FleetProperty. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
- Returns
The display_name of this FleetProperty.
- Return type
str
- property id¶
[Required] Gets the id of this FleetProperty. The unique id of the resource.
- Returns
The id of this FleetProperty.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this FleetProperty. The current state of the FleetProperty.
Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this FleetProperty.
- Return type
str
- property property_id¶
Gets the property_id of this FleetProperty. OCID referring to global level metadata property.
- Returns
The property_id of this FleetProperty.
- Return type
str
- property selection_type¶
[Required] Gets the selection_type of this FleetProperty. Text selection of the property.
Allowed values for this property are: “SINGLE_CHOICE”, “MULTI_CHOICE”, “DEFAULT_TEXT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The selection_type of this FleetProperty.
- Return type
str
- property system_tags¶
Gets the system_tags of this FleetProperty. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this FleetProperty.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this FleetProperty. The time this resource was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this FleetProperty.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this FleetProperty. The time this resource was last updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this FleetProperty.
- Return type
datetime
- property value¶
Gets the value of this FleetProperty. Value of the Property.
- Returns
The value of this FleetProperty.
- Return type
str
- property value_type¶
[Required] Gets the value_type of this FleetProperty. Format of the value.
Allowed values for this property are: “STRING”, “NUMERIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The value_type of this FleetProperty.
- Return type
str