import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Describes a list of subnets * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const subnets = nutanix.getSubnets({}); * const test = nutanix.getSubnets({ * metadatas: [{ * filter: "name==vlan0_test_2", * }], * }); * ``` * */ export declare function getSubnets(args?: GetSubnetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubnets. */ export interface GetSubnetsArgs { /** * The subnet kind metadata. */ metadatas?: inputs.GetSubnetsMetadata[]; } /** * A collection of values returned by getSubnets. */ export interface GetSubnetsResult { /** * version of the API */ readonly apiVersion: string; /** * List of Subnets */ readonly entities: outputs.GetSubnetsEntity[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The subnet kind metadata. */ readonly metadatas: outputs.GetSubnetsMetadata[]; } /** * Describes a list of subnets * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const subnets = nutanix.getSubnets({}); * const test = nutanix.getSubnets({ * metadatas: [{ * filter: "name==vlan0_test_2", * }], * }); * ``` * */ export declare function getSubnetsOutput(args?: GetSubnetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubnets. */ export interface GetSubnetsOutputArgs { /** * The subnet kind metadata. */ metadatas?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getSubnets.d.ts.map