Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 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)
// 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:
- 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
List<Get
Localized Policy Definition> - List of policy definitions
- Description string
- The description of the localized policy
- Flow
Visibility boolIpv4 - IPv4 flow visibility
- Flow
Visibility boolIpv6 - IPv6 flow visibility
- Id string
- The id of the object
- Implicit
Acl boolLogging - Implicit ACL logging
- Ipv4Visibility
Cache intEntries - IPv4 visibility cache entries
- Ipv6Visibility
Cache intEntries - IPv6 visibility cache entries
- Log
Frequency int - Log frequency
- Name string
- The name of the localized policy
- Version int
- 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
[]Get
Localized Policy Definition - List of policy definitions
- Description string
- The description of the localized policy
- Flow
Visibility boolIpv4 - IPv4 flow visibility
- Flow
Visibility boolIpv6 - IPv6 flow visibility
- Id string
- The id of the object
- Implicit
Acl boolLogging - Implicit ACL logging
- Ipv4Visibility
Cache intEntries - IPv4 visibility cache entries
- Ipv6Visibility
Cache intEntries - IPv6 visibility cache entries
- Log
Frequency int - Log frequency
- Name string
- The name of the localized policy
- Version int
- The version of the object
- application
Visibility BooleanIpv4 - IPv4 application visibility
- application
Visibility BooleanIpv6 - IPv6 application visibility
- cloud
Qos Boolean - Cloud QoS
- cloud
Qos BooleanService Side - Cloud QoS service side
- definitions
List<Get
Localized Policy Definition> - List of policy definitions
- description String
- The description of the localized policy
- flow
Visibility BooleanIpv4 - IPv4 flow visibility
- flow
Visibility BooleanIpv6 - IPv6 flow visibility
- id String
- The id of the object
- implicit
Acl BooleanLogging - Implicit ACL logging
- ipv4Visibility
Cache IntegerEntries - IPv4 visibility cache entries
- ipv6Visibility
Cache IntegerEntries - IPv6 visibility cache entries
- log
Frequency Integer - Log frequency
- name String
- The name of the localized policy
- version Integer
- The version of the object
- application
Visibility booleanIpv4 - IPv4 application visibility
- application
Visibility booleanIpv6 - IPv6 application visibility
- cloud
Qos boolean - Cloud QoS
- cloud
Qos booleanService Side - Cloud QoS service side
- definitions
Get
Localized Policy Definition[] - List of policy definitions
- description string
- The description of the localized policy
- flow
Visibility booleanIpv4 - IPv4 flow visibility
- flow
Visibility booleanIpv6 - IPv6 flow visibility
- id string
- The id of the object
- implicit
Acl booleanLogging - Implicit ACL logging
- ipv4Visibility
Cache numberEntries - IPv4 visibility cache entries
- ipv6Visibility
Cache numberEntries - IPv6 visibility cache entries
- log
Frequency 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[Get
Localized 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
- application
Visibility BooleanIpv4 - IPv4 application visibility
- application
Visibility BooleanIpv6 - IPv6 application visibility
- cloud
Qos Boolean - Cloud QoS
- cloud
Qos BooleanService Side - Cloud QoS service side
- definitions List<Property Map>
- List of policy definitions
- description String
- The description of the localized policy
- flow
Visibility BooleanIpv4 - IPv4 flow visibility
- flow
Visibility BooleanIpv6 - IPv6 flow visibility
- id String
- The id of the object
- implicit
Acl BooleanLogging - Implicit ACL logging
- ipv4Visibility
Cache NumberEntries - IPv4 visibility cache entries
- ipv6Visibility
Cache NumberEntries - IPv6 visibility cache entries
- log
Frequency 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
sdwan
Terraform Provider.