1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DemandSignal
  5. OccDemandSignal
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.DemandSignal.OccDemandSignal

Explore with Pulumi AI

This resource provides the Occ Demand Signal resource in Oracle Cloud Infrastructure Demand Signal service.

Creates a OccDemandSignal.

Updates the data of an OccDemandSignal.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  testOccDemandSignal:
    type: oci:DemandSignal:OccDemandSignal
    name: test_occ_demand_signal
    properties:
      compartmentId: ${compartmentId}
      isActive: ${occDemandSignalIsActive}
      occDemandSignalId: ${occDemandSignalOccDemandSignalId}
      occDemandSignals:
        - resourceType: ${occDemandSignalOccDemandSignalsResourceType}
          units: ${occDemandSignalOccDemandSignalsUnits}
          values:
            - timeExpected: ${occDemandSignalOccDemandSignalsValuesTimeExpected}
              value: ${occDemandSignalOccDemandSignalsValuesValue}
              comments: ${occDemandSignalOccDemandSignalsValuesComments}
      definedTags:
        Operations.CostCenter: '42'
      displayName: ${occDemandSignalDisplayName}
      freeformTags:
        Department: Finance
      patchOperations:
        - operation: ${occDemandSignalPatchOperationsOperation}
          selection: ${occDemandSignalPatchOperationsSelection}
          from: ${occDemandSignalPatchOperationsFrom}
          position: ${occDemandSignalPatchOperationsPosition}
          selectedItem: ${occDemandSignalPatchOperationsSelectedItem}
          value: ${occDemandSignalPatchOperationsValue}
          values: ${occDemandSignalPatchOperationsValues}
Copy

Create OccDemandSignal Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new OccDemandSignal(name: string, args: OccDemandSignalArgs, opts?: CustomResourceOptions);
@overload
def OccDemandSignal(resource_name: str,
                    args: OccDemandSignalArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def OccDemandSignal(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    is_active: Optional[bool] = None,
                    occ_demand_signals: Optional[Sequence[_demandsignal.OccDemandSignalOccDemandSignalArgs]] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    display_name: Optional[str] = None,
                    freeform_tags: Optional[Mapping[str, str]] = None,
                    occ_demand_signal_id: Optional[str] = None,
                    patch_operations: Optional[Sequence[_demandsignal.OccDemandSignalPatchOperationArgs]] = None)
func NewOccDemandSignal(ctx *Context, name string, args OccDemandSignalArgs, opts ...ResourceOption) (*OccDemandSignal, error)
public OccDemandSignal(string name, OccDemandSignalArgs args, CustomResourceOptions? opts = null)
public OccDemandSignal(String name, OccDemandSignalArgs args)
public OccDemandSignal(String name, OccDemandSignalArgs args, CustomResourceOptions options)
type: oci:DemandSignal:OccDemandSignal
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. OccDemandSignalArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. OccDemandSignalArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. OccDemandSignalArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. OccDemandSignalArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. OccDemandSignalArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var occDemandSignalResource = new Oci.DemandSignal.OccDemandSignal("occDemandSignalResource", new()
{
    CompartmentId = "string",
    IsActive = false,
    OccDemandSignals = new[]
    {
        new Oci.DemandSignal.Inputs.OccDemandSignalOccDemandSignalArgs
        {
            ResourceType = "string",
            Units = "string",
            Values = new[]
            {
                new Oci.DemandSignal.Inputs.OccDemandSignalOccDemandSignalValueArgs
                {
                    TimeExpected = "string",
                    Value = 0,
                    Comments = "string",
                },
            },
        },
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    DisplayName = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    OccDemandSignalId = "string",
    PatchOperations = new[]
    {
        new Oci.DemandSignal.Inputs.OccDemandSignalPatchOperationArgs
        {
            From = "string",
            Operation = "string",
            Selection = "string",
            Value = 
            {
                { "string", "string" },
            },
            Position = "string",
            SelectedItem = "string",
        },
    },
});
Copy
example, err := DemandSignal.NewOccDemandSignal(ctx, "occDemandSignalResource", &DemandSignal.OccDemandSignalArgs{
	CompartmentId: pulumi.String("string"),
	IsActive:      pulumi.Bool(false),
	OccDemandSignals: demandsignal.OccDemandSignalOccDemandSignalArray{
		&demandsignal.OccDemandSignalOccDemandSignalArgs{
			ResourceType: pulumi.String("string"),
			Units:        pulumi.String("string"),
			Values: demandsignal.OccDemandSignalOccDemandSignalValueArray{
				&demandsignal.OccDemandSignalOccDemandSignalValueArgs{
					TimeExpected: pulumi.String("string"),
					Value:        pulumi.Float64(0),
					Comments:     pulumi.String("string"),
				},
			},
		},
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DisplayName: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	OccDemandSignalId: pulumi.String("string"),
	PatchOperations: demandsignal.OccDemandSignalPatchOperationArray{
		&demandsignal.OccDemandSignalPatchOperationArgs{
			From:      pulumi.String("string"),
			Operation: pulumi.String("string"),
			Selection: pulumi.String("string"),
			Value: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Position:     pulumi.String("string"),
			SelectedItem: pulumi.String("string"),
		},
	},
})
Copy
var occDemandSignalResource = new OccDemandSignal("occDemandSignalResource", OccDemandSignalArgs.builder()
    .compartmentId("string")
    .isActive(false)
    .occDemandSignals(OccDemandSignalOccDemandSignalArgs.builder()
        .resourceType("string")
        .units("string")
        .values(OccDemandSignalOccDemandSignalValueArgs.builder()
            .timeExpected("string")
            .value(0)
            .comments("string")
            .build())
        .build())
    .definedTags(Map.of("string", "string"))
    .displayName("string")
    .freeformTags(Map.of("string", "string"))
    .occDemandSignalId("string")
    .patchOperations(OccDemandSignalPatchOperationArgs.builder()
        .from("string")
        .operation("string")
        .selection("string")
        .value(Map.of("string", "string"))
        .position("string")
        .selectedItem("string")
        .build())
    .build());
Copy
occ_demand_signal_resource = oci.demand_signal.OccDemandSignal("occDemandSignalResource",
    compartment_id="string",
    is_active=False,
    occ_demand_signals=[{
        "resource_type": "string",
        "units": "string",
        "values": [{
            "time_expected": "string",
            "value": 0,
            "comments": "string",
        }],
    }],
    defined_tags={
        "string": "string",
    },
    display_name="string",
    freeform_tags={
        "string": "string",
    },
    occ_demand_signal_id="string",
    patch_operations=[{
        "from_": "string",
        "operation": "string",
        "selection": "string",
        "value": {
            "string": "string",
        },
        "position": "string",
        "selected_item": "string",
    }])
Copy
const occDemandSignalResource = new oci.demandsignal.OccDemandSignal("occDemandSignalResource", {
    compartmentId: "string",
    isActive: false,
    occDemandSignals: [{
        resourceType: "string",
        units: "string",
        values: [{
            timeExpected: "string",
            value: 0,
            comments: "string",
        }],
    }],
    definedTags: {
        string: "string",
    },
    displayName: "string",
    freeformTags: {
        string: "string",
    },
    occDemandSignalId: "string",
    patchOperations: [{
        from: "string",
        operation: "string",
        selection: "string",
        value: {
            string: "string",
        },
        position: "string",
        selectedItem: "string",
    }],
});
Copy
type: oci:DemandSignal:OccDemandSignal
properties:
    compartmentId: string
    definedTags:
        string: string
    displayName: string
    freeformTags:
        string: string
    isActive: false
    occDemandSignalId: string
    occDemandSignals:
        - resourceType: string
          units: string
          values:
            - comments: string
              timeExpected: string
              value: 0
    patchOperations:
        - from: string
          operation: string
          position: string
          selectedItem: string
          selection: string
          value:
            string: string
Copy

OccDemandSignal Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The OccDemandSignal resource accepts the following input properties:

CompartmentId This property is required. string
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
IsActive This property is required. bool
(Updatable) Indicator of whether to share the data with Oracle.
OccDemandSignals
This property is required.
Changes to this property will trigger replacement.
List<OccDemandSignalOccDemandSignal>
The OccDemandSignal data.
DefinedTags Dictionary<string, string>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
FreeformTags Dictionary<string, string>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
OccDemandSignalId Changes to this property will trigger replacement. string
PatchOperations List<OccDemandSignalPatchOperation>
(Updatable)
CompartmentId This property is required. string
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
IsActive This property is required. bool
(Updatable) Indicator of whether to share the data with Oracle.
OccDemandSignals
This property is required.
Changes to this property will trigger replacement.
[]OccDemandSignalOccDemandSignalArgs
The OccDemandSignal data.
DefinedTags map[string]string
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
FreeformTags map[string]string
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
OccDemandSignalId Changes to this property will trigger replacement. string
PatchOperations []OccDemandSignalPatchOperationArgs
(Updatable)
compartmentId This property is required. String
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
isActive This property is required. Boolean
(Updatable) Indicator of whether to share the data with Oracle.
occDemandSignals
This property is required.
Changes to this property will trigger replacement.
List<OccOcc>
The OccDemandSignal data.
definedTags Map<String,String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeformTags Map<String,String>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
occDemandSignalId Changes to this property will trigger replacement. String
patchOperations List<OccPatchOperation>
(Updatable)
compartmentId This property is required. string
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
isActive This property is required. boolean
(Updatable) Indicator of whether to share the data with Oracle.
occDemandSignals
This property is required.
Changes to this property will trigger replacement.
OccDemandSignalOccDemandSignal[]
The OccDemandSignal data.
definedTags {[key: string]: string}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeformTags {[key: string]: string}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
occDemandSignalId Changes to this property will trigger replacement. string
patchOperations OccDemandSignalPatchOperation[]
(Updatable)
compartment_id This property is required. str
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
is_active This property is required. bool
(Updatable) Indicator of whether to share the data with Oracle.
occ_demand_signals
This property is required.
Changes to this property will trigger replacement.
Sequence[demandsignal.OccDemandSignalOccDemandSignalArgs]
The OccDemandSignal data.
defined_tags Mapping[str, str]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
display_name str
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeform_tags Mapping[str, str]
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
occ_demand_signal_id Changes to this property will trigger replacement. str
patch_operations Sequence[demandsignal.OccDemandSignalPatchOperationArgs]
(Updatable)
compartmentId This property is required. String
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
isActive This property is required. Boolean
(Updatable) Indicator of whether to share the data with Oracle.
occDemandSignals
This property is required.
Changes to this property will trigger replacement.
List<Property Map>
The OccDemandSignal data.
definedTags Map<String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeformTags Map<String>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
occDemandSignalId Changes to this property will trigger replacement. String
patchOperations List<Property Map>
(Updatable)

Outputs

All input properties are implicitly available as output properties. Additionally, the OccDemandSignal resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
State string
The current state of the OccDemandSignal.
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
TimeUpdated string
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
State string
The current state of the OccDemandSignal.
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
TimeUpdated string
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
state String
The current state of the OccDemandSignal.
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
timeUpdated String
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
id string
The provider-assigned unique ID for this managed resource.
lifecycleDetails string
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
state string
The current state of the OccDemandSignal.
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
timeUpdated string
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
id str
The provider-assigned unique ID for this managed resource.
lifecycle_details str
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
state str
The current state of the OccDemandSignal.
system_tags Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created str
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
time_updated str
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
state String
The current state of the OccDemandSignal.
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
timeUpdated String
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

Look up Existing OccDemandSignal Resource

Get an existing OccDemandSignal resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: OccDemandSignalState, opts?: CustomResourceOptions): OccDemandSignal
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        is_active: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        occ_demand_signal_id: Optional[str] = None,
        occ_demand_signals: Optional[Sequence[_demandsignal.OccDemandSignalOccDemandSignalArgs]] = None,
        patch_operations: Optional[Sequence[_demandsignal.OccDemandSignalPatchOperationArgs]] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> OccDemandSignal
func GetOccDemandSignal(ctx *Context, name string, id IDInput, state *OccDemandSignalState, opts ...ResourceOption) (*OccDemandSignal, error)
public static OccDemandSignal Get(string name, Input<string> id, OccDemandSignalState? state, CustomResourceOptions? opts = null)
public static OccDemandSignal get(String name, Output<String> id, OccDemandSignalState state, CustomResourceOptions options)
resources:  _:    type: oci:DemandSignal:OccDemandSignal    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
DefinedTags Dictionary<string, string>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
FreeformTags Dictionary<string, string>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
IsActive bool
(Updatable) Indicator of whether to share the data with Oracle.
LifecycleDetails string
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
OccDemandSignalId Changes to this property will trigger replacement. string
OccDemandSignals Changes to this property will trigger replacement. List<OccDemandSignalOccDemandSignal>
The OccDemandSignal data.
PatchOperations List<OccDemandSignalPatchOperation>
(Updatable)
State string
The current state of the OccDemandSignal.
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
TimeUpdated string
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
CompartmentId string
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
DefinedTags map[string]string
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
FreeformTags map[string]string
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
IsActive bool
(Updatable) Indicator of whether to share the data with Oracle.
LifecycleDetails string
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
OccDemandSignalId Changes to this property will trigger replacement. string
OccDemandSignals Changes to this property will trigger replacement. []OccDemandSignalOccDemandSignalArgs
The OccDemandSignal data.
PatchOperations []OccDemandSignalPatchOperationArgs
(Updatable)
State string
The current state of the OccDemandSignal.
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
TimeUpdated string
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
compartmentId String
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
definedTags Map<String,String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeformTags Map<String,String>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
isActive Boolean
(Updatable) Indicator of whether to share the data with Oracle.
lifecycleDetails String
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
occDemandSignalId Changes to this property will trigger replacement. String
occDemandSignals Changes to this property will trigger replacement. List<OccOcc>
The OccDemandSignal data.
patchOperations List<OccPatchOperation>
(Updatable)
state String
The current state of the OccDemandSignal.
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
timeUpdated String
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
compartmentId string
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
definedTags {[key: string]: string}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName string
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeformTags {[key: string]: string}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
isActive boolean
(Updatable) Indicator of whether to share the data with Oracle.
lifecycleDetails string
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
occDemandSignalId Changes to this property will trigger replacement. string
occDemandSignals Changes to this property will trigger replacement. OccDemandSignalOccDemandSignal[]
The OccDemandSignal data.
patchOperations OccDemandSignalPatchOperation[]
(Updatable)
state string
The current state of the OccDemandSignal.
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
timeUpdated string
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
compartment_id str
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
defined_tags Mapping[str, str]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
display_name str
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeform_tags Mapping[str, str]
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
is_active bool
(Updatable) Indicator of whether to share the data with Oracle.
lifecycle_details str
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
occ_demand_signal_id Changes to this property will trigger replacement. str
occ_demand_signals Changes to this property will trigger replacement. Sequence[demandsignal.OccDemandSignalOccDemandSignalArgs]
The OccDemandSignal data.
patch_operations Sequence[demandsignal.OccDemandSignalPatchOperationArgs]
(Updatable)
state str
The current state of the OccDemandSignal.
system_tags Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created str
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
time_updated str
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
compartmentId String
(Updatable) The OCID of the compartment to create the OccDemandSignal in.
definedTags Map<String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName String
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
freeformTags Map<String>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
isActive Boolean
(Updatable) Indicator of whether to share the data with Oracle.
lifecycleDetails String
A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
occDemandSignalId Changes to this property will trigger replacement. String
occDemandSignals Changes to this property will trigger replacement. List<Property Map>
The OccDemandSignal data.
patchOperations List<Property Map>
(Updatable)
state String
The current state of the OccDemandSignal.
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
timeUpdated String
The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

Supporting Types

OccDemandSignalOccDemandSignal
, OccDemandSignalOccDemandSignalArgs

ResourceType
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource for the data.
Units
This property is required.
Changes to this property will trigger replacement.
string
The units of the data.
Values
This property is required.
Changes to this property will trigger replacement.
List<OccDemandSignalOccDemandSignalValue>
The values of forecast.
ResourceType
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource for the data.
Units
This property is required.
Changes to this property will trigger replacement.
string
The units of the data.
Values
This property is required.
Changes to this property will trigger replacement.
[]OccDemandSignalOccDemandSignalValue
The values of forecast.
resourceType
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource for the data.
units
This property is required.
Changes to this property will trigger replacement.
String
The units of the data.
values
This property is required.
Changes to this property will trigger replacement.
List<OccOccValue>
The values of forecast.
resourceType
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource for the data.
units
This property is required.
Changes to this property will trigger replacement.
string
The units of the data.
values
This property is required.
Changes to this property will trigger replacement.
OccDemandSignalOccDemandSignalValue[]
The values of forecast.
resource_type
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource for the data.
units
This property is required.
Changes to this property will trigger replacement.
str
The units of the data.
values
This property is required.
Changes to this property will trigger replacement.
Sequence[demandsignal.OccDemandSignalOccDemandSignalValue]
The values of forecast.
resourceType
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource for the data.
units
This property is required.
Changes to this property will trigger replacement.
String
The units of the data.
values
This property is required.
Changes to this property will trigger replacement.
List<Property Map>
The values of forecast.

OccDemandSignalOccDemandSignalValue
, OccDemandSignalOccDemandSignalValueArgs

TimeExpected
This property is required.
Changes to this property will trigger replacement.
string
The date of the Demand Signal Value.
Value
This property is required.
Changes to this property will trigger replacement.
double
The Demand Signal Value.
Comments Changes to this property will trigger replacement. string
Space provided for users to make comments regarding the value.
TimeExpected
This property is required.
Changes to this property will trigger replacement.
string
The date of the Demand Signal Value.
Value
This property is required.
Changes to this property will trigger replacement.
float64
The Demand Signal Value.
Comments Changes to this property will trigger replacement. string
Space provided for users to make comments regarding the value.
timeExpected
This property is required.
Changes to this property will trigger replacement.
String
The date of the Demand Signal Value.
value
This property is required.
Changes to this property will trigger replacement.
Double
The Demand Signal Value.
comments Changes to this property will trigger replacement. String
Space provided for users to make comments regarding the value.
timeExpected
This property is required.
Changes to this property will trigger replacement.
string
The date of the Demand Signal Value.
value
This property is required.
Changes to this property will trigger replacement.
number
The Demand Signal Value.
comments Changes to this property will trigger replacement. string
Space provided for users to make comments regarding the value.
time_expected
This property is required.
Changes to this property will trigger replacement.
str
The date of the Demand Signal Value.
value
This property is required.
Changes to this property will trigger replacement.
float
The Demand Signal Value.
comments Changes to this property will trigger replacement. str
Space provided for users to make comments regarding the value.
timeExpected
This property is required.
Changes to this property will trigger replacement.
String
The date of the Demand Signal Value.
value
This property is required.
Changes to this property will trigger replacement.
Number
The Demand Signal Value.
comments Changes to this property will trigger replacement. String
Space provided for users to make comments regarding the value.

OccDemandSignalPatchOperation
, OccDemandSignalPatchOperationArgs

From This property is required. string
(Updatable)
Operation This property is required. string
(Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
Selection This property is required. string
(Updatable)
Value This property is required. Dictionary<string, string>
(Updatable)
Position string
(Updatable)
SelectedItem string
(Updatable)
From This property is required. string
(Updatable)
Operation This property is required. string
(Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
Selection This property is required. string
(Updatable)
Value This property is required. map[string]string
(Updatable)
Position string
(Updatable)
SelectedItem string
(Updatable)
from This property is required. String
(Updatable)
operation This property is required. String
(Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
selection This property is required. String
(Updatable)
value This property is required. Map<String,String>
(Updatable)
position String
(Updatable)
selectedItem String
(Updatable)
from This property is required. string
(Updatable)
operation This property is required. string
(Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
selection This property is required. string
(Updatable)
value This property is required. {[key: string]: string}
(Updatable)
position string
(Updatable)
selectedItem string
(Updatable)
from_ This property is required. str
(Updatable)
operation This property is required. str
(Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
selection This property is required. str
(Updatable)
value This property is required. Mapping[str, str]
(Updatable)
position str
(Updatable)
selected_item str
(Updatable)
from This property is required. String
(Updatable)
operation This property is required. String
(Updatable) The operation can be one of these values: INSERT, INSERT_MULTIPLE, MERGE, MOVE, PROHIBIT, REMOVE, REPLACE, REQUIRE
selection This property is required. String
(Updatable)
value This property is required. Map<String>
(Updatable)
position String
(Updatable)
selectedItem String
(Updatable)

Import

OccDemandSignals can be imported using the id, e.g.

$ pulumi import oci:DemandSignal/occDemandSignal:OccDemandSignal test_occ_demand_signal "id"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.