CreateChargebackPlanExadataDetails

class oci.opsi.models.CreateChargebackPlanExadataDetails(**kwargs)

Bases: oci.opsi.models.create_chargeback_plan_details.CreateChargebackPlanDetails

The information about the exadata and chargeback plan.

Attributes

ENTITY_SOURCE_CHARGEBACK_COMPUTE str(object=’’) -> str
ENTITY_SOURCE_CHARGEBACK_EXADATA str(object=’’) -> str
compartment_id [Required] Gets the compartment_id of this CreateChargebackPlanDetails.
defined_tags Gets the defined_tags of this CreateChargebackPlanDetails.
entity_source [Required] Gets the entity_source of this CreateChargebackPlanDetails.
freeform_tags Gets the freeform_tags of this CreateChargebackPlanDetails.
plan_custom_items Gets the plan_custom_items of this CreateChargebackPlanDetails.
plan_description Gets the plan_description of this CreateChargebackPlanDetails.
plan_name [Required] Gets the plan_name of this CreateChargebackPlanDetails.
plan_type [Required] Gets the plan_type of this CreateChargebackPlanDetails.

Methods

__init__(**kwargs) Initializes a new CreateChargebackPlanExadataDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
ENTITY_SOURCE_CHARGEBACK_COMPUTE = 'CHARGEBACK_COMPUTE'
ENTITY_SOURCE_CHARGEBACK_EXADATA = 'CHARGEBACK_EXADATA'
__init__(**kwargs)

Initializes a new CreateChargebackPlanExadataDetails object with values from keyword arguments. The default value of the entity_source attribute of this class is CHARGEBACK_EXADATA and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • entity_source (str) – The value to assign to the entity_source property of this CreateChargebackPlanExadataDetails. Allowed values for this property are: “CHARGEBACK_EXADATA”, “CHARGEBACK_COMPUTE”
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateChargebackPlanExadataDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateChargebackPlanExadataDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateChargebackPlanExadataDetails.
  • plan_name (str) – The value to assign to the plan_name property of this CreateChargebackPlanExadataDetails.
  • plan_description (str) – The value to assign to the plan_description property of this CreateChargebackPlanExadataDetails.
  • plan_type (str) – The value to assign to the plan_type property of this CreateChargebackPlanExadataDetails.
  • plan_custom_items (list[oci.opsi.models.CreatePlanCustomItemDetails]) – The value to assign to the plan_custom_items property of this CreateChargebackPlanExadataDetails.
compartment_id

[Required] Gets the compartment_id of this CreateChargebackPlanDetails. The OCID of the compartment.

Returns:The compartment_id of this CreateChargebackPlanDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateChargebackPlanDetails. 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 CreateChargebackPlanDetails.
Return type:dict(str, dict(str, object))
entity_source

[Required] Gets the entity_source of this CreateChargebackPlanDetails. Source of the chargeback plan.

Allowed values for this property are: “CHARGEBACK_EXADATA”, “CHARGEBACK_COMPUTE”

Returns:The entity_source of this CreateChargebackPlanDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateChargebackPlanDetails. 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 CreateChargebackPlanDetails.
Return type:dict(str, str)
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

plan_custom_items

Gets the plan_custom_items of this CreateChargebackPlanDetails. List of chargeback plan customizations.

Returns:The plan_custom_items of this CreateChargebackPlanDetails.
Return type:list[oci.opsi.models.CreatePlanCustomItemDetails]
plan_description

Gets the plan_description of this CreateChargebackPlanDetails. Description of OPSI Chargeback Plan.

Returns:The plan_description of this CreateChargebackPlanDetails.
Return type:str
plan_name

[Required] Gets the plan_name of this CreateChargebackPlanDetails. Name for the OPSI Chargeback plan.

Returns:The plan_name of this CreateChargebackPlanDetails.
Return type:str
plan_type

[Required] Gets the plan_type of this CreateChargebackPlanDetails. Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.

Returns:The plan_type of this CreateChargebackPlanDetails.
Return type:str