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 Block Volume Replicas in Oracle Cloud Infrastructure Core service. * * Lists the block volume replicas in the specified compartment and availability domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBlockVolumeReplicas = oci.core.getBlockVolumeReplicas({ * availabilityDomain: blockVolumeReplicaAvailabilityDomain, * compartmentId: compartmentId, * displayName: blockVolumeReplicaDisplayName, * state: blockVolumeReplicaState, * volumeGroupReplicaId: testVolumeGroupReplica.id, * }); * ``` */ export declare function getBlockVolumeReplicas(args?: GetBlockVolumeReplicasArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBlockVolumeReplicas. */ export interface GetBlockVolumeReplicasArgs { /** * 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.GetBlockVolumeReplicasFilter[]; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the volume group replica. */ volumeGroupReplicaId?: string; } /** * A collection of values returned by getBlockVolumeReplicas. */ export interface GetBlockVolumeReplicasResult { /** * The availability domain of the block volume replica. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain?: string; /** * The list of block_volume_replicas. */ readonly blockVolumeReplicas: outputs.Core.GetBlockVolumeReplicasBlockVolumeReplica[]; /** * The OCID of the compartment that contains the block volume replica. */ 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.GetBlockVolumeReplicasFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of a block volume replica. */ readonly state?: string; readonly volumeGroupReplicaId?: string; } /** * This data source provides the list of Block Volume Replicas in Oracle Cloud Infrastructure Core service. * * Lists the block volume replicas in the specified compartment and availability domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBlockVolumeReplicas = oci.core.getBlockVolumeReplicas({ * availabilityDomain: blockVolumeReplicaAvailabilityDomain, * compartmentId: compartmentId, * displayName: blockVolumeReplicaDisplayName, * state: blockVolumeReplicaState, * volumeGroupReplicaId: testVolumeGroupReplica.id, * }); * ``` */ export declare function getBlockVolumeReplicasOutput(args?: GetBlockVolumeReplicasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBlockVolumeReplicas. */ export interface GetBlockVolumeReplicasOutputArgs { /** * 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; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the volume group replica. */ volumeGroupReplicaId?: pulumi.Input; } //# sourceMappingURL=getBlockVolumeReplicas.d.ts.map