1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getRuleSetPolicyDefinition
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

sdwan.getRuleSetPolicyDefinition

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

    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<GetRuleSetPolicyDefinitionRule>
    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 []GetRuleSetPolicyDefinitionRule
    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<GetRuleSetPolicyDefinitionRule>
    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 GetRuleSetPolicyDefinitionRule[]
    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[GetRuleSetPolicyDefinitionRule]
    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

    DestinationDataFqdnPrefixListId string
    Destination data FQDN prefix list ID
    DestinationDataFqdnPrefixListVersion int
    Destination data FQDN prefix list version
    DestinationDataIpv4PrefixListId string
    Destination data IPv4 prefix list ID
    DestinationDataIpv4PrefixListVersion int
    Destination data IPv4 prefix list version
    DestinationFqdn string
    Destination fully qualified domain name
    DestinationGeoLocation string
    Destination geo location
    DestinationGeoLocationListId string
    Destination geo location list ID
    DestinationGeoLocationListVersion int
    Destination geo location list version
    DestinationIpv4Prefix string
    Destination IPv4 prefix
    DestinationIpv4PrefixVariable string
    Destination IPv4 prefix variable name
    DestinationObjectGroupId string
    Destination object group ID
    DestinationObjectGroupVersion int
    Destination object group version
    DestinationPort string
    Destination port or range of ports
    DestinationPortListId string
    Destination port list ID
    DestinationPortListVersion int
    Destination port list version
    Name string
    The name of the rule
    Order int
    The order of the rule
    Protocol string
    Protocol name
    ProtocolListId string
    Protocol list ID
    ProtocolListVersion int
    Protocol list version
    ProtocolNumber int
    Protocol number
    SourceDataFqdnPrefixListId string
    Source data FQDN prefix list ID
    SourceDataFqdnPrefixListVersion int
    Source data FQDN prefix list version
    SourceDataIpv4PrefixListId string
    Source data IPv4 prefix list ID
    SourceDataIpv4PrefixListVersion int
    Source data IPv4 prefix list version
    SourceFqdn string
    Source fully qualified domain name
    SourceGeoLocation string
    Source geo location
    SourceGeoLocationListId string
    Source geo location list ID
    SourceGeoLocationListVersion int
    Source geo location list version
    SourceIpv4Prefix string
    Source IPv4 prefix
    SourceIpv4PrefixVariable string
    Source IPv4 prefix variable name
    SourceObjectGroupId string
    Source object group ID
    SourceObjectGroupVersion int
    Source object group version
    SourcePort string
    Source port or range of ports
    SourcePortListId string
    Source port list ID
    SourcePortListVersion int
    Source port list version
    DestinationDataFqdnPrefixListId string
    Destination data FQDN prefix list ID
    DestinationDataFqdnPrefixListVersion int
    Destination data FQDN prefix list version
    DestinationDataIpv4PrefixListId string
    Destination data IPv4 prefix list ID
    DestinationDataIpv4PrefixListVersion int
    Destination data IPv4 prefix list version
    DestinationFqdn string
    Destination fully qualified domain name
    DestinationGeoLocation string
    Destination geo location
    DestinationGeoLocationListId string
    Destination geo location list ID
    DestinationGeoLocationListVersion int
    Destination geo location list version
    DestinationIpv4Prefix string
    Destination IPv4 prefix
    DestinationIpv4PrefixVariable string
    Destination IPv4 prefix variable name
    DestinationObjectGroupId string
    Destination object group ID
    DestinationObjectGroupVersion int
    Destination object group version
    DestinationPort string
    Destination port or range of ports
    DestinationPortListId string
    Destination port list ID
    DestinationPortListVersion int
    Destination port list version
    Name string
    The name of the rule
    Order int
    The order of the rule
    Protocol string
    Protocol name
    ProtocolListId string
    Protocol list ID
    ProtocolListVersion int
    Protocol list version
    ProtocolNumber int
    Protocol number
    SourceDataFqdnPrefixListId string
    Source data FQDN prefix list ID
    SourceDataFqdnPrefixListVersion int
    Source data FQDN prefix list version
    SourceDataIpv4PrefixListId string
    Source data IPv4 prefix list ID
    SourceDataIpv4PrefixListVersion int
    Source data IPv4 prefix list version
    SourceFqdn string
    Source fully qualified domain name
    SourceGeoLocation string
    Source geo location
    SourceGeoLocationListId string
    Source geo location list ID
    SourceGeoLocationListVersion int
    Source geo location list version
    SourceIpv4Prefix string
    Source IPv4 prefix
    SourceIpv4PrefixVariable string
    Source IPv4 prefix variable name
    SourceObjectGroupId string
    Source object group ID
    SourceObjectGroupVersion int
    Source object group version
    SourcePort string
    Source port or range of ports
    SourcePortListId string
    Source port list ID
    SourcePortListVersion int
    Source port list version
    destinationDataFqdnPrefixListId String
    Destination data FQDN prefix list ID
    destinationDataFqdnPrefixListVersion Integer
    Destination data FQDN prefix list version
    destinationDataIpv4PrefixListId String
    Destination data IPv4 prefix list ID
    destinationDataIpv4PrefixListVersion Integer
    Destination data IPv4 prefix list version
    destinationFqdn String
    Destination fully qualified domain name
    destinationGeoLocation String
    Destination geo location
    destinationGeoLocationListId String
    Destination geo location list ID
    destinationGeoLocationListVersion Integer
    Destination geo location list version
    destinationIpv4Prefix String
    Destination IPv4 prefix
    destinationIpv4PrefixVariable String
    Destination IPv4 prefix variable name
    destinationObjectGroupId String
    Destination object group ID
    destinationObjectGroupVersion Integer
    Destination object group version
    destinationPort String
    Destination port or range of ports
    destinationPortListId String
    Destination port list ID
    destinationPortListVersion Integer
    Destination port list version
    name String
    The name of the rule
    order Integer
    The order of the rule
    protocol String
    Protocol name
    protocolListId String
    Protocol list ID
    protocolListVersion Integer
    Protocol list version
    protocolNumber Integer
    Protocol number
    sourceDataFqdnPrefixListId String
    Source data FQDN prefix list ID
    sourceDataFqdnPrefixListVersion Integer
    Source data FQDN prefix list version
    sourceDataIpv4PrefixListId String
    Source data IPv4 prefix list ID
    sourceDataIpv4PrefixListVersion Integer
    Source data IPv4 prefix list version
    sourceFqdn String
    Source fully qualified domain name
    sourceGeoLocation String
    Source geo location
    sourceGeoLocationListId String
    Source geo location list ID
    sourceGeoLocationListVersion Integer
    Source geo location list version
    sourceIpv4Prefix String
    Source IPv4 prefix
    sourceIpv4PrefixVariable String
    Source IPv4 prefix variable name
    sourceObjectGroupId String
    Source object group ID
    sourceObjectGroupVersion Integer
    Source object group version
    sourcePort String
    Source port or range of ports
    sourcePortListId String
    Source port list ID
    sourcePortListVersion Integer
    Source port list version
    destinationDataFqdnPrefixListId string
    Destination data FQDN prefix list ID
    destinationDataFqdnPrefixListVersion number
    Destination data FQDN prefix list version
    destinationDataIpv4PrefixListId string
    Destination data IPv4 prefix list ID
    destinationDataIpv4PrefixListVersion number
    Destination data IPv4 prefix list version
    destinationFqdn string
    Destination fully qualified domain name
    destinationGeoLocation string
    Destination geo location
    destinationGeoLocationListId string
    Destination geo location list ID
    destinationGeoLocationListVersion number
    Destination geo location list version
    destinationIpv4Prefix string
    Destination IPv4 prefix
    destinationIpv4PrefixVariable string
    Destination IPv4 prefix variable name
    destinationObjectGroupId string
    Destination object group ID
    destinationObjectGroupVersion number
    Destination object group version
    destinationPort string
    Destination port or range of ports
    destinationPortListId string
    Destination port list ID
    destinationPortListVersion number
    Destination port list version
    name string
    The name of the rule
    order number
    The order of the rule
    protocol string
    Protocol name
    protocolListId string
    Protocol list ID
    protocolListVersion number
    Protocol list version
    protocolNumber number
    Protocol number
    sourceDataFqdnPrefixListId string
    Source data FQDN prefix list ID
    sourceDataFqdnPrefixListVersion number
    Source data FQDN prefix list version
    sourceDataIpv4PrefixListId string
    Source data IPv4 prefix list ID
    sourceDataIpv4PrefixListVersion number
    Source data IPv4 prefix list version
    sourceFqdn string
    Source fully qualified domain name
    sourceGeoLocation string
    Source geo location
    sourceGeoLocationListId string
    Source geo location list ID
    sourceGeoLocationListVersion number
    Source geo location list version
    sourceIpv4Prefix string
    Source IPv4 prefix
    sourceIpv4PrefixVariable string
    Source IPv4 prefix variable name
    sourceObjectGroupId string
    Source object group ID
    sourceObjectGroupVersion number
    Source object group version
    sourcePort string
    Source port or range of ports
    sourcePortListId string
    Source port list ID
    sourcePortListVersion number
    Source port list version
    destination_data_fqdn_prefix_list_id str
    Destination data FQDN prefix list ID
    destination_data_fqdn_prefix_list_version int
    Destination data FQDN prefix list version
    destination_data_ipv4_prefix_list_id str
    Destination data IPv4 prefix list ID
    destination_data_ipv4_prefix_list_version int
    Destination data IPv4 prefix list version
    destination_fqdn str
    Destination fully qualified domain name
    destination_geo_location str
    Destination geo location
    destination_geo_location_list_id str
    Destination geo location list ID
    destination_geo_location_list_version int
    Destination geo location list version
    destination_ipv4_prefix str
    Destination IPv4 prefix
    destination_ipv4_prefix_variable str
    Destination IPv4 prefix variable name
    destination_object_group_id str
    Destination object group ID
    destination_object_group_version int
    Destination object group version
    destination_port str
    Destination port or range of ports
    destination_port_list_id str
    Destination port list ID
    destination_port_list_version int
    Destination port list version
    name str
    The name of the rule
    order int
    The order of the rule
    protocol str
    Protocol name
    protocol_list_id str
    Protocol list ID
    protocol_list_version int
    Protocol list version
    protocol_number int
    Protocol number
    source_data_fqdn_prefix_list_id str
    Source data FQDN prefix list ID
    source_data_fqdn_prefix_list_version int
    Source data FQDN prefix list version
    source_data_ipv4_prefix_list_id str
    Source data IPv4 prefix list ID
    source_data_ipv4_prefix_list_version int
    Source data IPv4 prefix list version
    source_fqdn str
    Source fully qualified domain name
    source_geo_location str
    Source geo location
    source_geo_location_list_id str
    Source geo location list ID
    source_geo_location_list_version int
    Source geo location list version
    source_ipv4_prefix str
    Source IPv4 prefix
    source_ipv4_prefix_variable str
    Source IPv4 prefix variable name
    source_object_group_id str
    Source object group ID
    source_object_group_version int
    Source object group version
    source_port str
    Source port or range of ports
    source_port_list_id str
    Source port list ID
    source_port_list_version int
    Source port list version
    destinationDataFqdnPrefixListId String
    Destination data FQDN prefix list ID
    destinationDataFqdnPrefixListVersion Number
    Destination data FQDN prefix list version
    destinationDataIpv4PrefixListId String
    Destination data IPv4 prefix list ID
    destinationDataIpv4PrefixListVersion Number
    Destination data IPv4 prefix list version
    destinationFqdn String
    Destination fully qualified domain name
    destinationGeoLocation String
    Destination geo location
    destinationGeoLocationListId String
    Destination geo location list ID
    destinationGeoLocationListVersion Number
    Destination geo location list version
    destinationIpv4Prefix String
    Destination IPv4 prefix
    destinationIpv4PrefixVariable String
    Destination IPv4 prefix variable name
    destinationObjectGroupId String
    Destination object group ID
    destinationObjectGroupVersion Number
    Destination object group version
    destinationPort String
    Destination port or range of ports
    destinationPortListId String
    Destination port list ID
    destinationPortListVersion Number
    Destination port list version
    name String
    The name of the rule
    order Number
    The order of the rule
    protocol String
    Protocol name
    protocolListId String
    Protocol list ID
    protocolListVersion Number
    Protocol list version
    protocolNumber Number
    Protocol number
    sourceDataFqdnPrefixListId String
    Source data FQDN prefix list ID
    sourceDataFqdnPrefixListVersion Number
    Source data FQDN prefix list version
    sourceDataIpv4PrefixListId String
    Source data IPv4 prefix list ID
    sourceDataIpv4PrefixListVersion Number
    Source data IPv4 prefix list version
    sourceFqdn String
    Source fully qualified domain name
    sourceGeoLocation String
    Source geo location
    sourceGeoLocationListId String
    Source geo location list ID
    sourceGeoLocationListVersion Number
    Source geo location list version
    sourceIpv4Prefix String
    Source IPv4 prefix
    sourceIpv4PrefixVariable String
    Source IPv4 prefix variable name
    sourceObjectGroupId String
    Source object group ID
    sourceObjectGroupVersion Number
    Source object group version
    sourcePort String
    Source port or range of ports
    sourcePortListId String
    Source port list ID
    sourcePortListVersion Number
    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.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi