CreateFleetDetails

class oci.jms.models.CreateFleetDetails(**kwargs)

Bases: object

Attributes to create a Fleet.

Methods:

__init__(**kwargs)

Initializes a new CreateFleetDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateFleetDetails.

defined_tags

Gets the defined_tags of this CreateFleetDetails.

description

Gets the description of this CreateFleetDetails.

display_name

[Required] Gets the display_name of this CreateFleetDetails.

freeform_tags

Gets the freeform_tags of this CreateFleetDetails.

inventory_log

[Required] Gets the inventory_log of this CreateFleetDetails.

is_advanced_features_enabled

Gets the is_advanced_features_enabled of this CreateFleetDetails.

operation_log

Gets the operation_log of this CreateFleetDetails.

__init__(**kwargs)

Initializes a new CreateFleetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • display_name (str) – The value to assign to the display_name property of this CreateFleetDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateFleetDetails.

  • description (str) – The value to assign to the description property of this CreateFleetDetails.

  • inventory_log (oci.jms.models.CustomLog) – The value to assign to the inventory_log property of this CreateFleetDetails.

  • operation_log (oci.jms.models.CustomLog) – The value to assign to the operation_log property of this CreateFleetDetails.

  • is_advanced_features_enabled (bool) – The value to assign to the is_advanced_features_enabled property of this CreateFleetDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateFleetDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateFleetDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateFleetDetails. The OCID of the compartment of the Fleet.

Returns

The compartment_id of this CreateFleetDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateFleetDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}. (See Understanding Free-form Tags).

Returns

The defined_tags of this CreateFleetDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateFleetDetails. The Fleet’s description. If nothing is provided, the Fleet description will be null.

Returns

The description of this CreateFleetDetails.

Return type

str

property display_name

[Required] Gets the display_name of this CreateFleetDetails. The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

Returns

The display_name of this CreateFleetDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateFleetDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}. (See Managing Tags and Tag Namespaces.)

Returns

The freeform_tags of this CreateFleetDetails.

Return type

dict(str, str)

property inventory_log

[Required] Gets the inventory_log of this CreateFleetDetails.

Returns

The inventory_log of this CreateFleetDetails.

Return type

oci.jms.models.CustomLog

property is_advanced_features_enabled

Gets the is_advanced_features_enabled of this CreateFleetDetails. Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.

Returns

The is_advanced_features_enabled of this CreateFleetDetails.

Return type

bool

property operation_log

Gets the operation_log of this CreateFleetDetails.

Returns

The operation_log of this CreateFleetDetails.

Return type

oci.jms.models.CustomLog