Juniper Mist v0.6.3 published on Saturday, Sep 6, 2025 by Pulumi
junipermist.getConstTrafficTypes
This data source provides the of ConstTrafficTypes.
The Traffic Type values can be used to define the traffic_type attribute in the junipermist.org.Service resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/juniper-mist";
const listOfTrafficTypes = junipermist.getConstTrafficTypes({});
import pulumi
import pulumi_junipermist as junipermist
list_of_traffic_types = junipermist.get_const_traffic_types()
package main
import (
"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := junipermist.GetConstTrafficTypes(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using JuniperMist = Pulumi.JuniperMist;
return await Deployment.RunAsync(() =>
{
var listOfTrafficTypes = JuniperMist.GetConstTrafficTypes.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.JunipermistFunctions;
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) {
final var listOfTrafficTypes = JunipermistFunctions.getConstTrafficTypes(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
listOfTrafficTypes:
fn::invoke:
function: junipermist:getConstTrafficTypes
arguments: {}
Using getConstTrafficTypes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConstTrafficTypes(opts?: InvokeOptions): Promise<GetConstTrafficTypesResult>
function getConstTrafficTypesOutput(opts?: InvokeOptions): Output<GetConstTrafficTypesResult>def get_const_traffic_types(opts: Optional[InvokeOptions] = None) -> GetConstTrafficTypesResult
def get_const_traffic_types_output(opts: Optional[InvokeOptions] = None) -> Output[GetConstTrafficTypesResult]func GetConstTrafficTypes(ctx *Context, opts ...InvokeOption) (*GetConstTrafficTypesResult, error)
func GetConstTrafficTypesOutput(ctx *Context, opts ...InvokeOption) GetConstTrafficTypesResultOutput> Note: This function is named GetConstTrafficTypes in the Go SDK.
public static class GetConstTrafficTypes
{
public static Task<GetConstTrafficTypesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetConstTrafficTypesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetConstTrafficTypesResult> getConstTrafficTypes(InvokeOptions options)
public static Output<GetConstTrafficTypesResult> getConstTrafficTypes(InvokeOptions options)
fn::invoke:
function: junipermist:index/getConstTrafficTypes:getConstTrafficTypes
arguments:
# arguments dictionarygetConstTrafficTypes Result
The following output properties are available:
- Const
Traffic List<Pulumi.Types Juniper Mist. Outputs. Get Const Traffic Types Const Traffic Type> - Id string
- The provider-assigned unique ID for this managed resource.
- Const
Traffic []GetTypes Const Traffic Types Const Traffic Type - Id string
- The provider-assigned unique ID for this managed resource.
- const
Traffic List<GetTypes Const Traffic Types Const Traffic Type> - id String
- The provider-assigned unique ID for this managed resource.
- const
Traffic GetTypes Const Traffic Types Const Traffic Type[] - id string
- The provider-assigned unique ID for this managed resource.
- const_
traffic_ Sequence[Gettypes Const Traffic Types Const Traffic Type] - id str
- The provider-assigned unique ID for this managed resource.
- const
Traffic List<Property Map>Types - id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetConstTrafficTypesConstTrafficType
- Display string
- Dscp int
- Failover
Policy string - Max
Jitter int - Max
Latency int - Max
Loss int - Name string
- Traffic
Class string
- Display string
- Dscp int
- Failover
Policy string - Max
Jitter int - Max
Latency int - Max
Loss int - Name string
- Traffic
Class string
- display String
- dscp Integer
- failover
Policy String - max
Jitter Integer - max
Latency Integer - max
Loss Integer - name String
- traffic
Class String
- display string
- dscp number
- failover
Policy string - max
Jitter number - max
Latency number - max
Loss number - name string
- traffic
Class string
- display str
- dscp int
- failover_
policy str - max_
jitter int - max_
latency int - max_
loss int - name str
- traffic_
class str
- display String
- dscp Number
- failover
Policy String - max
Jitter Number - max
Latency Number - max
Loss Number - name String
- traffic
Class String
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mistTerraform Provider.
