UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

107 lines (106 loc) 5.09 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * `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`. */ export declare class DataGroup extends pulumi.CustomResource { /** * Get an existing DataGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataGroupState, opts?: pulumi.CustomResourceOptions): DataGroup; /** * Returns true if the given object is an instance of DataGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DataGroup; /** * Set `false` if you want to Create External Datagroups. default is `true`,means creates internal datagroup. */ readonly internal: pulumi.Output<boolean | undefined>; /** * Name of the datagroup */ readonly name: pulumi.Output<string>; /** * 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. */ readonly records: pulumi.Output<outputs.ltm.DataGroupRecord[] | undefined>; /** * 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 with `internal` attribute set `false` */ readonly recordsSrc: pulumi.Output<string | undefined>; /** * datagroup type (applies to the `name` field of the record), supports: `string`, `ip` or `integer` */ readonly type: pulumi.Output<string>; /** * Create a DataGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DataGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DataGroup resources. */ export interface DataGroupState { /** * Set `false` if you want to Create External Datagroups. default is `true`,means creates internal datagroup. */ internal?: pulumi.Input<boolean>; /** * Name of the datagroup */ name?: pulumi.Input<string>; /** * 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. */ records?: pulumi.Input<pulumi.Input<inputs.ltm.DataGroupRecord>[]>; /** * 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 with `internal` attribute set `false` */ recordsSrc?: pulumi.Input<string>; /** * datagroup type (applies to the `name` field of the record), supports: `string`, `ip` or `integer` */ type?: pulumi.Input<string>; } /** * The set of arguments for constructing a DataGroup resource. */ export interface DataGroupArgs { /** * Set `false` if you want to Create External Datagroups. default is `true`,means creates internal datagroup. */ internal?: pulumi.Input<boolean>; /** * Name of the datagroup */ name: pulumi.Input<string>; /** * 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. */ records?: pulumi.Input<pulumi.Input<inputs.ltm.DataGroupRecord>[]>; /** * 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 with `internal` attribute set `false` */ recordsSrc?: pulumi.Input<string>; /** * datagroup type (applies to the `name` field of the record), supports: `string`, `ip` or `integer` */ type: pulumi.Input<string>; }