HostGroupConfiguration

class oci.core.models.HostGroupConfiguration(**kwargs)

Bases: object

Host group configuration

Attributes

RECYCLE_LEVEL_FULL_RECYCLE A constant which can be used with the recycle_level property of a HostGroupConfiguration.
RECYCLE_LEVEL_SKIP_RECYCLE A constant which can be used with the recycle_level property of a HostGroupConfiguration.
firmware_bundle_id Gets the firmware_bundle_id of this HostGroupConfiguration.
recycle_level Gets the recycle_level of this HostGroupConfiguration.
target Gets the target of this HostGroupConfiguration.

Methods

__init__(**kwargs) Initializes a new HostGroupConfiguration object with values from keyword arguments.
RECYCLE_LEVEL_FULL_RECYCLE = 'FULL_RECYCLE'

A constant which can be used with the recycle_level property of a HostGroupConfiguration. This constant has a value of “FULL_RECYCLE”

RECYCLE_LEVEL_SKIP_RECYCLE = 'SKIP_RECYCLE'

A constant which can be used with the recycle_level property of a HostGroupConfiguration. This constant has a value of “SKIP_RECYCLE”

__init__(**kwargs)

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

Parameters:
  • target (str) – The value to assign to the target property of this HostGroupConfiguration.
  • firmware_bundle_id (str) – The value to assign to the firmware_bundle_id property of this HostGroupConfiguration.
  • recycle_level (str) – The value to assign to the recycle_level property of this HostGroupConfiguration. Allowed values for this property are: “SKIP_RECYCLE”, “FULL_RECYCLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
firmware_bundle_id

Gets the firmware_bundle_id of this HostGroupConfiguration. The OCID for firmware bundle

Returns:The firmware_bundle_id of this HostGroupConfiguration.
Return type:str
recycle_level

Gets the recycle_level of this HostGroupConfiguration. Preferred recycle level for hosts associated with the reservation config. * SKIP_RECYCLE - Skips host wipe. * FULL_RECYCLE - Does not skip host wipe. This is the default behavior.

Allowed values for this property are: “SKIP_RECYCLE”, “FULL_RECYCLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The recycle_level of this HostGroupConfiguration.
Return type:str
target

Gets the target of this HostGroupConfiguration. Either the platform name or compute shape that the configuration is targeting

Returns:The target of this HostGroupConfiguration.
Return type:str