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, 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 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", "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",
},
},
});
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"),
},
},
})
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());
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",
}])
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",
}],
});
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
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:
- 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, 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"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- 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]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"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- 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,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"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- 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]: 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"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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"}
- 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, 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.
- 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_ 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<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"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- 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, string>
- 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]string
- 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,String>
- 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]: string}
- 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, 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.
- 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>
- 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, 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)
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, 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"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- 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, string>
- 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]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"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- 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]string
- 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,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"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- 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,String>
- 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]: 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"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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"}
- 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]: string}
- 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, 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.
- 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_ 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, 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
- compartment
Id String - (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- 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"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- 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<String>
- 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.