import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * List all the Address Groups. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // list all address groups * const list_addr_groups = nutanix.getAddressGroupsV2({}); * // filtered the address groups * const list_addr_group_filtered = nutanix.getAddressGroupsV2({ * filter: "name eq 'td-addr-group'", * }); * // filtered and limit the number of address groups * const list_addr_groups_filter_limit = nutanix.getAddressGroupsV2({ * filter: "name eq 'td-addr-group'", * limit: 1, * }); * ``` * */ export declare function getAddressGroupsV2(args?: GetAddressGroupsV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAddressGroupsV2. */ export interface GetAddressGroupsV2Args { /** * A URL query parameter that allows clients to filter a collection of resources. The filter can be applied to the following fields: * - createdBy * - description * - extId * - name */ filter?: string; /** * A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. */ limit?: number; /** * A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. The orderby can be applied to the following fields: * - description * - extId * - name */ orderBy?: string; /** * A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. */ page?: number; /** * A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. The select can be applied to the following fields: * - createdBy * - description * - extId * - ipRanges * - links * - name * - policyReferences * - tenantId */ select?: string; } /** * A collection of values returned by getAddressGroupsV2. */ export interface GetAddressGroupsV2Result { /** * List of address groups */ readonly addressGroups: outputs.GetAddressGroupsV2AddressGroup[]; readonly filter?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly limit?: number; readonly orderBy?: string; readonly page?: number; readonly select?: string; } /** * List all the Address Groups. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // list all address groups * const list_addr_groups = nutanix.getAddressGroupsV2({}); * // filtered the address groups * const list_addr_group_filtered = nutanix.getAddressGroupsV2({ * filter: "name eq 'td-addr-group'", * }); * // filtered and limit the number of address groups * const list_addr_groups_filter_limit = nutanix.getAddressGroupsV2({ * filter: "name eq 'td-addr-group'", * limit: 1, * }); * ``` * */ export declare function getAddressGroupsV2Output(args?: GetAddressGroupsV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAddressGroupsV2. */ export interface GetAddressGroupsV2OutputArgs { /** * A URL query parameter that allows clients to filter a collection of resources. The filter can be applied to the following fields: * - createdBy * - description * - extId * - name */ filter?: pulumi.Input; /** * A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. */ limit?: pulumi.Input; /** * A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. The orderby can be applied to the following fields: * - description * - extId * - name */ orderBy?: pulumi.Input; /** * A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. */ page?: pulumi.Input; /** * A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. The select can be applied to the following fields: * - createdBy * - description * - extId * - ipRanges * - links * - name * - policyReferences * - tenantId */ select?: pulumi.Input; } //# sourceMappingURL=getAddressGroupsV2.d.ts.map