BulkCreateOccmDemandSignalItem

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

Bases: object

The occm demand signal item which will be used for the bulk creation api.

Attributes

REQUEST_TYPE_DEMAND A constant which can be used with the request_type property of a BulkCreateOccmDemandSignalItem.
availability_domain Gets the availability_domain of this BulkCreateOccmDemandSignalItem.
defined_tags Gets the defined_tags of this BulkCreateOccmDemandSignalItem.
demand_quantity [Required] Gets the demand_quantity of this BulkCreateOccmDemandSignalItem.
demand_signal_catalog_resource_id [Required] Gets the demand_signal_catalog_resource_id of this BulkCreateOccmDemandSignalItem.
freeform_tags Gets the freeform_tags of this BulkCreateOccmDemandSignalItem.
notes Gets the notes of this BulkCreateOccmDemandSignalItem.
region [Required] Gets the region of this BulkCreateOccmDemandSignalItem.
request_type [Required] Gets the request_type of this BulkCreateOccmDemandSignalItem.
resource_properties [Required] Gets the resource_properties of this BulkCreateOccmDemandSignalItem.
target_compartment_id [Required] Gets the target_compartment_id of this BulkCreateOccmDemandSignalItem.
time_needed_before [Required] Gets the time_needed_before of this BulkCreateOccmDemandSignalItem.

Methods

__init__(**kwargs) Initializes a new BulkCreateOccmDemandSignalItem object with values from keyword arguments.
REQUEST_TYPE_DEMAND = 'DEMAND'

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

__init__(**kwargs)

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

Parameters:
  • demand_signal_catalog_resource_id (str) – The value to assign to the demand_signal_catalog_resource_id property of this BulkCreateOccmDemandSignalItem.
  • request_type (str) – The value to assign to the request_type property of this BulkCreateOccmDemandSignalItem. Allowed values for this property are: “DEMAND”
  • region (str) – The value to assign to the region property of this BulkCreateOccmDemandSignalItem.
  • availability_domain (str) – The value to assign to the availability_domain property of this BulkCreateOccmDemandSignalItem.
  • target_compartment_id (str) – The value to assign to the target_compartment_id property of this BulkCreateOccmDemandSignalItem.
  • demand_quantity (int) – The value to assign to the demand_quantity property of this BulkCreateOccmDemandSignalItem.
  • time_needed_before (datetime) – The value to assign to the time_needed_before property of this BulkCreateOccmDemandSignalItem.
  • resource_properties (dict(str, str)) – The value to assign to the resource_properties property of this BulkCreateOccmDemandSignalItem.
  • notes (str) – The value to assign to the notes property of this BulkCreateOccmDemandSignalItem.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this BulkCreateOccmDemandSignalItem.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this BulkCreateOccmDemandSignalItem.
availability_domain

Gets the availability_domain of this BulkCreateOccmDemandSignalItem. The name of the availability domain for which you want to request the OCI resource. This is an optional parameter.

Returns:The availability_domain of this BulkCreateOccmDemandSignalItem.
Return type:str
defined_tags

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

[Required] Gets the demand_quantity of this BulkCreateOccmDemandSignalItem. The quantity of the resource that you want to demand from OCI.

Returns:The demand_quantity of this BulkCreateOccmDemandSignalItem.
Return type:int
demand_signal_catalog_resource_id

[Required] Gets the demand_signal_catalog_resource_id of this BulkCreateOccmDemandSignalItem. The OCID of the correponding demand signal catalog resource.

Returns:The demand_signal_catalog_resource_id of this BulkCreateOccmDemandSignalItem.
Return type:str
freeform_tags

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

Gets the notes of this BulkCreateOccmDemandSignalItem. 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 BulkCreateOccmDemandSignalItem.
Return type:str
region

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

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

[Required] Gets the request_type of this BulkCreateOccmDemandSignalItem. The type of request (DEMAND or RETURN) that you want to make for this demand signal item.

Allowed values for this property are: “DEMAND”

Returns:The request_type of this BulkCreateOccmDemandSignalItem.
Return type:str
resource_properties

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

Returns:The resource_properties of this BulkCreateOccmDemandSignalItem.
Return type:dict(str, str)
target_compartment_id

[Required] Gets the target_compartment_id of this BulkCreateOccmDemandSignalItem. 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 BulkCreateOccmDemandSignalItem.
Return type:str
time_needed_before

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

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