1. Packages
  2. Splight
  3. API Docs
  4. ComponentRoutine
splight v0.1.24 published on Friday, Jun 28, 2024 by splightplatform

splight.ComponentRoutine

Explore with Pulumi AI

splight logo
splight v0.1.24 published on Friday, Jun 28, 2024 by splightplatform

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as splight from "@splightplatform/pulumi-splight";
    
    const componentTestRoutine = new splight.ComponentRoutine("componentTestRoutine", {
        description: "Created with Terraform",
        type: "IncomingRoutine",
        componentId: "1234-1234-1234-1234",
        configs: [{
            name: "config_param",
            type: "bool",
            value: "true",
            multiple: false,
            required: true,
            sensitive: false,
            description: JSON.stringify("Created with Terraform123123"),
        }],
        outputs: [{
            name: "address",
            description: "destination address for data to be pushed",
            type: "DataAddress",
            valueType: "Number",
            multiple: false,
            required: true,
            values: {
                asset: "1234-1234-1234-1234",
                attribute: "1234-1234-1234-1234",
            },
        }],
    });
    
    import pulumi
    import json
    import pulumi_splight as splight
    
    component_test_routine = splight.ComponentRoutine("componentTestRoutine",
        description="Created with Terraform",
        type="IncomingRoutine",
        component_id="1234-1234-1234-1234",
        configs=[splight.ComponentRoutineConfigArgs(
            name="config_param",
            type="bool",
            value="true",
            multiple=False,
            required=True,
            sensitive=False,
            description=json.dumps("Created with Terraform123123"),
        )],
        outputs=[splight.ComponentRoutineOutputArgs(
            name="address",
            description="destination address for data to be pushed",
            type="DataAddress",
            value_type="Number",
            multiple=False,
            required=True,
            values={
                "asset": "1234-1234-1234-1234",
                "attribute": "1234-1234-1234-1234",
            },
        )])
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/splightplatform/pulumi-splight/sdk/go/splight"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal("Created with Terraform123123")
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		_, err = splight.NewComponentRoutine(ctx, "componentTestRoutine", &splight.ComponentRoutineArgs{
    			Description: pulumi.String("Created with Terraform"),
    			Type:        pulumi.String("IncomingRoutine"),
    			ComponentId: pulumi.String("1234-1234-1234-1234"),
    			Configs: splight.ComponentRoutineConfigArray{
    				&splight.ComponentRoutineConfigArgs{
    					Name:        pulumi.String("config_param"),
    					Type:        pulumi.String("bool"),
    					Value:       pulumi.String("true"),
    					Multiple:    pulumi.Bool(false),
    					Required:    pulumi.Bool(true),
    					Sensitive:   pulumi.Bool(false),
    					Description: pulumi.String(json0),
    				},
    			},
    			Outputs: splight.ComponentRoutineOutputTypeArray{
    				&splight.ComponentRoutineOutputTypeArgs{
    					Name:        pulumi.String("address"),
    					Description: pulumi.String("destination address for data to be pushed"),
    					Type:        pulumi.String("DataAddress"),
    					ValueType:   pulumi.String("Number"),
    					Multiple:    pulumi.Bool(false),
    					Required:    pulumi.Bool(true),
    					Values: splight.ComponentRoutineOutputValueArray{
    						Asset:     "1234-1234-1234-1234",
    						Attribute: "1234-1234-1234-1234",
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Splight = Splight.Splight;
    
    return await Deployment.RunAsync(() => 
    {
        var componentTestRoutine = new Splight.ComponentRoutine("componentTestRoutine", new()
        {
            Description = "Created with Terraform",
            Type = "IncomingRoutine",
            ComponentId = "1234-1234-1234-1234",
            Configs = new[]
            {
                new Splight.Inputs.ComponentRoutineConfigArgs
                {
                    Name = "config_param",
                    Type = "bool",
                    Value = "true",
                    Multiple = false,
                    Required = true,
                    Sensitive = false,
                    Description = JsonSerializer.Serialize("Created with Terraform123123"),
                },
            },
            Outputs = new[]
            {
                new Splight.Inputs.ComponentRoutineOutputArgs
                {
                    Name = "address",
                    Description = "destination address for data to be pushed",
                    Type = "DataAddress",
                    ValueType = "Number",
                    Multiple = false,
                    Required = true,
                    Values = 
                    {
                        { "asset", "1234-1234-1234-1234" },
                        { "attribute", "1234-1234-1234-1234" },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.splight.ComponentRoutine;
    import com.pulumi.splight.ComponentRoutineArgs;
    import com.pulumi.splight.inputs.ComponentRoutineConfigArgs;
    import com.pulumi.splight.inputs.ComponentRoutineOutputArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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 componentTestRoutine = new ComponentRoutine("componentTestRoutine", ComponentRoutineArgs.builder()
                .description("Created with Terraform")
                .type("IncomingRoutine")
                .componentId("1234-1234-1234-1234")
                .configs(ComponentRoutineConfigArgs.builder()
                    .name("config_param")
                    .type("bool")
                    .value("true")
                    .multiple(false)
                    .required(true)
                    .sensitive(false)
                    .description(serializeJson(
                        "Created with Terraform123123"))
                    .build())
                .outputs(ComponentRoutineOutputArgs.builder()
                    .name("address")
                    .description("destination address for data to be pushed")
                    .type("DataAddress")
                    .valueType("Number")
                    .multiple(false)
                    .required(true)
                    .values(ComponentRoutineOutputValueArgs.builder()
                        .asset("1234-1234-1234-1234")
                        .attribute("1234-1234-1234-1234")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      componentTestRoutine:
        type: splight:ComponentRoutine
        properties:
          description: Created with Terraform
          type: IncomingRoutine
          componentId: 1234-1234-1234-1234
          configs:
            - name: config_param
              type: bool
              value: 'true'
              multiple: false
              required: true
              sensitive: false
              description:
                fn::toJSON: Created with Terraform123123
          outputs:
            - name: address
              description: destination address for data to be pushed
              type: DataAddress
              valueType: Number
              multiple: false
              required: true
              values:
                asset: 1234-1234-1234-1234
                attribute: 1234-1234-1234-1234
    

    Create ComponentRoutine Resource

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

    Constructor syntax

    new ComponentRoutine(name: string, args: ComponentRoutineArgs, opts?: CustomResourceOptions);
    @overload
    def ComponentRoutine(resource_name: str,
                         args: ComponentRoutineArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ComponentRoutine(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         component_id: Optional[str] = None,
                         type: Optional[str] = None,
                         configs: Optional[Sequence[ComponentRoutineConfigArgs]] = None,
                         description: Optional[str] = None,
                         inputs: Optional[Sequence[ComponentRoutineInputArgs]] = None,
                         name: Optional[str] = None,
                         outputs: Optional[Sequence[ComponentRoutineOutputArgs]] = None)
    func NewComponentRoutine(ctx *Context, name string, args ComponentRoutineArgs, opts ...ResourceOption) (*ComponentRoutine, error)
    public ComponentRoutine(string name, ComponentRoutineArgs args, CustomResourceOptions? opts = null)
    public ComponentRoutine(String name, ComponentRoutineArgs args)
    public ComponentRoutine(String name, ComponentRoutineArgs args, CustomResourceOptions options)
    
    type: splight:ComponentRoutine
    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 ComponentRoutineArgs
    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 ComponentRoutineArgs
    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 ComponentRoutineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ComponentRoutineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ComponentRoutineArgs
    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 componentRoutineResource = new Splight.ComponentRoutine("componentRoutineResource", new()
    {
        ComponentId = "string",
        Type = "string",
        Configs = new[]
        {
            new Splight.Inputs.ComponentRoutineConfigArgs
            {
                Name = "string",
                Type = "string",
                Description = "string",
                Multiple = false,
                Required = false,
                Sensitive = false,
                Value = "string",
            },
        },
        Description = "string",
        Inputs = new[]
        {
            new Splight.Inputs.ComponentRoutineInputArgs
            {
                Name = "string",
                ValueType = "string",
                Description = "string",
                Multiple = false,
                Required = false,
                Sensitive = false,
                Type = "string",
                Values = new[]
                {
                    new Splight.Inputs.ComponentRoutineInputValueArgs
                    {
                        Asset = "string",
                        Attribute = "string",
                    },
                },
            },
        },
        Name = "string",
        Outputs = new[]
        {
            new Splight.Inputs.ComponentRoutineOutputArgs
            {
                Name = "string",
                ValueType = "string",
                Description = "string",
                Multiple = false,
                Required = false,
                Sensitive = false,
                Type = "string",
                Values = new[]
                {
                    new Splight.Inputs.ComponentRoutineOutputValueArgs
                    {
                        Asset = "string",
                        Attribute = "string",
                    },
                },
            },
        },
    });
    
    example, err := splight.NewComponentRoutine(ctx, "componentRoutineResource", &splight.ComponentRoutineArgs{
    	ComponentId: pulumi.String("string"),
    	Type:        pulumi.String("string"),
    	Configs: splight.ComponentRoutineConfigArray{
    		&splight.ComponentRoutineConfigArgs{
    			Name:        pulumi.String("string"),
    			Type:        pulumi.String("string"),
    			Description: pulumi.String("string"),
    			Multiple:    pulumi.Bool(false),
    			Required:    pulumi.Bool(false),
    			Sensitive:   pulumi.Bool(false),
    			Value:       pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Inputs: splight.ComponentRoutineInputTypeArray{
    		&splight.ComponentRoutineInputTypeArgs{
    			Name:        pulumi.String("string"),
    			ValueType:   pulumi.String("string"),
    			Description: pulumi.String("string"),
    			Multiple:    pulumi.Bool(false),
    			Required:    pulumi.Bool(false),
    			Sensitive:   pulumi.Bool(false),
    			Type:        pulumi.String("string"),
    			Values: splight.ComponentRoutineInputValueArray{
    				&splight.ComponentRoutineInputValueArgs{
    					Asset:     pulumi.String("string"),
    					Attribute: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Name: pulumi.String("string"),
    	Outputs: splight.ComponentRoutineOutputTypeArray{
    		&splight.ComponentRoutineOutputTypeArgs{
    			Name:        pulumi.String("string"),
    			ValueType:   pulumi.String("string"),
    			Description: pulumi.String("string"),
    			Multiple:    pulumi.Bool(false),
    			Required:    pulumi.Bool(false),
    			Sensitive:   pulumi.Bool(false),
    			Type:        pulumi.String("string"),
    			Values: splight.ComponentRoutineOutputValueArray{
    				&splight.ComponentRoutineOutputValueArgs{
    					Asset:     pulumi.String("string"),
    					Attribute: pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var componentRoutineResource = new ComponentRoutine("componentRoutineResource", ComponentRoutineArgs.builder()
        .componentId("string")
        .type("string")
        .configs(ComponentRoutineConfigArgs.builder()
            .name("string")
            .type("string")
            .description("string")
            .multiple(false)
            .required(false)
            .sensitive(false)
            .value("string")
            .build())
        .description("string")
        .inputs(ComponentRoutineInputArgs.builder()
            .name("string")
            .valueType("string")
            .description("string")
            .multiple(false)
            .required(false)
            .sensitive(false)
            .type("string")
            .values(ComponentRoutineInputValueArgs.builder()
                .asset("string")
                .attribute("string")
                .build())
            .build())
        .name("string")
        .outputs(ComponentRoutineOutputArgs.builder()
            .name("string")
            .valueType("string")
            .description("string")
            .multiple(false)
            .required(false)
            .sensitive(false)
            .type("string")
            .values(ComponentRoutineOutputValueArgs.builder()
                .asset("string")
                .attribute("string")
                .build())
            .build())
        .build());
    
    component_routine_resource = splight.ComponentRoutine("componentRoutineResource",
        component_id="string",
        type="string",
        configs=[splight.ComponentRoutineConfigArgs(
            name="string",
            type="string",
            description="string",
            multiple=False,
            required=False,
            sensitive=False,
            value="string",
        )],
        description="string",
        inputs=[splight.ComponentRoutineInputArgs(
            name="string",
            value_type="string",
            description="string",
            multiple=False,
            required=False,
            sensitive=False,
            type="string",
            values=[splight.ComponentRoutineInputValueArgs(
                asset="string",
                attribute="string",
            )],
        )],
        name="string",
        outputs=[splight.ComponentRoutineOutputArgs(
            name="string",
            value_type="string",
            description="string",
            multiple=False,
            required=False,
            sensitive=False,
            type="string",
            values=[splight.ComponentRoutineOutputValueArgs(
                asset="string",
                attribute="string",
            )],
        )])
    
    const componentRoutineResource = new splight.ComponentRoutine("componentRoutineResource", {
        componentId: "string",
        type: "string",
        configs: [{
            name: "string",
            type: "string",
            description: "string",
            multiple: false,
            required: false,
            sensitive: false,
            value: "string",
        }],
        description: "string",
        inputs: [{
            name: "string",
            valueType: "string",
            description: "string",
            multiple: false,
            required: false,
            sensitive: false,
            type: "string",
            values: [{
                asset: "string",
                attribute: "string",
            }],
        }],
        name: "string",
        outputs: [{
            name: "string",
            valueType: "string",
            description: "string",
            multiple: false,
            required: false,
            sensitive: false,
            type: "string",
            values: [{
                asset: "string",
                attribute: "string",
            }],
        }],
    });
    
    type: splight:ComponentRoutine
    properties:
        componentId: string
        configs:
            - description: string
              multiple: false
              name: string
              required: false
              sensitive: false
              type: string
              value: string
        description: string
        inputs:
            - description: string
              multiple: false
              name: string
              required: false
              sensitive: false
              type: string
              valueType: string
              values:
                - asset: string
                  attribute: string
        name: string
        outputs:
            - description: string
              multiple: false
              name: string
              required: false
              sensitive: false
              type: string
              valueType: string
              values:
                - asset: string
                  attribute: string
        type: string
    

    ComponentRoutine 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 ComponentRoutine resource accepts the following input properties:

    ComponentId string
    reference to component to be attached
    Type string
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    Configs List<Splight.Splight.Inputs.ComponentRoutineConfig>
    static config parameters of the routine
    Description string
    optional complementary information about the routine
    Inputs List<Splight.Splight.Inputs.ComponentRoutineInput>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    Name string
    name of the routine
    Outputs List<Splight.Splight.Inputs.ComponentRoutineOutput>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    ComponentId string
    reference to component to be attached
    Type string
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    Configs []ComponentRoutineConfigArgs
    static config parameters of the routine
    Description string
    optional complementary information about the routine
    Inputs []ComponentRoutineInputTypeArgs
    asset attribute where to ingest data. Only valid for IncomingRoutine
    Name string
    name of the routine
    Outputs []ComponentRoutineOutputTypeArgs
    asset attribute where to ingest data. Only valid for IncomingRoutine
    componentId String
    reference to component to be attached
    type String
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    configs List<ComponentRoutineConfig>
    static config parameters of the routine
    description String
    optional complementary information about the routine
    inputs List<ComponentRoutineInput>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    name String
    name of the routine
    outputs List<ComponentRoutineOutput>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    componentId string
    reference to component to be attached
    type string
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    configs ComponentRoutineConfig[]
    static config parameters of the routine
    description string
    optional complementary information about the routine
    inputs ComponentRoutineInput[]
    asset attribute where to ingest data. Only valid for IncomingRoutine
    name string
    name of the routine
    outputs ComponentRoutineOutput[]
    asset attribute where to ingest data. Only valid for IncomingRoutine
    component_id str
    reference to component to be attached
    type str
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    configs Sequence[ComponentRoutineConfigArgs]
    static config parameters of the routine
    description str
    optional complementary information about the routine
    inputs Sequence[ComponentRoutineInputArgs]
    asset attribute where to ingest data. Only valid for IncomingRoutine
    name str
    name of the routine
    outputs Sequence[ComponentRoutineOutputArgs]
    asset attribute where to ingest data. Only valid for IncomingRoutine
    componentId String
    reference to component to be attached
    type String
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    configs List<Property Map>
    static config parameters of the routine
    description String
    optional complementary information about the routine
    inputs List<Property Map>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    name String
    name of the routine
    outputs List<Property Map>
    asset attribute where to ingest data. Only valid for IncomingRoutine

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ComponentRoutine Resource

    Get an existing ComponentRoutine 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?: ComponentRoutineState, opts?: CustomResourceOptions): ComponentRoutine
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            component_id: Optional[str] = None,
            configs: Optional[Sequence[ComponentRoutineConfigArgs]] = None,
            description: Optional[str] = None,
            inputs: Optional[Sequence[ComponentRoutineInputArgs]] = None,
            name: Optional[str] = None,
            outputs: Optional[Sequence[ComponentRoutineOutputArgs]] = None,
            type: Optional[str] = None) -> ComponentRoutine
    func GetComponentRoutine(ctx *Context, name string, id IDInput, state *ComponentRoutineState, opts ...ResourceOption) (*ComponentRoutine, error)
    public static ComponentRoutine Get(string name, Input<string> id, ComponentRoutineState? state, CustomResourceOptions? opts = null)
    public static ComponentRoutine get(String name, Output<String> id, ComponentRoutineState 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:
    ComponentId string
    reference to component to be attached
    Configs List<Splight.Splight.Inputs.ComponentRoutineConfig>
    static config parameters of the routine
    Description string
    optional complementary information about the routine
    Inputs List<Splight.Splight.Inputs.ComponentRoutineInput>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    Name string
    name of the routine
    Outputs List<Splight.Splight.Inputs.ComponentRoutineOutput>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    Type string
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    ComponentId string
    reference to component to be attached
    Configs []ComponentRoutineConfigArgs
    static config parameters of the routine
    Description string
    optional complementary information about the routine
    Inputs []ComponentRoutineInputTypeArgs
    asset attribute where to ingest data. Only valid for IncomingRoutine
    Name string
    name of the routine
    Outputs []ComponentRoutineOutputTypeArgs
    asset attribute where to ingest data. Only valid for IncomingRoutine
    Type string
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    componentId String
    reference to component to be attached
    configs List<ComponentRoutineConfig>
    static config parameters of the routine
    description String
    optional complementary information about the routine
    inputs List<ComponentRoutineInput>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    name String
    name of the routine
    outputs List<ComponentRoutineOutput>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    type String
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    componentId string
    reference to component to be attached
    configs ComponentRoutineConfig[]
    static config parameters of the routine
    description string
    optional complementary information about the routine
    inputs ComponentRoutineInput[]
    asset attribute where to ingest data. Only valid for IncomingRoutine
    name string
    name of the routine
    outputs ComponentRoutineOutput[]
    asset attribute where to ingest data. Only valid for IncomingRoutine
    type string
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    component_id str
    reference to component to be attached
    configs Sequence[ComponentRoutineConfigArgs]
    static config parameters of the routine
    description str
    optional complementary information about the routine
    inputs Sequence[ComponentRoutineInputArgs]
    asset attribute where to ingest data. Only valid for IncomingRoutine
    name str
    name of the routine
    outputs Sequence[ComponentRoutineOutputArgs]
    asset attribute where to ingest data. Only valid for IncomingRoutine
    type str
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)
    componentId String
    reference to component to be attached
    configs List<Property Map>
    static config parameters of the routine
    description String
    optional complementary information about the routine
    inputs List<Property Map>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    name String
    name of the routine
    outputs List<Property Map>
    asset attribute where to ingest data. Only valid for IncomingRoutine
    type String
    [IncomingRoutine|OutgoingRoutine] direction of the data flow (from device to system or from system to device)

    Supporting Types

    ComponentRoutineConfig, ComponentRoutineConfigArgs

    Name string
    Type string
    Description string
    Multiple bool
    Required bool
    Sensitive bool
    Value string
    Name string
    Type string
    Description string
    Multiple bool
    Required bool
    Sensitive bool
    Value string
    name String
    type String
    description String
    multiple Boolean
    required Boolean
    sensitive Boolean
    value String
    name string
    type string
    description string
    multiple boolean
    required boolean
    sensitive boolean
    value string
    name String
    type String
    description String
    multiple Boolean
    required Boolean
    sensitive Boolean
    value String

    ComponentRoutineInput, ComponentRoutineInputArgs

    name String
    valueType String
    description String
    multiple Boolean
    required Boolean
    sensitive Boolean
    type String
    values List<Property Map>

    ComponentRoutineInputValue, ComponentRoutineInputValueArgs

    Asset string
    Attribute string
    Asset string
    Attribute string
    asset String
    attribute String
    asset string
    attribute string
    asset String
    attribute String

    ComponentRoutineOutput, ComponentRoutineOutputArgs

    name String
    valueType String
    description String
    multiple Boolean
    required Boolean
    sensitive Boolean
    type String
    values List<Property Map>

    ComponentRoutineOutputValue, ComponentRoutineOutputValueArgs

    Asset string
    Attribute string
    Asset string
    Attribute string
    asset String
    attribute String
    asset string
    attribute string
    asset String
    attribute String

    Import

    $ pulumi import splight:index/componentRoutine:ComponentRoutine [options] splight_component_routine.<name> <component_routine_id>
    

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

    Package Details

    Repository
    splight splightplatform/pulumi-splight
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the splight Terraform Provider.
    splight logo
    splight v0.1.24 published on Friday, Jun 28, 2024 by splightplatform