CreateQuotaDetails

class oci.limits.models.CreateQuotaDetails(**kwargs)

Bases: object

Request object for create quota operation.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateQuotaDetails.
defined_tags Gets the defined_tags of this CreateQuotaDetails.
description [Required] Gets the description of this CreateQuotaDetails.
freeform_tags Gets the freeform_tags of this CreateQuotaDetails.
locks Gets the locks of this CreateQuotaDetails.
name [Required] Gets the name of this CreateQuotaDetails.
statements [Required] Gets the statements of this CreateQuotaDetails.
__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateQuotaDetails.
  • description (str) – The value to assign to the description property of this CreateQuotaDetails.
  • name (str) – The value to assign to the name property of this CreateQuotaDetails.
  • statements (list[str]) – The value to assign to the statements property of this CreateQuotaDetails.
  • locks (list[oci.limits.models.AddLockDetails]) – The value to assign to the locks property of this CreateQuotaDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateQuotaDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateQuotaDetails.
compartment_id

[Required] Gets the compartment_id of this CreateQuotaDetails. The OCID of the compartment containing the resource this quota applies to.

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

Gets the defined_tags of this CreateQuotaDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateQuotaDetails.
Return type:dict(str, dict(str, object))
description

[Required] Gets the description of this CreateQuotaDetails. The description you assign to the quota.

Returns:The description of this CreateQuotaDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateQuotaDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateQuotaDetails.
Return type:dict(str, str)
locks

Gets the locks of this CreateQuotaDetails. Locks associated with this resource.

Returns:The locks of this CreateQuotaDetails.
Return type:list[oci.limits.models.AddLockDetails]
name

[Required] Gets the name of this CreateQuotaDetails. The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.

Returns:The name of this CreateQuotaDetails.
Return type:str
statements

[Required] Gets the statements of this CreateQuotaDetails. An array of quota statements written in the declarative quota statement language.

Returns:The statements of this CreateQuotaDetails.
Return type:list[str]