CreateFleetDetails

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

Bases: object

The information about new 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.

credentials

Gets the credentials of this CreateFleetDetails.

defined_tags

Gets the defined_tags of this CreateFleetDetails.

description

Gets the description of this CreateFleetDetails.

details

Gets the details of this CreateFleetDetails.

display_name

[Required] Gets the display_name of this CreateFleetDetails.

environment_type

Gets the environment_type of this CreateFleetDetails.

freeform_tags

Gets the freeform_tags of this CreateFleetDetails.

is_target_auto_confirm

Gets the is_target_auto_confirm of this CreateFleetDetails.

notification_preferences

Gets the notification_preferences of this CreateFleetDetails.

parent_fleet_id

Gets the parent_fleet_id of this CreateFleetDetails.

products

Gets the products of this CreateFleetDetails.

properties

Gets the properties of this CreateFleetDetails.

resource_selection

[Required] Gets the resource_selection of this CreateFleetDetails.

resources

Gets the resources 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.

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

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

  • details (oci.fleet_apps_management.models.FleetDetails) – The value to assign to the details property of this CreateFleetDetails.

  • products (list[str]) – The value to assign to the products property of this CreateFleetDetails.

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

  • resource_selection (oci.fleet_apps_management.models.ResourceSelection) – The value to assign to the resource_selection property of this CreateFleetDetails.

  • notification_preferences (list[oci.fleet_apps_management.models.NotificationPreference]) – The value to assign to the notification_preferences property of this CreateFleetDetails.

  • resources (list[oci.fleet_apps_management.models.AssociatedFleetResourceDetails]) – The value to assign to the resources property of this CreateFleetDetails.

  • credentials (list[oci.fleet_apps_management.models.AssociatedFleetCredentialDetails]) – The value to assign to the credentials property of this CreateFleetDetails.

  • properties (list[oci.fleet_apps_management.models.AssociatedFleetPropertyDetails]) – The value to assign to the properties property of this CreateFleetDetails.

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

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

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

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

property compartment_id

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

Returns

The compartment_id of this CreateFleetDetails.

Return type

str

property credentials

Gets the credentials of this CreateFleetDetails. Credentials associated with the Fleet.

Returns

The credentials of this CreateFleetDetails.

Return type

list[oci.fleet_apps_management.models.AssociatedFleetCredentialDetails]

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”}}

Returns

The defined_tags of this CreateFleetDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateFleetDetails. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.

Returns

The description of this CreateFleetDetails.

Return type

str

property details

Gets the details of this CreateFleetDetails.

Returns

The details of this CreateFleetDetails.

Return type

oci.fleet_apps_management.models.FleetDetails

property display_name

[Required] Gets the display_name of this CreateFleetDetails. 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 CreateFleetDetails.

Return type

str

property environment_type

Gets the environment_type of this CreateFleetDetails. Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.

Returns

The environment_type 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”}

Returns

The freeform_tags of this CreateFleetDetails.

Return type

dict(str, str)

property is_target_auto_confirm

Gets the is_target_auto_confirm of this CreateFleetDetails. A value that represents if auto-confirming of the targets can be enabled. This will allow targets to be auto-confirmed in the fleet without manual intervention.

Returns

The is_target_auto_confirm of this CreateFleetDetails.

Return type

bool

property notification_preferences

Gets the notification_preferences of this CreateFleetDetails. Notification Preferences associated with the Fleet.

Returns

The notification_preferences of this CreateFleetDetails.

Return type

list[oci.fleet_apps_management.models.NotificationPreference]

property parent_fleet_id

Gets the parent_fleet_id of this CreateFleetDetails. The OCID of the fleet that would be the parent for this fleet.

Returns

The parent_fleet_id of this CreateFleetDetails.

Return type

str

property products

Gets the products of this CreateFleetDetails. Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.

Returns

The products of this CreateFleetDetails.

Return type

list[str]

property properties

Gets the properties of this CreateFleetDetails. Properties associated with the Fleet.

Returns

The properties of this CreateFleetDetails.

Return type

list[oci.fleet_apps_management.models.AssociatedFleetPropertyDetails]

property resource_selection

[Required] Gets the resource_selection of this CreateFleetDetails.

Returns

The resource_selection of this CreateFleetDetails.

Return type

oci.fleet_apps_management.models.ResourceSelection

property resources

Gets the resources of this CreateFleetDetails. Resources associated with the Fleet if resourceSelectionType is MANUAL.

Returns

The resources of this CreateFleetDetails.

Return type

list[oci.fleet_apps_management.models.AssociatedFleetResourceDetails]