import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Cluster Placement Groups in Oracle Cloud Infrastructure Cluster Placement Groups service. * * Gets a list of all cluster placement groups in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusterPlacementGroups = oci.clusterplacementgroups.getClusterPlacementGroups({ * ad: clusterPlacementGroupAd, * compartmentId: compartmentId, * compartmentIdInSubtree: clusterPlacementGroupCompartmentIdInSubtree === "true", * id: clusterPlacementGroupId, * name: clusterPlacementGroupName, * state: clusterPlacementGroupState, * }); * ``` */ export declare function getClusterPlacementGroups(args?: GetClusterPlacementGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClusterPlacementGroups. */ export interface GetClusterPlacementGroupsArgs { /** * A filter to return only the resources that match the specified availability domain. */ ad?: string; /** * A filter to return only the resources that match the specified compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId?: string; /** * When set to `true`, cluster placement groups in all compartments under the specified compartment are returned. The default is set to `false`. */ compartmentIdInSubtree?: boolean; filters?: inputs.ClusterPlacementGroups.GetClusterPlacementGroupsFilter[]; /** * A filter to return only the resources that match the specified unique cluster placement group identifier. */ id?: string; /** * A filter to return only the resources that match the entire display name specified. */ name?: string; /** * A filter to return only the resources that match the specified lifecycle state. */ state?: string; } /** * A collection of values returned by getClusterPlacementGroups. */ export interface GetClusterPlacementGroupsResult { readonly ad?: string; /** * The list of cluster_placement_group_collection. */ readonly clusterPlacementGroupCollections: outputs.ClusterPlacementGroups.GetClusterPlacementGroupsClusterPlacementGroupCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the cluster placement group. */ readonly compartmentId?: string; readonly compartmentIdInSubtree?: boolean; readonly filters?: outputs.ClusterPlacementGroups.GetClusterPlacementGroupsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group. */ readonly id?: string; /** * The user-friendly name of the cluster placement group. The display name for a cluster placement must be unique and you cannot change it. Avoid entering confidential information. */ readonly name?: string; /** * The current state of the ClusterPlacementGroup. */ readonly state?: string; } /** * This data source provides the list of Cluster Placement Groups in Oracle Cloud Infrastructure Cluster Placement Groups service. * * Gets a list of all cluster placement groups in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusterPlacementGroups = oci.clusterplacementgroups.getClusterPlacementGroups({ * ad: clusterPlacementGroupAd, * compartmentId: compartmentId, * compartmentIdInSubtree: clusterPlacementGroupCompartmentIdInSubtree === "true", * id: clusterPlacementGroupId, * name: clusterPlacementGroupName, * state: clusterPlacementGroupState, * }); * ``` */ export declare function getClusterPlacementGroupsOutput(args?: GetClusterPlacementGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClusterPlacementGroups. */ export interface GetClusterPlacementGroupsOutputArgs { /** * A filter to return only the resources that match the specified availability domain. */ ad?: pulumi.Input; /** * A filter to return only the resources that match the specified compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId?: pulumi.Input; /** * When set to `true`, cluster placement groups in all compartments under the specified compartment are returned. The default is set to `false`. */ compartmentIdInSubtree?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only the resources that match the specified unique cluster placement group identifier. */ id?: pulumi.Input; /** * A filter to return only the resources that match the entire display name specified. */ name?: pulumi.Input; /** * A filter to return only the resources that match the specified lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getClusterPlacementGroups.d.ts.map