1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getSlaClassPolicyObject
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

sdwan.getSlaClassPolicyObject

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

    This data source can read the SLA Class Policy Object .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getSlaClassPolicyObject({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_sla_class_policy_object(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sdwan.LookupSlaClassPolicyObject(ctx, &sdwan.LookupSlaClassPolicyObjectArgs{
    			Id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sdwan = Pulumi.Sdwan;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Sdwan.GetSlaClassPolicyObject.Invoke(new()
        {
            Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.SdwanFunctions;
    import com.pulumi.sdwan.inputs.GetSlaClassPolicyObjectArgs;
    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 example = SdwanFunctions.getSlaClassPolicyObject(GetSlaClassPolicyObjectArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getSlaClassPolicyObject
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getSlaClassPolicyObject

    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 getSlaClassPolicyObject(args: GetSlaClassPolicyObjectArgs, opts?: InvokeOptions): Promise<GetSlaClassPolicyObjectResult>
    function getSlaClassPolicyObjectOutput(args: GetSlaClassPolicyObjectOutputArgs, opts?: InvokeOptions): Output<GetSlaClassPolicyObjectResult>
    def get_sla_class_policy_object(id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetSlaClassPolicyObjectResult
    def get_sla_class_policy_object_output(id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetSlaClassPolicyObjectResult]
    func LookupSlaClassPolicyObject(ctx *Context, args *LookupSlaClassPolicyObjectArgs, opts ...InvokeOption) (*LookupSlaClassPolicyObjectResult, error)
    func LookupSlaClassPolicyObjectOutput(ctx *Context, args *LookupSlaClassPolicyObjectOutputArgs, opts ...InvokeOption) LookupSlaClassPolicyObjectResultOutput

    > Note: This function is named LookupSlaClassPolicyObject in the Go SDK.

    public static class GetSlaClassPolicyObject 
    {
        public static Task<GetSlaClassPolicyObjectResult> InvokeAsync(GetSlaClassPolicyObjectArgs args, InvokeOptions? opts = null)
        public static Output<GetSlaClassPolicyObjectResult> Invoke(GetSlaClassPolicyObjectInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSlaClassPolicyObjectResult> getSlaClassPolicyObject(GetSlaClassPolicyObjectArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getSlaClassPolicyObject:getSlaClassPolicyObject
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Id string
    The id of the object
    id String
    The id of the object
    id string
    The id of the object
    id str
    The id of the object
    id String
    The id of the object

    getSlaClassPolicyObject Result

    The following output properties are available:

    AppProbeClassId string
    App Probe Class Policy Object ID
    AppProbeClassVersion int
    App Probe Class Policy Object version
    FallbackBestTunnelCriteria string
    FallbackBestTunnelJitter int
    Jitter variance in ms
    FallbackBestTunnelLatency int
    Latency variance in ms
    FallbackBestTunnelLoss int
    Loss variance in percent
    Id string
    The id of the object
    Jitter int
    Jitter in ms
    Latency int
    Latency in ms
    Loss int
    Loss in percent
    Name string
    The name of the policy object
    Version int
    The version of the object
    AppProbeClassId string
    App Probe Class Policy Object ID
    AppProbeClassVersion int
    App Probe Class Policy Object version
    FallbackBestTunnelCriteria string
    FallbackBestTunnelJitter int
    Jitter variance in ms
    FallbackBestTunnelLatency int
    Latency variance in ms
    FallbackBestTunnelLoss int
    Loss variance in percent
    Id string
    The id of the object
    Jitter int
    Jitter in ms
    Latency int
    Latency in ms
    Loss int
    Loss in percent
    Name string
    The name of the policy object
    Version int
    The version of the object
    appProbeClassId String
    App Probe Class Policy Object ID
    appProbeClassVersion Integer
    App Probe Class Policy Object version
    fallbackBestTunnelCriteria String
    fallbackBestTunnelJitter Integer
    Jitter variance in ms
    fallbackBestTunnelLatency Integer
    Latency variance in ms
    fallbackBestTunnelLoss Integer
    Loss variance in percent
    id String
    The id of the object
    jitter Integer
    Jitter in ms
    latency Integer
    Latency in ms
    loss Integer
    Loss in percent
    name String
    The name of the policy object
    version Integer
    The version of the object
    appProbeClassId string
    App Probe Class Policy Object ID
    appProbeClassVersion number
    App Probe Class Policy Object version
    fallbackBestTunnelCriteria string
    fallbackBestTunnelJitter number
    Jitter variance in ms
    fallbackBestTunnelLatency number
    Latency variance in ms
    fallbackBestTunnelLoss number
    Loss variance in percent
    id string
    The id of the object
    jitter number
    Jitter in ms
    latency number
    Latency in ms
    loss number
    Loss in percent
    name string
    The name of the policy object
    version number
    The version of the object
    app_probe_class_id str
    App Probe Class Policy Object ID
    app_probe_class_version int
    App Probe Class Policy Object version
    fallback_best_tunnel_criteria str
    fallback_best_tunnel_jitter int
    Jitter variance in ms
    fallback_best_tunnel_latency int
    Latency variance in ms
    fallback_best_tunnel_loss int
    Loss variance in percent
    id str
    The id of the object
    jitter int
    Jitter in ms
    latency int
    Latency in ms
    loss int
    Loss in percent
    name str
    The name of the policy object
    version int
    The version of the object
    appProbeClassId String
    App Probe Class Policy Object ID
    appProbeClassVersion Number
    App Probe Class Policy Object version
    fallbackBestTunnelCriteria String
    fallbackBestTunnelJitter Number
    Jitter variance in ms
    fallbackBestTunnelLatency Number
    Latency variance in ms
    fallbackBestTunnelLoss Number
    Loss variance in percent
    id String
    The id of the object
    jitter Number
    Jitter in ms
    latency Number
    Latency in ms
    loss Number
    Loss in percent
    name String
    The name of the policy object
    version Number
    The version of the object

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi