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.

STATE_INVALID

A constant which can be used with the state property of a HostGroupConfiguration.

STATE_VALID

A constant which can be used with the state property of a HostGroupConfiguration.

firmware_bundle_id

Gets the firmware_bundle_id of this HostGroupConfiguration.

quick_recycle_settings

Gets the quick_recycle_settings of this HostGroupConfiguration.

recycle_level

Gets the recycle_level of this HostGroupConfiguration.

state

Gets the state 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”

STATE_INVALID = 'INVALID'

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

STATE_VALID = 'VALID'

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

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

  • quick_recycle_settings (oci.core.models.QuickRecycleSettings) – The value to assign to the quick_recycle_settings property of this HostGroupConfiguration.

  • state (str) – The value to assign to the state property of this HostGroupConfiguration. Allowed values for this property are: “VALID”, “INVALID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property 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

property quick_recycle_settings

Gets the quick_recycle_settings of this HostGroupConfiguration.

Returns

The quick_recycle_settings of this HostGroupConfiguration.

Return type

oci.core.models.QuickRecycleSettings

property 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

property state

Gets the state of this HostGroupConfiguration. The state of the host group configuration.

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

Returns

The state of this HostGroupConfiguration.

Return type

str

property 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