1. Packages
  2. Splight
  3. API Docs
  4. SlackLine
splight v1.2.13 published on Friday, Feb 14, 2025 by splightplatform

splight.SlackLine

Explore with Pulumi AI

Example Usage

Create SlackLine Resource

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

Constructor syntax

new SlackLine(name: string, args?: SlackLineArgs, opts?: CustomResourceOptions);
@overload
def SlackLine(resource_name: str,
              args: Optional[SlackLineArgs] = None,
              opts: Optional[ResourceOptions] = None)

@overload
def SlackLine(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              description: Optional[str] = None,
              geometry: Optional[str] = None,
              name: Optional[str] = None,
              tags: Optional[Sequence[SlackLineTagArgs]] = None,
              timezone: Optional[str] = None)
func NewSlackLine(ctx *Context, name string, args *SlackLineArgs, opts ...ResourceOption) (*SlackLine, error)
public SlackLine(string name, SlackLineArgs? args = null, CustomResourceOptions? opts = null)
public SlackLine(String name, SlackLineArgs args)
public SlackLine(String name, SlackLineArgs args, CustomResourceOptions options)
type: splight:SlackLine
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args SlackLineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args SlackLineArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args SlackLineArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args SlackLineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SlackLineArgs
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 slackLineResource = new Splight.SlackLine("slackLineResource", new()
{
    Description = "string",
    Geometry = "string",
    Name = "string",
    Tags = new[]
    {
        new Splight.Inputs.SlackLineTagArgs
        {
            Id = "string",
            Name = "string",
        },
    },
    Timezone = "string",
});
Copy
example, err := splight.NewSlackLine(ctx, "slackLineResource", &splight.SlackLineArgs{
	Description: pulumi.String("string"),
	Geometry:    pulumi.String("string"),
	Name:        pulumi.String("string"),
	Tags: splight.SlackLineTagArray{
		&splight.SlackLineTagArgs{
			Id:   pulumi.String("string"),
			Name: pulumi.String("string"),
		},
	},
	Timezone: pulumi.String("string"),
})
Copy
var slackLineResource = new SlackLine("slackLineResource", SlackLineArgs.builder()
    .description("string")
    .geometry("string")
    .name("string")
    .tags(SlackLineTagArgs.builder()
        .id("string")
        .name("string")
        .build())
    .timezone("string")
    .build());
Copy
slack_line_resource = splight.SlackLine("slackLineResource",
    description="string",
    geometry="string",
    name="string",
    tags=[{
        "id": "string",
        "name": "string",
    }],
    timezone="string")
Copy
const slackLineResource = new splight.SlackLine("slackLineResource", {
    description: "string",
    geometry: "string",
    name: "string",
    tags: [{
        id: "string",
        name: "string",
    }],
    timezone: "string",
});
Copy
type: splight:SlackLine
properties:
    description: string
    geometry: string
    name: string
    tags:
        - id: string
          name: string
    timezone: string
Copy

SlackLine Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SlackLine resource accepts the following input properties:

Description string
description of the resource
Geometry string
geo position and shape of the resource
Name string
name of the resource
Tags List<Splight.Splight.Inputs.SlackLineTag>
tags of the resource
Timezone string
timezone that overrides location-based timezone of the resource
Description string
description of the resource
Geometry string
geo position and shape of the resource
Name string
name of the resource
Tags []SlackLineTagArgs
tags of the resource
Timezone string
timezone that overrides location-based timezone of the resource
description String
description of the resource
geometry String
geo position and shape of the resource
name String
name of the resource
tags List<SlackLineTag>
tags of the resource
timezone String
timezone that overrides location-based timezone of the resource
description string
description of the resource
geometry string
geo position and shape of the resource
name string
name of the resource
tags SlackLineTag[]
tags of the resource
timezone string
timezone that overrides location-based timezone of the resource
description str
description of the resource
geometry str
geo position and shape of the resource
name str
name of the resource
tags Sequence[SlackLineTagArgs]
tags of the resource
timezone str
timezone that overrides location-based timezone of the resource
description String
description of the resource
geometry String
geo position and shape of the resource
name String
name of the resource
tags List<Property Map>
tags of the resource
timezone String
timezone that overrides location-based timezone of the resource

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Kinds List<Splight.Splight.Outputs.SlackLineKind>
kind of the resource
SwitchStatusEnds List<Splight.Splight.Outputs.SlackLineSwitchStatusEnd>
attribute of the resource
SwitchStatusStarts List<Splight.Splight.Outputs.SlackLineSwitchStatusStart>
attribute of the resource
Id string
The provider-assigned unique ID for this managed resource.
Kinds []SlackLineKind
kind of the resource
SwitchStatusEnds []SlackLineSwitchStatusEnd
attribute of the resource
SwitchStatusStarts []SlackLineSwitchStatusStart
attribute of the resource
id String
The provider-assigned unique ID for this managed resource.
kinds List<SlackLineKind>
kind of the resource
switchStatusEnds List<SlackLineSwitchStatusEnd>
attribute of the resource
switchStatusStarts List<SlackLineSwitchStatusStart>
attribute of the resource
id string
The provider-assigned unique ID for this managed resource.
kinds SlackLineKind[]
kind of the resource
switchStatusEnds SlackLineSwitchStatusEnd[]
attribute of the resource
switchStatusStarts SlackLineSwitchStatusStart[]
attribute of the resource
id str
The provider-assigned unique ID for this managed resource.
kinds Sequence[SlackLineKind]
kind of the resource
switch_status_ends Sequence[SlackLineSwitchStatusEnd]
attribute of the resource
switch_status_starts Sequence[SlackLineSwitchStatusStart]
attribute of the resource
id String
The provider-assigned unique ID for this managed resource.
kinds List<Property Map>
kind of the resource
switchStatusEnds List<Property Map>
attribute of the resource
switchStatusStarts List<Property Map>
attribute of the resource

Look up Existing SlackLine Resource

Get an existing SlackLine 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?: SlackLineState, opts?: CustomResourceOptions): SlackLine
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        geometry: Optional[str] = None,
        kinds: Optional[Sequence[SlackLineKindArgs]] = None,
        name: Optional[str] = None,
        switch_status_ends: Optional[Sequence[SlackLineSwitchStatusEndArgs]] = None,
        switch_status_starts: Optional[Sequence[SlackLineSwitchStatusStartArgs]] = None,
        tags: Optional[Sequence[SlackLineTagArgs]] = None,
        timezone: Optional[str] = None) -> SlackLine
func GetSlackLine(ctx *Context, name string, id IDInput, state *SlackLineState, opts ...ResourceOption) (*SlackLine, error)
public static SlackLine Get(string name, Input<string> id, SlackLineState? state, CustomResourceOptions? opts = null)
public static SlackLine get(String name, Output<String> id, SlackLineState state, CustomResourceOptions options)
resources:  _:    type: splight:SlackLine    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Description string
description of the resource
Geometry string
geo position and shape of the resource
Kinds List<Splight.Splight.Inputs.SlackLineKind>
kind of the resource
Name string
name of the resource
SwitchStatusEnds List<Splight.Splight.Inputs.SlackLineSwitchStatusEnd>
attribute of the resource
SwitchStatusStarts List<Splight.Splight.Inputs.SlackLineSwitchStatusStart>
attribute of the resource
Tags List<Splight.Splight.Inputs.SlackLineTag>
tags of the resource
Timezone string
timezone that overrides location-based timezone of the resource
Description string
description of the resource
Geometry string
geo position and shape of the resource
Kinds []SlackLineKindArgs
kind of the resource
Name string
name of the resource
SwitchStatusEnds []SlackLineSwitchStatusEndArgs
attribute of the resource
SwitchStatusStarts []SlackLineSwitchStatusStartArgs
attribute of the resource
Tags []SlackLineTagArgs
tags of the resource
Timezone string
timezone that overrides location-based timezone of the resource
description String
description of the resource
geometry String
geo position and shape of the resource
kinds List<SlackLineKind>
kind of the resource
name String
name of the resource
switchStatusEnds List<SlackLineSwitchStatusEnd>
attribute of the resource
switchStatusStarts List<SlackLineSwitchStatusStart>
attribute of the resource
tags List<SlackLineTag>
tags of the resource
timezone String
timezone that overrides location-based timezone of the resource
description string
description of the resource
geometry string
geo position and shape of the resource
kinds SlackLineKind[]
kind of the resource
name string
name of the resource
switchStatusEnds SlackLineSwitchStatusEnd[]
attribute of the resource
switchStatusStarts SlackLineSwitchStatusStart[]
attribute of the resource
tags SlackLineTag[]
tags of the resource
timezone string
timezone that overrides location-based timezone of the resource
description str
description of the resource
geometry str
geo position and shape of the resource
kinds Sequence[SlackLineKindArgs]
kind of the resource
name str
name of the resource
switch_status_ends Sequence[SlackLineSwitchStatusEndArgs]
attribute of the resource
switch_status_starts Sequence[SlackLineSwitchStatusStartArgs]
attribute of the resource
tags Sequence[SlackLineTagArgs]
tags of the resource
timezone str
timezone that overrides location-based timezone of the resource
description String
description of the resource
geometry String
geo position and shape of the resource
kinds List<Property Map>
kind of the resource
name String
name of the resource
switchStatusEnds List<Property Map>
attribute of the resource
switchStatusStarts List<Property Map>
attribute of the resource
tags List<Property Map>
tags of the resource
timezone String
timezone that overrides location-based timezone of the resource

Supporting Types

SlackLineKind
, SlackLineKindArgs

Id
This property is required.
Changes to this property will trigger replacement.
string
kind id
Name
This property is required.
Changes to this property will trigger replacement.
string
kind name
Id
This property is required.
Changes to this property will trigger replacement.
string
kind id
Name
This property is required.
Changes to this property will trigger replacement.
string
kind name
id
This property is required.
Changes to this property will trigger replacement.
String
kind id
name
This property is required.
Changes to this property will trigger replacement.
String
kind name
id
This property is required.
Changes to this property will trigger replacement.
string
kind id
name
This property is required.
Changes to this property will trigger replacement.
string
kind name
id
This property is required.
Changes to this property will trigger replacement.
str
kind id
name
This property is required.
Changes to this property will trigger replacement.
str
kind name
id
This property is required.
Changes to this property will trigger replacement.
String
kind id
name
This property is required.
Changes to this property will trigger replacement.
String
kind name

SlackLineSwitchStatusEnd
, SlackLineSwitchStatusEndArgs

Asset string
reference to the asset to be linked to
Id string
id of the resource
Name string
name of the resource
Type string
[String|Boolean|Number] type of the data to be ingested in this attribute
Unit string
unit of measure
Asset string
reference to the asset to be linked to
Id string
id of the resource
Name string
name of the resource
Type string
[String|Boolean|Number] type of the data to be ingested in this attribute
Unit string
unit of measure
asset String
reference to the asset to be linked to
id String
id of the resource
name String
name of the resource
type String
[String|Boolean|Number] type of the data to be ingested in this attribute
unit String
unit of measure
asset string
reference to the asset to be linked to
id string
id of the resource
name string
name of the resource
type string
[String|Boolean|Number] type of the data to be ingested in this attribute
unit string
unit of measure
asset str
reference to the asset to be linked to
id str
id of the resource
name str
name of the resource
type str
[String|Boolean|Number] type of the data to be ingested in this attribute
unit str
unit of measure
asset String
reference to the asset to be linked to
id String
id of the resource
name String
name of the resource
type String
[String|Boolean|Number] type of the data to be ingested in this attribute
unit String
unit of measure

SlackLineSwitchStatusStart
, SlackLineSwitchStatusStartArgs

Asset string
reference to the asset to be linked to
Id string
id of the resource
Name string
name of the resource
Type string
[String|Boolean|Number] type of the data to be ingested in this attribute
Unit string
unit of measure
Asset string
reference to the asset to be linked to
Id string
id of the resource
Name string
name of the resource
Type string
[String|Boolean|Number] type of the data to be ingested in this attribute
Unit string
unit of measure
asset String
reference to the asset to be linked to
id String
id of the resource
name String
name of the resource
type String
[String|Boolean|Number] type of the data to be ingested in this attribute
unit String
unit of measure
asset string
reference to the asset to be linked to
id string
id of the resource
name string
name of the resource
type string
[String|Boolean|Number] type of the data to be ingested in this attribute
unit string
unit of measure
asset str
reference to the asset to be linked to
id str
id of the resource
name str
name of the resource
type str
[String|Boolean|Number] type of the data to be ingested in this attribute
unit str
unit of measure
asset String
reference to the asset to be linked to
id String
id of the resource
name String
name of the resource
type String
[String|Boolean|Number] type of the data to be ingested in this attribute
unit String
unit of measure

SlackLineTag
, SlackLineTagArgs

Id This property is required. string
tag id
Name This property is required. string
tag name
Id This property is required. string
tag id
Name This property is required. string
tag name
id This property is required. String
tag id
name This property is required. String
tag name
id This property is required. string
tag id
name This property is required. string
tag name
id This property is required. str
tag id
name This property is required. str
tag name
id This property is required. String
tag id
name This property is required. String
tag name

Import

$ pulumi import splight:index/slackLine:SlackLine [options] splight_slack_line.<name> <slack_line_id>
Copy

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.