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 Volume Groups in Oracle Cloud Infrastructure Core service. * * Lists the volume groups in the specified compartment and availability domain. * For more information, see [Volume Groups](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumeGroups = oci.core.getVolumeGroups({ * compartmentId: compartmentId, * availabilityDomain: volumeGroupAvailabilityDomain, * displayName: volumeGroupDisplayName, * state: volumeGroupState, * }); * ``` */ export declare function getVolumeGroups(args: GetVolumeGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolumeGroups. */ export interface GetVolumeGroupsArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Core.GetVolumeGroupsFilter[]; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getVolumeGroups. */ export interface GetVolumeGroupsResult { /** * The availability domain of the boot volume replica replica. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain?: string; /** * The OCID of the compartment that contains the volume group. */ readonly compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Core.GetVolumeGroupsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of a volume group. */ readonly state?: string; /** * The list of volume_groups. */ readonly volumeGroups: outputs.Core.GetVolumeGroupsVolumeGroup[]; } /** * This data source provides the list of Volume Groups in Oracle Cloud Infrastructure Core service. * * Lists the volume groups in the specified compartment and availability domain. * For more information, see [Volume Groups](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumeGroups = oci.core.getVolumeGroups({ * compartmentId: compartmentId, * availabilityDomain: volumeGroupAvailabilityDomain, * displayName: volumeGroupDisplayName, * state: volumeGroupState, * }); * ``` */ export declare function getVolumeGroupsOutput(args: GetVolumeGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolumeGroups. */ export interface GetVolumeGroupsOutputArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getVolumeGroups.d.ts.map