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

sdwan.getObjectGroupPolicyDefinition

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 Object Group Policy Definition .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getObjectGroupPolicyDefinition({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_object_group_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.LookupObjectGroupPolicyDefinition(ctx, &sdwan.LookupObjectGroupPolicyDefinitionArgs{
    			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.GetObjectGroupPolicyDefinition.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.GetObjectGroupPolicyDefinitionArgs;
    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.getObjectGroupPolicyDefinition(GetObjectGroupPolicyDefinitionArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getObjectGroupPolicyDefinition
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getObjectGroupPolicyDefinition

    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 getObjectGroupPolicyDefinition(args: GetObjectGroupPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetObjectGroupPolicyDefinitionResult>
    function getObjectGroupPolicyDefinitionOutput(args: GetObjectGroupPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetObjectGroupPolicyDefinitionResult>
    def get_object_group_policy_definition(id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetObjectGroupPolicyDefinitionResult
    def get_object_group_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetObjectGroupPolicyDefinitionResult]
    func LookupObjectGroupPolicyDefinition(ctx *Context, args *LookupObjectGroupPolicyDefinitionArgs, opts ...InvokeOption) (*LookupObjectGroupPolicyDefinitionResult, error)
    func LookupObjectGroupPolicyDefinitionOutput(ctx *Context, args *LookupObjectGroupPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupObjectGroupPolicyDefinitionResultOutput

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

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

    getObjectGroupPolicyDefinition Result

    The following output properties are available:

    DataFqdnPrefixListId string
    Data FQDN prefix list ID
    DataFqdnPrefixListVersion int
    Data FQDN prefix list version
    DataIpv4PrefixListId string
    Data IPv4 prefix list ID
    DataIpv4PrefixListVersion int
    Data IPv4 prefix list version
    Description string
    The description of the policy definition
    Fqdn string
    Fully qualified domain name
    GeoLocation string
    Geo location
    GeoLocationListId string
    Geo location list ID
    GeoLocationListVersion int
    Geo location list version
    Id string
    The id of the object
    Ipv4Prefix string
    IPv4 prefix
    Ipv4PrefixVariable string
    IPv4 prefix variable name
    Name string
    The name of the policy definition
    Port string
    Port or range of ports
    PortListId string
    Port list ID
    PortListVersion int
    Port list version
    Version int
    The version of the object
    DataFqdnPrefixListId string
    Data FQDN prefix list ID
    DataFqdnPrefixListVersion int
    Data FQDN prefix list version
    DataIpv4PrefixListId string
    Data IPv4 prefix list ID
    DataIpv4PrefixListVersion int
    Data IPv4 prefix list version
    Description string
    The description of the policy definition
    Fqdn string
    Fully qualified domain name
    GeoLocation string
    Geo location
    GeoLocationListId string
    Geo location list ID
    GeoLocationListVersion int
    Geo location list version
    Id string
    The id of the object
    Ipv4Prefix string
    IPv4 prefix
    Ipv4PrefixVariable string
    IPv4 prefix variable name
    Name string
    The name of the policy definition
    Port string
    Port or range of ports
    PortListId string
    Port list ID
    PortListVersion int
    Port list version
    Version int
    The version of the object
    dataFqdnPrefixListId String
    Data FQDN prefix list ID
    dataFqdnPrefixListVersion Integer
    Data FQDN prefix list version
    dataIpv4PrefixListId String
    Data IPv4 prefix list ID
    dataIpv4PrefixListVersion Integer
    Data IPv4 prefix list version
    description String
    The description of the policy definition
    fqdn String
    Fully qualified domain name
    geoLocation String
    Geo location
    geoLocationListId String
    Geo location list ID
    geoLocationListVersion Integer
    Geo location list version
    id String
    The id of the object
    ipv4Prefix String
    IPv4 prefix
    ipv4PrefixVariable String
    IPv4 prefix variable name
    name String
    The name of the policy definition
    port String
    Port or range of ports
    portListId String
    Port list ID
    portListVersion Integer
    Port list version
    version Integer
    The version of the object
    dataFqdnPrefixListId string
    Data FQDN prefix list ID
    dataFqdnPrefixListVersion number
    Data FQDN prefix list version
    dataIpv4PrefixListId string
    Data IPv4 prefix list ID
    dataIpv4PrefixListVersion number
    Data IPv4 prefix list version
    description string
    The description of the policy definition
    fqdn string
    Fully qualified domain name
    geoLocation string
    Geo location
    geoLocationListId string
    Geo location list ID
    geoLocationListVersion number
    Geo location list version
    id string
    The id of the object
    ipv4Prefix string
    IPv4 prefix
    ipv4PrefixVariable string
    IPv4 prefix variable name
    name string
    The name of the policy definition
    port string
    Port or range of ports
    portListId string
    Port list ID
    portListVersion number
    Port list version
    version number
    The version of the object
    data_fqdn_prefix_list_id str
    Data FQDN prefix list ID
    data_fqdn_prefix_list_version int
    Data FQDN prefix list version
    data_ipv4_prefix_list_id str
    Data IPv4 prefix list ID
    data_ipv4_prefix_list_version int
    Data IPv4 prefix list version
    description str
    The description of the policy definition
    fqdn str
    Fully qualified domain name
    geo_location str
    Geo location
    geo_location_list_id str
    Geo location list ID
    geo_location_list_version int
    Geo location list version
    id str
    The id of the object
    ipv4_prefix str
    IPv4 prefix
    ipv4_prefix_variable str
    IPv4 prefix variable name
    name str
    The name of the policy definition
    port str
    Port or range of ports
    port_list_id str
    Port list ID
    port_list_version int
    Port list version
    version int
    The version of the object
    dataFqdnPrefixListId String
    Data FQDN prefix list ID
    dataFqdnPrefixListVersion Number
    Data FQDN prefix list version
    dataIpv4PrefixListId String
    Data IPv4 prefix list ID
    dataIpv4PrefixListVersion Number
    Data IPv4 prefix list version
    description String
    The description of the policy definition
    fqdn String
    Fully qualified domain name
    geoLocation String
    Geo location
    geoLocationListId String
    Geo location list ID
    geoLocationListVersion Number
    Geo location list version
    id String
    The id of the object
    ipv4Prefix String
    IPv4 prefix
    ipv4PrefixVariable String
    IPv4 prefix variable name
    name String
    The name of the policy definition
    port String
    Port or range of ports
    portListId String
    Port list ID
    portListVersion Number
    Port list version
    version Number
    The version of the object

    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