Show / Hide Table of Contents

Class 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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
DataGroup
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.F5BigIP.Ltm
Assembly: Pulumi.F5BigIP.dll
Syntax
public class DataGroup : CustomResource

Constructors

View Source

DataGroup(String, DataGroupArgs, CustomResourceOptions)

Create a DataGroup resource with the given unique name, arguments, and options.

Declaration
public DataGroup(string name, DataGroupArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

DataGroupArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Name

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

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Records

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.

Declaration
public Output<ImmutableArray<DataGroupRecord>> Records { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<DataGroupRecord>>
View Source

Type

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

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, DataGroupState, CustomResourceOptions)

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

Declaration
public static DataGroup Get(string name, Input<string> id, DataGroupState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

DataGroupState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
DataGroup
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.