import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Replication resource in Oracle Cloud Infrastructure File Storage service. * * Gets the specified replication's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testReplication = oci.filestorage.getReplication({ * replicationId: testReplicationOciFileStorageReplication.id, * }); * ``` */ export declare function getReplication(args: GetReplicationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getReplication. */ export interface GetReplicationArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. */ replicationId: string; } /** * A collection of values returned by getReplication. */ export interface GetReplicationResult { /** * The availability domain the replication is in. The replication must be in the same availability domain as the source file system. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. */ 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; }; /** * Percentage progress of the current replication cycle. */ readonly deltaProgress: string; /** * The current state of the snapshot during replication operations. */ readonly deltaStatus: string; /** * A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My replication` */ 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. */ readonly id: string; readonly isLockOverride: boolean; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete. */ readonly lastSnapshotId: string; /** * Additional information about the current 'lifecycleState'. */ readonly lifecycleDetails: string; /** * Locks associated with this resource. */ readonly locks: outputs.FileStorage.GetReplicationLock[]; /** * The [`snapshotTime`](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Snapshot/snapshotTime) of the most recent recoverable replication snapshot in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-04-04T20:01:29.100Z` */ readonly recoveryPointTime: string; readonly replicationId: string; /** * Duration in minutes between replication snapshots. */ readonly replicationInterval: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [`ReplicationTarget`](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/ReplicationTarget). */ readonly replicationTargetId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source file system. */ readonly sourceId: string; /** * The current state of this replication. This resource can be in a `FAILED` state if replication target is deleted instead of the replication resource. */ readonly state: string; /** * System tags for this resource. System tags are applied to resources by internal Oracle Cloud Infrastructure services. */ readonly systemTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. */ readonly targetId: string; /** * The date and time the replication was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` */ readonly timeCreated: string; } /** * This data source provides details about a specific Replication resource in Oracle Cloud Infrastructure File Storage service. * * Gets the specified replication's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testReplication = oci.filestorage.getReplication({ * replicationId: testReplicationOciFileStorageReplication.id, * }); * ``` */ export declare function getReplicationOutput(args: GetReplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getReplication. */ export interface GetReplicationOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. */ replicationId: pulumi.Input; } //# sourceMappingURL=getReplication.d.ts.map