1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DataSafe
  6. RegistrationPolicy
Viewing docs for Oracle Cloud Infrastructure v5.5.0
published on Thursday, Oct 22, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.5.0
published on Thursday, Oct 22, 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,
        connectionOption: {
            connectionType: registrationPolicyConnectionOptionConnectionType,
            identifiers: registrationPolicyConnectionOptionIdentifiers,
        },
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: registrationPolicyDescription,
        displayName: registrationPolicyDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        opcDryRun: registrationPolicyOpcDryRun,
        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,
        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,
        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.get("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}
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_data_safe_registration_policy" "test_registration_policy" {
      lifecycle {
        create_before_destroy = true
      }
      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:

    CompartmentId 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.
    ResourceId string
    The OCID of the resource used in the registration policy.
    CanOverrideFeatures bool
    (Updatable) Indicates whether features will be overridden for all targets.
    ConnectionOption RegistrationPolicyConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    DefinedTags 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.
    DisplayName string
    (Updatable) The display name of the registration policy.
    FreeformTags 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"}
    OpcDryRun bool
    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.
    XClusterId 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

    CompartmentId 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.
    ResourceId string
    The OCID of the resource used in the registration policy.
    CanOverrideFeatures bool
    (Updatable) Indicates whether features will be overridden for all targets.
    ConnectionOption RegistrationPolicyConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    DefinedTags 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.
    DisplayName string
    (Updatable) The display name of the registration policy.
    FreeformTags 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"}
    OpcDryRun bool
    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.
    XClusterId 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_features bool
    (Updatable) Indicates whether features will be overridden for all targets.
    connection_option object
    (Updatable) Types of connection supported by Data Safe.
    defined_tags 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.
    freeform_tags 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_run bool
    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_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

    compartmentId 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.
    resourceId String
    The OCID of the resource used in the registration policy.
    canOverrideFeatures Boolean
    (Updatable) Indicates whether features will be overridden for all targets.
    connectionOption RegistrationPolicyConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    definedTags 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.
    displayName String
    (Updatable) The display name of the registration policy.
    freeformTags 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"}
    opcDryRun Boolean
    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.
    xClusterId 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

    compartmentId 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.
    resourceId string
    The OCID of the resource used in the registration policy.
    canOverrideFeatures boolean
    (Updatable) Indicates whether features will be overridden for all targets.
    connectionOption RegistrationPolicyConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    definedTags {[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.
    displayName string
    (Updatable) The display name of the registration policy.
    freeformTags {[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"}
    opcDryRun boolean
    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.
    xClusterId 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 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_features bool
    (Updatable) Indicates whether features will be overridden for all targets.
    connection_option RegistrationPolicyConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    defined_tags 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.
    freeform_tags 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_run bool
    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_id str

    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

    compartmentId 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.
    resourceId String
    The OCID of the resource used in the registration policy.
    canOverrideFeatures Boolean
    (Updatable) Indicates whether features will be overridden for all targets.
    connectionOption Property Map
    (Updatable) Types of connection supported by Data Safe.
    definedTags 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.
    displayName String
    (Updatable) The display name of the registration policy.
    freeformTags 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"}
    opcDryRun Boolean
    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.
    xClusterId 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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RegistrationPolicy resource produces the following output properties:

    EnablementLevel 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.
    LifecycleStateDetails string
    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.
    SystemTags 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"}
    TimeCreated string
    The date and time when the registration policy was created.
    TimeUpdated string
    The date and time when the registration policy was last updated.
    EnablementLevel 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.
    LifecycleStateDetails string
    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.
    SystemTags 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"}
    TimeCreated string
    The date and time when the registration policy was created.
    TimeUpdated 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_details string
    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.
    system_tags 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.
    enablementLevel 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.
    lifecycleStateDetails String
    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.
    systemTags 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"}
    timeCreated String
    The date and time when the registration policy was created.
    timeUpdated String
    The date and time when the registration policy was last updated.
    enablementLevel 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.
    lifecycleStateDetails string
    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.
    systemTags {[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"}
    timeCreated string
    The date and time when the registration policy was created.
    timeUpdated 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_details str
    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.
    system_tags 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.
    enablementLevel 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.
    lifecycleStateDetails String
    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.
    systemTags 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"}
    timeCreated String
    The date and time when the registration policy was created.
    timeUpdated 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) -> RegistrationPolicy
    func 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.
    The following state arguments are supported:
    CanOverrideFeatures bool
    (Updatable) Indicates whether features will be overridden for all targets.
    CompartmentId string
    (Updatable) The OCID of the compartment where the registration policy will be created.
    ConnectionOption RegistrationPolicyConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    DefinedTags 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.
    DisplayName string
    (Updatable) The display name of the registration policy.
    EnablementLevel 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.
    FreeformTags 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"}
    LifecycleStateDetails string
    Details about the lifecycle state of the registration policy
    OpcDryRun bool
    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.
    ResourceId 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.
    SystemTags 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"}
    TimeCreated string
    The date and time when the registration policy was created.
    TimeUpdated string
    The date and time when the registration policy was last updated.
    XClusterId 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

    CanOverrideFeatures bool
    (Updatable) Indicates whether features will be overridden for all targets.
    CompartmentId string
    (Updatable) The OCID of the compartment where the registration policy will be created.
    ConnectionOption RegistrationPolicyConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    DefinedTags 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.
    DisplayName string
    (Updatable) The display name of the registration policy.
    EnablementLevel 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.
    FreeformTags 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"}
    LifecycleStateDetails string
    Details about the lifecycle state of the registration policy
    OpcDryRun bool
    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.
    ResourceId 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.
    SystemTags 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"}
    TimeCreated string
    The date and time when the registration policy was created.
    TimeUpdated string
    The date and time when the registration policy was last updated.
    XClusterId 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_features bool
    (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.
    defined_tags 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.
    freeform_tags 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_details string
    Details about the lifecycle state of the registration policy
    opc_dry_run bool
    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.
    system_tags 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_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

    canOverrideFeatures Boolean
    (Updatable) Indicates whether features will be overridden for all targets.
    compartmentId String
    (Updatable) The OCID of the compartment where the registration policy will be created.
    connectionOption RegistrationPolicyConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    definedTags 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.
    displayName String
    (Updatable) The display name of the registration policy.
    enablementLevel 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.
    freeformTags 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"}
    lifecycleStateDetails String
    Details about the lifecycle state of the registration policy
    opcDryRun Boolean
    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.
    resourceId 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.
    systemTags 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"}
    timeCreated String
    The date and time when the registration policy was created.
    timeUpdated String
    The date and time when the registration policy was last updated.
    xClusterId 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

    canOverrideFeatures boolean
    (Updatable) Indicates whether features will be overridden for all targets.
    compartmentId string
    (Updatable) The OCID of the compartment where the registration policy will be created.
    connectionOption RegistrationPolicyConnectionOption
    (Updatable) Types of connection supported by Data Safe.
    definedTags {[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.
    displayName string
    (Updatable) The display name of the registration policy.
    enablementLevel 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.
    freeformTags {[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"}
    lifecycleStateDetails string
    Details about the lifecycle state of the registration policy
    opcDryRun boolean
    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.
    resourceId 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.
    systemTags {[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"}
    timeCreated string
    The date and time when the registration policy was created.
    timeUpdated string
    The date and time when the registration policy was last updated.
    xClusterId 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_features bool
    (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 RegistrationPolicyConnectionOptionArgs
    (Updatable) Types of connection supported by Data Safe.
    defined_tags 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.
    freeform_tags 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_details str
    Details about the lifecycle state of the registration policy
    opc_dry_run bool
    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.
    system_tags 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_id str

    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

    canOverrideFeatures Boolean
    (Updatable) Indicates whether features will be overridden for all targets.
    compartmentId String
    (Updatable) The OCID of the compartment where the registration policy will be created.
    connectionOption Property Map
    (Updatable) Types of connection supported by Data Safe.
    definedTags 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.
    displayName String
    (Updatable) The display name of the registration policy.
    enablementLevel 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.
    freeformTags 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"}
    lifecycleStateDetails String
    Details about the lifecycle state of the registration policy
    opcDryRun Boolean
    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.
    resourceId 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.
    systemTags 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"}
    timeCreated String
    The date and time when the registration policy was created.
    timeUpdated String
    The date and time when the registration policy was last updated.
    xClusterId 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

    Supporting Types

    RegistrationPolicyConnectionOption, RegistrationPolicyConnectionOptionArgs

    ConnectionType 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).
    ConnectionType 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).
    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).
    connectionType 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).
    connectionType 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).
    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).
    connectionType 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).

    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 oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.5.0
    published on Thursday, Oct 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial