1. Packages
  2. Splight
  3. API Docs
  4. Segment
splight v1.2.2 published on Friday, Nov 8, 2024 by splightplatform

splight.Segment

Explore with Pulumi AI

splight logo
splight v1.2.2 published on Friday, Nov 8, 2024 by splightplatform

    Example Usage

    Create Segment Resource

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

    Constructor syntax

    new Segment(name: string, args: SegmentArgs, opts?: CustomResourceOptions);
    @overload
    def Segment(resource_name: str,
                args: SegmentArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Segment(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                altitude: Optional[SegmentAltitudeArgs] = None,
                azimuth: Optional[SegmentAzimuthArgs] = None,
                cumulative_distance: Optional[SegmentCumulativeDistanceArgs] = None,
                description: Optional[str] = None,
                geometry: Optional[str] = None,
                name: Optional[str] = None,
                tags: Optional[Sequence[SegmentTagArgs]] = None,
                timezone: Optional[str] = None)
    func NewSegment(ctx *Context, name string, args SegmentArgs, opts ...ResourceOption) (*Segment, error)
    public Segment(string name, SegmentArgs args, CustomResourceOptions? opts = null)
    public Segment(String name, SegmentArgs args)
    public Segment(String name, SegmentArgs args, CustomResourceOptions options)
    
    type: splight:Segment
    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 SegmentArgs
    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 SegmentArgs
    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 SegmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SegmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SegmentArgs
    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 segmentResource = new Splight.Segment("segmentResource", new()
    {
        Altitude = new Splight.Inputs.SegmentAltitudeArgs
        {
            Value = "string",
            Asset = "string",
            Id = "string",
            Name = "string",
            Type = "string",
            Unit = "string",
        },
        Azimuth = new Splight.Inputs.SegmentAzimuthArgs
        {
            Value = "string",
            Asset = "string",
            Id = "string",
            Name = "string",
            Type = "string",
            Unit = "string",
        },
        CumulativeDistance = new Splight.Inputs.SegmentCumulativeDistanceArgs
        {
            Value = "string",
            Asset = "string",
            Id = "string",
            Name = "string",
            Type = "string",
            Unit = "string",
        },
        Description = "string",
        Geometry = "string",
        Name = "string",
        Tags = new[]
        {
            new Splight.Inputs.SegmentTagArgs
            {
                Id = "string",
                Name = "string",
            },
        },
        Timezone = "string",
    });
    
    example, err := splight.NewSegment(ctx, "segmentResource", &splight.SegmentArgs{
    	Altitude: &splight.SegmentAltitudeArgs{
    		Value: pulumi.String("string"),
    		Asset: pulumi.String("string"),
    		Id:    pulumi.String("string"),
    		Name:  pulumi.String("string"),
    		Type:  pulumi.String("string"),
    		Unit:  pulumi.String("string"),
    	},
    	Azimuth: &splight.SegmentAzimuthArgs{
    		Value: pulumi.String("string"),
    		Asset: pulumi.String("string"),
    		Id:    pulumi.String("string"),
    		Name:  pulumi.String("string"),
    		Type:  pulumi.String("string"),
    		Unit:  pulumi.String("string"),
    	},
    	CumulativeDistance: &splight.SegmentCumulativeDistanceArgs{
    		Value: pulumi.String("string"),
    		Asset: pulumi.String("string"),
    		Id:    pulumi.String("string"),
    		Name:  pulumi.String("string"),
    		Type:  pulumi.String("string"),
    		Unit:  pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Geometry:    pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Tags: splight.SegmentTagArray{
    		&splight.SegmentTagArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    	Timezone: pulumi.String("string"),
    })
    
    var segmentResource = new Segment("segmentResource", SegmentArgs.builder()
        .altitude(SegmentAltitudeArgs.builder()
            .value("string")
            .asset("string")
            .id("string")
            .name("string")
            .type("string")
            .unit("string")
            .build())
        .azimuth(SegmentAzimuthArgs.builder()
            .value("string")
            .asset("string")
            .id("string")
            .name("string")
            .type("string")
            .unit("string")
            .build())
        .cumulativeDistance(SegmentCumulativeDistanceArgs.builder()
            .value("string")
            .asset("string")
            .id("string")
            .name("string")
            .type("string")
            .unit("string")
            .build())
        .description("string")
        .geometry("string")
        .name("string")
        .tags(SegmentTagArgs.builder()
            .id("string")
            .name("string")
            .build())
        .timezone("string")
        .build());
    
    segment_resource = splight.Segment("segmentResource",
        altitude={
            "value": "string",
            "asset": "string",
            "id": "string",
            "name": "string",
            "type": "string",
            "unit": "string",
        },
        azimuth={
            "value": "string",
            "asset": "string",
            "id": "string",
            "name": "string",
            "type": "string",
            "unit": "string",
        },
        cumulative_distance={
            "value": "string",
            "asset": "string",
            "id": "string",
            "name": "string",
            "type": "string",
            "unit": "string",
        },
        description="string",
        geometry="string",
        name="string",
        tags=[{
            "id": "string",
            "name": "string",
        }],
        timezone="string")
    
    const segmentResource = new splight.Segment("segmentResource", {
        altitude: {
            value: "string",
            asset: "string",
            id: "string",
            name: "string",
            type: "string",
            unit: "string",
        },
        azimuth: {
            value: "string",
            asset: "string",
            id: "string",
            name: "string",
            type: "string",
            unit: "string",
        },
        cumulativeDistance: {
            value: "string",
            asset: "string",
            id: "string",
            name: "string",
            type: "string",
            unit: "string",
        },
        description: "string",
        geometry: "string",
        name: "string",
        tags: [{
            id: "string",
            name: "string",
        }],
        timezone: "string",
    });
    
    type: splight:Segment
    properties:
        altitude:
            asset: string
            id: string
            name: string
            type: string
            unit: string
            value: string
        azimuth:
            asset: string
            id: string
            name: string
            type: string
            unit: string
            value: string
        cumulativeDistance:
            asset: string
            id: string
            name: string
            type: string
            unit: string
            value: string
        description: string
        geometry: string
        name: string
        tags:
            - id: string
              name: string
        timezone: string
    

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

    Altitude Splight.Splight.Inputs.SegmentAltitude
    attribute of the resource
    Azimuth Splight.Splight.Inputs.SegmentAzimuth
    attribute of the resource
    CumulativeDistance Splight.Splight.Inputs.SegmentCumulativeDistance
    attribute 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<Splight.Splight.Inputs.SegmentTag>
    tags of the resource
    Timezone string
    timezone that overrides location-based timezone of the resource
    Altitude SegmentAltitudeArgs
    attribute of the resource
    Azimuth SegmentAzimuthArgs
    attribute of the resource
    CumulativeDistance SegmentCumulativeDistanceArgs
    attribute 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 []SegmentTagArgs
    tags of the resource
    Timezone string
    timezone that overrides location-based timezone of the resource
    altitude SegmentAltitude
    attribute of the resource
    azimuth SegmentAzimuth
    attribute of the resource
    cumulativeDistance SegmentCumulativeDistance
    attribute 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<SegmentTag>
    tags of the resource
    timezone String
    timezone that overrides location-based timezone of the resource
    altitude SegmentAltitude
    attribute of the resource
    azimuth SegmentAzimuth
    attribute of the resource
    cumulativeDistance SegmentCumulativeDistance
    attribute 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 SegmentTag[]
    tags of the resource
    timezone string
    timezone that overrides location-based timezone of the resource
    altitude SegmentAltitudeArgs
    attribute of the resource
    azimuth SegmentAzimuthArgs
    attribute of the resource
    cumulative_distance SegmentCumulativeDistanceArgs
    attribute 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[SegmentTagArgs]
    tags of the resource
    timezone str
    timezone that overrides location-based timezone of the resource
    altitude Property Map
    attribute of the resource
    azimuth Property Map
    attribute of the resource
    cumulativeDistance Property Map
    attribute 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 Segment resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Kinds List<Splight.Splight.Outputs.SegmentKind>
    kind of the resource
    Temperatures List<Splight.Splight.Outputs.SegmentTemperature>
    attribute of the resource
    WindDirections List<Splight.Splight.Outputs.SegmentWindDirection>
    attribute of the resource
    WindSpeeds List<Splight.Splight.Outputs.SegmentWindSpeed>
    attribute of the resource
    Id string
    The provider-assigned unique ID for this managed resource.
    Kinds []SegmentKind
    kind of the resource
    Temperatures []SegmentTemperature
    attribute of the resource
    WindDirections []SegmentWindDirection
    attribute of the resource
    WindSpeeds []SegmentWindSpeed
    attribute of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    kinds List<SegmentKind>
    kind of the resource
    temperatures List<SegmentTemperature>
    attribute of the resource
    windDirections List<SegmentWindDirection>
    attribute of the resource
    windSpeeds List<SegmentWindSpeed>
    attribute of the resource
    id string
    The provider-assigned unique ID for this managed resource.
    kinds SegmentKind[]
    kind of the resource
    temperatures SegmentTemperature[]
    attribute of the resource
    windDirections SegmentWindDirection[]
    attribute of the resource
    windSpeeds SegmentWindSpeed[]
    attribute of the resource
    id str
    The provider-assigned unique ID for this managed resource.
    kinds Sequence[SegmentKind]
    kind of the resource
    temperatures Sequence[SegmentTemperature]
    attribute of the resource
    wind_directions Sequence[SegmentWindDirection]
    attribute of the resource
    wind_speeds Sequence[SegmentWindSpeed]
    attribute of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    kinds List<Property Map>
    kind of the resource
    temperatures List<Property Map>
    attribute of the resource
    windDirections List<Property Map>
    attribute of the resource
    windSpeeds List<Property Map>
    attribute of the resource

    Look up Existing Segment Resource

    Get an existing Segment 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?: SegmentState, opts?: CustomResourceOptions): Segment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            altitude: Optional[SegmentAltitudeArgs] = None,
            azimuth: Optional[SegmentAzimuthArgs] = None,
            cumulative_distance: Optional[SegmentCumulativeDistanceArgs] = None,
            description: Optional[str] = None,
            geometry: Optional[str] = None,
            kinds: Optional[Sequence[SegmentKindArgs]] = None,
            name: Optional[str] = None,
            tags: Optional[Sequence[SegmentTagArgs]] = None,
            temperatures: Optional[Sequence[SegmentTemperatureArgs]] = None,
            timezone: Optional[str] = None,
            wind_directions: Optional[Sequence[SegmentWindDirectionArgs]] = None,
            wind_speeds: Optional[Sequence[SegmentWindSpeedArgs]] = None) -> Segment
    func GetSegment(ctx *Context, name string, id IDInput, state *SegmentState, opts ...ResourceOption) (*Segment, error)
    public static Segment Get(string name, Input<string> id, SegmentState? state, CustomResourceOptions? opts = null)
    public static Segment get(String name, Output<String> id, SegmentState 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:
    Altitude Splight.Splight.Inputs.SegmentAltitude
    attribute of the resource
    Azimuth Splight.Splight.Inputs.SegmentAzimuth
    attribute of the resource
    CumulativeDistance Splight.Splight.Inputs.SegmentCumulativeDistance
    attribute of the resource
    Description string
    description of the resource
    Geometry string
    geo position and shape of the resource
    Kinds List<Splight.Splight.Inputs.SegmentKind>
    kind of the resource
    Name string
    name of the resource
    Tags List<Splight.Splight.Inputs.SegmentTag>
    tags of the resource
    Temperatures List<Splight.Splight.Inputs.SegmentTemperature>
    attribute of the resource
    Timezone string
    timezone that overrides location-based timezone of the resource
    WindDirections List<Splight.Splight.Inputs.SegmentWindDirection>
    attribute of the resource
    WindSpeeds List<Splight.Splight.Inputs.SegmentWindSpeed>
    attribute of the resource
    Altitude SegmentAltitudeArgs
    attribute of the resource
    Azimuth SegmentAzimuthArgs
    attribute of the resource
    CumulativeDistance SegmentCumulativeDistanceArgs
    attribute of the resource
    Description string
    description of the resource
    Geometry string
    geo position and shape of the resource
    Kinds []SegmentKindArgs
    kind of the resource
    Name string
    name of the resource
    Tags []SegmentTagArgs
    tags of the resource
    Temperatures []SegmentTemperatureArgs
    attribute of the resource
    Timezone string
    timezone that overrides location-based timezone of the resource
    WindDirections []SegmentWindDirectionArgs
    attribute of the resource
    WindSpeeds []SegmentWindSpeedArgs
    attribute of the resource
    altitude SegmentAltitude
    attribute of the resource
    azimuth SegmentAzimuth
    attribute of the resource
    cumulativeDistance SegmentCumulativeDistance
    attribute of the resource
    description String
    description of the resource
    geometry String
    geo position and shape of the resource
    kinds List<SegmentKind>
    kind of the resource
    name String
    name of the resource
    tags List<SegmentTag>
    tags of the resource
    temperatures List<SegmentTemperature>
    attribute of the resource
    timezone String
    timezone that overrides location-based timezone of the resource
    windDirections List<SegmentWindDirection>
    attribute of the resource
    windSpeeds List<SegmentWindSpeed>
    attribute of the resource
    altitude SegmentAltitude
    attribute of the resource
    azimuth SegmentAzimuth
    attribute of the resource
    cumulativeDistance SegmentCumulativeDistance
    attribute of the resource
    description string
    description of the resource
    geometry string
    geo position and shape of the resource
    kinds SegmentKind[]
    kind of the resource
    name string
    name of the resource
    tags SegmentTag[]
    tags of the resource
    temperatures SegmentTemperature[]
    attribute of the resource
    timezone string
    timezone that overrides location-based timezone of the resource
    windDirections SegmentWindDirection[]
    attribute of the resource
    windSpeeds SegmentWindSpeed[]
    attribute of the resource
    altitude SegmentAltitudeArgs
    attribute of the resource
    azimuth SegmentAzimuthArgs
    attribute of the resource
    cumulative_distance SegmentCumulativeDistanceArgs
    attribute of the resource
    description str
    description of the resource
    geometry str
    geo position and shape of the resource
    kinds Sequence[SegmentKindArgs]
    kind of the resource
    name str
    name of the resource
    tags Sequence[SegmentTagArgs]
    tags of the resource
    temperatures Sequence[SegmentTemperatureArgs]
    attribute of the resource
    timezone str
    timezone that overrides location-based timezone of the resource
    wind_directions Sequence[SegmentWindDirectionArgs]
    attribute of the resource
    wind_speeds Sequence[SegmentWindSpeedArgs]
    attribute of the resource
    altitude Property Map
    attribute of the resource
    azimuth Property Map
    attribute of the resource
    cumulativeDistance Property Map
    attribute 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
    tags List<Property Map>
    tags of the resource
    temperatures List<Property Map>
    attribute of the resource
    timezone String
    timezone that overrides location-based timezone of the resource
    windDirections List<Property Map>
    attribute of the resource
    windSpeeds List<Property Map>
    attribute of the resource

    Supporting Types

    SegmentAltitude, SegmentAltitudeArgs

    Value string
    metadata value
    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
    Value string
    metadata value
    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
    value String
    metadata value
    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
    value string
    metadata value
    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
    value str
    metadata value
    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
    value String
    metadata value
    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

    SegmentAzimuth, SegmentAzimuthArgs

    Value string
    metadata value
    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
    Value string
    metadata value
    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
    value String
    metadata value
    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
    value string
    metadata value
    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
    value str
    metadata value
    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
    value String
    metadata value
    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

    SegmentCumulativeDistance, SegmentCumulativeDistanceArgs

    Value string
    metadata value
    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
    Value string
    metadata value
    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
    value String
    metadata value
    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
    value string
    metadata value
    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
    value str
    metadata value
    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
    value String
    metadata value
    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

    SegmentKind, SegmentKindArgs

    Id string
    kind id
    Name string
    kind name
    Id string
    kind id
    Name string
    kind name
    id String
    kind id
    name String
    kind name
    id string
    kind id
    name string
    kind name
    id str
    kind id
    name str
    kind name
    id String
    kind id
    name String
    kind name

    SegmentTag, SegmentTagArgs

    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

    SegmentTemperature, SegmentTemperatureArgs

    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

    SegmentWindDirection, SegmentWindDirectionArgs

    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

    SegmentWindSpeed, SegmentWindSpeedArgs

    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

    Import

    $ pulumi import splight:index/segment:Segment [options] splight_segment.<name> <segment_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.2.2 published on Friday, Nov 8, 2024 by splightplatform