published on Friday, Oct 9, 2026 by Pulumi
published on Friday, Oct 9, 2026 by Pulumi
This resource provides the Registration Policy resource in Oracle Cloud Infrastructure Data Safe service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/RegistrationPolicy
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe
Creates a new OptIn/Registration Policy
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRegistrationPolicy = new oci.datasafe.RegistrationPolicy("test_registration_policy", {
compartmentId: compartmentId,
features: registrationPolicyFeatures,
resourceId: testResource.id,
canOverrideFeatures: registrationPolicyCanOverrideFeatures === "true",
connectionOption: {
connectionType: registrationPolicyConnectionOptionConnectionType,
identifiers: registrationPolicyConnectionOptionIdentifiers,
},
definedTags: {
"Operations.CostCenter": "42",
},
description: registrationPolicyDescription,
displayName: registrationPolicyDisplayName,
freeformTags: {
Department: "Finance",
},
opcDryRun: registrationPolicyOpcDryRun === "true",
xClusterId: registrationPolicyXClusterId,
});
import pulumi
import pulumi_oci as oci
test_registration_policy = oci.datasafe.RegistrationPolicy("test_registration_policy",
compartment_id=compartment_id,
features=registration_policy_features,
resource_id=test_resource["id"],
can_override_features=registration_policy_can_override_features == "true",
connection_option={
"connection_type": registration_policy_connection_option_connection_type,
"identifiers": registration_policy_connection_option_identifiers,
},
defined_tags={
"Operations.CostCenter": "42",
},
description=registration_policy_description,
display_name=registration_policy_display_name,
freeform_tags={
"Department": "Finance",
},
opc_dry_run=registration_policy_opc_dry_run == "true",
x_cluster_id=registration_policy_x_cluster_id)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.NewRegistrationPolicy(ctx, "test_registration_policy", &datasafe.RegistrationPolicyArgs{
CompartmentId: pulumi.Any(compartmentId),
Features: pulumi.Any(registrationPolicyFeatures),
ResourceId: pulumi.Any(testResource.Id),
CanOverrideFeatures: pulumi.Any(registrationPolicyCanOverrideFeatures),
ConnectionOption: &datasafe.RegistrationPolicyConnectionOptionArgs{
ConnectionType: pulumi.Any(registrationPolicyConnectionOptionConnectionType),
Identifiers: pulumi.Any(registrationPolicyConnectionOptionIdentifiers),
},
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(registrationPolicyDescription),
DisplayName: pulumi.Any(registrationPolicyDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
OpcDryRun: pulumi.Any(registrationPolicyOpcDryRun),
XClusterId: pulumi.Any(registrationPolicyXClusterId),
})
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 testRegistrationPolicy = new Oci.DataSafe.RegistrationPolicy("test_registration_policy", new()
{
CompartmentId = compartmentId,
Features = registrationPolicyFeatures,
ResourceId = testResource.Id,
CanOverrideFeatures = registrationPolicyCanOverrideFeatures,
ConnectionOption = new Oci.DataSafe.Inputs.RegistrationPolicyConnectionOptionArgs
{
ConnectionType = registrationPolicyConnectionOptionConnectionType,
Identifiers = registrationPolicyConnectionOptionIdentifiers,
},
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = registrationPolicyDescription,
DisplayName = registrationPolicyDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
OpcDryRun = registrationPolicyOpcDryRun,
XClusterId = registrationPolicyXClusterId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.RegistrationPolicy;
import com.pulumi.oci.DataSafe.RegistrationPolicyArgs;
import com.pulumi.oci.DataSafe.inputs.RegistrationPolicyConnectionOptionArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testRegistrationPolicy = new RegistrationPolicy("testRegistrationPolicy", RegistrationPolicyArgs.builder()
.compartmentId(compartmentId)
.features(registrationPolicyFeatures)
.resourceId(testResource.id())
.canOverrideFeatures(registrationPolicyCanOverrideFeatures)
.connectionOption(RegistrationPolicyConnectionOptionArgs.builder()
.connectionType(registrationPolicyConnectionOptionConnectionType)
.identifiers(registrationPolicyConnectionOptionIdentifiers)
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(registrationPolicyDescription)
.displayName(registrationPolicyDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.opcDryRun(registrationPolicyOpcDryRun)
.xClusterId(registrationPolicyXClusterId)
.build());
}
}
resources:
testRegistrationPolicy:
type: oci:DataSafe:RegistrationPolicy
name: test_registration_policy
properties:
compartmentId: ${compartmentId}
features: ${registrationPolicyFeatures}
resourceId: ${testResource.id}
canOverrideFeatures: ${registrationPolicyCanOverrideFeatures}
connectionOption:
connectionType: ${registrationPolicyConnectionOptionConnectionType}
identifiers: ${registrationPolicyConnectionOptionIdentifiers}
definedTags:
Operations.CostCenter: '42'
description: ${registrationPolicyDescription}
displayName: ${registrationPolicyDisplayName}
freeformTags:
Department: Finance
opcDryRun: ${registrationPolicyOpcDryRun}
xClusterId: ${registrationPolicyXClusterId}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_datasafe_registrationpolicy" "test_registration_policy" {
compartment_id = compartmentId
features = registrationPolicyFeatures
resource_id = testResource.id
can_override_features = registrationPolicyCanOverrideFeatures
connection_option = {
connection_type = registrationPolicyConnectionOptionConnectionType
identifiers = registrationPolicyConnectionOptionIdentifiers
}
#Required
defined_tags = {
"Operations.CostCenter" = "42"
}
description = registrationPolicyDescription
display_name = registrationPolicyDisplayName
freeform_tags = {
"Department" = "Finance"
}
opc_dry_run = registrationPolicyOpcDryRun
x_cluster_id = registrationPolicyXClusterId
}
Create RegistrationPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegistrationPolicy(name: string, args: RegistrationPolicyArgs, opts?: CustomResourceOptions);@overload
def RegistrationPolicy(resource_name: str,
args: RegistrationPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RegistrationPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
features: Optional[Sequence[str]] = None,
resource_id: Optional[str] = None,
can_override_features: Optional[bool] = None,
connection_option: Optional[RegistrationPolicyConnectionOptionArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
opc_dry_run: Optional[bool] = None,
x_cluster_id: Optional[str] = None)func NewRegistrationPolicy(ctx *Context, name string, args RegistrationPolicyArgs, opts ...ResourceOption) (*RegistrationPolicy, error)public RegistrationPolicy(string name, RegistrationPolicyArgs args, CustomResourceOptions? opts = null)
public RegistrationPolicy(String name, RegistrationPolicyArgs args)
public RegistrationPolicy(String name, RegistrationPolicyArgs args, CustomResourceOptions options)
type: oci:DataSafe:RegistrationPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_data_safe_registration_policy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RegistrationPolicyArgs
- 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 RegistrationPolicyArgs
- 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 RegistrationPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegistrationPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegistrationPolicyArgs
- 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 registrationPolicyResource = new Oci.DataSafe.RegistrationPolicy("registrationPolicyResource", new()
{
CompartmentId = "string",
Features = new[]
{
"string",
},
ResourceId = "string",
CanOverrideFeatures = false,
ConnectionOption = new Oci.DataSafe.Inputs.RegistrationPolicyConnectionOptionArgs
{
ConnectionType = "string",
Identifiers = new[]
{
"string",
},
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
OpcDryRun = false,
XClusterId = "string",
});
example, err := datasafe.NewRegistrationPolicy(ctx, "registrationPolicyResource", &datasafe.RegistrationPolicyArgs{
CompartmentId: pulumi.String("string"),
Features: pulumi.StringArray{
pulumi.String("string"),
},
ResourceId: pulumi.String("string"),
CanOverrideFeatures: pulumi.Bool(false),
ConnectionOption: &datasafe.RegistrationPolicyConnectionOptionArgs{
ConnectionType: pulumi.String("string"),
Identifiers: pulumi.StringArray{
pulumi.String("string"),
},
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
OpcDryRun: pulumi.Bool(false),
XClusterId: pulumi.String("string"),
})
resource "oci_data_safe_registration_policy" "registrationPolicyResource" {
lifecycle {
create_before_destroy = true
}
compartment_id = "string"
features = ["string"]
resource_id = "string"
can_override_features = false
connection_option = {
connection_type = "string"
identifiers = ["string"]
}
defined_tags = {
"string" = "string"
}
description = "string"
display_name = "string"
freeform_tags = {
"string" = "string"
}
opc_dry_run = false
x_cluster_id = "string"
}
var registrationPolicyResource = new RegistrationPolicy("registrationPolicyResource", RegistrationPolicyArgs.builder()
.compartmentId("string")
.features("string")
.resourceId("string")
.canOverrideFeatures(false)
.connectionOption(RegistrationPolicyConnectionOptionArgs.builder()
.connectionType("string")
.identifiers("string")
.build())
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.opcDryRun(false)
.xClusterId("string")
.build());
registration_policy_resource = oci.datasafe.RegistrationPolicy("registrationPolicyResource",
compartment_id="string",
features=["string"],
resource_id="string",
can_override_features=False,
connection_option={
"connection_type": "string",
"identifiers": ["string"],
},
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
opc_dry_run=False,
x_cluster_id="string")
const registrationPolicyResource = new oci.datasafe.RegistrationPolicy("registrationPolicyResource", {
compartmentId: "string",
features: ["string"],
resourceId: "string",
canOverrideFeatures: false,
connectionOption: {
connectionType: "string",
identifiers: ["string"],
},
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
opcDryRun: false,
xClusterId: "string",
});
type: oci:DataSafe:RegistrationPolicy
properties:
canOverrideFeatures: false
compartmentId: string
connectionOption:
connectionType: string
identifiers:
- string
definedTags:
string: string
description: string
displayName: string
features:
- string
freeformTags:
string: string
opcDryRun: false
resourceId: string
xClusterId: string
RegistrationPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RegistrationPolicy resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment where the registration policy will be created.
- Features List<string>
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- Resource
Id string - The OCID of the resource used in the registration policy.
- Can
Override boolFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- Connection
Option RegistrationPolicy Connection Option - (Updatable) Types of connection supported by Data Safe.
- Dictionary<string, string>
- (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"} - Description string
- (Updatable) A description of the registration policy.
- Display
Name string - (Updatable) The display name of the registration policy.
- Dictionary<string, string>
- (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"} - Opc
Dry boolRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- XCluster
Id string Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- Compartment
Id string - (Updatable) The OCID of the compartment where the registration policy will be created.
- Features []string
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- Resource
Id string - The OCID of the resource used in the registration policy.
- Can
Override boolFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- Connection
Option RegistrationPolicy Connection Option Args - (Updatable) Types of connection supported by Data Safe.
- map[string]string
- (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"} - Description string
- (Updatable) A description of the registration policy.
- Display
Name string - (Updatable) The display name of the registration policy.
- map[string]string
- (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"} - Opc
Dry boolRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- XCluster
Id string Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- compartment_
id string - (Updatable) The OCID of the compartment where the registration policy will be created.
- features list(string)
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- resource_
id string - The OCID of the resource used in the registration policy.
- can_
override_ boolfeatures - (Updatable) Indicates whether features will be overridden for all targets.
- connection_
option object - (Updatable) Types of connection supported by Data Safe.
- map(string)
- (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"} - description string
- (Updatable) A description of the registration policy.
- display_
name string - (Updatable) The display name of the registration policy.
- map(string)
- (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"} - opc_
dry_ boolrun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- x_
cluster_ stringid Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- compartment
Id String - (Updatable) The OCID of the compartment where the registration policy will be created.
- features List<String>
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- resource
Id String - The OCID of the resource used in the registration policy.
- can
Override BooleanFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- connection
Option RegistrationPolicy Connection Option - (Updatable) Types of connection supported by Data Safe.
- Map<String,String>
- (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"} - description String
- (Updatable) A description of the registration policy.
- display
Name String - (Updatable) The display name of the registration policy.
- Map<String,String>
- (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"} - opc
Dry BooleanRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- x
Cluster StringId Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- compartment
Id string - (Updatable) The OCID of the compartment where the registration policy will be created.
- features string[]
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- resource
Id string - The OCID of the resource used in the registration policy.
- can
Override booleanFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- connection
Option RegistrationPolicy Connection Option - (Updatable) Types of connection supported by Data Safe.
- {[key: string]: string}
- (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"} - description string
- (Updatable) A description of the registration policy.
- display
Name string - (Updatable) The display name of the registration policy.
- {[key: string]: string}
- (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"} - opc
Dry booleanRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- x
Cluster stringId Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- compartment_
id str - (Updatable) The OCID of the compartment where the registration policy will be created.
- features Sequence[str]
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- resource_
id str - The OCID of the resource used in the registration policy.
- can_
override_ boolfeatures - (Updatable) Indicates whether features will be overridden for all targets.
- connection_
option RegistrationPolicy Connection Option Args - (Updatable) Types of connection supported by Data Safe.
- Mapping[str, str]
- (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"} - description str
- (Updatable) A description of the registration policy.
- display_
name str - (Updatable) The display name of the registration policy.
- Mapping[str, str]
- (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"} - opc_
dry_ boolrun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- x_
cluster_ strid Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- compartment
Id String - (Updatable) The OCID of the compartment where the registration policy will be created.
- features List<String>
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- resource
Id String - The OCID of the resource used in the registration policy.
- can
Override BooleanFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- connection
Option Property Map - (Updatable) Types of connection supported by Data Safe.
- Map<String>
- (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"} - description String
- (Updatable) A description of the registration policy.
- display
Name String - (Updatable) The display name of the registration policy.
- Map<String>
- (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"} - opc
Dry BooleanRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- x
Cluster StringId Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
Outputs
All input properties are implicitly available as output properties. Additionally, the RegistrationPolicy resource produces the following output properties:
- Enablement
Level string - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State stringDetails - Details about the lifecycle state of the registration policy
- State string
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time when the registration policy was created.
- Time
Updated string - The date and time when the registration policy was last updated.
- Enablement
Level string - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State stringDetails - Details about the lifecycle state of the registration policy
- State string
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time when the registration policy was created.
- Time
Updated string - The date and time when the registration policy was last updated.
- enablement_
level string - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state_ stringdetails - Details about the lifecycle state of the registration policy
- state string
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- map(string)
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created string - The date and time when the registration policy was created.
- time_
updated string - The date and time when the registration policy was last updated.
- enablement
Level String - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State StringDetails - Details about the lifecycle state of the registration policy
- state String
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time when the registration policy was created.
- time
Updated String - The date and time when the registration policy was last updated.
- enablement
Level string - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State stringDetails - Details about the lifecycle state of the registration policy
- state string
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time when the registration policy was created.
- time
Updated string - The date and time when the registration policy was last updated.
- enablement_
level str - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state_ strdetails - Details about the lifecycle state of the registration policy
- state str
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time when the registration policy was created.
- time_
updated str - The date and time when the registration policy was last updated.
- enablement
Level String - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State StringDetails - Details about the lifecycle state of the registration policy
- state String
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time when the registration policy was created.
- time
Updated String - The date and time when the registration policy was last updated.
Look up Existing RegistrationPolicy Resource
Get an existing RegistrationPolicy 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?: RegistrationPolicyState, opts?: CustomResourceOptions): RegistrationPolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
can_override_features: Optional[bool] = None,
compartment_id: Optional[str] = None,
connection_option: Optional[RegistrationPolicyConnectionOptionArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
enablement_level: Optional[str] = None,
features: Optional[Sequence[str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_state_details: Optional[str] = None,
opc_dry_run: Optional[bool] = None,
resource_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
x_cluster_id: Optional[str] = None) -> RegistrationPolicyfunc GetRegistrationPolicy(ctx *Context, name string, id IDInput, state *RegistrationPolicyState, opts ...ResourceOption) (*RegistrationPolicy, error)public static RegistrationPolicy Get(string name, Input<string> id, RegistrationPolicyState? state, CustomResourceOptions? opts = null)public static RegistrationPolicy get(String name, Output<String> id, RegistrationPolicyState state, CustomResourceOptions options)resources: _: type: oci:DataSafe:RegistrationPolicy get: id: ${id}import {
to = oci_data_safe_registration_policy.example
id = "${id}"
}
- 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.
- Can
Override boolFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- Compartment
Id string - (Updatable) The OCID of the compartment where the registration policy will be created.
- Connection
Option RegistrationPolicy Connection Option - (Updatable) Types of connection supported by Data Safe.
- Dictionary<string, string>
- (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"} - Description string
- (Updatable) A description of the registration policy.
- Display
Name string - (Updatable) The display name of the registration policy.
- Enablement
Level string - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- Features List<string>
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- Dictionary<string, string>
- (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"} - Lifecycle
State stringDetails - Details about the lifecycle state of the registration policy
- Opc
Dry boolRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- Resource
Id string - The OCID of the resource used in the registration policy.
- State string
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time when the registration policy was created.
- Time
Updated string - The date and time when the registration policy was last updated.
- XCluster
Id string Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- Can
Override boolFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- Compartment
Id string - (Updatable) The OCID of the compartment where the registration policy will be created.
- Connection
Option RegistrationPolicy Connection Option Args - (Updatable) Types of connection supported by Data Safe.
- map[string]string
- (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"} - Description string
- (Updatable) A description of the registration policy.
- Display
Name string - (Updatable) The display name of the registration policy.
- Enablement
Level string - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- Features []string
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- map[string]string
- (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"} - Lifecycle
State stringDetails - Details about the lifecycle state of the registration policy
- Opc
Dry boolRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- Resource
Id string - The OCID of the resource used in the registration policy.
- State string
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time when the registration policy was created.
- Time
Updated string - The date and time when the registration policy was last updated.
- XCluster
Id string Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- can_
override_ boolfeatures - (Updatable) Indicates whether features will be overridden for all targets.
- compartment_
id string - (Updatable) The OCID of the compartment where the registration policy will be created.
- connection_
option object - (Updatable) Types of connection supported by Data Safe.
- map(string)
- (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"} - description string
- (Updatable) A description of the registration policy.
- display_
name string - (Updatable) The display name of the registration policy.
- enablement_
level string - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- features list(string)
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- map(string)
- (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"} - lifecycle_
state_ stringdetails - Details about the lifecycle state of the registration policy
- opc_
dry_ boolrun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- resource_
id string - The OCID of the resource used in the registration policy.
- state string
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- map(string)
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created string - The date and time when the registration policy was created.
- time_
updated string - The date and time when the registration policy was last updated.
- x_
cluster_ stringid Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- can
Override BooleanFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- compartment
Id String - (Updatable) The OCID of the compartment where the registration policy will be created.
- connection
Option RegistrationPolicy Connection Option - (Updatable) Types of connection supported by Data Safe.
- Map<String,String>
- (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"} - description String
- (Updatable) A description of the registration policy.
- display
Name String - (Updatable) The display name of the registration policy.
- enablement
Level String - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- features List<String>
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- Map<String,String>
- (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"} - lifecycle
State StringDetails - Details about the lifecycle state of the registration policy
- opc
Dry BooleanRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- resource
Id String - The OCID of the resource used in the registration policy.
- state String
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time when the registration policy was created.
- time
Updated String - The date and time when the registration policy was last updated.
- x
Cluster StringId Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- can
Override booleanFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- compartment
Id string - (Updatable) The OCID of the compartment where the registration policy will be created.
- connection
Option RegistrationPolicy Connection Option - (Updatable) Types of connection supported by Data Safe.
- {[key: string]: string}
- (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"} - description string
- (Updatable) A description of the registration policy.
- display
Name string - (Updatable) The display name of the registration policy.
- enablement
Level string - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- features string[]
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- {[key: string]: string}
- (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"} - lifecycle
State stringDetails - Details about the lifecycle state of the registration policy
- opc
Dry booleanRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- resource
Id string - The OCID of the resource used in the registration policy.
- state string
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time when the registration policy was created.
- time
Updated string - The date and time when the registration policy was last updated.
- x
Cluster stringId Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- can_
override_ boolfeatures - (Updatable) Indicates whether features will be overridden for all targets.
- compartment_
id str - (Updatable) The OCID of the compartment where the registration policy will be created.
- connection_
option RegistrationPolicy Connection Option Args - (Updatable) Types of connection supported by Data Safe.
- Mapping[str, str]
- (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"} - description str
- (Updatable) A description of the registration policy.
- display_
name str - (Updatable) The display name of the registration policy.
- enablement_
level str - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- features Sequence[str]
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- Mapping[str, str]
- (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"} - lifecycle_
state_ strdetails - Details about the lifecycle state of the registration policy
- opc_
dry_ boolrun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- resource_
id str - The OCID of the resource used in the registration policy.
- state str
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time when the registration policy was created.
- time_
updated str - The date and time when the registration policy was last updated.
- x_
cluster_ strid Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
- can
Override BooleanFeatures - (Updatable) Indicates whether features will be overridden for all targets.
- compartment
Id String - (Updatable) The OCID of the compartment where the registration policy will be created.
- connection
Option Property Map - (Updatable) Types of connection supported by Data Safe.
- Map<String>
- (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"} - description String
- (Updatable) A description of the registration policy.
- display
Name String - (Updatable) The display name of the registration policy.
- enablement
Level String - The resource type which has been opted in for the registration policy.
- DATABASE - The registration policy will be opted in at the Container Database level.
- features List<String>
- (Updatable) The Data Safe features granted to the databases registering under the registration policy.
- Map<String>
- (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"} - lifecycle
State StringDetails - Details about the lifecycle state of the registration policy
- opc
Dry BooleanRun - Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
- resource
Id String - The OCID of the resource used in the registration policy.
- state String
- The lifecycle state of the registration policy.
- CREATING - The registration policy is getting created.
- ACTIVE - The registration policy has been successfully created.
- UPDATING - The registration policy is getting updated.
- NEEDS_ATTENTION - The registration policy needs attention.
- FAILED - The registration policy creation or update has failed.
- DELETING - The registration policy is getting deleted.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time when the registration policy was created.
- time
Updated String - The date and time when the registration policy was last updated.
- x
Cluster StringId Identifier of the cluster of the CDB associated to the registration policy being created.
** 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
Supporting Types
RegistrationPolicyConnectionOption, RegistrationPolicyConnectionOptionArgs
- Connection
Type string - (Updatable) The connection type used to connect to the database. Allowed values:
- PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
- ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
- Identifiers List<string>
- (Updatable) List of OCIDs required to establish the connection.
- For
PRIVATE_ENDPOINT, provide the OCID(s) of Data Safe private endpoint(s). - For
ONPREM_CONNECTOR, provide the OCID(s) of on-premises connector(s).
- For
- Connection
Type string - (Updatable) The connection type used to connect to the database. Allowed values:
- PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
- ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
- Identifiers []string
- (Updatable) List of OCIDs required to establish the connection.
- For
PRIVATE_ENDPOINT, provide the OCID(s) of Data Safe private endpoint(s). - For
ONPREM_CONNECTOR, provide the OCID(s) of on-premises connector(s).
- For
- connection_
type string - (Updatable) The connection type used to connect to the database. Allowed values:
- PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
- ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
- identifiers list(string)
- (Updatable) List of OCIDs required to establish the connection.
- For
PRIVATE_ENDPOINT, provide the OCID(s) of Data Safe private endpoint(s). - For
ONPREM_CONNECTOR, provide the OCID(s) of on-premises connector(s).
- For
- connection
Type String - (Updatable) The connection type used to connect to the database. Allowed values:
- PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
- ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
- identifiers List<String>
- (Updatable) List of OCIDs required to establish the connection.
- For
PRIVATE_ENDPOINT, provide the OCID(s) of Data Safe private endpoint(s). - For
ONPREM_CONNECTOR, provide the OCID(s) of on-premises connector(s).
- For
- connection
Type string - (Updatable) The connection type used to connect to the database. Allowed values:
- PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
- ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
- identifiers string[]
- (Updatable) List of OCIDs required to establish the connection.
- For
PRIVATE_ENDPOINT, provide the OCID(s) of Data Safe private endpoint(s). - For
ONPREM_CONNECTOR, provide the OCID(s) of on-premises connector(s).
- For
- connection_
type str - (Updatable) The connection type used to connect to the database. Allowed values:
- PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
- ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
- identifiers Sequence[str]
- (Updatable) List of OCIDs required to establish the connection.
- For
PRIVATE_ENDPOINT, provide the OCID(s) of Data Safe private endpoint(s). - For
ONPREM_CONNECTOR, provide the OCID(s) of on-premises connector(s).
- For
- connection
Type String - (Updatable) The connection type used to connect to the database. Allowed values:
- PRIVATE_ENDPOINT - Represents connection through private endpoint in Data Safe.
- ONPREM_CONNECTOR - Represents connection through on-premises connector in Data Safe.
- identifiers List<String>
- (Updatable) List of OCIDs required to establish the connection.
- For
PRIVATE_ENDPOINT, provide the OCID(s) of Data Safe private endpoint(s). - For
ONPREM_CONNECTOR, provide the OCID(s) of on-premises connector(s).
- For
Import
RegistrationPolicies can be imported using the id, e.g.
$ pulumi import oci:DataSafe/registrationPolicy:RegistrationPolicy test_registration_policy "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
ociTerraform Provider.
published on Friday, Oct 9, 2026 by Pulumi