FleetProperty

class oci.fleet_apps_management.models.FleetProperty(**kwargs)

Bases: object

Property to manage fleet metadata details in Fleet Application Management.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a FleetProperty.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a FleetProperty.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a FleetProperty.
SELECTION_TYPE_DEFAULT_TEXT A constant which can be used with the selection_type property of a FleetProperty.
SELECTION_TYPE_MULTI_CHOICE A constant which can be used with the selection_type property of a FleetProperty.
SELECTION_TYPE_SINGLE_CHOICE A constant which can be used with the selection_type property of a FleetProperty.
VALUE_TYPE_NUMERIC A constant which can be used with the value_type property of a FleetProperty.
VALUE_TYPE_STRING A constant which can be used with the value_type property of a FleetProperty.
allowed_values Gets the allowed_values of this FleetProperty.
compartment_id [Required] Gets the compartment_id of this FleetProperty.
display_name [Required] Gets the display_name of this FleetProperty.
id [Required] Gets the id of this FleetProperty.
lifecycle_state [Required] Gets the lifecycle_state of this FleetProperty.
property_id Gets the property_id of this FleetProperty.
selection_type [Required] Gets the selection_type of this FleetProperty.
system_tags Gets the system_tags of this FleetProperty.
time_created [Required] Gets the time_created of this FleetProperty.
time_updated Gets the time_updated of this FleetProperty.
value Gets the value of this FleetProperty.
value_type [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.
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]
compartment_id

[Required] Gets the compartment_id of this FleetProperty. Tenancy OCID

Returns:The compartment_id of this FleetProperty.
Return type:str
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
id

[Required] Gets the id of this FleetProperty. The unique id of the resource.

Returns:The id of this FleetProperty.
Return type:str
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_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
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
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))
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
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
value

Gets the value of this FleetProperty. Value of the Property.

Returns:The value of this FleetProperty.
Return type:str
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