oci.FileStorage.Replication
Explore with Pulumi AI
This resource provides the Replication resource in Oracle Cloud Infrastructure File Storage service.
Creates a new replication in the specified compartment.
Replications are the primary resource that governs the policy of cross-region replication between source
and target file systems. Replications are associated with a secondary resource called a ReplicationTarget
located in another availability domain.
The associated replication target resource is automatically created along with the replication resource.
The replication retrieves the delta of data between two snapshots of a source file system
and sends it to the associated ReplicationTarget
, which retrieves the delta and applies it to the target
file system.
Only unexported file systems can be used as target file systems.
For more information, see Using Replication.
For information about access control and compartments, see Overview of the IAM Service.
For information about availability domains, see Regions and
Availability Domains.
To get a list of availability domains, use the
ListAvailabilityDomains
operation in the Identity and Access
Management Service API.
All Oracle Cloud Infrastructure Services resources, including replications, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource’s OCID by using a List API operation on that resource type, or by viewing the resource in the Console.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testReplication = new oci.filestorage.Replication("test_replication", {
compartmentId: compartmentId,
sourceId: testSource.id,
targetId: testTarget.id,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: replicationDisplayName,
freeformTags: {
Department: "Finance",
},
replicationInterval: replicationReplicationInterval,
});
import pulumi
import pulumi_oci as oci
test_replication = oci.file_storage.Replication("test_replication",
compartment_id=compartment_id,
source_id=test_source["id"],
target_id=test_target["id"],
defined_tags={
"Operations.CostCenter": "42",
},
display_name=replication_display_name,
freeform_tags={
"Department": "Finance",
},
replication_interval=replication_replication_interval)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/FileStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := FileStorage.NewReplication(ctx, "test_replication", &FileStorage.ReplicationArgs{
CompartmentId: pulumi.Any(compartmentId),
SourceId: pulumi.Any(testSource.Id),
TargetId: pulumi.Any(testTarget.Id),
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
DisplayName: pulumi.Any(replicationDisplayName),
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
ReplicationInterval: pulumi.Any(replicationReplicationInterval),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testReplication = new Oci.FileStorage.Replication("test_replication", new()
{
CompartmentId = compartmentId,
SourceId = testSource.Id,
TargetId = testTarget.Id,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = replicationDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
ReplicationInterval = replicationReplicationInterval,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.Replication;
import com.pulumi.oci.FileStorage.ReplicationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testReplication = new Replication("testReplication", ReplicationArgs.builder()
.compartmentId(compartmentId)
.sourceId(testSource.id())
.targetId(testTarget.id())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(replicationDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.replicationInterval(replicationReplicationInterval)
.build());
}
}
resources:
testReplication:
type: oci:FileStorage:Replication
name: test_replication
properties:
compartmentId: ${compartmentId}
sourceId: ${testSource.id}
targetId: ${testTarget.id}
definedTags:
Operations.CostCenter: '42'
displayName: ${replicationDisplayName}
freeformTags:
Department: Finance
replicationInterval: ${replicationReplicationInterval}
Create Replication Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Replication(name: string, args: ReplicationArgs, opts?: CustomResourceOptions);
@overload
def Replication(resource_name: str,
args: ReplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Replication(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
source_id: Optional[str] = None,
target_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
replication_interval: Optional[str] = None)
func NewReplication(ctx *Context, name string, args ReplicationArgs, opts ...ResourceOption) (*Replication, error)
public Replication(string name, ReplicationArgs args, CustomResourceOptions? opts = null)
public Replication(String name, ReplicationArgs args)
public Replication(String name, ReplicationArgs args, CustomResourceOptions options)
type: oci:FileStorage:Replication
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ReplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReplicationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReplicationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var replicationResource = new Oci.FileStorage.Replication("replicationResource", new()
{
CompartmentId = "string",
SourceId = "string",
TargetId = "string",
DefinedTags =
{
{ "string", "any" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
ReplicationInterval = "string",
});
example, err := FileStorage.NewReplication(ctx, "replicationResource", &FileStorage.ReplicationArgs{
CompartmentId: pulumi.String("string"),
SourceId: pulumi.String("string"),
TargetId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
ReplicationInterval: pulumi.String("string"),
})
var replicationResource = new Replication("replicationResource", ReplicationArgs.builder()
.compartmentId("string")
.sourceId("string")
.targetId("string")
.definedTags(Map.of("string", "any"))
.displayName("string")
.freeformTags(Map.of("string", "any"))
.replicationInterval("string")
.build());
replication_resource = oci.file_storage.Replication("replicationResource",
compartment_id="string",
source_id="string",
target_id="string",
defined_tags={
"string": "any",
},
display_name="string",
freeform_tags={
"string": "any",
},
replication_interval="string")
const replicationResource = new oci.filestorage.Replication("replicationResource", {
compartmentId: "string",
sourceId: "string",
targetId: "string",
definedTags: {
string: "any",
},
displayName: "string",
freeformTags: {
string: "any",
},
replicationInterval: "string",
});
type: oci:FileStorage:Replication
properties:
compartmentId: string
definedTags:
string: any
displayName: string
freeformTags:
string: any
replicationInterval: string
sourceId: string
targetId: string
Replication Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Replication resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the replication.
- Source
Id string - The OCID of the source file system.
- Target
Id string The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- Dictionary<string, object>
- (Updatable) 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. Example:
{"Department": "Finance"}
- Replication
Interval string - (Updatable) Duration in minutes between replication snapshots.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the replication.
- Source
Id string - The OCID of the source file system.
- Target
Id string The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- map[string]interface{}
- (Updatable) 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. Example:
{"Department": "Finance"}
- Replication
Interval string - (Updatable) Duration in minutes between replication snapshots.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the replication.
- source
Id String - The OCID of the source file system.
- target
Id String The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- Map<String,Object>
- (Updatable) 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. Example:
{"Department": "Finance"}
- replication
Interval String - (Updatable) Duration in minutes between replication snapshots.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the replication.
- source
Id string - The OCID of the source file system.
- target
Id string The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- {[key: string]: any}
- (Updatable) 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. Example:
{"Department": "Finance"}
- replication
Interval string - (Updatable) Duration in minutes between replication snapshots.
- compartment_
id str - (Updatable) The OCID of the compartment that contains the replication.
- source_
id str - The OCID of the source file system.
- target_
id str The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- Mapping[str, Any]
- (Updatable) 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. Example:
{"Department": "Finance"}
- replication_
interval str - (Updatable) Duration in minutes between replication snapshots.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the replication.
- source
Id String - The OCID of the source file system.
- target
Id String The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- Map<Any>
- (Updatable) 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. Example:
{"Department": "Finance"}
- replication
Interval String - (Updatable) Duration in minutes between replication snapshots.
Outputs
All input properties are implicitly available as output properties. Additionally, the Replication resource produces the following output properties:
- Availability
Domain string - 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
- Delta
Progress string - Percentage progress of the current replication cycle.
- Delta
Status string - The current state of the snapshot during replication operations.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Snapshot stringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Recovery
Point stringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- Replication
Target stringId - The OCID of the
ReplicationTarget
. - State 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. - Time
Created string - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- Availability
Domain string - 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
- Delta
Progress string - Percentage progress of the current replication cycle.
- Delta
Status string - The current state of the snapshot during replication operations.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Snapshot stringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Recovery
Point stringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- Replication
Target stringId - The OCID of the
ReplicationTarget
. - State 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. - Time
Created string - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- availability
Domain String - 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
- delta
Progress String - Percentage progress of the current replication cycle.
- delta
Status String - The current state of the snapshot during replication operations.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Snapshot StringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- recovery
Point StringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- replication
Target StringId - The OCID of the
ReplicationTarget
. - state 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. - time
Created String - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- availability
Domain string - 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
- delta
Progress string - Percentage progress of the current replication cycle.
- delta
Status string - The current state of the snapshot during replication operations.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Snapshot stringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- lifecycle
Details string - Additional information about the current 'lifecycleState'.
- recovery
Point stringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- replication
Target stringId - The OCID of the
ReplicationTarget
. - state 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. - time
Created string - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- availability_
domain str - 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
- delta_
progress str - Percentage progress of the current replication cycle.
- delta_
status str - The current state of the snapshot during replication operations.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
snapshot_ strid - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- lifecycle_
details str - Additional information about the current 'lifecycleState'.
- recovery_
point_ strtime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- replication_
target_ strid - The OCID of the
ReplicationTarget
. - state str
- The current state of this replication. This resource can be in a
FAILED
state if replication target is deleted instead of the replication resource. - time_
created str - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- availability
Domain String - 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
- delta
Progress String - Percentage progress of the current replication cycle.
- delta
Status String - The current state of the snapshot during replication operations.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Snapshot StringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- recovery
Point StringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- replication
Target StringId - The OCID of the
ReplicationTarget
. - state 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. - time
Created String - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
Look up Existing Replication Resource
Get an existing Replication resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ReplicationState, opts?: CustomResourceOptions): Replication
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
delta_progress: Optional[str] = None,
delta_status: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
last_snapshot_id: Optional[str] = None,
lifecycle_details: Optional[str] = None,
recovery_point_time: Optional[str] = None,
replication_interval: Optional[str] = None,
replication_target_id: Optional[str] = None,
source_id: Optional[str] = None,
state: Optional[str] = None,
target_id: Optional[str] = None,
time_created: Optional[str] = None) -> Replication
func GetReplication(ctx *Context, name string, id IDInput, state *ReplicationState, opts ...ResourceOption) (*Replication, error)
public static Replication Get(string name, Input<string> id, ReplicationState? state, CustomResourceOptions? opts = null)
public static Replication get(String name, Output<String> id, ReplicationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Availability
Domain string - 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
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the replication.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Delta
Progress string - Percentage progress of the current replication cycle.
- Delta
Status string - The current state of the snapshot during replication operations.
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- Dictionary<string, object>
- (Updatable) 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. Example:
{"Department": "Finance"}
- Last
Snapshot stringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Recovery
Point stringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- Replication
Interval string - (Updatable) Duration in minutes between replication snapshots.
- Replication
Target stringId - The OCID of the
ReplicationTarget
. - Source
Id string - The OCID of the source file system.
- State 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. - Target
Id string The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- Availability
Domain string - 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
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the replication.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Delta
Progress string - Percentage progress of the current replication cycle.
- Delta
Status string - The current state of the snapshot during replication operations.
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- map[string]interface{}
- (Updatable) 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. Example:
{"Department": "Finance"}
- Last
Snapshot stringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Recovery
Point stringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- Replication
Interval string - (Updatable) Duration in minutes between replication snapshots.
- Replication
Target stringId - The OCID of the
ReplicationTarget
. - Source
Id string - The OCID of the source file system.
- State 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. - Target
Id string The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- availability
Domain String - 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
- compartment
Id String - (Updatable) The OCID of the compartment that contains the replication.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- delta
Progress String - Percentage progress of the current replication cycle.
- delta
Status String - The current state of the snapshot during replication operations.
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- Map<String,Object>
- (Updatable) 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. Example:
{"Department": "Finance"}
- last
Snapshot StringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- recovery
Point StringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- replication
Interval String - (Updatable) Duration in minutes between replication snapshots.
- replication
Target StringId - The OCID of the
ReplicationTarget
. - source
Id String - The OCID of the source file system.
- state 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. - target
Id String The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- availability
Domain string - 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
- compartment
Id string - (Updatable) The OCID of the compartment that contains the replication.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- delta
Progress string - Percentage progress of the current replication cycle.
- delta
Status string - The current state of the snapshot during replication operations.
- display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- {[key: string]: any}
- (Updatable) 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. Example:
{"Department": "Finance"}
- last
Snapshot stringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- lifecycle
Details string - Additional information about the current 'lifecycleState'.
- recovery
Point stringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- replication
Interval string - (Updatable) Duration in minutes between replication snapshots.
- replication
Target stringId - The OCID of the
ReplicationTarget
. - source
Id string - The OCID of the source file system.
- state 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. - target
Id string The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created string - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- availability_
domain str - 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
- compartment_
id str - (Updatable) The OCID of the compartment that contains the replication.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- delta_
progress str - Percentage progress of the current replication cycle.
- delta_
status str - The current state of the snapshot during replication operations.
- display_
name str - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- Mapping[str, Any]
- (Updatable) 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. Example:
{"Department": "Finance"}
- last_
snapshot_ strid - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- lifecycle_
details str - Additional information about the current 'lifecycleState'.
- recovery_
point_ strtime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- replication_
interval str - (Updatable) Duration in minutes between replication snapshots.
- replication_
target_ strid - The OCID of the
ReplicationTarget
. - source_
id str - The OCID of the source file system.
- state str
- The current state of this replication. This resource can be in a
FAILED
state if replication target is deleted instead of the replication resource. - target_
id str The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time_
created str - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
- availability
Domain String - 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
- compartment
Id String - (Updatable) The OCID of the compartment that contains the replication.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- delta
Progress String - Percentage progress of the current replication cycle.
- delta
Status String - The current state of the snapshot during replication operations.
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. An associated replication target will also created with the same
displayName
. Example:My replication
- Map<Any>
- (Updatable) 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. Example:
{"Department": "Finance"}
- last
Snapshot StringId - The OCID of the last snapshot that has been replicated completely. Empty if the copy of the initial snapshot is not complete.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- recovery
Point StringTime - The
snapshotTime
of the most recent recoverable replication snapshot in RFC 3339 timestamp format. Example:2021-04-04T20:01:29.100Z
- replication
Interval String - (Updatable) Duration in minutes between replication snapshots.
- replication
Target StringId - The OCID of the
ReplicationTarget
. - source
Id String - The OCID of the source file system.
- state 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. - target
Id String The OCID of the target file system.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - The date and time the replication was created in RFC 3339 timestamp format. Example:
2021-01-04T20:01:29.100Z
Import
Replications can be imported using the id
, e.g.
$ pulumi import oci:FileStorage/replication:Replication test_replication "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.