DataGroup

f5bigip.ltm.DataGroup Manages internal (in-line) datagroup configuration

Resource should be named with their “full path”. The full path is the combination of the partition + name of the resource, for example /Common/my-datagroup.

Example Usage

using Pulumi;
using F5BigIP = Pulumi.F5BigIP;

class MyStack : Stack
{
    public MyStack()
    {
        var datagroup = new F5BigIP.Ltm.DataGroup("datagroup", new F5BigIP.Ltm.DataGroupArgs
        {
            Name = "/Common/dgx2",
            Records = 
            {
                new F5BigIP.Ltm.Inputs.DataGroupRecordArgs
                {
                    Data = "pool1",
                    Name = "abc.com",
                },
                new F5BigIP.Ltm.Inputs.DataGroupRecordArgs
                {
                    Data = "123",
                    Name = "test",
                },
            },
            Type = "string",
        });
    }

}

Coming soon!

import pulumi
import pulumi_f5bigip as f5bigip

datagroup = f5bigip.ltm.DataGroup("datagroup",
    name="/Common/dgx2",
    records=[
        {
            "data": "pool1",
            "name": "abc.com",
        },
        {
            "data": "123",
            "name": "test",
        },
    ],
    type="string")
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";

const datagroup = new f5bigip.ltm.DataGroup("datagroup", {
    name: "/Common/dgx2",
    records: [
        {
            data: "pool1",
            name: "abc.com",
        },
        {
            data: "123",
            name: "test",
        },
    ],
    type: "string",
});

Create a DataGroup Resource

def DataGroup(resource_name, opts=None, name=None, records=None, type=None, __props__=None);
func NewDataGroup(ctx *Context, name string, args DataGroupArgs, opts ...ResourceOption) (*DataGroup, error)
public DataGroup(string name, DataGroupArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args DataGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DataGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DataGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

DataGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The DataGroup resource accepts the following input properties:

Name string

, sets the value of the record’s name attribute, must be of type defined in type attribute

Type string

datagroup type (applies to the name field of the record), supports: string, ip or integer

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

a set of name and data attributes, name must be of type specified by the type attributed (string, ip and integer), data is optional and can take any value, multiple record sets can be specified as needed.

Name string

, sets the value of the record’s name attribute, must be of type defined in type attribute

Type string

datagroup type (applies to the name field of the record), supports: string, ip or integer

Records []DataGroupRecord

a set of name and data attributes, name must be of type specified by the type attributed (string, ip and integer), data is optional and can take any value, multiple record sets can be specified as needed.

name string

, sets the value of the record’s name attribute, must be of type defined in type attribute

type string

datagroup type (applies to the name field of the record), supports: string, ip or integer

records DataGroupRecord[]

a set of name and data attributes, name must be of type specified by the type attributed (string, ip and integer), data is optional and can take any value, multiple record sets can be specified as needed.

name str

, sets the value of the record’s name attribute, must be of type defined in type attribute

type str

datagroup type (applies to the name field of the record), supports: string, ip or integer

records List[DataGroupRecord]

a set of name and data attributes, name must be of type specified by the type attributed (string, ip and integer), data is optional and can take any value, multiple record sets can be specified as needed.

Outputs

All input properties are implicitly available as output properties. Additionally, the DataGroup resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing DataGroup Resource

Get an existing DataGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DataGroupState, opts?: CustomResourceOptions): DataGroup
static get(resource_name, id, opts=None, name=None, records=None, type=None, __props__=None);
func GetDataGroup(ctx *Context, name string, id IDInput, state *DataGroupState, opts ...ResourceOption) (*DataGroup, error)
public static DataGroup Get(string name, Input<string> id, DataGroupState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Name string

, sets the value of the record’s name attribute, must be of type defined in type attribute

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

a set of name and data attributes, name must be of type specified by the type attributed (string, ip and integer), data is optional and can take any value, multiple record sets can be specified as needed.

Type string

datagroup type (applies to the name field of the record), supports: string, ip or integer

Name string

, sets the value of the record’s name attribute, must be of type defined in type attribute

Records []DataGroupRecord

a set of name and data attributes, name must be of type specified by the type attributed (string, ip and integer), data is optional and can take any value, multiple record sets can be specified as needed.

Type string

datagroup type (applies to the name field of the record), supports: string, ip or integer

name string

, sets the value of the record’s name attribute, must be of type defined in type attribute

records DataGroupRecord[]

a set of name and data attributes, name must be of type specified by the type attributed (string, ip and integer), data is optional and can take any value, multiple record sets can be specified as needed.

type string

datagroup type (applies to the name field of the record), supports: string, ip or integer

name str

, sets the value of the record’s name attribute, must be of type defined in type attribute

records List[DataGroupRecord]

a set of name and data attributes, name must be of type specified by the type attributed (string, ip and integer), data is optional and can take any value, multiple record sets can be specified as needed.

type str

datagroup type (applies to the name field of the record), supports: string, ip or integer

Supporting Types

DataGroupRecord

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

, sets the value of the record’s name attribute, must be of type defined in type attribute

Data string

, sets the value of the record’s data attribute, specifying a value here will create a record in the form of name := data

Name string

, sets the value of the record’s name attribute, must be of type defined in type attribute

Data string

, sets the value of the record’s data attribute, specifying a value here will create a record in the form of name := data

name string

, sets the value of the record’s name attribute, must be of type defined in type attribute

data string

, sets the value of the record’s data attribute, specifying a value here will create a record in the form of name := data

name str

, sets the value of the record’s name attribute, must be of type defined in type attribute

data str

, sets the value of the record’s data attribute, specifying a value here will create a record in the form of name := data

Package Details

Repository
https://github.com/pulumi/pulumi-f5bigip
License
Apache-2.0
Notes
This Pulumi package is based on the bigip Terraform Provider.