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 Volumes in Oracle Cloud Infrastructure Core service. * * Lists the volumes in the specified compartment and availability domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumes = oci.core.getVolumes({ * availabilityDomain: volumeAvailabilityDomain, * clusterPlacementGroupId: testGroup.id, * compartmentId: compartmentId, * displayName: volumeDisplayName, * state: volumeState, * volumeGroupId: testVolumeGroup.id, * }); * ``` */ export declare function getVolumes(args?: GetVolumesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolumes. */ export interface GetVolumesArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: string; /** * A filter to return only resources that match the given cluster placement group Id exactly. */ clusterPlacementGroupId?: 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.GetVolumesFilter[]; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; /** * The OCID of the volume group. */ volumeGroupId?: string; } /** * A collection of values returned by getVolumes. */ export interface GetVolumesResult { /** * The availability domain of the block volume replica. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain?: string; /** * The clusterPlacementGroup Id of the volume for volume placement. */ readonly clusterPlacementGroupId?: string; /** * The OCID of the compartment that contains the volume. */ 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.GetVolumesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of a volume. */ readonly state?: string; /** * The OCID of the source volume group. */ readonly volumeGroupId?: string; /** * The list of volumes. */ readonly volumes: outputs.Core.GetVolumesVolume[]; } /** * This data source provides the list of Volumes in Oracle Cloud Infrastructure Core service. * * Lists the volumes in the specified compartment and availability domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumes = oci.core.getVolumes({ * availabilityDomain: volumeAvailabilityDomain, * clusterPlacementGroupId: testGroup.id, * compartmentId: compartmentId, * displayName: volumeDisplayName, * state: volumeState, * volumeGroupId: testVolumeGroup.id, * }); * ``` */ export declare function getVolumesOutput(args?: GetVolumesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolumes. */ export interface GetVolumesOutputArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: pulumi.Input; /** * A filter to return only resources that match the given cluster placement group Id exactly. */ clusterPlacementGroupId?: 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; /** * The OCID of the volume group. */ volumeGroupId?: pulumi.Input; } //# sourceMappingURL=getVolumes.d.ts.map