CreateOccCapacityRequestDetails

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

Bases: object

Details about the create request for the capacity request.

Attributes

NAMESPACE_COMPUTE A constant which can be used with the namespace property of a CreateOccCapacityRequestDetails.
REQUEST_STATE_CREATED A constant which can be used with the request_state property of a CreateOccCapacityRequestDetails.
REQUEST_STATE_SUBMITTED A constant which can be used with the request_state property of a CreateOccCapacityRequestDetails.
availability_domain [Required] Gets the availability_domain of this CreateOccCapacityRequestDetails.
compartment_id [Required] Gets the compartment_id of this CreateOccCapacityRequestDetails.
date_expected_capacity_handover [Required] Gets the date_expected_capacity_handover of this CreateOccCapacityRequestDetails.
defined_tags Gets the defined_tags of this CreateOccCapacityRequestDetails.
description Gets the description of this CreateOccCapacityRequestDetails.
details [Required] Gets the details of this CreateOccCapacityRequestDetails.
display_name [Required] Gets the display_name of this CreateOccCapacityRequestDetails.
freeform_tags Gets the freeform_tags of this CreateOccCapacityRequestDetails.
lifecycle_details Gets the lifecycle_details of this CreateOccCapacityRequestDetails.
namespace [Required] Gets the namespace of this CreateOccCapacityRequestDetails.
occ_availability_catalog_id [Required] Gets the occ_availability_catalog_id of this CreateOccCapacityRequestDetails.
region [Required] Gets the region of this CreateOccCapacityRequestDetails.
request_state Gets the request_state of this CreateOccCapacityRequestDetails.

Methods

__init__(**kwargs) Initializes a new CreateOccCapacityRequestDetails object with values from keyword arguments.
NAMESPACE_COMPUTE = 'COMPUTE'

A constant which can be used with the namespace property of a CreateOccCapacityRequestDetails. This constant has a value of “COMPUTE”

REQUEST_STATE_CREATED = 'CREATED'

A constant which can be used with the request_state property of a CreateOccCapacityRequestDetails. This constant has a value of “CREATED”

REQUEST_STATE_SUBMITTED = 'SUBMITTED'

A constant which can be used with the request_state property of a CreateOccCapacityRequestDetails. This constant has a value of “SUBMITTED”

__init__(**kwargs)

Initializes a new CreateOccCapacityRequestDetails 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 CreateOccCapacityRequestDetails.
  • occ_availability_catalog_id (str) – The value to assign to the occ_availability_catalog_id property of this CreateOccCapacityRequestDetails.
  • namespace (str) – The value to assign to the namespace property of this CreateOccCapacityRequestDetails. Allowed values for this property are: “COMPUTE”
  • region (str) – The value to assign to the region property of this CreateOccCapacityRequestDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateOccCapacityRequestDetails.
  • description (str) – The value to assign to the description property of this CreateOccCapacityRequestDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOccCapacityRequestDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOccCapacityRequestDetails.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this CreateOccCapacityRequestDetails.
  • availability_domain (str) – The value to assign to the availability_domain property of this CreateOccCapacityRequestDetails.
  • date_expected_capacity_handover (datetime) – The value to assign to the date_expected_capacity_handover property of this CreateOccCapacityRequestDetails.
  • request_state (str) – The value to assign to the request_state property of this CreateOccCapacityRequestDetails. Allowed values for this property are: “CREATED”, “SUBMITTED”
  • details (list[oci.capacity_management.models.OccCapacityRequestBaseDetails]) – The value to assign to the details property of this CreateOccCapacityRequestDetails.
availability_domain

[Required] Gets the availability_domain of this CreateOccCapacityRequestDetails. The availability domain (AD) for which the capacity request is made. If this is specified then the capacity will be validated and fulfilled within the scope of this AD.

Returns:The availability_domain of this CreateOccCapacityRequestDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateOccCapacityRequestDetails. Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.

Returns:The compartment_id of this CreateOccCapacityRequestDetails.
Return type:str
date_expected_capacity_handover

[Required] Gets the date_expected_capacity_handover of this CreateOccCapacityRequestDetails. The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.

Returns:The date_expected_capacity_handover of this CreateOccCapacityRequestDetails.
Return type:datetime
defined_tags

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

Gets the description of this CreateOccCapacityRequestDetails. Meaningful text about the capacity request.

Returns:The description of this CreateOccCapacityRequestDetails.
Return type:str
details

[Required] Gets the details of this CreateOccCapacityRequestDetails. A list of different resources requested by the user.

Returns:The details of this CreateOccCapacityRequestDetails.
Return type:list[oci.capacity_management.models.OccCapacityRequestBaseDetails]
display_name

[Required] Gets the display_name of this CreateOccCapacityRequestDetails. An user-friendly name for the capacity request. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

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

Gets the lifecycle_details of this CreateOccCapacityRequestDetails. 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 CreateOccCapacityRequestDetails.
Return type:str
namespace

[Required] Gets the namespace of this CreateOccCapacityRequestDetails. The name of the OCI service in consideration. For example, Compute, Exadata, and so on.

Allowed values for this property are: “COMPUTE”

Returns:The namespace of this CreateOccCapacityRequestDetails.
Return type:str
occ_availability_catalog_id

[Required] Gets the occ_availability_catalog_id of this CreateOccCapacityRequestDetails. The OCID of the availability catalog against which capacity request is made.

Returns:The occ_availability_catalog_id of this CreateOccCapacityRequestDetails.
Return type:str
region

[Required] Gets the region of this CreateOccCapacityRequestDetails. The name of the region for which the capacity request is made.

Returns:The region of this CreateOccCapacityRequestDetails.
Return type:str
request_state

Gets the request_state of this CreateOccCapacityRequestDetails. The subset of request states available for creating the capacity request.

Allowed values for this property are: “CREATED”, “SUBMITTED”

Returns:The request_state of this CreateOccCapacityRequestDetails.
Return type:str