Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getSlaClassPolicyObject
Explore with Pulumi AI
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:
- App
Probe stringClass Id - App Probe Class Policy Object ID
- App
Probe intClass Version - App Probe Class Policy Object version
- Fallback
Best stringTunnel Criteria - Fallback
Best intTunnel Jitter - Jitter variance in ms
- Fallback
Best intTunnel Latency - Latency variance in ms
- Fallback
Best intTunnel Loss - 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
- App
Probe stringClass Id - App Probe Class Policy Object ID
- App
Probe intClass Version - App Probe Class Policy Object version
- Fallback
Best stringTunnel Criteria - Fallback
Best intTunnel Jitter - Jitter variance in ms
- Fallback
Best intTunnel Latency - Latency variance in ms
- Fallback
Best intTunnel Loss - 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
- app
Probe StringClass Id - App Probe Class Policy Object ID
- app
Probe IntegerClass Version - App Probe Class Policy Object version
- fallback
Best StringTunnel Criteria - fallback
Best IntegerTunnel Jitter - Jitter variance in ms
- fallback
Best IntegerTunnel Latency - Latency variance in ms
- fallback
Best IntegerTunnel Loss - 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
- app
Probe stringClass Id - App Probe Class Policy Object ID
- app
Probe numberClass Version - App Probe Class Policy Object version
- fallback
Best stringTunnel Criteria - fallback
Best numberTunnel Jitter - Jitter variance in ms
- fallback
Best numberTunnel Latency - Latency variance in ms
- fallback
Best numberTunnel Loss - 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_ strclass_ id - App Probe Class Policy Object ID
- app_
probe_ intclass_ version - App Probe Class Policy Object version
- fallback_
best_ strtunnel_ criteria - fallback_
best_ inttunnel_ jitter - Jitter variance in ms
- fallback_
best_ inttunnel_ latency - Latency variance in ms
- fallback_
best_ inttunnel_ loss - 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
- app
Probe StringClass Id - App Probe Class Policy Object ID
- app
Probe NumberClass Version - App Probe Class Policy Object version
- fallback
Best StringTunnel Criteria - fallback
Best NumberTunnel Jitter - Jitter variance in ms
- fallback
Best NumberTunnel Latency - Latency variance in ms
- fallback
Best NumberTunnel Loss - 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.