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}
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[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[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.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:
- CompartmentId string
- (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- IsActive bool
- (Updatable) Indicator of whether to share the data with Oracle.
- OccDemand 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"}
- DisplayName 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"}
- OccDemand stringSignal Id 
- PatchOperations List<OccDemand Signal Patch Operation> 
- (Updatable)
- CompartmentId string
- (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- IsActive bool
- (Updatable) Indicator of whether to share the data with Oracle.
- OccDemand []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"}
- DisplayName 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"}
- OccDemand stringSignal Id 
- PatchOperations []OccDemand Signal Patch Operation Args 
- (Updatable)
- compartmentId String
- (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- isActive Boolean
- (Updatable) Indicator of whether to share the data with Oracle.
- occDemand 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"}
- displayName 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"}
- occDemand StringSignal Id 
- patchOperations List<OccPatch Operation> 
- (Updatable)
- compartmentId string
- (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- isActive boolean
- (Updatable) Indicator of whether to share the data with Oracle.
- occDemand 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"}
- displayName 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"}
- occDemand stringSignal Id 
- patchOperations 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[Occsignals 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[OccDemand Signal Patch Operation Args] 
- (Updatable)
- compartmentId String
- (Updatable) The OCID of the compartment to create the OccDemandSignal in.
- isActive Boolean
- (Updatable) Indicator of whether to share the data with Oracle.
- occDemand 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"}
- displayName 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"}
- occDemand StringSignal Id 
- 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.
- 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.
- 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.
- 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.
- {[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.
- 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.
- 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[OccDemandSignalOccDemandSignalArgs]] = None,
        patch_operations: Optional[Sequence[OccDemandSignalPatchOperationArgs]] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> OccDemandSignalfunc 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
- 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.
- CompartmentId 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"}
- DisplayName 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"}
- 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.
- OccDemand stringSignal Id 
- OccDemand List<OccSignals Demand Signal Occ Demand Signal> 
- The OccDemandSignal data.
- PatchOperations 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"}
- 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.
- 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.
- 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.
- OccDemand stringSignal Id 
- OccDemand []OccSignals Demand Signal Occ Demand Signal Args 
- The OccDemandSignal data.
- PatchOperations []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"}
- 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.
- 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.
- 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.
- occDemand StringSignal Id 
- occDemand List<OccSignals Occ> 
- The OccDemandSignal data.
- patchOperations 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"}
- 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.
- {[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.
- {[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.
- occDemand stringSignal Id 
- occDemand OccSignals Demand Signal Occ Demand Signal[] 
- The OccDemandSignal data.
- patchOperations 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"}
- 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.
- 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[Occsignals Demand Signal Occ Demand Signal Args] 
- The OccDemandSignal data.
- patch_operations Sequence[OccDemand 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
- compartmentId 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"}
- displayName 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"}
- 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.
- occDemand StringSignal Id 
- occDemand List<Property Map>Signals 
- The OccDemandSignal data.
- patchOperations 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"}
- 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 string
- The name of the resource for the data.
- Units string
- The units of the data.
- Values
List<OccDemand Signal Occ Demand Signal Value> 
- The values of forecast.
- ResourceType string
- The name of the resource for the data.
- Units string
- The units of the data.
- Values
[]OccDemand Signal Occ Demand Signal Value 
- The values of forecast.
- resourceType String
- The name of the resource for the data.
- units String
- The units of the data.
- values
List<OccOcc Value> 
- The values of forecast.
- resourceType string
- The name of the resource for the data.
- units string
- The units of the data.
- values
OccDemand 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[OccDemand Signal Occ Demand Signal Value] 
- The values of forecast.
- resourceType 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              
- TimeExpected 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.
- TimeExpected 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.
- timeExpected 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.
- timeExpected 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.
- timeExpected 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 ociTerraform Provider.