CreateOccmDemandSignalDetails

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

Bases: object

Details about the different fields required for creating OCC Demand Signal.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateOccmDemandSignalDetails.
defined_tags Gets the defined_tags of this CreateOccmDemandSignalDetails.
description Gets the description of this CreateOccmDemandSignalDetails.
display_name [Required] Gets the display_name of this CreateOccmDemandSignalDetails.
freeform_tags Gets the freeform_tags of this CreateOccmDemandSignalDetails.
__init__(**kwargs)

Initializes a new CreateOccmDemandSignalDetails 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 CreateOccmDemandSignalDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateOccmDemandSignalDetails.
  • description (str) – The value to assign to the description property of this CreateOccmDemandSignalDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateOccmDemandSignalDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateOccmDemandSignalDetails.
compartment_id

[Required] Gets the compartment_id of this CreateOccmDemandSignalDetails. The OCID of the tenancy where we would like to create a demand signal.

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

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

Gets the description of this CreateOccmDemandSignalDetails. A short description of the demand signal.

Returns:The description of this CreateOccmDemandSignalDetails.
Return type:str
display_name

[Required] Gets the display_name of this CreateOccmDemandSignalDetails. The user-friendly name of the demand signal. Does not have to be unique. Avoid entering anything confidential.

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

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