UpdateOccCustomerGroupDetails¶
- class oci.capacity_management.models.UpdateOccCustomerGroupDetails(**kwargs)¶
Bases:
objectDetails about the update request for updating the customer group.
Attributes:
A constant which can be used with the status property of a UpdateOccCustomerGroupDetails.
A constant which can be used with the status property of a UpdateOccCustomerGroupDetails.
Gets the defined_tags of this UpdateOccCustomerGroupDetails.
Gets the description of this UpdateOccCustomerGroupDetails.
Gets the display_name of this UpdateOccCustomerGroupDetails.
Gets the freeform_tags of this UpdateOccCustomerGroupDetails.
Gets the status of this UpdateOccCustomerGroupDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateOccCustomerGroupDetails object with values from keyword arguments.
- STATUS_DISABLED = 'DISABLED'¶
A constant which can be used with the status property of a UpdateOccCustomerGroupDetails. This constant has a value of “DISABLED”
- STATUS_ENABLED = 'ENABLED'¶
A constant which can be used with the status property of a UpdateOccCustomerGroupDetails. This constant has a value of “ENABLED”
- __init__(**kwargs)¶
Initializes a new UpdateOccCustomerGroupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateOccCustomerGroupDetails.
description (str) – The value to assign to the description property of this UpdateOccCustomerGroupDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateOccCustomerGroupDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateOccCustomerGroupDetails.
status (str) – The value to assign to the status property of this UpdateOccCustomerGroupDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
- property defined_tags¶
Gets the defined_tags of this UpdateOccCustomerGroupDetails. 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 UpdateOccCustomerGroupDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this UpdateOccCustomerGroupDetails. Additional information about the customer group.
- Returns
The description of this UpdateOccCustomerGroupDetails.
- Return type
str
- property display_name¶
Gets the display_name of this UpdateOccCustomerGroupDetails. The display name of the customer group.
- Returns
The display_name of this UpdateOccCustomerGroupDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateOccCustomerGroupDetails. 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 UpdateOccCustomerGroupDetails.
- Return type
dict(str, str)
- property status¶
Gets the status of this UpdateOccCustomerGroupDetails. To determine whether the customer group is enabled/disabled.
Allowed values for this property are: “ENABLED”, “DISABLED”
- Returns
The status of this UpdateOccCustomerGroupDetails.
- Return type
str