f5bigip.ltm.DataGroup
f5bigip.ltm.DataGroup Manages internal (in-line) datagroup configuration
Resource should be named with theirfull path. The full path is the combination of the partition + name of the resource, for example /Common/my-datagroup.
Create DataGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataGroup(name: string, args: DataGroupArgs, opts?: CustomResourceOptions);@overload
def DataGroup(resource_name: str,
              args: DataGroupArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def DataGroup(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              name: Optional[str] = None,
              type: Optional[str] = None,
              internal: Optional[bool] = None,
              records: Optional[Sequence[DataGroupRecordArgs]] = None,
              records_src: Optional[str] = None)func NewDataGroup(ctx *Context, name string, args DataGroupArgs, opts ...ResourceOption) (*DataGroup, error)public DataGroup(string name, DataGroupArgs args, CustomResourceOptions? opts = null)
public DataGroup(String name, DataGroupArgs args)
public DataGroup(String name, DataGroupArgs args, CustomResourceOptions options)
type: f5bigip:ltm:DataGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- args DataGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args DataGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dataGroupResource = new F5BigIP.Ltm.DataGroup("dataGroupResource", new()
{
    Name = "string",
    Type = "string",
    Internal = false,
    Records = new[]
    {
        new F5BigIP.Ltm.Inputs.DataGroupRecordArgs
        {
            Name = "string",
            Data = "string",
        },
    },
    RecordsSrc = "string",
});
example, err := ltm.NewDataGroup(ctx, "dataGroupResource", <m.DataGroupArgs{
	Name:     pulumi.String("string"),
	Type:     pulumi.String("string"),
	Internal: pulumi.Bool(false),
	Records: ltm.DataGroupRecordArray{
		<m.DataGroupRecordArgs{
			Name: pulumi.String("string"),
			Data: pulumi.String("string"),
		},
	},
	RecordsSrc: pulumi.String("string"),
})
var dataGroupResource = new DataGroup("dataGroupResource", DataGroupArgs.builder()
    .name("string")
    .type("string")
    .internal(false)
    .records(DataGroupRecordArgs.builder()
        .name("string")
        .data("string")
        .build())
    .recordsSrc("string")
    .build());
data_group_resource = f5bigip.ltm.DataGroup("dataGroupResource",
    name="string",
    type="string",
    internal=False,
    records=[{
        "name": "string",
        "data": "string",
    }],
    records_src="string")
const dataGroupResource = new f5bigip.ltm.DataGroup("dataGroupResource", {
    name: "string",
    type: "string",
    internal: false,
    records: [{
        name: "string",
        data: "string",
    }],
    recordsSrc: "string",
});
type: f5bigip:ltm:DataGroup
properties:
    internal: false
    name: string
    records:
        - data: string
          name: string
    recordsSrc: string
    type: string
DataGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataGroup resource accepts the following input properties:
- Name string
- Name of the datagroup
- Type string
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- Internal bool
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- Records
List<Pulumi.F5Big IP. Ltm. Inputs. 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.
- RecordsSrc string
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- Name string
- Name of the datagroup
- Type string
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- Internal bool
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- Records
[]DataGroup 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.
- RecordsSrc string
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- name String
- Name of the datagroup
- type String
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- internal Boolean
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- records
List<DataGroup 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.
- recordsSrc String
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- name string
- Name of the datagroup
- type string
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- internal boolean
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- records
DataGroup 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.
- recordsSrc string
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- name str
- Name of the datagroup
- type str
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- internal bool
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- records
Sequence[DataGroup 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.
- records_src str
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- name String
- Name of the datagroup
- type String
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- internal Boolean
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- records List<Property Map>
- 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.
- recordsSrc String
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up 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@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        internal: Optional[bool] = None,
        name: Optional[str] = None,
        records: Optional[Sequence[DataGroupRecordArgs]] = None,
        records_src: Optional[str] = None,
        type: Optional[str] = None) -> DataGroupfunc 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)public static DataGroup get(String name, Output<String> id, DataGroupState state, CustomResourceOptions options)resources:  _:    type: f5bigip:ltm:DataGroup    get:      id: ${id}- 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.
- 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.
- Internal bool
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- Name string
- Name of the datagroup
- Records
List<Pulumi.F5Big IP. Ltm. Inputs. 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.
- RecordsSrc string
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- Type string
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- Internal bool
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- Name string
- Name of the datagroup
- Records
[]DataGroup 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.
- RecordsSrc string
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- Type string
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- internal Boolean
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- name String
- Name of the datagroup
- records
List<DataGroup 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.
- recordsSrc String
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- type String
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- internal boolean
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- name string
- Name of the datagroup
- records
DataGroup 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.
- recordsSrc string
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- type string
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- internal bool
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- name str
- Name of the datagroup
- records
Sequence[DataGroup 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.
- records_src str
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- type str
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
- internal Boolean
- Set falseif you want to Create External Datagroups. default istrue,means creates internal datagroup.
- name String
- Name of the datagroup
- records List<Property Map>
- 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.
- recordsSrc String
- Path to a file with records in it,The file should be well-formed,it includes records, one per line,that resemble the following format "key separator value". For example, foo := bar. This should be used in conjunction withinternalattribute setfalse
- type String
- datagroup type (applies to the namefield of the record), supports:string,iporinteger
Supporting Types
DataGroupRecord, DataGroupRecordArgs      
Package Details
- Repository
- f5 BIG-IP pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the bigipTerraform Provider.
