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. -
__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.
- 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.
-
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
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))
-
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
-
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
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)
-