import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Fetches a list of cluster profile entities. A profile consists of different cluster settings like Network Time Protocol(NTP), Domain Name System(DNS), and so on. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const list_cluster_profiles = nutanix.getClusterProfileV2({}); * const filtered_cluster_profiles = nutanix.getClusterProfilesV2({ * filter: "clusterCount eq 62", * }); * const paged_cluster_profiles = nutanix.getClusterProfilesV2({ * page: 1, * limit: 10, * }); * const ordered_cluster_profiles = nutanix.getClusterProfilesV2({ * orderBy: "name", * }); * const selected_cluster_profiles = nutanix.getClusterProfilesV2({ * select: "name,description", * }); * ``` * */ export declare function getClusterProfilesV2(args?: GetClusterProfilesV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClusterProfilesV2. */ export interface GetClusterProfilesV2Args { /** * A URL query parameter that allows clients to filter a collection of resources. The expression specified with \$filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the \$filter must conform to the OData V4.01 URL conventions. The filter can be applied to the following fields: * * clusterCount : `filter="clusterCount eq 62"` * * createTime : `filter="createTime eq '2009-09-23T14:30:00-07:00'"` * * createdBy : `filter="createdBy eq '984ff444-b6aa-4fa9-a8bd-37ef221cf1b0'"` * * driftedClusterCount : `filter="driftedClusterCount eq 3"` * * lastUpdateTime : `filter="lastUpdateTime eq '2009-09-23T14:30:00-07:00'"` * * lastUpdatedBy : `filter="lastUpdatedBy eq '6debfc73-b4a9-4d68-a702-f0cfc1d721fb'"` * * name : `filter="name eq 'Test Cluster Profile'"` */ 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: * * clusterCount : `orderby="clusterCount"` * * createTime : `orderby="createTime desc"` * * createdBy : `orderby="createdBy desc"` * * driftedClusterCount : `orderby="driftedClusterCount desc"` * * lastUpdateTime : `orderby="lastUpdateTime desc"` * * lastUpdatedBy : `orderby="lastUpdatedBy desc"` * * name : `orderby="name desc"` */ 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. If a \$select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. * * The following selection keys are supported: * * * allowedOverrides : `select="allowedOverrides"` * * clusterCount : `select="clusterCount"` * * clusters : `select="clusters"` * * createTime : `select="createTime"` * * createdBy : `select="createdBy"` * * description : `select="description"` * * driftedClusterCount : `select="driftedClusterCount"` * * extId : `select="extId"` * * lastUpdateTime : `select="lastUpdateTime"` * * lastUpdatedBy : `select="lastUpdatedBy"` * * links : `select="links"` * * name : `select="name"` * * nameServerIpList : `select="nameServerIpList"` * * nfsSubnetWhitelist : `select="nfsSubnetWhitelist"` * * ntpServerIpList : `select="ntpServerIpList"` * * pulseStatus : `select="pulseStatus"` * * rsyslogServerList : `select="rsyslogServerList"` * * smtpServer : `select="smtpServer"` * * snmpConfig : `select="snmpConfig"` * * tenantId : `select="tenantId"` */ select?: string; } /** * A collection of values returned by getClusterProfilesV2. */ export interface GetClusterProfilesV2Result { /** * - List of cluster profiles. */ readonly clusterProfiles: outputs.GetClusterProfilesV2ClusterProfile[]; 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; } /** * Fetches a list of cluster profile entities. A profile consists of different cluster settings like Network Time Protocol(NTP), Domain Name System(DNS), and so on. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const list_cluster_profiles = nutanix.getClusterProfileV2({}); * const filtered_cluster_profiles = nutanix.getClusterProfilesV2({ * filter: "clusterCount eq 62", * }); * const paged_cluster_profiles = nutanix.getClusterProfilesV2({ * page: 1, * limit: 10, * }); * const ordered_cluster_profiles = nutanix.getClusterProfilesV2({ * orderBy: "name", * }); * const selected_cluster_profiles = nutanix.getClusterProfilesV2({ * select: "name,description", * }); * ``` * */ export declare function getClusterProfilesV2Output(args?: GetClusterProfilesV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClusterProfilesV2. */ export interface GetClusterProfilesV2OutputArgs { /** * A URL query parameter that allows clients to filter a collection of resources. The expression specified with \$filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the \$filter must conform to the OData V4.01 URL conventions. The filter can be applied to the following fields: * * clusterCount : `filter="clusterCount eq 62"` * * createTime : `filter="createTime eq '2009-09-23T14:30:00-07:00'"` * * createdBy : `filter="createdBy eq '984ff444-b6aa-4fa9-a8bd-37ef221cf1b0'"` * * driftedClusterCount : `filter="driftedClusterCount eq 3"` * * lastUpdateTime : `filter="lastUpdateTime eq '2009-09-23T14:30:00-07:00'"` * * lastUpdatedBy : `filter="lastUpdatedBy eq '6debfc73-b4a9-4d68-a702-f0cfc1d721fb'"` * * name : `filter="name eq 'Test Cluster Profile'"` */ 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: * * clusterCount : `orderby="clusterCount"` * * createTime : `orderby="createTime desc"` * * createdBy : `orderby="createdBy desc"` * * driftedClusterCount : `orderby="driftedClusterCount desc"` * * lastUpdateTime : `orderby="lastUpdateTime desc"` * * lastUpdatedBy : `orderby="lastUpdatedBy desc"` * * name : `orderby="name desc"` */ 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. If a \$select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. * * The following selection keys are supported: * * * allowedOverrides : `select="allowedOverrides"` * * clusterCount : `select="clusterCount"` * * clusters : `select="clusters"` * * createTime : `select="createTime"` * * createdBy : `select="createdBy"` * * description : `select="description"` * * driftedClusterCount : `select="driftedClusterCount"` * * extId : `select="extId"` * * lastUpdateTime : `select="lastUpdateTime"` * * lastUpdatedBy : `select="lastUpdatedBy"` * * links : `select="links"` * * name : `select="name"` * * nameServerIpList : `select="nameServerIpList"` * * nfsSubnetWhitelist : `select="nfsSubnetWhitelist"` * * ntpServerIpList : `select="ntpServerIpList"` * * pulseStatus : `select="pulseStatus"` * * rsyslogServerList : `select="rsyslogServerList"` * * smtpServer : `select="smtpServer"` * * snmpConfig : `select="snmpConfig"` * * tenantId : `select="tenantId"` */ select?: pulumi.Input; } //# sourceMappingURL=getClusterProfilesV2.d.ts.map