Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getLocalizedPolicy
Explore with Pulumi AI
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)
public static Output<GetLocalizedPolicyResult> getLocalizedPolicy(GetLocalizedPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getLocalizedPolicy:getLocalizedPolicy
  arguments:
    # arguments dictionaryThe 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:
- ApplicationVisibility boolIpv4 
- IPv4 application visibility
- ApplicationVisibility boolIpv6 
- IPv6 application visibility
- CloudQos bool
- Cloud QoS
- CloudQos boolService Side 
- Cloud QoS service side
- Definitions
List<GetLocalized Policy Definition> 
- List of policy definitions
- Description string
- The description of the localized policy
- FlowVisibility boolIpv4 
- IPv4 flow visibility
- FlowVisibility boolIpv6 
- IPv6 flow visibility
- Id string
- The id of the object
- ImplicitAcl boolLogging 
- Implicit ACL logging
- Ipv4VisibilityCache intEntries 
- IPv4 visibility cache entries
- Ipv6VisibilityCache intEntries 
- IPv6 visibility cache entries
- LogFrequency int
- Log frequency
- Name string
- The name of the localized policy
- Version int
- The version of the object
- ApplicationVisibility boolIpv4 
- IPv4 application visibility
- ApplicationVisibility boolIpv6 
- IPv6 application visibility
- CloudQos bool
- Cloud QoS
- CloudQos boolService Side 
- Cloud QoS service side
- Definitions
[]GetLocalized Policy Definition 
- List of policy definitions
- Description string
- The description of the localized policy
- FlowVisibility boolIpv4 
- IPv4 flow visibility
- FlowVisibility boolIpv6 
- IPv6 flow visibility
- Id string
- The id of the object
- ImplicitAcl boolLogging 
- Implicit ACL logging
- Ipv4VisibilityCache intEntries 
- IPv4 visibility cache entries
- Ipv6VisibilityCache intEntries 
- IPv6 visibility cache entries
- LogFrequency int
- Log frequency
- Name string
- The name of the localized policy
- Version int
- The version of the object
- applicationVisibility BooleanIpv4 
- IPv4 application visibility
- applicationVisibility BooleanIpv6 
- IPv6 application visibility
- cloudQos Boolean
- Cloud QoS
- cloudQos BooleanService Side 
- Cloud QoS service side
- definitions
List<GetLocalized Policy Definition> 
- List of policy definitions
- description String
- The description of the localized policy
- flowVisibility BooleanIpv4 
- IPv4 flow visibility
- flowVisibility BooleanIpv6 
- IPv6 flow visibility
- id String
- The id of the object
- implicitAcl BooleanLogging 
- Implicit ACL logging
- ipv4VisibilityCache IntegerEntries 
- IPv4 visibility cache entries
- ipv6VisibilityCache IntegerEntries 
- IPv6 visibility cache entries
- logFrequency Integer
- Log frequency
- name String
- The name of the localized policy
- version Integer
- The version of the object
- applicationVisibility booleanIpv4 
- IPv4 application visibility
- applicationVisibility booleanIpv6 
- IPv6 application visibility
- cloudQos boolean
- Cloud QoS
- cloudQos booleanService Side 
- Cloud QoS service side
- definitions
GetLocalized Policy Definition[] 
- List of policy definitions
- description string
- The description of the localized policy
- flowVisibility booleanIpv4 
- IPv4 flow visibility
- flowVisibility booleanIpv6 
- IPv6 flow visibility
- id string
- The id of the object
- implicitAcl booleanLogging 
- Implicit ACL logging
- ipv4VisibilityCache numberEntries 
- IPv4 visibility cache entries
- ipv6VisibilityCache numberEntries 
- 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_ boolipv4 
- IPv4 application visibility
- application_visibility_ boolipv6 
- IPv6 application visibility
- cloud_qos bool
- Cloud QoS
- cloud_qos_ boolservice_ side 
- Cloud QoS service side
- definitions
Sequence[GetLocalized Policy Definition] 
- List of policy definitions
- description str
- The description of the localized policy
- flow_visibility_ boolipv4 
- IPv4 flow visibility
- flow_visibility_ boolipv6 
- IPv6 flow visibility
- id str
- The id of the object
- implicit_acl_ boollogging 
- Implicit ACL logging
- ipv4_visibility_ intcache_ entries 
- IPv4 visibility cache entries
- ipv6_visibility_ intcache_ entries 
- IPv6 visibility cache entries
- log_frequency int
- Log frequency
- name str
- The name of the localized policy
- version int
- The version of the object
- applicationVisibility BooleanIpv4 
- IPv4 application visibility
- applicationVisibility BooleanIpv6 
- IPv6 application visibility
- cloudQos Boolean
- Cloud QoS
- cloudQos BooleanService Side 
- Cloud QoS service side
- definitions List<Property Map>
- List of policy definitions
- description String
- The description of the localized policy
- flowVisibility BooleanIpv4 
- IPv4 flow visibility
- flowVisibility BooleanIpv6 
- IPv6 flow visibility
- id String
- The id of the object
- implicitAcl BooleanLogging 
- Implicit ACL logging
- ipv4VisibilityCache NumberEntries 
- IPv4 visibility cache entries
- ipv6VisibilityCache NumberEntries 
- 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   
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
