import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides a datasource to retrieve a address group. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const testAddress = new nutanix.AddressGroup("test_address", { * name: "test", * description: "test address groups resource", * ipAddressBlockLists: [{ * ip: "10.0.0.0", * prefixLength: 24, * }], * }); * const addrGroup = nutanix.getAddressGroupOutput({ * uuid: testAddress.id, * }); * ``` * */ export declare function getAddressGroup(args: GetAddressGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAddressGroup. */ export interface GetAddressGroupArgs { /** * - (Required) UUID of the address group */ uuid: string; } /** * A collection of values returned by getAddressGroup. */ export interface GetAddressGroupResult { /** * - (ReadOnly) Address Group string */ readonly addressGroupString: string; /** * - (ReadOnly) Description of the address group */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * - (ReadOnly) list of IP address blocks with their prefix length */ readonly ipAddressBlockLists: outputs.GetAddressGroupIpAddressBlockList[]; /** * - (ReadOnly) Name of the address group */ readonly name: string; /** * - (Required) UUID of the address group */ readonly uuid: string; } /** * Provides a datasource to retrieve a address group. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const testAddress = new nutanix.AddressGroup("test_address", { * name: "test", * description: "test address groups resource", * ipAddressBlockLists: [{ * ip: "10.0.0.0", * prefixLength: 24, * }], * }); * const addrGroup = nutanix.getAddressGroupOutput({ * uuid: testAddress.id, * }); * ``` * */ export declare function getAddressGroupOutput(args: GetAddressGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAddressGroup. */ export interface GetAddressGroupOutputArgs { /** * - (Required) UUID of the address group */ uuid: pulumi.Input; } //# sourceMappingURL=getAddressGroup.d.ts.map