import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Volume Group Replica resource in Oracle Cloud Infrastructure Core service. * * Gets information for the specified volume group replica. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumeGroupReplica = oci.core.getVolumeGroupReplica({ * volumeGroupReplicaId: testVolumeGroupReplicaOciCoreVolumeGroupReplica.id, * }); * ``` */ export declare function getVolumeGroupReplica(args: GetVolumeGroupReplicaArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolumeGroupReplica. */ export interface GetVolumeGroupReplicaArgs { /** * The OCID of the volume replica group. */ volumeGroupReplicaId: string; } /** * A collection of values returned by getVolumeGroupReplica. */ export interface GetVolumeGroupReplicaResult { /** * 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; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Volume replicas within this volume group replica. */ readonly memberReplicas: outputs.Core.GetVolumeGroupReplicaMemberReplica[]; /** * The aggregate size of the volume group replica in GBs. */ readonly sizeInGbs: string; /** * The current state of a volume group. */ readonly state: string; /** * The date and time the volume group replica was created. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeCreated: string; /** * The date and time the volume group replica was last synced from the source volume group. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeLastSynced: string; /** * The OCID of the source volume group. */ readonly volumeGroupId: string; readonly volumeGroupReplicaId: string; } /** * This data source provides details about a specific Volume Group Replica resource in Oracle Cloud Infrastructure Core service. * * Gets information for the specified volume group replica. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVolumeGroupReplica = oci.core.getVolumeGroupReplica({ * volumeGroupReplicaId: testVolumeGroupReplicaOciCoreVolumeGroupReplica.id, * }); * ``` */ export declare function getVolumeGroupReplicaOutput(args: GetVolumeGroupReplicaOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolumeGroupReplica. */ export interface GetVolumeGroupReplicaOutputArgs { /** * The OCID of the volume replica group. */ volumeGroupReplicaId: pulumi.Input; } //# sourceMappingURL=getVolumeGroupReplica.d.ts.map