LimitItem

class oci.cims.models.LimitItem(**kwargs)

Bases: oci.cims.models.item.Item

Details about the LimitItem object.

Attributes

LIMIT_STATUS_APPROVED A constant which can be used with the limit_status property of a LimitItem.
LIMIT_STATUS_NOT_APPROVED A constant which can be used with the limit_status property of a LimitItem.
LIMIT_STATUS_PARTIALLY_APPROVED A constant which can be used with the limit_status property of a LimitItem.
LIMIT_STATUS_REJECTED A constant which can be used with the limit_status property of a LimitItem.
category Gets the category of this Item.
current_limit Gets the current_limit of this LimitItem.
current_usage Gets the current_usage of this LimitItem.
customer_message Gets the customer_message of this LimitItem.
issue_type Gets the issue_type of this Item.
item_key Gets the item_key of this Item.
limit_status Gets the limit_status of this LimitItem.
name Gets the name of this Item.
requested_limit Gets the requested_limit of this LimitItem.
sub_category Gets the sub_category of this Item.
type Gets the type of this Item.

Methods

__init__(**kwargs) Initializes a new LimitItem 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.
LIMIT_STATUS_APPROVED = 'APPROVED'

A constant which can be used with the limit_status property of a LimitItem. This constant has a value of “APPROVED”

LIMIT_STATUS_NOT_APPROVED = 'NOT_APPROVED'

A constant which can be used with the limit_status property of a LimitItem. This constant has a value of “NOT_APPROVED”

LIMIT_STATUS_PARTIALLY_APPROVED = 'PARTIALLY_APPROVED'

A constant which can be used with the limit_status property of a LimitItem. This constant has a value of “PARTIALLY_APPROVED”

LIMIT_STATUS_REJECTED = 'REJECTED'

A constant which can be used with the limit_status property of a LimitItem. This constant has a value of “REJECTED”

__init__(**kwargs)

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

Parameters:
  • item_key (str) – The value to assign to the item_key property of this LimitItem.
  • name (str) – The value to assign to the name property of this LimitItem.
  • type (str) – The value to assign to the type property of this LimitItem.
  • category (oci.cims.models.Category) – The value to assign to the category property of this LimitItem.
  • sub_category (oci.cims.models.SubCategory) – The value to assign to the sub_category property of this LimitItem.
  • issue_type (oci.cims.models.IssueType) – The value to assign to the issue_type property of this LimitItem.
  • current_limit (int) – The value to assign to the current_limit property of this LimitItem.
  • current_usage (int) – The value to assign to the current_usage property of this LimitItem.
  • requested_limit (int) – The value to assign to the requested_limit property of this LimitItem.
  • limit_status (str) – The value to assign to the limit_status property of this LimitItem. Allowed values for this property are: “APPROVED”, “PARTIALLY_APPROVED”, “NOT_APPROVED”, “REJECTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • customer_message (str) – The value to assign to the customer_message property of this LimitItem.
category

Gets the category of this Item.

Returns:The category of this Item.
Return type:oci.cims.models.Category
current_limit

Gets the current_limit of this LimitItem. The current service limit for the resource.

Returns:The current_limit of this LimitItem.
Return type:int
current_usage

Gets the current_usage of this LimitItem. The current resource usage.

Returns:The current_usage of this LimitItem.
Return type:int
customer_message

Gets the customer_message of this LimitItem. The message to customer for partially approved and rejected limit requests

Returns:The customer_message of this LimitItem.
Return type: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.

issue_type

Gets the issue_type of this Item.

Returns:The issue_type of this Item.
Return type:oci.cims.models.IssueType
item_key

Gets the item_key of this Item. Unique identifier for the item.

Returns:The item_key of this Item.
Return type:str
limit_status

Gets the limit_status of this LimitItem. The status of the request.

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

Returns:The limit_status of this LimitItem.
Return type:str
name

Gets the name of this Item. The display name of the item. Avoid entering confidential information.

Returns:The name of this Item.
Return type:str
requested_limit

Gets the requested_limit of this LimitItem. The new service limit being requested for the resource.

Returns:The requested_limit of this LimitItem.
Return type:int
sub_category

Gets the sub_category of this Item.

Returns:The sub_category of this Item.
Return type:oci.cims.models.SubCategory
type

Gets the type of this Item. The type of the item.

Returns:The type of this Item.
Return type:str