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!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DemandSignal.OccDemandSignal;
import com.pulumi.oci.DemandSignal.OccDemandSignalArgs;
import com.pulumi.oci.DemandSignal.inputs.OccDemandSignalOccDemandSignalArgs;
import com.pulumi.oci.DemandSignal.inputs.OccDemandSignalPatchOperationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testOccDemandSignal = new OccDemandSignal("testOccDemandSignal", OccDemandSignalArgs.builder()
.compartmentId(compartmentId)
.isActive(occDemandSignalIsActive)
.occDemandSignalId(occDemandSignalOccDemandSignalId)
.occDemandSignals(OccDemandSignalOccDemandSignalArgs.builder()
.resourceType(occDemandSignalOccDemandSignalsResourceType)
.units(occDemandSignalOccDemandSignalsUnits)
.values(OccDemandSignalOccDemandSignalValueArgs.builder()
.timeExpected(occDemandSignalOccDemandSignalsValuesTimeExpected)
.value(occDemandSignalOccDemandSignalsValuesValue)
.comments(occDemandSignalOccDemandSignalsValuesComments)
.build())
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(occDemandSignalDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.patchOperations(OccDemandSignalPatchOperationArgs.builder()
.operation(occDemandSignalPatchOperationsOperation)
.selection(occDemandSignalPatchOperationsSelection)
.from(occDemandSignalPatchOperationsFrom)
.position(occDemandSignalPatchOperationsPosition)
.selectedItem(occDemandSignalPatchOperationsSelectedItem)
.value(occDemandSignalPatchOperationsValue)
.values(occDemandSignalPatchOperationsValues)
.build())
.build());
}
}
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}
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, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = 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 string
- The unique name of the resource.
- args OccDemandSignalArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args OccDemandSignalArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OccDemandSignalArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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", "any" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
OccDemandSignalId = "string",
PatchOperations = new[]
{
new Oci.DemandSignal.Inputs.OccDemandSignalPatchOperationArgs
{
From = "string",
Operation = "string",
Selection = "string",
Value =
{
{ "string", "any" },
},
Position = "string",
SelectedItem = "string",
},
},
});
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.Map{
"string": pulumi.Any("any"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
OccDemandSignalId: pulumi.String("string"),
PatchOperations: demandsignal.OccDemandSignalPatchOperationArray{
&demandsignal.OccDemandSignalPatchOperationArgs{
From: pulumi.String("string"),
Operation: pulumi.String("string"),
Selection: pulumi.String("string"),
Value: pulumi.Map{
"string": pulumi.Any("any"),
},
Position: pulumi.String("string"),
SelectedItem: pulumi.String("string"),
},
},
})
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", "any"))
.displayName("string")
.freeformTags(Map.of("string", "any"))
.occDemandSignalId("string")
.patchOperations(OccDemandSignalPatchOperationArgs.builder()
.from("string")
.operation("string")
.selection("string")
.value(Map.of("string", "any"))
.position("string")
.selectedItem("string")
.build())
.build());
occ_demand_signal_resource = oci.demand_signal.OccDemandSignal("occDemandSignalResource",
compartment_id="string",
is_active=False,
occ_demand_signals=[oci.demand_signal.OccDemandSignalOccDemandSignalArgs(
resource_type="string",
units="string",
values=[oci.demand_signal.OccDemandSignalOccDemandSignalValueArgs(
time_expected="string",
value=0,
comments="string",
)],
)],
defined_tags={
"string": "any",
},
display_name="string",
freeform_tags={
"string": "any",
},
occ_demand_signal_id="string",
patch_operations=[oci.demand_signal.OccDemandSignalPatchOperationArgs(
from_="string",
operation="string",
selection="string",
value={
"string": "any",
},
position="string",
selected_item="string",
)])
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: "any",
},
displayName: "string",
freeformTags: {
string: "any",
},
occDemandSignalId: "string",
patchOperations: [{
from: "string",
operation: "string",
selection: "string",
value: {
string: "any",
},
position: "string",
selectedItem: "string",
}],
});
type: oci:DemandSignal:OccDemandSignal
properties:
compartmentId: string
definedTags:
string: any
displayName: string
freeformTags:
string: any
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: any
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
The OccDemandSignal resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- Is
Active bool - (Updatable) Indicator of whether to share the data with Oracle.
- Occ
Demand List<OccSignals Demand Signal Occ Demand Signal> - The OccDemandSignal data.
- Dictionary<string, object>
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, object>
- (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 stringSignal Id - Patch
Operations List<OccDemand Signal Patch Operation> - (Updatable)
- Compartment
Id string - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- Is
Active bool - (Updatable) Indicator of whether to share the data with Oracle.
- Occ
Demand []OccSignals Demand Signal Occ Demand Signal Args - The OccDemandSignal data.
- map[string]interface{}
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]interface{}
- (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 stringSignal Id - Patch
Operations []OccDemand Signal Patch Operation Args - (Updatable)
- compartment
Id String - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- is
Active Boolean - (Updatable) Indicator of whether to share the data with Oracle.
- occ
Demand List<OccSignals Occ> - The OccDemandSignal data.
- Map<String,Object>
- (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 String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,Object>
- (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 StringSignal Id - patch
Operations List<OccPatch Operation> - (Updatable)
- compartment
Id string - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- is
Active boolean - (Updatable) Indicator of whether to share the data with Oracle.
- occ
Demand OccSignals Demand Signal Occ Demand Signal[] - The OccDemandSignal data.
- {[key: string]: any}
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: any}
- (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 stringSignal Id - patch
Operations OccDemand Signal Patch Operation[] - (Updatable)
- compartment_
id str - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- is_
active bool - (Updatable) Indicator of whether to share the data with Oracle.
- occ_
demand_ Sequence[demandsignal.signals Occ Demand Signal Occ Demand Signal Args] - The OccDemandSignal data.
- Mapping[str, Any]
- (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.
- Mapping[str, Any]
- (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_ strsignal_ id - patch_
operations Sequence[demandsignal.Occ Demand Signal Patch Operation Args] - (Updatable)
- compartment
Id String - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- is
Active Boolean - (Updatable) Indicator of whether to share the data with Oracle.
- occ
Demand List<Property Map>Signals - The OccDemandSignal data.
- Map<Any>
- (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 String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<Any>
- (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 StringSignal Id - patch
Operations 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.
- Lifecycle
Details 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.
- Dictionary<string, object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated 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.
- Lifecycle
Details 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.
- map[string]interface{}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated 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.
- lifecycle
Details 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.
- Map<String,Object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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.
- lifecycle
Details 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.
- {[key: string]: any}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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.
- Mapping[str, Any]
- 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.
- lifecycle
Details 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.
- Map<Any>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = 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, Any]] = 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Compartment
Id string - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- Dictionary<string, object>
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, object>
- (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 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.
- Occ
Demand stringSignal Id - Occ
Demand List<OccSignals Demand Signal Occ Demand Signal> - The OccDemandSignal data.
- Patch
Operations List<OccDemand Signal Patch Operation> - (Updatable)
- State string
- The current state of the OccDemandSignal.
- Dictionary<string, object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated 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 string - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- map[string]interface{}
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]interface{}
- (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 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.
- Occ
Demand stringSignal Id - Occ
Demand []OccSignals Demand Signal Occ Demand Signal Args - The OccDemandSignal data.
- Patch
Operations []OccDemand Signal Patch Operation Args - (Updatable)
- State string
- The current state of the OccDemandSignal.
- map[string]interface{}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Time
Updated 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 String - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- Map<String,Object>
- (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 String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,Object>
- (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 Boolean - (Updatable) Indicator of whether to share the data with Oracle.
- lifecycle
Details 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.
- occ
Demand StringSignal Id - occ
Demand List<OccSignals Occ> - The OccDemandSignal data.
- patch
Operations List<OccPatch Operation> - (Updatable)
- state String
- The current state of the OccDemandSignal.
- Map<String,Object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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 string - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- {[key: string]: any}
- (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 string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: any}
- (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 boolean - (Updatable) Indicator of whether to share the data with Oracle.
- lifecycle
Details 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.
- occ
Demand stringSignal Id - occ
Demand OccSignals Demand Signal Occ Demand Signal[] - The OccDemandSignal data.
- patch
Operations OccDemand Signal Patch Operation[] - (Updatable)
- state string
- The current state of the OccDemandSignal.
- {[key: string]: any}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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.
- Mapping[str, Any]
- (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.
- Mapping[str, Any]
- (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_ strsignal_ id - occ_
demand_ Sequence[demandsignal.signals Occ Demand Signal Occ Demand Signal Args] - The OccDemandSignal data.
- patch_
operations Sequence[demandsignal.Occ Demand Signal Patch Operation Args] - (Updatable)
- state str
- The current state of the OccDemandSignal.
- Mapping[str, Any]
- 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
- compartment
Id String - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- Map<Any>
- (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 String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<Any>
- (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 Boolean - (Updatable) Indicator of whether to share the data with Oracle.
- lifecycle
Details 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.
- occ
Demand StringSignal Id - occ
Demand List<Property Map>Signals - The OccDemandSignal data.
- patch
Operations List<Property Map> - (Updatable)
- state String
- The current state of the OccDemandSignal.
- Map<Any>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- time
Updated 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
- Resource
Type string - The name of the resource for the data.
- Units string
- The units of the data.
- Values
List<Occ
Demand Signal Occ Demand Signal Value> - The values of forecast.
- Resource
Type string - The name of the resource for the data.
- Units string
- The units of the data.
- Values
[]Occ
Demand Signal Occ Demand Signal Value - The values of forecast.
- resource
Type String - The name of the resource for the data.
- units String
- The units of the data.
- values
List<Occ
Occ Value> - The values of forecast.
- resource
Type string - The name of the resource for the data.
- units string
- The units of the data.
- values
Occ
Demand Signal Occ Demand Signal Value[] - The values of forecast.
- resource_
type str - The name of the resource for the data.
- units str
- The units of the data.
- values
Sequence[demandsignal.
Occ Demand Signal Occ Demand Signal Value] - The values of forecast.
- resource
Type String - The name of the resource for the data.
- units String
- The units of the data.
- values List<Property Map>
- The values of forecast.
OccDemandSignalOccDemandSignalValue, OccDemandSignalOccDemandSignalValueArgs
- Time
Expected string - The date of the Demand Signal Value.
- Value double
- The Demand Signal Value.
- Comments string
- Space provided for users to make comments regarding the value.
- Time
Expected string - The date of the Demand Signal Value.
- Value float64
- The Demand Signal Value.
- Comments string
- Space provided for users to make comments regarding the value.
- time
Expected String - The date of the Demand Signal Value.
- value Double
- The Demand Signal Value.
- comments String
- Space provided for users to make comments regarding the value.
- time
Expected string - The date of the Demand Signal Value.
- value number
- The Demand Signal Value.
- comments string
- Space provided for users to make comments regarding the value.
- time_
expected str - The date of the Demand Signal Value.
- value float
- The Demand Signal Value.
- comments str
- Space provided for users to make comments regarding the value.
- time
Expected String - The date of the Demand Signal Value.
- value Number
- The Demand Signal Value.
- comments String
- Space provided for users to make comments regarding the value.
OccDemandSignalPatchOperation, OccDemandSignalPatchOperationArgs
Import
OccDemandSignals can be imported using the id
, e.g.
$ pulumi import oci:DemandSignal/occDemandSignal:OccDemandSignal test_occ_demand_signal "id"
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.