UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

97 lines (96 loc) 2.54 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Use this data source (`f5bigip.ltm.DataGroup`) to get the data group details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const DG_TC3 = f5bigip.ltm.getDataGroup({ * name: "test-dg", * partition: "Common", * }); * ``` */ export declare function getDataGroup(args: GetDataGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetDataGroupResult>; /** * A collection of arguments for invoking getDataGroup. */ export interface GetDataGroupArgs { /** * Name of the datagroup */ name: string; /** * partition of the datagroup */ partition: string; /** * Specifies record of type (string/ip/integer) */ records?: inputs.ltm.GetDataGroupRecord[]; /** * The Data Group type (string, ip, integer)" */ type?: string; } /** * A collection of values returned by getDataGroup. */ export interface GetDataGroupResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly partition: string; /** * Specifies record of type (string/ip/integer) */ readonly records: outputs.ltm.GetDataGroupRecord[]; /** * The Data Group type (string, ip, integer)" */ readonly type: string; } /** * Use this data source (`f5bigip.ltm.DataGroup`) to get the data group details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const DG_TC3 = f5bigip.ltm.getDataGroup({ * name: "test-dg", * partition: "Common", * }); * ``` */ export declare function getDataGroupOutput(args: GetDataGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataGroupResult>; /** * A collection of arguments for invoking getDataGroup. */ export interface GetDataGroupOutputArgs { /** * Name of the datagroup */ name: pulumi.Input<string>; /** * partition of the datagroup */ partition: pulumi.Input<string>; /** * Specifies record of type (string/ip/integer) */ records?: pulumi.Input<pulumi.Input<inputs.ltm.GetDataGroupRecordArgs>[]>; /** * The Data Group type (string, ip, integer)" */ type?: pulumi.Input<string>; }