1. Packages
  2. Splight
  3. API Docs
  4. Function
splight v1.1.9 published on Friday, Oct 18, 2024 by splightplatform

splight.Function

Explore with Pulumi AI

splight logo
splight v1.1.9 published on Friday, Oct 18, 2024 by splightplatform

    Example Usage

    Create Function Resource

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

    Constructor syntax

    new Function(name: string, args: FunctionArgs, opts?: CustomResourceOptions);
    @overload
    def Function(resource_name: str,
                 args: FunctionArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Function(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 function_items: Optional[Sequence[FunctionFunctionItemArgs]] = None,
                 type: Optional[str] = None,
                 time_window: Optional[int] = None,
                 target_variable: Optional[str] = None,
                 target_attribute: Optional[FunctionTargetAttributeArgs] = None,
                 target_asset: Optional[FunctionTargetAssetArgs] = None,
                 description: Optional[str] = None,
                 cron_month: Optional[int] = None,
                 name: Optional[str] = None,
                 rate_unit: Optional[str] = None,
                 rate_value: Optional[int] = None,
                 tags: Optional[Sequence[FunctionTagArgs]] = None,
                 cron_year: Optional[int] = None,
                 cron_dom: Optional[int] = None,
                 cron_minutes: Optional[int] = None,
                 cron_hours: Optional[int] = None,
                 cron_dow: Optional[int] = None)
    func NewFunction(ctx *Context, name string, args FunctionArgs, opts ...ResourceOption) (*Function, error)
    public Function(string name, FunctionArgs args, CustomResourceOptions? opts = null)
    public Function(String name, FunctionArgs args)
    public Function(String name, FunctionArgs args, CustomResourceOptions options)
    
    type: splight:Function
    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 FunctionArgs
    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 FunctionArgs
    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 FunctionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FunctionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FunctionArgs
    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 functionResource = new Splight.Function("functionResource", new()
    {
        FunctionItems = new[]
        {
            new Splight.Inputs.FunctionFunctionItemArgs
            {
                Expression = "string",
                ExpressionPlain = "string",
                QueryFilterAsset = new Splight.Inputs.FunctionFunctionItemQueryFilterAssetArgs
                {
                    Id = "string",
                    Name = "string",
                },
                QueryFilterAttribute = new Splight.Inputs.FunctionFunctionItemQueryFilterAttributeArgs
                {
                    Id = "string",
                    Name = "string",
                    Type = "string",
                },
                QueryGroupFunction = "string",
                QueryGroupUnit = "string",
                QueryPlain = "string",
                RefId = "string",
                Type = "string",
                Id = "string",
            },
        },
        Type = "string",
        TimeWindow = 0,
        TargetVariable = "string",
        TargetAttribute = new Splight.Inputs.FunctionTargetAttributeArgs
        {
            Id = "string",
            Name = "string",
            Type = "string",
        },
        TargetAsset = new Splight.Inputs.FunctionTargetAssetArgs
        {
            Id = "string",
            Name = "string",
        },
        Description = "string",
        CronMonth = 0,
        Name = "string",
        RateUnit = "string",
        RateValue = 0,
        Tags = new[]
        {
            new Splight.Inputs.FunctionTagArgs
            {
                Id = "string",
                Name = "string",
            },
        },
        CronYear = 0,
        CronDom = 0,
        CronMinutes = 0,
        CronHours = 0,
        CronDow = 0,
    });
    
    example, err := splight.NewFunction(ctx, "functionResource", &splight.FunctionArgs{
    	FunctionItems: splight.FunctionFunctionItemArray{
    		&splight.FunctionFunctionItemArgs{
    			Expression:      pulumi.String("string"),
    			ExpressionPlain: pulumi.String("string"),
    			QueryFilterAsset: &splight.FunctionFunctionItemQueryFilterAssetArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    			QueryFilterAttribute: &splight.FunctionFunctionItemQueryFilterAttributeArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    				Type: pulumi.String("string"),
    			},
    			QueryGroupFunction: pulumi.String("string"),
    			QueryGroupUnit:     pulumi.String("string"),
    			QueryPlain:         pulumi.String("string"),
    			RefId:              pulumi.String("string"),
    			Type:               pulumi.String("string"),
    			Id:                 pulumi.String("string"),
    		},
    	},
    	Type:           pulumi.String("string"),
    	TimeWindow:     pulumi.Int(0),
    	TargetVariable: pulumi.String("string"),
    	TargetAttribute: &splight.FunctionTargetAttributeArgs{
    		Id:   pulumi.String("string"),
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	TargetAsset: &splight.FunctionTargetAssetArgs{
    		Id:   pulumi.String("string"),
    		Name: pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	CronMonth:   pulumi.Int(0),
    	Name:        pulumi.String("string"),
    	RateUnit:    pulumi.String("string"),
    	RateValue:   pulumi.Int(0),
    	Tags: splight.FunctionTagArray{
    		&splight.FunctionTagArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    	CronYear:    pulumi.Int(0),
    	CronDom:     pulumi.Int(0),
    	CronMinutes: pulumi.Int(0),
    	CronHours:   pulumi.Int(0),
    	CronDow:     pulumi.Int(0),
    })
    
    var functionResource = new Function("functionResource", FunctionArgs.builder()
        .functionItems(FunctionFunctionItemArgs.builder()
            .expression("string")
            .expressionPlain("string")
            .queryFilterAsset(FunctionFunctionItemQueryFilterAssetArgs.builder()
                .id("string")
                .name("string")
                .build())
            .queryFilterAttribute(FunctionFunctionItemQueryFilterAttributeArgs.builder()
                .id("string")
                .name("string")
                .type("string")
                .build())
            .queryGroupFunction("string")
            .queryGroupUnit("string")
            .queryPlain("string")
            .refId("string")
            .type("string")
            .id("string")
            .build())
        .type("string")
        .timeWindow(0)
        .targetVariable("string")
        .targetAttribute(FunctionTargetAttributeArgs.builder()
            .id("string")
            .name("string")
            .type("string")
            .build())
        .targetAsset(FunctionTargetAssetArgs.builder()
            .id("string")
            .name("string")
            .build())
        .description("string")
        .cronMonth(0)
        .name("string")
        .rateUnit("string")
        .rateValue(0)
        .tags(FunctionTagArgs.builder()
            .id("string")
            .name("string")
            .build())
        .cronYear(0)
        .cronDom(0)
        .cronMinutes(0)
        .cronHours(0)
        .cronDow(0)
        .build());
    
    function_resource = splight.Function("functionResource",
        function_items=[splight.FunctionFunctionItemArgs(
            expression="string",
            expression_plain="string",
            query_filter_asset=splight.FunctionFunctionItemQueryFilterAssetArgs(
                id="string",
                name="string",
            ),
            query_filter_attribute=splight.FunctionFunctionItemQueryFilterAttributeArgs(
                id="string",
                name="string",
                type="string",
            ),
            query_group_function="string",
            query_group_unit="string",
            query_plain="string",
            ref_id="string",
            type="string",
            id="string",
        )],
        type="string",
        time_window=0,
        target_variable="string",
        target_attribute=splight.FunctionTargetAttributeArgs(
            id="string",
            name="string",
            type="string",
        ),
        target_asset=splight.FunctionTargetAssetArgs(
            id="string",
            name="string",
        ),
        description="string",
        cron_month=0,
        name="string",
        rate_unit="string",
        rate_value=0,
        tags=[splight.FunctionTagArgs(
            id="string",
            name="string",
        )],
        cron_year=0,
        cron_dom=0,
        cron_minutes=0,
        cron_hours=0,
        cron_dow=0)
    
    const functionResource = new splight.Function("functionResource", {
        functionItems: [{
            expression: "string",
            expressionPlain: "string",
            queryFilterAsset: {
                id: "string",
                name: "string",
            },
            queryFilterAttribute: {
                id: "string",
                name: "string",
                type: "string",
            },
            queryGroupFunction: "string",
            queryGroupUnit: "string",
            queryPlain: "string",
            refId: "string",
            type: "string",
            id: "string",
        }],
        type: "string",
        timeWindow: 0,
        targetVariable: "string",
        targetAttribute: {
            id: "string",
            name: "string",
            type: "string",
        },
        targetAsset: {
            id: "string",
            name: "string",
        },
        description: "string",
        cronMonth: 0,
        name: "string",
        rateUnit: "string",
        rateValue: 0,
        tags: [{
            id: "string",
            name: "string",
        }],
        cronYear: 0,
        cronDom: 0,
        cronMinutes: 0,
        cronHours: 0,
        cronDow: 0,
    });
    
    type: splight:Function
    properties:
        cronDom: 0
        cronDow: 0
        cronHours: 0
        cronMinutes: 0
        cronMonth: 0
        cronYear: 0
        description: string
        functionItems:
            - expression: string
              expressionPlain: string
              id: string
              queryFilterAsset:
                id: string
                name: string
              queryFilterAttribute:
                id: string
                name: string
                type: string
              queryGroupFunction: string
              queryGroupUnit: string
              queryPlain: string
              refId: string
              type: string
        name: string
        rateUnit: string
        rateValue: 0
        tags:
            - id: string
              name: string
        targetAsset:
            id: string
            name: string
        targetAttribute:
            id: string
            name: string
            type: string
        targetVariable: string
        timeWindow: 0
        type: string
    

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

    Description string
    The description of the resource
    FunctionItems List<Splight.Splight.Inputs.FunctionFunctionItem>
    traces to be used to compute the results
    TargetAsset Splight.Splight.Inputs.FunctionTargetAsset
    Asset filter
    TargetAttribute Splight.Splight.Inputs.FunctionTargetAttribute
    Attribute filter
    TargetVariable string
    variable to be considered to be ingested
    TimeWindow int
    window to fetch data from. Data out of that window will not be considered for evaluation
    Type string
    [cron|rate] type for the cron
    CronDom int
    schedule value for cron
    CronDow int
    schedule value for cron
    CronHours int
    schedule value for cron
    CronMinutes int
    schedule value for cron
    CronMonth int
    schedule value for cron
    CronYear int
    schedule value for cron
    Name string
    The name of the resource
    RateUnit string
    [day|hour|minute] schedule unit
    RateValue int
    schedule value
    Tags List<Splight.Splight.Inputs.FunctionTag>
    tags of the resource
    Description string
    The description of the resource
    FunctionItems []FunctionFunctionItemArgs
    traces to be used to compute the results
    TargetAsset FunctionTargetAssetArgs
    Asset filter
    TargetAttribute FunctionTargetAttributeArgs
    Attribute filter
    TargetVariable string
    variable to be considered to be ingested
    TimeWindow int
    window to fetch data from. Data out of that window will not be considered for evaluation
    Type string
    [cron|rate] type for the cron
    CronDom int
    schedule value for cron
    CronDow int
    schedule value for cron
    CronHours int
    schedule value for cron
    CronMinutes int
    schedule value for cron
    CronMonth int
    schedule value for cron
    CronYear int
    schedule value for cron
    Name string
    The name of the resource
    RateUnit string
    [day|hour|minute] schedule unit
    RateValue int
    schedule value
    Tags []FunctionTagArgs
    tags of the resource
    description String
    The description of the resource
    functionItems List<FunctionFunctionItem>
    traces to be used to compute the results
    targetAsset FunctionTargetAsset
    Asset filter
    targetAttribute FunctionTargetAttribute
    Attribute filter
    targetVariable String
    variable to be considered to be ingested
    timeWindow Integer
    window to fetch data from. Data out of that window will not be considered for evaluation
    type String
    [cron|rate] type for the cron
    cronDom Integer
    schedule value for cron
    cronDow Integer
    schedule value for cron
    cronHours Integer
    schedule value for cron
    cronMinutes Integer
    schedule value for cron
    cronMonth Integer
    schedule value for cron
    cronYear Integer
    schedule value for cron
    name String
    The name of the resource
    rateUnit String
    [day|hour|minute] schedule unit
    rateValue Integer
    schedule value
    tags List<FunctionTag>
    tags of the resource
    description string
    The description of the resource
    functionItems FunctionFunctionItem[]
    traces to be used to compute the results
    targetAsset FunctionTargetAsset
    Asset filter
    targetAttribute FunctionTargetAttribute
    Attribute filter
    targetVariable string
    variable to be considered to be ingested
    timeWindow number
    window to fetch data from. Data out of that window will not be considered for evaluation
    type string
    [cron|rate] type for the cron
    cronDom number
    schedule value for cron
    cronDow number
    schedule value for cron
    cronHours number
    schedule value for cron
    cronMinutes number
    schedule value for cron
    cronMonth number
    schedule value for cron
    cronYear number
    schedule value for cron
    name string
    The name of the resource
    rateUnit string
    [day|hour|minute] schedule unit
    rateValue number
    schedule value
    tags FunctionTag[]
    tags of the resource
    description str
    The description of the resource
    function_items Sequence[FunctionFunctionItemArgs]
    traces to be used to compute the results
    target_asset FunctionTargetAssetArgs
    Asset filter
    target_attribute FunctionTargetAttributeArgs
    Attribute filter
    target_variable str
    variable to be considered to be ingested
    time_window int
    window to fetch data from. Data out of that window will not be considered for evaluation
    type str
    [cron|rate] type for the cron
    cron_dom int
    schedule value for cron
    cron_dow int
    schedule value for cron
    cron_hours int
    schedule value for cron
    cron_minutes int
    schedule value for cron
    cron_month int
    schedule value for cron
    cron_year int
    schedule value for cron
    name str
    The name of the resource
    rate_unit str
    [day|hour|minute] schedule unit
    rate_value int
    schedule value
    tags Sequence[FunctionTagArgs]
    tags of the resource
    description String
    The description of the resource
    functionItems List<Property Map>
    traces to be used to compute the results
    targetAsset Property Map
    Asset filter
    targetAttribute Property Map
    Attribute filter
    targetVariable String
    variable to be considered to be ingested
    timeWindow Number
    window to fetch data from. Data out of that window will not be considered for evaluation
    type String
    [cron|rate] type for the cron
    cronDom Number
    schedule value for cron
    cronDow Number
    schedule value for cron
    cronHours Number
    schedule value for cron
    cronMinutes Number
    schedule value for cron
    cronMonth Number
    schedule value for cron
    cronYear Number
    schedule value for cron
    name String
    The name of the resource
    rateUnit String
    [day|hour|minute] schedule unit
    rateValue Number
    schedule value
    tags List<Property Map>
    tags of the resource

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Function 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 Function Resource

    Get an existing Function 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?: FunctionState, opts?: CustomResourceOptions): Function
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cron_dom: Optional[int] = None,
            cron_dow: Optional[int] = None,
            cron_hours: Optional[int] = None,
            cron_minutes: Optional[int] = None,
            cron_month: Optional[int] = None,
            cron_year: Optional[int] = None,
            description: Optional[str] = None,
            function_items: Optional[Sequence[FunctionFunctionItemArgs]] = None,
            name: Optional[str] = None,
            rate_unit: Optional[str] = None,
            rate_value: Optional[int] = None,
            tags: Optional[Sequence[FunctionTagArgs]] = None,
            target_asset: Optional[FunctionTargetAssetArgs] = None,
            target_attribute: Optional[FunctionTargetAttributeArgs] = None,
            target_variable: Optional[str] = None,
            time_window: Optional[int] = None,
            type: Optional[str] = None) -> Function
    func GetFunction(ctx *Context, name string, id IDInput, state *FunctionState, opts ...ResourceOption) (*Function, error)
    public static Function Get(string name, Input<string> id, FunctionState? state, CustomResourceOptions? opts = null)
    public static Function get(String name, Output<String> id, FunctionState 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:
    CronDom int
    schedule value for cron
    CronDow int
    schedule value for cron
    CronHours int
    schedule value for cron
    CronMinutes int
    schedule value for cron
    CronMonth int
    schedule value for cron
    CronYear int
    schedule value for cron
    Description string
    The description of the resource
    FunctionItems List<Splight.Splight.Inputs.FunctionFunctionItem>
    traces to be used to compute the results
    Name string
    The name of the resource
    RateUnit string
    [day|hour|minute] schedule unit
    RateValue int
    schedule value
    Tags List<Splight.Splight.Inputs.FunctionTag>
    tags of the resource
    TargetAsset Splight.Splight.Inputs.FunctionTargetAsset
    Asset filter
    TargetAttribute Splight.Splight.Inputs.FunctionTargetAttribute
    Attribute filter
    TargetVariable string
    variable to be considered to be ingested
    TimeWindow int
    window to fetch data from. Data out of that window will not be considered for evaluation
    Type string
    [cron|rate] type for the cron
    CronDom int
    schedule value for cron
    CronDow int
    schedule value for cron
    CronHours int
    schedule value for cron
    CronMinutes int
    schedule value for cron
    CronMonth int
    schedule value for cron
    CronYear int
    schedule value for cron
    Description string
    The description of the resource
    FunctionItems []FunctionFunctionItemArgs
    traces to be used to compute the results
    Name string
    The name of the resource
    RateUnit string
    [day|hour|minute] schedule unit
    RateValue int
    schedule value
    Tags []FunctionTagArgs
    tags of the resource
    TargetAsset FunctionTargetAssetArgs
    Asset filter
    TargetAttribute FunctionTargetAttributeArgs
    Attribute filter
    TargetVariable string
    variable to be considered to be ingested
    TimeWindow int
    window to fetch data from. Data out of that window will not be considered for evaluation
    Type string
    [cron|rate] type for the cron
    cronDom Integer
    schedule value for cron
    cronDow Integer
    schedule value for cron
    cronHours Integer
    schedule value for cron
    cronMinutes Integer
    schedule value for cron
    cronMonth Integer
    schedule value for cron
    cronYear Integer
    schedule value for cron
    description String
    The description of the resource
    functionItems List<FunctionFunctionItem>
    traces to be used to compute the results
    name String
    The name of the resource
    rateUnit String
    [day|hour|minute] schedule unit
    rateValue Integer
    schedule value
    tags List<FunctionTag>
    tags of the resource
    targetAsset FunctionTargetAsset
    Asset filter
    targetAttribute FunctionTargetAttribute
    Attribute filter
    targetVariable String
    variable to be considered to be ingested
    timeWindow Integer
    window to fetch data from. Data out of that window will not be considered for evaluation
    type String
    [cron|rate] type for the cron
    cronDom number
    schedule value for cron
    cronDow number
    schedule value for cron
    cronHours number
    schedule value for cron
    cronMinutes number
    schedule value for cron
    cronMonth number
    schedule value for cron
    cronYear number
    schedule value for cron
    description string
    The description of the resource
    functionItems FunctionFunctionItem[]
    traces to be used to compute the results
    name string
    The name of the resource
    rateUnit string
    [day|hour|minute] schedule unit
    rateValue number
    schedule value
    tags FunctionTag[]
    tags of the resource
    targetAsset FunctionTargetAsset
    Asset filter
    targetAttribute FunctionTargetAttribute
    Attribute filter
    targetVariable string
    variable to be considered to be ingested
    timeWindow number
    window to fetch data from. Data out of that window will not be considered for evaluation
    type string
    [cron|rate] type for the cron
    cron_dom int
    schedule value for cron
    cron_dow int
    schedule value for cron
    cron_hours int
    schedule value for cron
    cron_minutes int
    schedule value for cron
    cron_month int
    schedule value for cron
    cron_year int
    schedule value for cron
    description str
    The description of the resource
    function_items Sequence[FunctionFunctionItemArgs]
    traces to be used to compute the results
    name str
    The name of the resource
    rate_unit str
    [day|hour|minute] schedule unit
    rate_value int
    schedule value
    tags Sequence[FunctionTagArgs]
    tags of the resource
    target_asset FunctionTargetAssetArgs
    Asset filter
    target_attribute FunctionTargetAttributeArgs
    Attribute filter
    target_variable str
    variable to be considered to be ingested
    time_window int
    window to fetch data from. Data out of that window will not be considered for evaluation
    type str
    [cron|rate] type for the cron
    cronDom Number
    schedule value for cron
    cronDow Number
    schedule value for cron
    cronHours Number
    schedule value for cron
    cronMinutes Number
    schedule value for cron
    cronMonth Number
    schedule value for cron
    cronYear Number
    schedule value for cron
    description String
    The description of the resource
    functionItems List<Property Map>
    traces to be used to compute the results
    name String
    The name of the resource
    rateUnit String
    [day|hour|minute] schedule unit
    rateValue Number
    schedule value
    tags List<Property Map>
    tags of the resource
    targetAsset Property Map
    Asset filter
    targetAttribute Property Map
    Attribute filter
    targetVariable String
    variable to be considered to be ingested
    timeWindow Number
    window to fetch data from. Data out of that window will not be considered for evaluation
    type String
    [cron|rate] type for the cron

    Supporting Types

    FunctionFunctionItem, FunctionFunctionItemArgs

    Expression string
    how the expression is shown (i.e 'A * 2')
    ExpressionPlain string
    actual mongo query containing the expression
    QueryFilterAsset Splight.Splight.Inputs.FunctionFunctionItemQueryFilterAsset
    Asset filter
    QueryFilterAttribute Splight.Splight.Inputs.FunctionFunctionItemQueryFilterAttribute
    Attribute filter
    QueryGroupFunction string
    function used to aggregate data
    QueryGroupUnit string
    time window to apply the aggregation
    QueryPlain string
    actual mongo query
    RefId string
    identifier of the variable (i.e 'A')
    Type string
    either QUERY or EXPRESSION
    Id string
    Id of the function item
    Expression string
    how the expression is shown (i.e 'A * 2')
    ExpressionPlain string
    actual mongo query containing the expression
    QueryFilterAsset FunctionFunctionItemQueryFilterAsset
    Asset filter
    QueryFilterAttribute FunctionFunctionItemQueryFilterAttribute
    Attribute filter
    QueryGroupFunction string
    function used to aggregate data
    QueryGroupUnit string
    time window to apply the aggregation
    QueryPlain string
    actual mongo query
    RefId string
    identifier of the variable (i.e 'A')
    Type string
    either QUERY or EXPRESSION
    Id string
    Id of the function item
    expression String
    how the expression is shown (i.e 'A * 2')
    expressionPlain String
    actual mongo query containing the expression
    queryFilterAsset FunctionFunctionItemQueryFilterAsset
    Asset filter
    queryFilterAttribute FunctionFunctionItemQueryFilterAttribute
    Attribute filter
    queryGroupFunction String
    function used to aggregate data
    queryGroupUnit String
    time window to apply the aggregation
    queryPlain String
    actual mongo query
    refId String
    identifier of the variable (i.e 'A')
    type String
    either QUERY or EXPRESSION
    id String
    Id of the function item
    expression string
    how the expression is shown (i.e 'A * 2')
    expressionPlain string
    actual mongo query containing the expression
    queryFilterAsset FunctionFunctionItemQueryFilterAsset
    Asset filter
    queryFilterAttribute FunctionFunctionItemQueryFilterAttribute
    Attribute filter
    queryGroupFunction string
    function used to aggregate data
    queryGroupUnit string
    time window to apply the aggregation
    queryPlain string
    actual mongo query
    refId string
    identifier of the variable (i.e 'A')
    type string
    either QUERY or EXPRESSION
    id string
    Id of the function item
    expression str
    how the expression is shown (i.e 'A * 2')
    expression_plain str
    actual mongo query containing the expression
    query_filter_asset FunctionFunctionItemQueryFilterAsset
    Asset filter
    query_filter_attribute FunctionFunctionItemQueryFilterAttribute
    Attribute filter
    query_group_function str
    function used to aggregate data
    query_group_unit str
    time window to apply the aggregation
    query_plain str
    actual mongo query
    ref_id str
    identifier of the variable (i.e 'A')
    type str
    either QUERY or EXPRESSION
    id str
    Id of the function item
    expression String
    how the expression is shown (i.e 'A * 2')
    expressionPlain String
    actual mongo query containing the expression
    queryFilterAsset Property Map
    Asset filter
    queryFilterAttribute Property Map
    Attribute filter
    queryGroupFunction String
    function used to aggregate data
    queryGroupUnit String
    time window to apply the aggregation
    queryPlain String
    actual mongo query
    refId String
    identifier of the variable (i.e 'A')
    type String
    either QUERY or EXPRESSION
    id String
    Id of the function item

    FunctionFunctionItemQueryFilterAsset, FunctionFunctionItemQueryFilterAssetArgs

    Id string
    Id of the resource
    Name string
    name of the resource
    Id string
    Id of the resource
    Name string
    name of the resource
    id String
    Id of the resource
    name String
    name of the resource
    id string
    Id of the resource
    name string
    name of the resource
    id str
    Id of the resource
    name str
    name of the resource
    id String
    Id of the resource
    name String
    name of the resource

    FunctionFunctionItemQueryFilterAttribute, FunctionFunctionItemQueryFilterAttributeArgs

    Id string
    Id of the resource
    Name string
    name of the resource
    Type string
    type of the resource
    Id string
    Id of the resource
    Name string
    name of the resource
    Type string
    type of the resource
    id String
    Id of the resource
    name String
    name of the resource
    type String
    type of the resource
    id string
    Id of the resource
    name string
    name of the resource
    type string
    type of the resource
    id str
    Id of the resource
    name str
    name of the resource
    type str
    type of the resource
    id String
    Id of the resource
    name String
    name of the resource
    type String
    type of the resource

    FunctionTag, FunctionTagArgs

    Id string
    tag id
    Name string
    tag name
    Id string
    tag id
    Name string
    tag name
    id String
    tag id
    name String
    tag name
    id string
    tag id
    name string
    tag name
    id str
    tag id
    name str
    tag name
    id String
    tag id
    name String
    tag name

    FunctionTargetAsset, FunctionTargetAssetArgs

    Id string
    Id of the resource
    Name string
    name of the resource
    Id string
    Id of the resource
    Name string
    name of the resource
    id String
    Id of the resource
    name String
    name of the resource
    id string
    Id of the resource
    name string
    name of the resource
    id str
    Id of the resource
    name str
    name of the resource
    id String
    Id of the resource
    name String
    name of the resource

    FunctionTargetAttribute, FunctionTargetAttributeArgs

    Id string
    Id of the resource
    Name string
    name of the resource
    Type string
    type of the resource
    Id string
    Id of the resource
    Name string
    name of the resource
    Type string
    type of the resource
    id String
    Id of the resource
    name String
    name of the resource
    type String
    type of the resource
    id string
    Id of the resource
    name string
    name of the resource
    type string
    type of the resource
    id str
    Id of the resource
    name str
    name of the resource
    type str
    type of the resource
    id String
    Id of the resource
    name String
    name of the resource
    type String
    type of the resource

    Import

    $ pulumi import splight:index/function:Function [options] splight_function.<name> <function_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 v1.1.9 published on Friday, Oct 18, 2024 by splightplatform