Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getRuleSetPolicyDefinition
Explore with Pulumi AI
This data source can read the Rule Set Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getRuleSetPolicyDefinition({
id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_rule_set_policy_definition(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.LookupRuleSetPolicyDefinition(ctx, &sdwan.LookupRuleSetPolicyDefinitionArgs{
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.GetRuleSetPolicyDefinition.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.GetRuleSetPolicyDefinitionArgs;
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.getRuleSetPolicyDefinition(GetRuleSetPolicyDefinitionArgs.builder()
.id("f6b2c44c-693c-4763-b010-895aa3d236bd")
.build());
}
}
variables:
example:
fn::invoke:
Function: sdwan:getRuleSetPolicyDefinition
Arguments:
id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getRuleSetPolicyDefinition
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 getRuleSetPolicyDefinition(args: GetRuleSetPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetRuleSetPolicyDefinitionResult>
function getRuleSetPolicyDefinitionOutput(args: GetRuleSetPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetRuleSetPolicyDefinitionResult>
def get_rule_set_policy_definition(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRuleSetPolicyDefinitionResult
def get_rule_set_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRuleSetPolicyDefinitionResult]
func LookupRuleSetPolicyDefinition(ctx *Context, args *LookupRuleSetPolicyDefinitionArgs, opts ...InvokeOption) (*LookupRuleSetPolicyDefinitionResult, error)
func LookupRuleSetPolicyDefinitionOutput(ctx *Context, args *LookupRuleSetPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupRuleSetPolicyDefinitionResultOutput
> Note: This function is named LookupRuleSetPolicyDefinition
in the Go SDK.
public static class GetRuleSetPolicyDefinition
{
public static Task<GetRuleSetPolicyDefinitionResult> InvokeAsync(GetRuleSetPolicyDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetRuleSetPolicyDefinitionResult> Invoke(GetRuleSetPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRuleSetPolicyDefinitionResult> getRuleSetPolicyDefinition(GetRuleSetPolicyDefinitionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdwan:index/getRuleSetPolicyDefinition:getRuleSetPolicyDefinition
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
getRuleSetPolicyDefinition Result
The following output properties are available:
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Name string
- The name of the policy definition
- Rules
List<Get
Rule Set Policy Definition Rule> - List of rules
- Version int
- The version of the object
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Name string
- The name of the policy definition
- Rules
[]Get
Rule Set Policy Definition Rule - List of rules
- Version int
- The version of the object
- description String
- The description of the policy definition
- id String
- The id of the object
- name String
- The name of the policy definition
- rules
List<Get
Rule Set Policy Definition Rule> - List of rules
- version Integer
- The version of the object
- description string
- The description of the policy definition
- id string
- The id of the object
- name string
- The name of the policy definition
- rules
Get
Rule Set Policy Definition Rule[] - List of rules
- version number
- The version of the object
- description str
- The description of the policy definition
- id str
- The id of the object
- name str
- The name of the policy definition
- rules
Sequence[Get
Rule Set Policy Definition Rule] - List of rules
- version int
- The version of the object
- description String
- The description of the policy definition
- id String
- The id of the object
- name String
- The name of the policy definition
- rules List<Property Map>
- List of rules
- version Number
- The version of the object
Supporting Types
GetRuleSetPolicyDefinitionRule
- Destination
Data stringFqdn Prefix List Id - Destination data FQDN prefix list ID
- Destination
Data intFqdn Prefix List Version - Destination data FQDN prefix list version
- Destination
Data stringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- Destination
Data intIpv4Prefix List Version - Destination data IPv4 prefix list version
- Destination
Fqdn string - Destination fully qualified domain name
- Destination
Geo stringLocation - Destination geo location
- Destination
Geo stringLocation List Id - Destination geo location list ID
- Destination
Geo intLocation List Version - Destination geo location list version
- Destination
Ipv4Prefix string - Destination IPv4 prefix
- Destination
Ipv4Prefix stringVariable - Destination IPv4 prefix variable name
- Destination
Object stringGroup Id - Destination object group ID
- Destination
Object intGroup Version - Destination object group version
- Destination
Port string - Destination port or range of ports
- Destination
Port stringList Id - Destination port list ID
- Destination
Port intList Version - Destination port list version
- Name string
- The name of the rule
- Order int
- The order of the rule
- Protocol string
- Protocol name
- Protocol
List stringId - Protocol list ID
- Protocol
List intVersion - Protocol list version
- Protocol
Number int - Protocol number
- Source
Data stringFqdn Prefix List Id - Source data FQDN prefix list ID
- Source
Data intFqdn Prefix List Version - Source data FQDN prefix list version
- Source
Data stringIpv4Prefix List Id - Source data IPv4 prefix list ID
- Source
Data intIpv4Prefix List Version - Source data IPv4 prefix list version
- Source
Fqdn string - Source fully qualified domain name
- Source
Geo stringLocation - Source geo location
- Source
Geo stringLocation List Id - Source geo location list ID
- Source
Geo intLocation List Version - Source geo location list version
- Source
Ipv4Prefix string - Source IPv4 prefix
- Source
Ipv4Prefix stringVariable - Source IPv4 prefix variable name
- Source
Object stringGroup Id - Source object group ID
- Source
Object intGroup Version - Source object group version
- Source
Port string - Source port or range of ports
- Source
Port stringList Id - Source port list ID
- Source
Port intList Version - Source port list version
- Destination
Data stringFqdn Prefix List Id - Destination data FQDN prefix list ID
- Destination
Data intFqdn Prefix List Version - Destination data FQDN prefix list version
- Destination
Data stringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- Destination
Data intIpv4Prefix List Version - Destination data IPv4 prefix list version
- Destination
Fqdn string - Destination fully qualified domain name
- Destination
Geo stringLocation - Destination geo location
- Destination
Geo stringLocation List Id - Destination geo location list ID
- Destination
Geo intLocation List Version - Destination geo location list version
- Destination
Ipv4Prefix string - Destination IPv4 prefix
- Destination
Ipv4Prefix stringVariable - Destination IPv4 prefix variable name
- Destination
Object stringGroup Id - Destination object group ID
- Destination
Object intGroup Version - Destination object group version
- Destination
Port string - Destination port or range of ports
- Destination
Port stringList Id - Destination port list ID
- Destination
Port intList Version - Destination port list version
- Name string
- The name of the rule
- Order int
- The order of the rule
- Protocol string
- Protocol name
- Protocol
List stringId - Protocol list ID
- Protocol
List intVersion - Protocol list version
- Protocol
Number int - Protocol number
- Source
Data stringFqdn Prefix List Id - Source data FQDN prefix list ID
- Source
Data intFqdn Prefix List Version - Source data FQDN prefix list version
- Source
Data stringIpv4Prefix List Id - Source data IPv4 prefix list ID
- Source
Data intIpv4Prefix List Version - Source data IPv4 prefix list version
- Source
Fqdn string - Source fully qualified domain name
- Source
Geo stringLocation - Source geo location
- Source
Geo stringLocation List Id - Source geo location list ID
- Source
Geo intLocation List Version - Source geo location list version
- Source
Ipv4Prefix string - Source IPv4 prefix
- Source
Ipv4Prefix stringVariable - Source IPv4 prefix variable name
- Source
Object stringGroup Id - Source object group ID
- Source
Object intGroup Version - Source object group version
- Source
Port string - Source port or range of ports
- Source
Port stringList Id - Source port list ID
- Source
Port intList Version - Source port list version
- destination
Data StringFqdn Prefix List Id - Destination data FQDN prefix list ID
- destination
Data IntegerFqdn Prefix List Version - Destination data FQDN prefix list version
- destination
Data StringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- destination
Data IntegerIpv4Prefix List Version - Destination data IPv4 prefix list version
- destination
Fqdn String - Destination fully qualified domain name
- destination
Geo StringLocation - Destination geo location
- destination
Geo StringLocation List Id - Destination geo location list ID
- destination
Geo IntegerLocation List Version - Destination geo location list version
- destination
Ipv4Prefix String - Destination IPv4 prefix
- destination
Ipv4Prefix StringVariable - Destination IPv4 prefix variable name
- destination
Object StringGroup Id - Destination object group ID
- destination
Object IntegerGroup Version - Destination object group version
- destination
Port String - Destination port or range of ports
- destination
Port StringList Id - Destination port list ID
- destination
Port IntegerList Version - Destination port list version
- name String
- The name of the rule
- order Integer
- The order of the rule
- protocol String
- Protocol name
- protocol
List StringId - Protocol list ID
- protocol
List IntegerVersion - Protocol list version
- protocol
Number Integer - Protocol number
- source
Data StringFqdn Prefix List Id - Source data FQDN prefix list ID
- source
Data IntegerFqdn Prefix List Version - Source data FQDN prefix list version
- source
Data StringIpv4Prefix List Id - Source data IPv4 prefix list ID
- source
Data IntegerIpv4Prefix List Version - Source data IPv4 prefix list version
- source
Fqdn String - Source fully qualified domain name
- source
Geo StringLocation - Source geo location
- source
Geo StringLocation List Id - Source geo location list ID
- source
Geo IntegerLocation List Version - Source geo location list version
- source
Ipv4Prefix String - Source IPv4 prefix
- source
Ipv4Prefix StringVariable - Source IPv4 prefix variable name
- source
Object StringGroup Id - Source object group ID
- source
Object IntegerGroup Version - Source object group version
- source
Port String - Source port or range of ports
- source
Port StringList Id - Source port list ID
- source
Port IntegerList Version - Source port list version
- destination
Data stringFqdn Prefix List Id - Destination data FQDN prefix list ID
- destination
Data numberFqdn Prefix List Version - Destination data FQDN prefix list version
- destination
Data stringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- destination
Data numberIpv4Prefix List Version - Destination data IPv4 prefix list version
- destination
Fqdn string - Destination fully qualified domain name
- destination
Geo stringLocation - Destination geo location
- destination
Geo stringLocation List Id - Destination geo location list ID
- destination
Geo numberLocation List Version - Destination geo location list version
- destination
Ipv4Prefix string - Destination IPv4 prefix
- destination
Ipv4Prefix stringVariable - Destination IPv4 prefix variable name
- destination
Object stringGroup Id - Destination object group ID
- destination
Object numberGroup Version - Destination object group version
- destination
Port string - Destination port or range of ports
- destination
Port stringList Id - Destination port list ID
- destination
Port numberList Version - Destination port list version
- name string
- The name of the rule
- order number
- The order of the rule
- protocol string
- Protocol name
- protocol
List stringId - Protocol list ID
- protocol
List numberVersion - Protocol list version
- protocol
Number number - Protocol number
- source
Data stringFqdn Prefix List Id - Source data FQDN prefix list ID
- source
Data numberFqdn Prefix List Version - Source data FQDN prefix list version
- source
Data stringIpv4Prefix List Id - Source data IPv4 prefix list ID
- source
Data numberIpv4Prefix List Version - Source data IPv4 prefix list version
- source
Fqdn string - Source fully qualified domain name
- source
Geo stringLocation - Source geo location
- source
Geo stringLocation List Id - Source geo location list ID
- source
Geo numberLocation List Version - Source geo location list version
- source
Ipv4Prefix string - Source IPv4 prefix
- source
Ipv4Prefix stringVariable - Source IPv4 prefix variable name
- source
Object stringGroup Id - Source object group ID
- source
Object numberGroup Version - Source object group version
- source
Port string - Source port or range of ports
- source
Port stringList Id - Source port list ID
- source
Port numberList Version - Source port list version
- destination_
data_ strfqdn_ prefix_ list_ id - Destination data FQDN prefix list ID
- destination_
data_ intfqdn_ prefix_ list_ version - Destination data FQDN prefix list version
- destination_
data_ stripv4_ prefix_ list_ id - Destination data IPv4 prefix list ID
- destination_
data_ intipv4_ prefix_ list_ version - Destination data IPv4 prefix list version
- destination_
fqdn str - Destination fully qualified domain name
- destination_
geo_ strlocation - Destination geo location
- destination_
geo_ strlocation_ list_ id - Destination geo location list ID
- destination_
geo_ intlocation_ list_ version - Destination geo location list version
- destination_
ipv4_ strprefix - Destination IPv4 prefix
- destination_
ipv4_ strprefix_ variable - Destination IPv4 prefix variable name
- destination_
object_ strgroup_ id - Destination object group ID
- destination_
object_ intgroup_ version - Destination object group version
- destination_
port str - Destination port or range of ports
- destination_
port_ strlist_ id - Destination port list ID
- destination_
port_ intlist_ version - Destination port list version
- name str
- The name of the rule
- order int
- The order of the rule
- protocol str
- Protocol name
- protocol_
list_ strid - Protocol list ID
- protocol_
list_ intversion - Protocol list version
- protocol_
number int - Protocol number
- source_
data_ strfqdn_ prefix_ list_ id - Source data FQDN prefix list ID
- source_
data_ intfqdn_ prefix_ list_ version - Source data FQDN prefix list version
- source_
data_ stripv4_ prefix_ list_ id - Source data IPv4 prefix list ID
- source_
data_ intipv4_ prefix_ list_ version - Source data IPv4 prefix list version
- source_
fqdn str - Source fully qualified domain name
- source_
geo_ strlocation - Source geo location
- source_
geo_ strlocation_ list_ id - Source geo location list ID
- source_
geo_ intlocation_ list_ version - Source geo location list version
- source_
ipv4_ strprefix - Source IPv4 prefix
- source_
ipv4_ strprefix_ variable - Source IPv4 prefix variable name
- source_
object_ strgroup_ id - Source object group ID
- source_
object_ intgroup_ version - Source object group version
- source_
port str - Source port or range of ports
- source_
port_ strlist_ id - Source port list ID
- source_
port_ intlist_ version - Source port list version
- destination
Data StringFqdn Prefix List Id - Destination data FQDN prefix list ID
- destination
Data NumberFqdn Prefix List Version - Destination data FQDN prefix list version
- destination
Data StringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- destination
Data NumberIpv4Prefix List Version - Destination data IPv4 prefix list version
- destination
Fqdn String - Destination fully qualified domain name
- destination
Geo StringLocation - Destination geo location
- destination
Geo StringLocation List Id - Destination geo location list ID
- destination
Geo NumberLocation List Version - Destination geo location list version
- destination
Ipv4Prefix String - Destination IPv4 prefix
- destination
Ipv4Prefix StringVariable - Destination IPv4 prefix variable name
- destination
Object StringGroup Id - Destination object group ID
- destination
Object NumberGroup Version - Destination object group version
- destination
Port String - Destination port or range of ports
- destination
Port StringList Id - Destination port list ID
- destination
Port NumberList Version - Destination port list version
- name String
- The name of the rule
- order Number
- The order of the rule
- protocol String
- Protocol name
- protocol
List StringId - Protocol list ID
- protocol
List NumberVersion - Protocol list version
- protocol
Number Number - Protocol number
- source
Data StringFqdn Prefix List Id - Source data FQDN prefix list ID
- source
Data NumberFqdn Prefix List Version - Source data FQDN prefix list version
- source
Data StringIpv4Prefix List Id - Source data IPv4 prefix list ID
- source
Data NumberIpv4Prefix List Version - Source data IPv4 prefix list version
- source
Fqdn String - Source fully qualified domain name
- source
Geo StringLocation - Source geo location
- source
Geo StringLocation List Id - Source geo location list ID
- source
Geo NumberLocation List Version - Source geo location list version
- source
Ipv4Prefix String - Source IPv4 prefix
- source
Ipv4Prefix StringVariable - Source IPv4 prefix variable name
- source
Object StringGroup Id - Source object group ID
- source
Object NumberGroup Version - Source object group version
- source
Port String - Source port or range of ports
- source
Port StringList Id - Source port list ID
- source
Port NumberList Version - Source port list version
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.