UsageEligibility

class oci.ccd_offers.models.UsageEligibility(**kwargs)

Bases: object

The CCD commitment applicability restrictions. If the CCD offer has been created with any region- or AD-specific offer restriction, then it will be honored first over the usage eligibility criteria.

Methods

__init__(**kwargs) Initializes a new UsageEligibility object with values from keyword arguments.

Attributes

availability_domain Gets the availability_domain of this UsageEligibility.
compartment_ids Gets the compartment_ids of this UsageEligibility.
region Gets the region of this UsageEligibility.
tenancy_ids Gets the tenancy_ids of this UsageEligibility.
__init__(**kwargs)

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

Parameters:
  • compartment_ids (list[str]) – The value to assign to the compartment_ids property of this UsageEligibility.
  • region (str) – The value to assign to the region property of this UsageEligibility.
  • availability_domain (str) – The value to assign to the availability_domain property of this UsageEligibility.
  • tenancy_ids (list[str]) – The value to assign to the tenancy_ids property of this UsageEligibility.
availability_domain

Gets the availability_domain of this UsageEligibility. The Availability Domain the CCD is applicable to. If you’re setting the availabilityDomain, ensure to also set the region property value. If the CCD offer has already been restricted to a specific Availability Domain, then the offer will supersede this input.

Returns:The availability_domain of this UsageEligibility.
Return type:str
compartment_ids

Gets the compartment_ids of this UsageEligibility. The compartment OCID the CCD commitment is applicable to.

Returns:The compartment_ids of this UsageEligibility.
Return type:list[str]
region

Gets the region of this UsageEligibility. The region the CCD commitment is applicable to. If the CCD offer has already been restricted to any specific region, then the offer will supersede this input.

Returns:The region of this UsageEligibility.
Return type:str
tenancy_ids

Gets the tenancy_ids of this UsageEligibility. The tenancy IDs the CCD commitment is applicable to.

Returns:The tenancy_ids of this UsageEligibility.
Return type:list[str]