InternalOccmDemandSignalItemSummary

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

Bases: object

An internal summary model containing information about the details of a demand signal items.

Attributes

DEMAND_SIGNAL_NAMESPACE_COMPUTE A constant which can be used with the demand_signal_namespace property of a InternalOccmDemandSignalItemSummary.
DEMAND_SIGNAL_NAMESPACE_GPU A constant which can be used with the demand_signal_namespace property of a InternalOccmDemandSignalItemSummary.
DEMAND_SIGNAL_NAMESPACE_NETWORK A constant which can be used with the demand_signal_namespace property of a InternalOccmDemandSignalItemSummary.
DEMAND_SIGNAL_NAMESPACE_STORAGE A constant which can be used with the demand_signal_namespace property of a InternalOccmDemandSignalItemSummary.
REQUEST_TYPE_DEMAND A constant which can be used with the request_type property of a InternalOccmDemandSignalItemSummary.
availability_domain Gets the availability_domain of this InternalOccmDemandSignalItemSummary.
compartment_id [Required] Gets the compartment_id of this InternalOccmDemandSignalItemSummary.
defined_tags Gets the defined_tags of this InternalOccmDemandSignalItemSummary.
demand_signal_catalog_resource_id [Required] Gets the demand_signal_catalog_resource_id of this InternalOccmDemandSignalItemSummary.
demand_signal_id [Required] Gets the demand_signal_id of this InternalOccmDemandSignalItemSummary.
demand_signal_namespace [Required] Gets the demand_signal_namespace of this InternalOccmDemandSignalItemSummary.
freeform_tags Gets the freeform_tags of this InternalOccmDemandSignalItemSummary.
id [Required] Gets the id of this InternalOccmDemandSignalItemSummary.
lifecycle_state [Required] Gets the lifecycle_state of this InternalOccmDemandSignalItemSummary.
notes Gets the notes of this InternalOccmDemandSignalItemSummary.
occ_customer_group_id [Required] Gets the occ_customer_group_id of this InternalOccmDemandSignalItemSummary.
quantity [Required] Gets the quantity of this InternalOccmDemandSignalItemSummary.
region [Required] Gets the region of this InternalOccmDemandSignalItemSummary.
request_type [Required] Gets the request_type of this InternalOccmDemandSignalItemSummary.
resource_name [Required] Gets the resource_name of this InternalOccmDemandSignalItemSummary.
resource_properties [Required] Gets the resource_properties of this InternalOccmDemandSignalItemSummary.
system_tags Gets the system_tags of this InternalOccmDemandSignalItemSummary.
target_compartment_id Gets the target_compartment_id of this InternalOccmDemandSignalItemSummary.
time_needed_before [Required] Gets the time_needed_before of this InternalOccmDemandSignalItemSummary.

Methods

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

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

DEMAND_SIGNAL_NAMESPACE_GPU = 'GPU'

A constant which can be used with the demand_signal_namespace property of a InternalOccmDemandSignalItemSummary. This constant has a value of “GPU”

DEMAND_SIGNAL_NAMESPACE_NETWORK = 'NETWORK'

A constant which can be used with the demand_signal_namespace property of a InternalOccmDemandSignalItemSummary. This constant has a value of “NETWORK”

DEMAND_SIGNAL_NAMESPACE_STORAGE = 'STORAGE'

A constant which can be used with the demand_signal_namespace property of a InternalOccmDemandSignalItemSummary. This constant has a value of “STORAGE”

REQUEST_TYPE_DEMAND = 'DEMAND'

A constant which can be used with the request_type property of a InternalOccmDemandSignalItemSummary. This constant has a value of “DEMAND”

__init__(**kwargs)

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

Parameters:
  • occ_customer_group_id (str) – The value to assign to the occ_customer_group_id property of this InternalOccmDemandSignalItemSummary.
  • id (str) – The value to assign to the id property of this InternalOccmDemandSignalItemSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this InternalOccmDemandSignalItemSummary.
  • demand_signal_id (str) – The value to assign to the demand_signal_id property of this InternalOccmDemandSignalItemSummary.
  • demand_signal_namespace (str) – The value to assign to the demand_signal_namespace property of this InternalOccmDemandSignalItemSummary. Allowed values for this property are: “COMPUTE”, “NETWORK”, “GPU”, “STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • demand_signal_catalog_resource_id (str) – The value to assign to the demand_signal_catalog_resource_id property of this InternalOccmDemandSignalItemSummary.
  • request_type (str) – The value to assign to the request_type property of this InternalOccmDemandSignalItemSummary. Allowed values for this property are: “DEMAND”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • resource_name (str) – The value to assign to the resource_name property of this InternalOccmDemandSignalItemSummary.
  • region (str) – The value to assign to the region property of this InternalOccmDemandSignalItemSummary.
  • availability_domain (str) – The value to assign to the availability_domain property of this InternalOccmDemandSignalItemSummary.
  • target_compartment_id (str) – The value to assign to the target_compartment_id property of this InternalOccmDemandSignalItemSummary.
  • quantity (int) – The value to assign to the quantity property of this InternalOccmDemandSignalItemSummary.
  • time_needed_before (datetime) – The value to assign to the time_needed_before property of this InternalOccmDemandSignalItemSummary.
  • resource_properties (dict(str, str)) – The value to assign to the resource_properties property of this InternalOccmDemandSignalItemSummary.
  • notes (str) – The value to assign to the notes property of this InternalOccmDemandSignalItemSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this InternalOccmDemandSignalItemSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this InternalOccmDemandSignalItemSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this InternalOccmDemandSignalItemSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this InternalOccmDemandSignalItemSummary.
availability_domain

Gets the availability_domain of this InternalOccmDemandSignalItemSummary. The name of the availability domain for which you want to request the OCI resource.

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

[Required] Gets the compartment_id of this InternalOccmDemandSignalItemSummary. The OCID of the tenancy from which the demand signal item was created.

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

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

[Required] Gets the demand_signal_catalog_resource_id of this InternalOccmDemandSignalItemSummary. The OCID of the corresponding demand signal catalog resource.

Returns:The demand_signal_catalog_resource_id of this InternalOccmDemandSignalItemSummary.
Return type:str
demand_signal_id

[Required] Gets the demand_signal_id of this InternalOccmDemandSignalItemSummary. The OCID of the demand signal under which this item will be grouped.

Returns:The demand_signal_id of this InternalOccmDemandSignalItemSummary.
Return type:str
demand_signal_namespace

[Required] Gets the demand_signal_namespace of this InternalOccmDemandSignalItemSummary. The name of the OCI service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.

Allowed values for this property are: “COMPUTE”, “NETWORK”, “GPU”, “STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The demand_signal_namespace of this InternalOccmDemandSignalItemSummary.
Return type:str
freeform_tags

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

[Required] Gets the id of this InternalOccmDemandSignalItemSummary. The OCID of the demand signal resource request.

Returns:The id of this InternalOccmDemandSignalItemSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this InternalOccmDemandSignalItemSummary. The current lifecycle state of the demand signal item.

Returns:The lifecycle_state of this InternalOccmDemandSignalItemSummary.
Return type:str
notes

Gets the notes of this InternalOccmDemandSignalItemSummary. This field will serve as notes section for you. You can use this section to convey a message to OCI regarding your resource request.

NOTE: The previous value gets overwritten with the new one for this once updated.

Returns:The notes of this InternalOccmDemandSignalItemSummary.
Return type:str
occ_customer_group_id

[Required] Gets the occ_customer_group_id of this InternalOccmDemandSignalItemSummary. The OCID of the customer group in which the demand signal is created.

Returns:The occ_customer_group_id of this InternalOccmDemandSignalItemSummary.
Return type:str
quantity

[Required] Gets the quantity of this InternalOccmDemandSignalItemSummary. The quantity of the resource that you want to demand from OCI or return to OCI.

Returns:The quantity of this InternalOccmDemandSignalItemSummary.
Return type:int
region

[Required] Gets the region of this InternalOccmDemandSignalItemSummary. The name of region for which you want to request the OCI resource.

Returns:The region of this InternalOccmDemandSignalItemSummary.
Return type:str
request_type

[Required] Gets the request_type of this InternalOccmDemandSignalItemSummary. The type of request (DEMAND or RETURN) made against a particular demand signal item.

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

Returns:The request_type of this InternalOccmDemandSignalItemSummary.
Return type:str
resource_name

[Required] Gets the resource_name of this InternalOccmDemandSignalItemSummary. The name of the OCI resource that you want to request.

Returns:The resource_name of this InternalOccmDemandSignalItemSummary.
Return type:str
resource_properties

[Required] Gets the resource_properties of this InternalOccmDemandSignalItemSummary. A map of various properties associated with the OCI resource.

Returns:The resource_properties of this InternalOccmDemandSignalItemSummary.
Return type:dict(str, str)
system_tags

Gets the system_tags of this InternalOccmDemandSignalItemSummary. 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 InternalOccmDemandSignalItemSummary.
Return type:dict(str, dict(str, object))
target_compartment_id

Gets the target_compartment_id of this InternalOccmDemandSignalItemSummary. The ocid of the tenancy for which you want to request the OCI resource for. This is an optional parameter.

Returns:The target_compartment_id of this InternalOccmDemandSignalItemSummary.
Return type:str
time_needed_before

[Required] Gets the time_needed_before of this InternalOccmDemandSignalItemSummary. the date before which you would ideally like the OCI resource to be delivered to you.

Returns:The time_needed_before of this InternalOccmDemandSignalItemSummary.
Return type:datetime