f5 BIG-IP v3.17.2 published on Wednesday, Jun 26, 2024 by Pulumi
f5bigip.ltm.getDataGroup
Explore with Pulumi AI
Use this data source (f5bigip.ltm.DataGroup
) to get the data group details available on BIG-IP
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
const DG-TC3 = f5bigip.ltm.getDataGroup({
name: "test-dg",
partition: "Common",
});
import pulumi
import pulumi_f5bigip as f5bigip
d_g__tc3 = f5bigip.ltm.get_data_group(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, <m.LookupDataGroupArgs{
Name: "test-dg",
Partition: "Common",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
return await Deployment.RunAsync(() =>
{
var DG_TC3 = F5BigIP.Ltm.GetDataGroup.Invoke(new()
{
Name = "test-dg",
Partition = "Common",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.f5bigip.ltm.LtmFunctions;
import com.pulumi.f5bigip.ltm.inputs.GetDataGroupArgs;
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 DG-TC3 = LtmFunctions.getDataGroup(GetDataGroupArgs.builder()
.name("test-dg")
.partition("Common")
.build());
}
}
variables:
DG-TC3:
fn::invoke:
Function: f5bigip:ltm:getDataGroup
Arguments:
name: test-dg
partition: Common
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.
F5Big IP. Ltm. Inputs. Get Data Group Record> - 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
[]Get
Data Group Record - 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<Get
Data Group Record> - 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
Get
Data Group Record[] - 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[Get
Data Group Record] - 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:
Supporting Types
GetDataGroupRecord
Package Details
- Repository
- f5 BIG-IP pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigip
Terraform Provider.