F5 BIG-IP

Pulumi Official
Package maintained by Pulumi
v3.8.0 published on Tuesday, May 31, 2022 by Pulumi

getDataGroup

Use this data source (f5bigip.ltm.DataGroup) to get the data group details available on BIG-IP

Example Usage

using Pulumi;
using F5BigIP = Pulumi.F5BigIP;

class MyStack : Stack
{
    public MyStack()
    {
        var dG_TC3 = Output.Create(F5BigIP.Ltm.GetDataGroup.InvokeAsync(new F5BigIP.Ltm.GetDataGroupArgs
        {
            Name = "test-dg",
            Partition = "Common",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/ltm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ltm.LookupDataGroup(ctx, &ltm.LookupDataGroupArgs{
			Name:      "test-dg",
			Partition: "Common",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_f5bigip as f5bigip

d_g__tc3 = f5bigip.ltm.get_data_group(name="test-dg",
    partition="Common")
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";

const dG_TC3 = pulumi.output(f5bigip.ltm.getDataGroup({
    name: "test-dg",
    partition: "Common",
}));

Coming soon!

Using getDataGroup

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 getDataGroup(args: GetDataGroupArgs, opts?: InvokeOptions): Promise<GetDataGroupResult>
function getDataGroupOutput(args: GetDataGroupOutputArgs, opts?: InvokeOptions): Output<GetDataGroupResult>
def get_data_group(name: Optional[str] = None,
                   partition: Optional[str] = None,
                   records: Optional[Sequence[GetDataGroupRecord]] = None,
                   type: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDataGroupResult
def get_data_group_output(name: Optional[pulumi.Input[str]] = None,
                   partition: Optional[pulumi.Input[str]] = None,
                   records: Optional[pulumi.Input[Sequence[pulumi.Input[GetDataGroupRecordArgs]]]] = None,
                   type: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDataGroupResult]
func LookupDataGroup(ctx *Context, args *LookupDataGroupArgs, opts ...InvokeOption) (*LookupDataGroupResult, error)
func LookupDataGroupOutput(ctx *Context, args *LookupDataGroupOutputArgs, opts ...InvokeOption) LookupDataGroupResultOutput

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

public static class GetDataGroup 
{
    public static Task<GetDataGroupResult> InvokeAsync(GetDataGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetDataGroupResult> Invoke(GetDataGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDataGroupResult> getDataGroup(GetDataGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: f5bigip:ltm/getDataGroup:getDataGroup
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

Name of the datagroup

Partition string

partition of the datagroup

Records List<Pulumi.F5BigIP.Ltm.Inputs.GetDataGroupRecord>

Specifies record of type (string/ip/integer)

Type string

The Data Group type (string, ip, integer)"

Name string

Name of the datagroup

Partition string

partition of the datagroup

Records []GetDataGroupRecord

Specifies record of type (string/ip/integer)

Type string

The Data Group type (string, ip, integer)"

name String

Name of the datagroup

partition String

partition of the datagroup

records List<GetDataGroupRecord>

Specifies record of type (string/ip/integer)

type String

The Data Group type (string, ip, integer)"

name string

Name of the datagroup

partition string

partition of the datagroup

records GetDataGroupRecord[]

Specifies record of type (string/ip/integer)

type string

The Data Group type (string, ip, integer)"

name str

Name of the datagroup

partition str

partition of the datagroup

records Sequence[GetDataGroupRecord]

Specifies record of type (string/ip/integer)

type str

The Data Group type (string, ip, integer)"

name String

Name of the datagroup

partition String

partition of the datagroup

records List<Property Map>

Specifies record of type (string/ip/integer)

type String

The Data Group type (string, ip, integer)"

getDataGroup Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Name string
Partition string
Records List<Pulumi.F5BigIP.Ltm.Outputs.GetDataGroupRecord>

Specifies record of type (string/ip/integer)

Type string

The Data Group type (string, ip, integer)"

Id string

The provider-assigned unique ID for this managed resource.

Name string
Partition string
Records []GetDataGroupRecord

Specifies record of type (string/ip/integer)

Type string

The Data Group type (string, ip, integer)"

id String

The provider-assigned unique ID for this managed resource.

name String
partition String
records List<GetDataGroupRecord>

Specifies record of type (string/ip/integer)

type String

The Data Group type (string, ip, integer)"

id string

The provider-assigned unique ID for this managed resource.

name string
partition string
records GetDataGroupRecord[]

Specifies record of type (string/ip/integer)

type string

The Data Group type (string, ip, integer)"

id str

The provider-assigned unique ID for this managed resource.

name str
partition str
records Sequence[GetDataGroupRecord]

Specifies record of type (string/ip/integer)

type str

The Data Group type (string, ip, integer)"

id String

The provider-assigned unique ID for this managed resource.

name String
partition String
records List<Property Map>

Specifies record of type (string/ip/integer)

type String

The Data Group type (string, ip, integer)"

Supporting Types

GetDataGroupRecord

Name string

Name of the datagroup

Data string
Name string

Name of the datagroup

Data string
name String

Name of the datagroup

data String
name string

Name of the datagroup

data string
name str

Name of the datagroup

data str
name String

Name of the datagroup

data String

Package Details

Repository
https://github.com/pulumi/pulumi-f5bigip
License
Apache-2.0
Notes

This Pulumi package is based on the bigip Terraform Provider.