1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DemandSignal
  5. OccDemandSignal
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.DemandSignal.OccDemandSignal

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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:

    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.
    OccDemandSignals List<OccDemandSignalOccDemandSignal>
    The OccDemandSignal data.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags 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"}
    OccDemandSignalId string
    PatchOperations List<OccDemandSignalPatchOperation>
    (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.
    OccDemandSignals []OccDemandSignalOccDemandSignalArgs
    The OccDemandSignal data.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags 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"}
    OccDemandSignalId string
    PatchOperations []OccDemandSignalPatchOperationArgs
    (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.
    occDemandSignals List<OccOcc>
    The OccDemandSignal data.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags 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"}
    occDemandSignalId String
    patchOperations List<OccPatchOperation>
    (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.
    occDemandSignals OccDemandSignalOccDemandSignal[]
    The OccDemandSignal data.
    definedTags {[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"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[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"}
    occDemandSignalId string
    patchOperations OccDemandSignalPatchOperation[]
    (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_signals Sequence[demandsignal.OccDemandSignalOccDemandSignalArgs]
    The OccDemandSignal data.
    defined_tags 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.
    freeform_tags 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_signal_id str
    patch_operations Sequence[demandsignal.OccDemandSignalPatchOperationArgs]
    (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.
    occDemandSignals List<Property Map>
    The OccDemandSignal data.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags 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"}
    occDemandSignalId String
    patchOperations List<Property Map>
    (Updatable)

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    State string
    The current state of the OccDemandSignal.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    State string
    The current state of the OccDemandSignal.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    state String
    The current state of the OccDemandSignal.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    state string
    The current state of the OccDemandSignal.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    state str
    The current state of the OccDemandSignal.
    system_tags Mapping[str, 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.
    lifecycleDetails String
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    state String
    The current state of the OccDemandSignal.
    systemTags Map<Any>
    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, 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.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment to create the OccDemandSignal in.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags 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"}
    IsActive bool
    (Updatable) Indicator of whether to share the data with Oracle.
    LifecycleDetails string
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    OccDemandSignalId string
    OccDemandSignals List<OccDemandSignalOccDemandSignal>
    The OccDemandSignal data.
    PatchOperations List<OccDemandSignalPatchOperation>
    (Updatable)
    State string
    The current state of the OccDemandSignal.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    (Updatable) The OCID of the compartment to create the OccDemandSignal in.
    DefinedTags map[string]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"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags 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"}
    IsActive bool
    (Updatable) Indicator of whether to share the data with Oracle.
    LifecycleDetails string
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    OccDemandSignalId string
    OccDemandSignals []OccDemandSignalOccDemandSignalArgs
    The OccDemandSignal data.
    PatchOperations []OccDemandSignalPatchOperationArgs
    (Updatable)
    State string
    The current state of the OccDemandSignal.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    (Updatable) The OCID of the compartment to create the OccDemandSignal in.
    definedTags Map<String,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"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags 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"}
    isActive Boolean
    (Updatable) Indicator of whether to share the data with Oracle.
    lifecycleDetails String
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    occDemandSignalId String
    occDemandSignals List<OccOcc>
    The OccDemandSignal data.
    patchOperations List<OccPatchOperation>
    (Updatable)
    state String
    The current state of the OccDemandSignal.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    (Updatable) The OCID of the compartment to create the OccDemandSignal in.
    definedTags {[key: string]: 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"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[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"}
    isActive boolean
    (Updatable) Indicator of whether to share the data with Oracle.
    lifecycleDetails string
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    occDemandSignalId string
    occDemandSignals OccDemandSignalOccDemandSignal[]
    The OccDemandSignal data.
    patchOperations OccDemandSignalPatchOperation[]
    (Updatable)
    state string
    The current state of the OccDemandSignal.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the OccDemandSignal was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the OccDemandSignal was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartment_id str
    (Updatable) The OCID of the compartment to create the OccDemandSignal in.
    defined_tags Mapping[str, 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.
    freeform_tags 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_signal_id str
    occ_demand_signals Sequence[demandsignal.OccDemandSignalOccDemandSignalArgs]
    The OccDemandSignal data.
    patch_operations Sequence[demandsignal.OccDemandSignalPatchOperationArgs]
    (Updatable)
    state str
    The current state of the OccDemandSignal.
    system_tags 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
    compartmentId String
    (Updatable) The OCID of the compartment to create the OccDemandSignal in.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags 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"}
    isActive Boolean
    (Updatable) Indicator of whether to share the data with Oracle.
    lifecycleDetails String
    A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    occDemandSignalId String
    occDemandSignals List<Property Map>
    The OccDemandSignal data.
    patchOperations List<Property Map>
    (Updatable)
    state String
    The current state of the OccDemandSignal.
    systemTags Map<Any>
    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<OccDemandSignalOccDemandSignalValue>
    The values of forecast.
    ResourceType string
    The name of the resource for the data.
    Units string
    The units of the data.
    Values []OccDemandSignalOccDemandSignalValue
    The values of forecast.
    resourceType String
    The name of the resource for the data.
    units String
    The units of the data.
    values List<OccOccValue>
    The values of forecast.
    resourceType string
    The name of the resource for the data.
    units string
    The units of the data.
    values OccDemandSignalOccDemandSignalValue[]
    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.OccDemandSignalOccDemandSignalValue]
    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

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

    Import

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

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

    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.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi