Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi
sdwan.getObjectGroupPolicyDefinition
Explore with Pulumi AI
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:
- Data
Fqdn stringPrefix List Id - Data FQDN prefix list ID
- Data
Fqdn intPrefix List Version - Data FQDN prefix list version
- Data
Ipv4Prefix stringList Id - Data IPv4 prefix list ID
- Data
Ipv4Prefix intList Version - Data IPv4 prefix list version
- Description string
- The description of the policy definition
- Fqdn string
- Fully qualified domain name
- Geo
Location string - Geo location
- Geo
Location stringList Id - Geo location list ID
- Geo
Location intList Version - Geo location list version
- Id string
- The id of the object
- Ipv4Prefix string
- IPv4 prefix
- Ipv4Prefix
Variable string - IPv4 prefix variable name
- Name string
- The name of the policy definition
- Port string
- Port or range of ports
- Port
List stringId - Port list ID
- Port
List intVersion - Port list version
- Version int
- The version of the object
- Data
Fqdn stringPrefix List Id - Data FQDN prefix list ID
- Data
Fqdn intPrefix List Version - Data FQDN prefix list version
- Data
Ipv4Prefix stringList Id - Data IPv4 prefix list ID
- Data
Ipv4Prefix intList Version - Data IPv4 prefix list version
- Description string
- The description of the policy definition
- Fqdn string
- Fully qualified domain name
- Geo
Location string - Geo location
- Geo
Location stringList Id - Geo location list ID
- Geo
Location intList Version - Geo location list version
- Id string
- The id of the object
- Ipv4Prefix string
- IPv4 prefix
- Ipv4Prefix
Variable string - IPv4 prefix variable name
- Name string
- The name of the policy definition
- Port string
- Port or range of ports
- Port
List stringId - Port list ID
- Port
List intVersion - Port list version
- Version int
- The version of the object
- data
Fqdn StringPrefix List Id - Data FQDN prefix list ID
- data
Fqdn IntegerPrefix List Version - Data FQDN prefix list version
- data
Ipv4Prefix StringList Id - Data IPv4 prefix list ID
- data
Ipv4Prefix IntegerList Version - Data IPv4 prefix list version
- description String
- The description of the policy definition
- fqdn String
- Fully qualified domain name
- geo
Location String - Geo location
- geo
Location StringList Id - Geo location list ID
- geo
Location IntegerList Version - Geo location list version
- id String
- The id of the object
- ipv4Prefix String
- IPv4 prefix
- ipv4Prefix
Variable String - IPv4 prefix variable name
- name String
- The name of the policy definition
- port String
- Port or range of ports
- port
List StringId - Port list ID
- port
List IntegerVersion - Port list version
- version Integer
- The version of the object
- data
Fqdn stringPrefix List Id - Data FQDN prefix list ID
- data
Fqdn numberPrefix List Version - Data FQDN prefix list version
- data
Ipv4Prefix stringList Id - Data IPv4 prefix list ID
- data
Ipv4Prefix numberList Version - Data IPv4 prefix list version
- description string
- The description of the policy definition
- fqdn string
- Fully qualified domain name
- geo
Location string - Geo location
- geo
Location stringList Id - Geo location list ID
- geo
Location numberList Version - Geo location list version
- id string
- The id of the object
- ipv4Prefix string
- IPv4 prefix
- ipv4Prefix
Variable string - IPv4 prefix variable name
- name string
- The name of the policy definition
- port string
- Port or range of ports
- port
List stringId - Port list ID
- port
List numberVersion - Port list version
- version number
- The version of the object
- data_
fqdn_ strprefix_ list_ id - Data FQDN prefix list ID
- data_
fqdn_ intprefix_ list_ version - Data FQDN prefix list version
- data_
ipv4_ strprefix_ list_ id - Data IPv4 prefix list ID
- data_
ipv4_ intprefix_ list_ version - 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_ strlist_ id - Geo location list ID
- geo_
location_ intlist_ version - Geo location list version
- id str
- The id of the object
- ipv4_
prefix str - IPv4 prefix
- ipv4_
prefix_ strvariable - IPv4 prefix variable name
- name str
- The name of the policy definition
- port str
- Port or range of ports
- port_
list_ strid - Port list ID
- port_
list_ intversion - Port list version
- version int
- The version of the object
- data
Fqdn StringPrefix List Id - Data FQDN prefix list ID
- data
Fqdn NumberPrefix List Version - Data FQDN prefix list version
- data
Ipv4Prefix StringList Id - Data IPv4 prefix list ID
- data
Ipv4Prefix NumberList Version - Data IPv4 prefix list version
- description String
- The description of the policy definition
- fqdn String
- Fully qualified domain name
- geo
Location String - Geo location
- geo
Location StringList Id - Geo location list ID
- geo
Location NumberList Version - Geo location list version
- id String
- The id of the object
- ipv4Prefix String
- IPv4 prefix
- ipv4Prefix
Variable String - IPv4 prefix variable name
- name String
- The name of the policy definition
- port String
- Port or range of ports
- port
List StringId - Port list ID
- port
List NumberVersion - 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.