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
new DataGroup(name: string, args: DataGroupArgs, opts?: CustomResourceOptions);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
nameattribute, must be of type defined intypeattribute- Type string
datagroup type (applies to the
namefield of the record), supports:string,iporinteger- Records
List<Pulumi.
F5Big IP. Ltm. Inputs. Data Group Record Args> a set of
nameanddataattributes, name must be of type specified by thetypeattributed (string,ipandinteger), data is optional and can take any value, multiplerecordsets can be specified as needed.
- Name string
, sets the value of the record’s
nameattribute, must be of type defined intypeattribute- Type string
datagroup type (applies to the
namefield of the record), supports:string,iporinteger- Records
[]Data
Group Record a set of
nameanddataattributes, name must be of type specified by thetypeattributed (string,ipandinteger), data is optional and can take any value, multiplerecordsets can be specified as needed.
- name string
, sets the value of the record’s
nameattribute, must be of type defined intypeattribute- type string
datagroup type (applies to the
namefield of the record), supports:string,iporinteger- records
Data
Group Record[] a set of
nameanddataattributes, name must be of type specified by thetypeattributed (string,ipandinteger), data is optional and can take any value, multiplerecordsets can be specified as needed.
- name str
, sets the value of the record’s
nameattribute, must be of type defined intypeattribute- type str
datagroup type (applies to the
namefield of the record), supports:string,iporinteger- records
List[Data
Group Record] a set of
nameanddataattributes, name must be of type specified by thetypeattributed (string,ipandinteger), data is optional and can take any value, multiplerecordsets can be specified as needed.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataGroup resource produces the following output properties:
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): DataGroupstatic 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
nameattribute, must be of type defined intypeattribute- Records
List<Pulumi.
F5Big IP. Ltm. Inputs. Data Group Record Args> a set of
nameanddataattributes, name must be of type specified by thetypeattributed (string,ipandinteger), data is optional and can take any value, multiplerecordsets can be specified as needed.- Type string
datagroup type (applies to the
namefield of the record), supports:string,iporinteger
- Name string
, sets the value of the record’s
nameattribute, must be of type defined intypeattribute- Records
[]Data
Group Record a set of
nameanddataattributes, name must be of type specified by thetypeattributed (string,ipandinteger), data is optional and can take any value, multiplerecordsets can be specified as needed.- Type string
datagroup type (applies to the
namefield of the record), supports:string,iporinteger
- name string
, sets the value of the record’s
nameattribute, must be of type defined intypeattribute- records
Data
Group Record[] a set of
nameanddataattributes, name must be of type specified by thetypeattributed (string,ipandinteger), data is optional and can take any value, multiplerecordsets can be specified as needed.- type string
datagroup type (applies to the
namefield of the record), supports:string,iporinteger
- name str
, sets the value of the record’s
nameattribute, must be of type defined intypeattribute- records
List[Data
Group Record] a set of
nameanddataattributes, name must be of type specified by thetypeattributed (string,ipandinteger), data is optional and can take any value, multiplerecordsets can be specified as needed.- type str
datagroup type (applies to the
namefield of the record), supports:string,iporinteger
Supporting Types
DataGroupRecord
Package Details
- Repository
- https://github.com/pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigipTerraform Provider.