OccCustomerGroupSummary

class oci.capacity_management.models.OccCustomerGroupSummary(**kwargs)

Bases: object

A customer group is a resource that represents the portion of the capacity reserved for a customer or a group of customers to facilitate their capacity bookings.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this OccCustomerGroupSummary.
defined_tags Gets the defined_tags of this OccCustomerGroupSummary.
description Gets the description of this OccCustomerGroupSummary.
display_name [Required] Gets the display_name of this OccCustomerGroupSummary.
freeform_tags Gets the freeform_tags of this OccCustomerGroupSummary.
id [Required] Gets the id of this OccCustomerGroupSummary.
lifecycle_details Gets the lifecycle_details of this OccCustomerGroupSummary.
lifecycle_state [Required] Gets the lifecycle_state of this OccCustomerGroupSummary.
status [Required] Gets the status of this OccCustomerGroupSummary.
system_tags Gets the system_tags of this OccCustomerGroupSummary.
time_created Gets the time_created of this OccCustomerGroupSummary.
time_updated Gets the time_updated of this OccCustomerGroupSummary.
__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this OccCustomerGroupSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this OccCustomerGroupSummary.
  • display_name (str) – The value to assign to the display_name property of this OccCustomerGroupSummary.
  • description (str) – The value to assign to the description property of this OccCustomerGroupSummary.
  • time_created (datetime) – The value to assign to the time_created property of this OccCustomerGroupSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this OccCustomerGroupSummary.
  • status (str) – The value to assign to the status property of this OccCustomerGroupSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OccCustomerGroupSummary.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this OccCustomerGroupSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OccCustomerGroupSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OccCustomerGroupSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this OccCustomerGroupSummary.
compartment_id

[Required] Gets the compartment_id of this OccCustomerGroupSummary. The OCID of the tenancy containing the customer group.

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

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

Gets the description of this OccCustomerGroupSummary. The description about the customer group.

Returns:The description of this OccCustomerGroupSummary.
Return type:str
display_name

[Required] Gets the display_name of this OccCustomerGroupSummary. The display name of the customer group.

Returns:The display_name of this OccCustomerGroupSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this OccCustomerGroupSummary. 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 OccCustomerGroupSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this OccCustomerGroupSummary. The OCID of the customer group.

Returns:The id of this OccCustomerGroupSummary.
Return type:str
lifecycle_details

Gets the lifecycle_details of this OccCustomerGroupSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.

Returns:The lifecycle_details of this OccCustomerGroupSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this OccCustomerGroupSummary. The current lifecycle state of the customer group.

Returns:The lifecycle_state of this OccCustomerGroupSummary.
Return type:str
status

[Required] Gets the status of this OccCustomerGroupSummary. The status (enabled/disabled) of the customer group.

Returns:The status of this OccCustomerGroupSummary.
Return type:str
system_tags

Gets the system_tags of this OccCustomerGroupSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this OccCustomerGroupSummary.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this OccCustomerGroupSummary. The time when the customer group was created.

Returns:The time_created of this OccCustomerGroupSummary.
Return type:datetime
time_updated

Gets the time_updated of this OccCustomerGroupSummary. The time when the customer group was last updated.

Returns:The time_updated of this OccCustomerGroupSummary.
Return type:datetime