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

application_type Gets the application_type of this CreateFleetDetails.
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.
display_name Gets the display_name of this CreateFleetDetails.
environment_type Gets the environment_type of this CreateFleetDetails.
fleet_type [Required] Gets the fleet_type of this CreateFleetDetails.
freeform_tags Gets the freeform_tags of this CreateFleetDetails.
group_type Gets the group_type 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.
products Gets the products of this CreateFleetDetails.
resource_selection_type Gets the resource_selection_type of this CreateFleetDetails.
resources Gets the resources of this CreateFleetDetails.
rule_selection_criteria Gets the rule_selection_criteria 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.
  • fleet_type (str) – The value to assign to the fleet_type property of this CreateFleetDetails.
  • products (list[str]) – The value to assign to the products property of this CreateFleetDetails.
  • application_type (str) – The value to assign to the application_type property of this CreateFleetDetails.
  • environment_type (str) – The value to assign to the environment_type property of this CreateFleetDetails.
  • group_type (str) – The value to assign to the group_type property of this CreateFleetDetails.
  • resource_selection_type (str) – The value to assign to the resource_selection_type property of this CreateFleetDetails.
  • rule_selection_criteria (oci.fleet_apps_management.models.SelectionCriteria) – The value to assign to the rule_selection_criteria property of this CreateFleetDetails.
  • notification_preferences (oci.fleet_apps_management.models.NotificationPreferences) – 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.
  • 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.
application_type

Gets the application_type of this CreateFleetDetails. Product stack associated with the Fleet. Applicable for ENVIRONMENT fleet types.

Returns:The application_type of this CreateFleetDetails.
Return type:str
compartment_id

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

Returns:The compartment_id of this CreateFleetDetails.
Return type:str
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]
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))
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
display_name

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
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
fleet_type

[Required] Gets the fleet_type of this CreateFleetDetails. Type of the Fleet. PRODUCT - A fleet of product-specific resources for a product type. ENVIRONMENT - A fleet of environment-specific resources for a product stack. GROUP - A fleet of a fleet of either environment or product fleets. GENERIC - A fleet of resources selected dynamically or manually for reporting purposes

Returns:The fleet_type of this CreateFleetDetails.
Return type:str
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)
group_type

Gets the group_type of this CreateFleetDetails. Group Type associated with Group Fleet.

Returns:The group_type of this CreateFleetDetails.
Return type:str
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
notification_preferences

Gets the notification_preferences of this CreateFleetDetails.

Returns:The notification_preferences of this CreateFleetDetails.
Return type:oci.fleet_apps_management.models.NotificationPreferences
products

Gets the products of this CreateFleetDetails. Products associated with the Fleet.

Returns:The products of this CreateFleetDetails.
Return type:list[str]
resource_selection_type

Gets the resource_selection_type of this CreateFleetDetails. Type of resource selection in a Fleet. Select resources manually or select resources based on rules.

Returns:The resource_selection_type of this CreateFleetDetails.
Return type:str
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]
rule_selection_criteria

Gets the rule_selection_criteria of this CreateFleetDetails.

Returns:The rule_selection_criteria of this CreateFleetDetails.
Return type:oci.fleet_apps_management.models.SelectionCriteria