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 Group Replicas in Oracle Cloud Infrastructure Core service. * * Lists the volume group replicas in the specified compartment. You can filter the results by volume group. * For more information, see [Volume Group Replication](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumeGroupReplicas = oci.core.getVolumeGroupReplicas({ * availabilityDomain: volumeGroupReplicaAvailabilityDomain, * compartmentId: compartmentId, * displayName: volumeGroupReplicaDisplayName, * state: volumeGroupReplicaState, * }); * ``` */ export declare function getVolumeGroupReplicas(args: GetVolumeGroupReplicasArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolumeGroupReplicas. */ export interface GetVolumeGroupReplicasArgs { /** * 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.GetVolumeGroupReplicasFilter[]; /** * 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 getVolumeGroupReplicas. */ export interface GetVolumeGroupReplicasResult { /** * The availability domain of the volume group replica. */ readonly availabilityDomain: string; /** * The OCID of the compartment that contains the volume group 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.GetVolumeGroupReplicasFilter[]; /** * 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_group_replicas. */ readonly volumeGroupReplicas: outputs.Core.GetVolumeGroupReplicasVolumeGroupReplica[]; } /** * This data source provides the list of Volume Group Replicas in Oracle Cloud Infrastructure Core service. * * Lists the volume group replicas in the specified compartment. You can filter the results by volume group. * For more information, see [Volume Group Replication](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumeGroupReplicas = oci.core.getVolumeGroupReplicas({ * availabilityDomain: volumeGroupReplicaAvailabilityDomain, * compartmentId: compartmentId, * displayName: volumeGroupReplicaDisplayName, * state: volumeGroupReplicaState, * }); * ``` */ export declare function getVolumeGroupReplicasOutput(args: GetVolumeGroupReplicasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolumeGroupReplicas. */ export interface GetVolumeGroupReplicasOutputArgs { /** * 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=getVolumeGroupReplicas.d.ts.map