OccCapacityRequestSummary¶
-
class
oci.capacity_management.models.
OccCapacityRequestSummary
(**kwargs)¶ Bases:
object
A summary model for the capacity request model.
Attributes
NAMESPACE_COMPUTE
A constant which can be used with the namespace property of a OccCapacityRequestSummary. availability_domain
[Required] Gets the availability_domain of this OccCapacityRequestSummary. compartment_id
[Required] Gets the compartment_id of this OccCapacityRequestSummary. date_expected_capacity_handover
[Required] Gets the date_expected_capacity_handover of this OccCapacityRequestSummary. defined_tags
Gets the defined_tags of this OccCapacityRequestSummary. description
Gets the description of this OccCapacityRequestSummary. display_name
[Required] Gets the display_name of this OccCapacityRequestSummary. freeform_tags
Gets the freeform_tags of this OccCapacityRequestSummary. id
[Required] Gets the id of this OccCapacityRequestSummary. lifecycle_details
Gets the lifecycle_details of this OccCapacityRequestSummary. lifecycle_state
[Required] Gets the lifecycle_state of this OccCapacityRequestSummary. namespace
[Required] Gets the namespace of this OccCapacityRequestSummary. occ_availability_catalog_id
[Required] Gets the occ_availability_catalog_id of this OccCapacityRequestSummary. occ_customer_group_id
[Required] Gets the occ_customer_group_id of this OccCapacityRequestSummary. region
[Required] Gets the region of this OccCapacityRequestSummary. request_state
[Required] Gets the request_state of this OccCapacityRequestSummary. request_type
Gets the request_type of this OccCapacityRequestSummary. system_tags
Gets the system_tags of this OccCapacityRequestSummary. time_created
[Required] Gets the time_created of this OccCapacityRequestSummary. time_updated
[Required] Gets the time_updated of this OccCapacityRequestSummary. Methods
__init__
(**kwargs)Initializes a new OccCapacityRequestSummary object with values from keyword arguments. -
NAMESPACE_COMPUTE
= 'COMPUTE'¶ A constant which can be used with the namespace property of a OccCapacityRequestSummary. This constant has a value of “COMPUTE”
-
__init__
(**kwargs)¶ Initializes a new OccCapacityRequestSummary 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 OccCapacityRequestSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this OccCapacityRequestSummary.
- occ_availability_catalog_id (str) – The value to assign to the occ_availability_catalog_id property of this OccCapacityRequestSummary.
- display_name (str) – The value to assign to the display_name property of this OccCapacityRequestSummary.
- description (str) – The value to assign to the description property of this OccCapacityRequestSummary.
- namespace (str) – The value to assign to the namespace property of this OccCapacityRequestSummary. Allowed values for this property are: “COMPUTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- occ_customer_group_id (str) – The value to assign to the occ_customer_group_id property of this OccCapacityRequestSummary.
- region (str) – The value to assign to the region property of this OccCapacityRequestSummary.
- availability_domain (str) – The value to assign to the availability_domain property of this OccCapacityRequestSummary.
- date_expected_capacity_handover (datetime) – The value to assign to the date_expected_capacity_handover property of this OccCapacityRequestSummary.
- request_state (str) – The value to assign to the request_state property of this OccCapacityRequestSummary.
- request_type (str) – The value to assign to the request_type property of this OccCapacityRequestSummary.
- time_created (datetime) – The value to assign to the time_created property of this OccCapacityRequestSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this OccCapacityRequestSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this OccCapacityRequestSummary.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this OccCapacityRequestSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OccCapacityRequestSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OccCapacityRequestSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this OccCapacityRequestSummary.
-
availability_domain
¶ [Required] Gets the availability_domain of this OccCapacityRequestSummary. The availability domain (AD) for which the capacity request was made.
Returns: The availability_domain of this OccCapacityRequestSummary. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this OccCapacityRequestSummary. The OCID of the tenancy from which the request was made.
Returns: The compartment_id of this OccCapacityRequestSummary. Return type: str
-
date_expected_capacity_handover
¶ [Required] Gets the date_expected_capacity_handover of this OccCapacityRequestSummary. The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
Returns: The date_expected_capacity_handover of this OccCapacityRequestSummary. Return type: datetime
Gets the defined_tags of this OccCapacityRequestSummary. 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 OccCapacityRequestSummary. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this OccCapacityRequestSummary. Meaningful text about the capacity request.
Returns: The description of this OccCapacityRequestSummary. Return type: str
-
display_name
¶ [Required] Gets the display_name of this OccCapacityRequestSummary. The display name of the capacity request.
Returns: The display_name of this OccCapacityRequestSummary. Return type: str
Gets the freeform_tags of this OccCapacityRequestSummary. 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 OccCapacityRequestSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this OccCapacityRequestSummary. The OCID of the capacity request.
Returns: The id of this OccCapacityRequestSummary. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this OccCapacityRequestSummary. 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 OccCapacityRequestSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this OccCapacityRequestSummary. The current lifecycle state of the customer group.
Returns: The lifecycle_state of this OccCapacityRequestSummary. Return type: str
-
namespace
¶ [Required] Gets the namespace of this OccCapacityRequestSummary. The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
Allowed values for this property are: “COMPUTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The namespace of this OccCapacityRequestSummary. Return type: str
-
occ_availability_catalog_id
¶ [Required] Gets the occ_availability_catalog_id of this OccCapacityRequestSummary. The OCID of the availability catalog against which the capacity request was placed.
Returns: The occ_availability_catalog_id of this OccCapacityRequestSummary. Return type: str
-
occ_customer_group_id
¶ [Required] Gets the occ_customer_group_id of this OccCapacityRequestSummary. The OCID of the customer group to which this customer belongs to.
Returns: The occ_customer_group_id of this OccCapacityRequestSummary. Return type: str
-
region
¶ [Required] Gets the region of this OccCapacityRequestSummary. The name of the region for which the capacity request was made.
Returns: The region of this OccCapacityRequestSummary. Return type: str
-
request_state
¶ [Required] Gets the request_state of this OccCapacityRequestSummary. A list of states through which the capacity request goes by.
Returns: The request_state of this OccCapacityRequestSummary. Return type: str
-
request_type
¶ Gets the request_type of this OccCapacityRequestSummary. Type of Capacity Request(New or Transfer)
Returns: The request_type of this OccCapacityRequestSummary. Return type: str
Gets the system_tags of this OccCapacityRequestSummary. 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 OccCapacityRequestSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this OccCapacityRequestSummary. The time when the capacity request was created.
Returns: The time_created of this OccCapacityRequestSummary. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this OccCapacityRequestSummary. The time when the capacity request was updated.
Returns: The time_updated of this OccCapacityRequestSummary. Return type: datetime
-