1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getLocalizedPolicy
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

sdwan.getLocalizedPolicy

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

    This data source can read the Localized Policy .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getLocalizedPolicy({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_localized_policy(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.LookupLocalizedPolicy(ctx, &sdwan.LookupLocalizedPolicyArgs{
    			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.GetLocalizedPolicy.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.GetLocalizedPolicyArgs;
    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.getLocalizedPolicy(GetLocalizedPolicyArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getLocalizedPolicy
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getLocalizedPolicy

    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 getLocalizedPolicy(args: GetLocalizedPolicyArgs, opts?: InvokeOptions): Promise<GetLocalizedPolicyResult>
    function getLocalizedPolicyOutput(args: GetLocalizedPolicyOutputArgs, opts?: InvokeOptions): Output<GetLocalizedPolicyResult>
    def get_localized_policy(id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetLocalizedPolicyResult
    def get_localized_policy_output(id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetLocalizedPolicyResult]
    func LookupLocalizedPolicy(ctx *Context, args *LookupLocalizedPolicyArgs, opts ...InvokeOption) (*LookupLocalizedPolicyResult, error)
    func LookupLocalizedPolicyOutput(ctx *Context, args *LookupLocalizedPolicyOutputArgs, opts ...InvokeOption) LookupLocalizedPolicyResultOutput

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

    public static class GetLocalizedPolicy 
    {
        public static Task<GetLocalizedPolicyResult> InvokeAsync(GetLocalizedPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetLocalizedPolicyResult> Invoke(GetLocalizedPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLocalizedPolicyResult> getLocalizedPolicy(GetLocalizedPolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getLocalizedPolicy:getLocalizedPolicy
      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

    getLocalizedPolicy Result

    The following output properties are available:

    ApplicationVisibilityIpv4 bool
    IPv4 application visibility
    ApplicationVisibilityIpv6 bool
    IPv6 application visibility
    CloudQos bool
    Cloud QoS
    CloudQosServiceSide bool
    Cloud QoS service side
    Definitions List<GetLocalizedPolicyDefinition>
    List of policy definitions
    Description string
    The description of the localized policy
    FlowVisibilityIpv4 bool
    IPv4 flow visibility
    FlowVisibilityIpv6 bool
    IPv6 flow visibility
    Id string
    The id of the object
    ImplicitAclLogging bool
    Implicit ACL logging
    Ipv4VisibilityCacheEntries int
    IPv4 visibility cache entries
    Ipv6VisibilityCacheEntries int
    IPv6 visibility cache entries
    LogFrequency int
    Log frequency
    Name string
    The name of the localized policy
    Version int
    The version of the object
    ApplicationVisibilityIpv4 bool
    IPv4 application visibility
    ApplicationVisibilityIpv6 bool
    IPv6 application visibility
    CloudQos bool
    Cloud QoS
    CloudQosServiceSide bool
    Cloud QoS service side
    Definitions []GetLocalizedPolicyDefinition
    List of policy definitions
    Description string
    The description of the localized policy
    FlowVisibilityIpv4 bool
    IPv4 flow visibility
    FlowVisibilityIpv6 bool
    IPv6 flow visibility
    Id string
    The id of the object
    ImplicitAclLogging bool
    Implicit ACL logging
    Ipv4VisibilityCacheEntries int
    IPv4 visibility cache entries
    Ipv6VisibilityCacheEntries int
    IPv6 visibility cache entries
    LogFrequency int
    Log frequency
    Name string
    The name of the localized policy
    Version int
    The version of the object
    applicationVisibilityIpv4 Boolean
    IPv4 application visibility
    applicationVisibilityIpv6 Boolean
    IPv6 application visibility
    cloudQos Boolean
    Cloud QoS
    cloudQosServiceSide Boolean
    Cloud QoS service side
    definitions List<GetLocalizedPolicyDefinition>
    List of policy definitions
    description String
    The description of the localized policy
    flowVisibilityIpv4 Boolean
    IPv4 flow visibility
    flowVisibilityIpv6 Boolean
    IPv6 flow visibility
    id String
    The id of the object
    implicitAclLogging Boolean
    Implicit ACL logging
    ipv4VisibilityCacheEntries Integer
    IPv4 visibility cache entries
    ipv6VisibilityCacheEntries Integer
    IPv6 visibility cache entries
    logFrequency Integer
    Log frequency
    name String
    The name of the localized policy
    version Integer
    The version of the object
    applicationVisibilityIpv4 boolean
    IPv4 application visibility
    applicationVisibilityIpv6 boolean
    IPv6 application visibility
    cloudQos boolean
    Cloud QoS
    cloudQosServiceSide boolean
    Cloud QoS service side
    definitions GetLocalizedPolicyDefinition[]
    List of policy definitions
    description string
    The description of the localized policy
    flowVisibilityIpv4 boolean
    IPv4 flow visibility
    flowVisibilityIpv6 boolean
    IPv6 flow visibility
    id string
    The id of the object
    implicitAclLogging boolean
    Implicit ACL logging
    ipv4VisibilityCacheEntries number
    IPv4 visibility cache entries
    ipv6VisibilityCacheEntries number
    IPv6 visibility cache entries
    logFrequency number
    Log frequency
    name string
    The name of the localized policy
    version number
    The version of the object
    application_visibility_ipv4 bool
    IPv4 application visibility
    application_visibility_ipv6 bool
    IPv6 application visibility
    cloud_qos bool
    Cloud QoS
    cloud_qos_service_side bool
    Cloud QoS service side
    definitions Sequence[GetLocalizedPolicyDefinition]
    List of policy definitions
    description str
    The description of the localized policy
    flow_visibility_ipv4 bool
    IPv4 flow visibility
    flow_visibility_ipv6 bool
    IPv6 flow visibility
    id str
    The id of the object
    implicit_acl_logging bool
    Implicit ACL logging
    ipv4_visibility_cache_entries int
    IPv4 visibility cache entries
    ipv6_visibility_cache_entries int
    IPv6 visibility cache entries
    log_frequency int
    Log frequency
    name str
    The name of the localized policy
    version int
    The version of the object
    applicationVisibilityIpv4 Boolean
    IPv4 application visibility
    applicationVisibilityIpv6 Boolean
    IPv6 application visibility
    cloudQos Boolean
    Cloud QoS
    cloudQosServiceSide Boolean
    Cloud QoS service side
    definitions List<Property Map>
    List of policy definitions
    description String
    The description of the localized policy
    flowVisibilityIpv4 Boolean
    IPv4 flow visibility
    flowVisibilityIpv6 Boolean
    IPv6 flow visibility
    id String
    The id of the object
    implicitAclLogging Boolean
    Implicit ACL logging
    ipv4VisibilityCacheEntries Number
    IPv4 visibility cache entries
    ipv6VisibilityCacheEntries Number
    IPv6 visibility cache entries
    logFrequency Number
    Log frequency
    name String
    The name of the localized policy
    version Number
    The version of the object

    Supporting Types

    GetLocalizedPolicyDefinition

    Id string
    Policy definition ID
    Type string
    Policy definition type
    Version int
    Policy definition version
    Id string
    Policy definition ID
    Type string
    Policy definition type
    Version int
    Policy definition version
    id String
    Policy definition ID
    type String
    Policy definition type
    version Integer
    Policy definition version
    id string
    Policy definition ID
    type string
    Policy definition type
    version number
    Policy definition version
    id str
    Policy definition ID
    type str
    Policy definition type
    version int
    Policy definition version
    id String
    Policy definition ID
    type String
    Policy definition type
    version Number
    Policy definition version

    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.3 published on Tuesday, Sep 24, 2024 by Pulumi