1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. Psql
  6. DbSystem
Viewing docs for Oracle Cloud Infrastructure v4.16.0
published on Wednesday, Jun 17, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.16.0
published on Wednesday, Jun 17, 2026 by Pulumi

    This resource provides the Db System resource in Oracle Cloud Infrastructure Psql service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/postgresql/latest/DbSystem

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/psql

    Creates a new database system.

    Create DbSystem Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DbSystem(name: string, args: DbSystemArgs, opts?: CustomResourceOptions);
    @overload
    def DbSystem(resource_name: str,
                 args: DbSystemArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbSystem(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 display_name: Optional[str] = None,
                 storage_details: Optional[DbSystemStorageDetailsArgs] = None,
                 compartment_id: Optional[str] = None,
                 shape: Optional[str] = None,
                 network_details: Optional[DbSystemNetworkDetailsArgs] = None,
                 db_version: Optional[str] = None,
                 instance_ocpu_count: Optional[int] = None,
                 management_policy: Optional[DbSystemManagementPolicyArgs] = None,
                 defined_tags: Optional[Mapping[str, str]] = None,
                 freeform_tags: Optional[Mapping[str, str]] = None,
                 instance_count: Optional[int] = None,
                 instance_memory_size_in_gbs: Optional[int] = None,
                 apply_change_mode_to_stand_alone: Optional[str] = None,
                 instances_details: Optional[Sequence[DbSystemInstancesDetailArgs]] = None,
                 kerberos_auth_details: Optional[DbSystemKerberosAuthDetailsArgs] = None,
                 description: Optional[str] = None,
                 credentials: Optional[DbSystemCredentialsArgs] = None,
                 odsp_insight_details: Optional[DbSystemOdspInsightDetailsArgs] = None,
                 patch_operations: Optional[Sequence[DbSystemPatchOperationArgs]] = None,
                 replication_config: Optional[DbSystemReplicationConfigArgs] = None,
                 config_id: Optional[str] = None,
                 source: Optional[DbSystemSourceArgs] = None,
                 state: Optional[str] = None,
                 apply_config: Optional[str] = None,
                 system_type: Optional[str] = None)
    func NewDbSystem(ctx *Context, name string, args DbSystemArgs, opts ...ResourceOption) (*DbSystem, error)
    public DbSystem(string name, DbSystemArgs args, CustomResourceOptions? opts = null)
    public DbSystem(String name, DbSystemArgs args)
    public DbSystem(String name, DbSystemArgs args, CustomResourceOptions options)
    
    type: oci:Psql:DbSystem
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_psql_dbsystem" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DbSystemArgs
    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 DbSystemArgs
    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 DbSystemArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbSystemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbSystemArgs
    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 ociDbSystemResource = new Oci.Psql.DbSystem("ociDbSystemResource", new()
    {
        DisplayName = "string",
        StorageDetails = new Oci.Psql.Inputs.DbSystemStorageDetailsArgs
        {
            IsRegionallyDurable = false,
            SystemType = "string",
            AvailabilityDomain = "string",
            Iops = "string",
        },
        CompartmentId = "string",
        Shape = "string",
        NetworkDetails = new Oci.Psql.Inputs.DbSystemNetworkDetailsArgs
        {
            SubnetId = "string",
            IsReaderEndpointEnabled = false,
            NsgIds = new[]
            {
                "string",
            },
            PrimaryDbEndpointPrivateIp = "string",
        },
        DbVersion = "string",
        InstanceOcpuCount = 0,
        ManagementPolicy = new Oci.Psql.Inputs.DbSystemManagementPolicyArgs
        {
            BackupPolicy = new Oci.Psql.Inputs.DbSystemManagementPolicyBackupPolicyArgs
            {
                BackupStart = "string",
                CopyPolicy = new Oci.Psql.Inputs.DbSystemManagementPolicyBackupPolicyCopyPolicyArgs
                {
                    CompartmentId = "string",
                    Regions = new[]
                    {
                        "string",
                    },
                    RetentionPeriod = 0,
                },
                DaysOfTheMonths = new[]
                {
                    0,
                },
                DaysOfTheWeeks = new[]
                {
                    "string",
                },
                Kind = "string",
                RetentionDays = 0,
            },
            MaintenanceWindowStart = "string",
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        InstanceCount = 0,
        InstanceMemorySizeInGbs = 0,
        ApplyChangeModeToStandAlone = "string",
        InstancesDetails = new[]
        {
            new Oci.Psql.Inputs.DbSystemInstancesDetailArgs
            {
                Description = "string",
                DisplayName = "string",
                PrivateIp = "string",
            },
        },
        KerberosAuthDetails = new Oci.Psql.Inputs.DbSystemKerberosAuthDetailsArgs
        {
            Kind = "string",
            BackupCredentials = new[]
            {
                new Oci.Psql.Inputs.DbSystemKerberosAuthDetailsBackupCredentialArgs
                {
                    KeytabSecretId = "string",
                    KeytabSecretVersion = "string",
                    RealmName = "string",
                },
            },
            Credentials = new[]
            {
                new Oci.Psql.Inputs.DbSystemKerberosAuthDetailsCredentialArgs
                {
                    KeytabSecretId = "string",
                    KeytabSecretVersion = "string",
                    RealmName = "string",
                },
            },
        },
        Description = "string",
        Credentials = new Oci.Psql.Inputs.DbSystemCredentialsArgs
        {
            PasswordDetails = new Oci.Psql.Inputs.DbSystemCredentialsPasswordDetailsArgs
            {
                PasswordType = "string",
                Password = "string",
                SecretId = "string",
                SecretVersion = "string",
            },
            Username = "string",
        },
        OdspInsightDetails = new Oci.Psql.Inputs.DbSystemOdspInsightDetailsArgs
        {
            Kind = "string",
            OdspInsightLists = new[]
            {
                new Oci.Psql.Inputs.DbSystemOdspInsightDetailsOdspInsightListArgs
                {
                    InsightType = "string",
                    RetentionPeriodInDays = 0,
                },
            },
        },
        PatchOperations = new[]
        {
            new Oci.Psql.Inputs.DbSystemPatchOperationArgs
            {
                Operation = "string",
                Selection = "string",
                From = "string",
                Position = "string",
                SelectedItem = "string",
                Value = 
                {
                    { "string", "string" },
                },
            },
        },
        ReplicationConfig = new Oci.Psql.Inputs.DbSystemReplicationConfigArgs
        {
            IsRpoEnforced = false,
            RpoInSeconds = "string",
        },
        ConfigId = "string",
        Source = new Oci.Psql.Inputs.DbSystemSourceArgs
        {
            BackupId = "string",
            IsHavingRestoreConfigOverrides = false,
            PrimaryDbSystemId = "string",
            SourceType = "string",
        },
        State = "string",
        ApplyConfig = "string",
        SystemType = "string",
    });
    
    example, err := psql.NewDbSystem(ctx, "ociDbSystemResource", &psql.DbSystemArgs{
    	DisplayName: pulumi.String("string"),
    	StorageDetails: &psql.DbSystemStorageDetailsArgs{
    		IsRegionallyDurable: pulumi.Bool(false),
    		SystemType:          pulumi.String("string"),
    		AvailabilityDomain:  pulumi.String("string"),
    		Iops:                pulumi.String("string"),
    	},
    	CompartmentId: pulumi.String("string"),
    	Shape:         pulumi.String("string"),
    	NetworkDetails: &psql.DbSystemNetworkDetailsArgs{
    		SubnetId:                pulumi.String("string"),
    		IsReaderEndpointEnabled: pulumi.Bool(false),
    		NsgIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PrimaryDbEndpointPrivateIp: pulumi.String("string"),
    	},
    	DbVersion:         pulumi.String("string"),
    	InstanceOcpuCount: pulumi.Int(0),
    	ManagementPolicy: &psql.DbSystemManagementPolicyArgs{
    		BackupPolicy: &psql.DbSystemManagementPolicyBackupPolicyArgs{
    			BackupStart: pulumi.String("string"),
    			CopyPolicy: &psql.DbSystemManagementPolicyBackupPolicyCopyPolicyArgs{
    				CompartmentId: pulumi.String("string"),
    				Regions: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				RetentionPeriod: pulumi.Int(0),
    			},
    			DaysOfTheMonths: pulumi.IntArray{
    				pulumi.Int(0),
    			},
    			DaysOfTheWeeks: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Kind:          pulumi.String("string"),
    			RetentionDays: pulumi.Int(0),
    		},
    		MaintenanceWindowStart: pulumi.String("string"),
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	InstanceCount:               pulumi.Int(0),
    	InstanceMemorySizeInGbs:     pulumi.Int(0),
    	ApplyChangeModeToStandAlone: pulumi.String("string"),
    	InstancesDetails: psql.DbSystemInstancesDetailArray{
    		&psql.DbSystemInstancesDetailArgs{
    			Description: pulumi.String("string"),
    			DisplayName: pulumi.String("string"),
    			PrivateIp:   pulumi.String("string"),
    		},
    	},
    	KerberosAuthDetails: &psql.DbSystemKerberosAuthDetailsArgs{
    		Kind: pulumi.String("string"),
    		BackupCredentials: psql.DbSystemKerberosAuthDetailsBackupCredentialArray{
    			&psql.DbSystemKerberosAuthDetailsBackupCredentialArgs{
    				KeytabSecretId:      pulumi.String("string"),
    				KeytabSecretVersion: pulumi.String("string"),
    				RealmName:           pulumi.String("string"),
    			},
    		},
    		Credentials: psql.DbSystemKerberosAuthDetailsCredentialArray{
    			&psql.DbSystemKerberosAuthDetailsCredentialArgs{
    				KeytabSecretId:      pulumi.String("string"),
    				KeytabSecretVersion: pulumi.String("string"),
    				RealmName:           pulumi.String("string"),
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	Credentials: &psql.DbSystemCredentialsArgs{
    		PasswordDetails: &psql.DbSystemCredentialsPasswordDetailsArgs{
    			PasswordType:  pulumi.String("string"),
    			Password:      pulumi.String("string"),
    			SecretId:      pulumi.String("string"),
    			SecretVersion: pulumi.String("string"),
    		},
    		Username: pulumi.String("string"),
    	},
    	OdspInsightDetails: &psql.DbSystemOdspInsightDetailsArgs{
    		Kind: pulumi.String("string"),
    		OdspInsightLists: psql.DbSystemOdspInsightDetailsOdspInsightListArray{
    			&psql.DbSystemOdspInsightDetailsOdspInsightListArgs{
    				InsightType:           pulumi.String("string"),
    				RetentionPeriodInDays: pulumi.Int(0),
    			},
    		},
    	},
    	PatchOperations: psql.DbSystemPatchOperationArray{
    		&psql.DbSystemPatchOperationArgs{
    			Operation:    pulumi.String("string"),
    			Selection:    pulumi.String("string"),
    			From:         pulumi.String("string"),
    			Position:     pulumi.String("string"),
    			SelectedItem: pulumi.String("string"),
    			Value: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	ReplicationConfig: &psql.DbSystemReplicationConfigArgs{
    		IsRpoEnforced: pulumi.Bool(false),
    		RpoInSeconds:  pulumi.String("string"),
    	},
    	ConfigId: pulumi.String("string"),
    	Source: &psql.DbSystemSourceArgs{
    		BackupId:                       pulumi.String("string"),
    		IsHavingRestoreConfigOverrides: pulumi.Bool(false),
    		PrimaryDbSystemId:              pulumi.String("string"),
    		SourceType:                     pulumi.String("string"),
    	},
    	State:       pulumi.String("string"),
    	ApplyConfig: pulumi.String("string"),
    	SystemType:  pulumi.String("string"),
    })
    
    resource "oci_psql_dbsystem" "ociDbSystemResource" {
      display_name = "string"
      storage_details = {
        is_regionally_durable = false
        system_type           = "string"
        availability_domain   = "string"
        iops                  = "string"
      }
      compartment_id = "string"
      shape          = "string"
      network_details = {
        subnet_id                      = "string"
        is_reader_endpoint_enabled     = false
        nsg_ids                        = ["string"]
        primary_db_endpoint_private_ip = "string"
      }
      db_version          = "string"
      instance_ocpu_count = 0
      management_policy = {
        backup_policy = {
          backup_start = "string"
          copy_policy = {
            compartment_id   = "string"
            regions          = ["string"]
            retention_period = 0
          }
          days_of_the_months = [0]
          days_of_the_weeks  = ["string"]
          kind               = "string"
          retention_days     = 0
        }
        maintenance_window_start = "string"
      }
      defined_tags = {
        "string" = "string"
      }
      freeform_tags = {
        "string" = "string"
      }
      instance_count                   = 0
      instance_memory_size_in_gbs      = 0
      apply_change_mode_to_stand_alone = "string"
      instances_details {
        description  = "string"
        display_name = "string"
        private_ip   = "string"
      }
      kerberos_auth_details = {
        kind = "string"
        backup_credentials = [{
          "keytabSecretId"      = "string"
          "keytabSecretVersion" = "string"
          "realmName"           = "string"
        }]
        credentials = [{
          "keytabSecretId"      = "string"
          "keytabSecretVersion" = "string"
          "realmName"           = "string"
        }]
      }
      description = "string"
      credentials = {
        password_details = {
          password_type  = "string"
          password       = "string"
          secret_id      = "string"
          secret_version = "string"
        }
        username = "string"
      }
      odsp_insight_details = {
        kind = "string"
        odsp_insight_lists = [{
          "insightType"           = "string"
          "retentionPeriodInDays" = 0
        }]
      }
      patch_operations {
        operation     = "string"
        selection     = "string"
        from          = "string"
        position      = "string"
        selected_item = "string"
        value = {
          "string" = "string"
        }
      }
      replication_config = {
        is_rpo_enforced = false
        rpo_in_seconds  = "string"
      }
      config_id = "string"
      source = {
        backup_id                          = "string"
        is_having_restore_config_overrides = false
        primary_db_system_id               = "string"
        source_type                        = "string"
      }
      state        = "string"
      apply_config = "string"
      system_type  = "string"
    }
    
    var ociDbSystemResource = new com.pulumi.oci.Psql.DbSystem("ociDbSystemResource", com.pulumi.oci.Psql.DbSystemArgs.builder()
        .displayName("string")
        .storageDetails(DbSystemStorageDetailsArgs.builder()
            .isRegionallyDurable(false)
            .systemType("string")
            .availabilityDomain("string")
            .iops("string")
            .build())
        .compartmentId("string")
        .shape("string")
        .networkDetails(DbSystemNetworkDetailsArgs.builder()
            .subnetId("string")
            .isReaderEndpointEnabled(false)
            .nsgIds("string")
            .primaryDbEndpointPrivateIp("string")
            .build())
        .dbVersion("string")
        .instanceOcpuCount(0)
        .managementPolicy(DbSystemManagementPolicyArgs.builder()
            .backupPolicy(DbSystemManagementPolicyBackupPolicyArgs.builder()
                .backupStart("string")
                .copyPolicy(DbSystemManagementPolicyBackupPolicyCopyPolicyArgs.builder()
                    .compartmentId("string")
                    .regions("string")
                    .retentionPeriod(0)
                    .build())
                .daysOfTheMonths(0)
                .daysOfTheWeeks("string")
                .kind("string")
                .retentionDays(0)
                .build())
            .maintenanceWindowStart("string")
            .build())
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .instanceCount(0)
        .instanceMemorySizeInGbs(0)
        .applyChangeModeToStandAlone("string")
        .instancesDetails(DbSystemInstancesDetailArgs.builder()
            .description("string")
            .displayName("string")
            .privateIp("string")
            .build())
        .kerberosAuthDetails(DbSystemKerberosAuthDetailsArgs.builder()
            .kind("string")
            .backupCredentials(DbSystemKerberosAuthDetailsBackupCredentialArgs.builder()
                .keytabSecretId("string")
                .keytabSecretVersion("string")
                .realmName("string")
                .build())
            .credentials(DbSystemKerberosAuthDetailsCredentialArgs.builder()
                .keytabSecretId("string")
                .keytabSecretVersion("string")
                .realmName("string")
                .build())
            .build())
        .description("string")
        .credentials(DbSystemCredentialsArgs.builder()
            .passwordDetails(DbSystemCredentialsPasswordDetailsArgs.builder()
                .passwordType("string")
                .password("string")
                .secretId("string")
                .secretVersion("string")
                .build())
            .username("string")
            .build())
        .odspInsightDetails(DbSystemOdspInsightDetailsArgs.builder()
            .kind("string")
            .odspInsightLists(DbSystemOdspInsightDetailsOdspInsightListArgs.builder()
                .insightType("string")
                .retentionPeriodInDays(0)
                .build())
            .build())
        .patchOperations(DbSystemPatchOperationArgs.builder()
            .operation("string")
            .selection("string")
            .from("string")
            .position("string")
            .selectedItem("string")
            .value(Map.of("string", "string"))
            .build())
        .replicationConfig(DbSystemReplicationConfigArgs.builder()
            .isRpoEnforced(false)
            .rpoInSeconds("string")
            .build())
        .configId("string")
        .source(DbSystemSourceArgs.builder()
            .backupId("string")
            .isHavingRestoreConfigOverrides(false)
            .primaryDbSystemId("string")
            .sourceType("string")
            .build())
        .state("string")
        .applyConfig("string")
        .systemType("string")
        .build());
    
    oci_db_system_resource = oci.psql.DbSystem("ociDbSystemResource",
        display_name="string",
        storage_details={
            "is_regionally_durable": False,
            "system_type": "string",
            "availability_domain": "string",
            "iops": "string",
        },
        compartment_id="string",
        shape="string",
        network_details={
            "subnet_id": "string",
            "is_reader_endpoint_enabled": False,
            "nsg_ids": ["string"],
            "primary_db_endpoint_private_ip": "string",
        },
        db_version="string",
        instance_ocpu_count=0,
        management_policy={
            "backup_policy": {
                "backup_start": "string",
                "copy_policy": {
                    "compartment_id": "string",
                    "regions": ["string"],
                    "retention_period": 0,
                },
                "days_of_the_months": [0],
                "days_of_the_weeks": ["string"],
                "kind": "string",
                "retention_days": 0,
            },
            "maintenance_window_start": "string",
        },
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        instance_count=0,
        instance_memory_size_in_gbs=0,
        apply_change_mode_to_stand_alone="string",
        instances_details=[{
            "description": "string",
            "display_name": "string",
            "private_ip": "string",
        }],
        kerberos_auth_details={
            "kind": "string",
            "backup_credentials": [{
                "keytab_secret_id": "string",
                "keytab_secret_version": "string",
                "realm_name": "string",
            }],
            "credentials": [{
                "keytab_secret_id": "string",
                "keytab_secret_version": "string",
                "realm_name": "string",
            }],
        },
        description="string",
        credentials={
            "password_details": {
                "password_type": "string",
                "password": "string",
                "secret_id": "string",
                "secret_version": "string",
            },
            "username": "string",
        },
        odsp_insight_details={
            "kind": "string",
            "odsp_insight_lists": [{
                "insight_type": "string",
                "retention_period_in_days": 0,
            }],
        },
        patch_operations=[{
            "operation": "string",
            "selection": "string",
            "from_": "string",
            "position": "string",
            "selected_item": "string",
            "value": {
                "string": "string",
            },
        }],
        replication_config={
            "is_rpo_enforced": False,
            "rpo_in_seconds": "string",
        },
        config_id="string",
        source={
            "backup_id": "string",
            "is_having_restore_config_overrides": False,
            "primary_db_system_id": "string",
            "source_type": "string",
        },
        state="string",
        apply_config="string",
        system_type="string")
    
    const ociDbSystemResource = new oci.psql.DbSystem("ociDbSystemResource", {
        displayName: "string",
        storageDetails: {
            isRegionallyDurable: false,
            systemType: "string",
            availabilityDomain: "string",
            iops: "string",
        },
        compartmentId: "string",
        shape: "string",
        networkDetails: {
            subnetId: "string",
            isReaderEndpointEnabled: false,
            nsgIds: ["string"],
            primaryDbEndpointPrivateIp: "string",
        },
        dbVersion: "string",
        instanceOcpuCount: 0,
        managementPolicy: {
            backupPolicy: {
                backupStart: "string",
                copyPolicy: {
                    compartmentId: "string",
                    regions: ["string"],
                    retentionPeriod: 0,
                },
                daysOfTheMonths: [0],
                daysOfTheWeeks: ["string"],
                kind: "string",
                retentionDays: 0,
            },
            maintenanceWindowStart: "string",
        },
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        instanceCount: 0,
        instanceMemorySizeInGbs: 0,
        applyChangeModeToStandAlone: "string",
        instancesDetails: [{
            description: "string",
            displayName: "string",
            privateIp: "string",
        }],
        kerberosAuthDetails: {
            kind: "string",
            backupCredentials: [{
                keytabSecretId: "string",
                keytabSecretVersion: "string",
                realmName: "string",
            }],
            credentials: [{
                keytabSecretId: "string",
                keytabSecretVersion: "string",
                realmName: "string",
            }],
        },
        description: "string",
        credentials: {
            passwordDetails: {
                passwordType: "string",
                password: "string",
                secretId: "string",
                secretVersion: "string",
            },
            username: "string",
        },
        odspInsightDetails: {
            kind: "string",
            odspInsightLists: [{
                insightType: "string",
                retentionPeriodInDays: 0,
            }],
        },
        patchOperations: [{
            operation: "string",
            selection: "string",
            from: "string",
            position: "string",
            selectedItem: "string",
            value: {
                string: "string",
            },
        }],
        replicationConfig: {
            isRpoEnforced: false,
            rpoInSeconds: "string",
        },
        configId: "string",
        source: {
            backupId: "string",
            isHavingRestoreConfigOverrides: false,
            primaryDbSystemId: "string",
            sourceType: "string",
        },
        state: "string",
        applyConfig: "string",
        systemType: "string",
    });
    
    type: oci:Psql:DbSystem
    properties:
        applyChangeModeToStandAlone: string
        applyConfig: string
        compartmentId: string
        configId: string
        credentials:
            passwordDetails:
                password: string
                passwordType: string
                secretId: string
                secretVersion: string
            username: string
        dbVersion: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        instanceCount: 0
        instanceMemorySizeInGbs: 0
        instanceOcpuCount: 0
        instancesDetails:
            - description: string
              displayName: string
              privateIp: string
        kerberosAuthDetails:
            backupCredentials:
                - keytabSecretId: string
                  keytabSecretVersion: string
                  realmName: string
            credentials:
                - keytabSecretId: string
                  keytabSecretVersion: string
                  realmName: string
            kind: string
        managementPolicy:
            backupPolicy:
                backupStart: string
                copyPolicy:
                    compartmentId: string
                    regions:
                        - string
                    retentionPeriod: 0
                daysOfTheMonths:
                    - 0
                daysOfTheWeeks:
                    - string
                kind: string
                retentionDays: 0
            maintenanceWindowStart: string
        networkDetails:
            isReaderEndpointEnabled: false
            nsgIds:
                - string
            primaryDbEndpointPrivateIp: string
            subnetId: string
        odspInsightDetails:
            kind: string
            odspInsightLists:
                - insightType: string
                  retentionPeriodInDays: 0
        patchOperations:
            - from: string
              operation: string
              position: string
              selectedItem: string
              selection: string
              value:
                string: string
        replicationConfig:
            isRpoEnforced: false
            rpoInSeconds: string
        shape: string
        source:
            backupId: string
            isHavingRestoreConfigOverrides: false
            primaryDbSystemId: string
            sourceType: string
        state: string
        storageDetails:
            availabilityDomain: string
            iops: string
            isRegionallyDurable: false
            systemType: string
        systemType: string
    

    DbSystem 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 DbSystem resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the database system.
    DbVersion string
    Version of database system software.
    DisplayName string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    NetworkDetails DbSystemNetworkDetails
    (Updatable) Network details for the database system.
    Shape string
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    StorageDetails DbSystemStorageDetails
    (Updatable) Storage details of the database system.
    ApplyChangeModeToStandAlone string
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    ApplyConfig string
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    ConfigId string
    The OCID of the configuration associated with the database system.
    Credentials DbSystemCredentials
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-provided description of a database system.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InstanceCount int
    Count of database instances nodes to be created in the database system.
    InstanceMemorySizeInGbs int
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    InstanceOcpuCount int
    (Updatable) The total number of OCPUs available to each database instance node.
    InstancesDetails List<DbSystemInstancesDetail>
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    KerberosAuthDetails DbSystemKerberosAuthDetails
    Kerberos Authentication details for the database system.
    ManagementPolicy DbSystemManagementPolicy
    (Updatable) PostgreSQL database system management policy update details.
    OdspInsightDetails DbSystemOdspInsightDetails
    (Updatable) ODSP Insight details for the database system.
    PatchOperations List<DbSystemPatchOperation>
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    ReplicationConfig DbSystemReplicationConfig

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    Source DbSystemSource
    The source of the database system.
    State string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    SystemType string
    Type of the database system.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the database system.
    DbVersion string
    Version of database system software.
    DisplayName string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    NetworkDetails DbSystemNetworkDetailsArgs
    (Updatable) Network details for the database system.
    Shape string
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    StorageDetails DbSystemStorageDetailsArgs
    (Updatable) Storage details of the database system.
    ApplyChangeModeToStandAlone string
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    ApplyConfig string
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    ConfigId string
    The OCID of the configuration associated with the database system.
    Credentials DbSystemCredentialsArgs
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-provided description of a database system.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InstanceCount int
    Count of database instances nodes to be created in the database system.
    InstanceMemorySizeInGbs int
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    InstanceOcpuCount int
    (Updatable) The total number of OCPUs available to each database instance node.
    InstancesDetails []DbSystemInstancesDetailArgs
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    KerberosAuthDetails DbSystemKerberosAuthDetailsArgs
    Kerberos Authentication details for the database system.
    ManagementPolicy DbSystemManagementPolicyArgs
    (Updatable) PostgreSQL database system management policy update details.
    OdspInsightDetails DbSystemOdspInsightDetailsArgs
    (Updatable) ODSP Insight details for the database system.
    PatchOperations []DbSystemPatchOperationArgs
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    ReplicationConfig DbSystemReplicationConfigArgs

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    Source DbSystemSourceArgs
    The source of the database system.
    State string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    SystemType string
    Type of the database system.
    compartment_id string
    (Updatable) The OCID of the compartment that contains the database system.
    db_version string
    Version of database system software.
    display_name string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    network_details object
    (Updatable) Network details for the database system.
    shape string
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    storage_details object
    (Updatable) Storage details of the database system.
    apply_change_mode_to_stand_alone string
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    apply_config string
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    config_id string
    The OCID of the configuration associated with the database system.
    credentials object
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A user-provided description of a database system.
    freeform_tags map(string)
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instance_count number
    Count of database instances nodes to be created in the database system.
    instance_memory_size_in_gbs number
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instance_ocpu_count number
    (Updatable) The total number of OCPUs available to each database instance node.
    instances_details list(object)
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberos_auth_details object
    Kerberos Authentication details for the database system.
    management_policy object
    (Updatable) PostgreSQL database system management policy update details.
    odsp_insight_details object
    (Updatable) ODSP Insight details for the database system.
    patch_operations list(object)
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replication_config object

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    source object
    The source of the database system.
    state string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    system_type string
    Type of the database system.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the database system.
    dbVersion String
    Version of database system software.
    displayName String
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    networkDetails DbSystemNetworkDetails
    (Updatable) Network details for the database system.
    shape String
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    storageDetails DbSystemStorageDetails
    (Updatable) Storage details of the database system.
    applyChangeModeToStandAlone String
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    applyConfig String
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    configId String
    The OCID of the configuration associated with the database system.
    credentials DbSystemCredentials
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-provided description of a database system.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instanceCount Integer
    Count of database instances nodes to be created in the database system.
    instanceMemorySizeInGbs Integer
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instanceOcpuCount Integer
    (Updatable) The total number of OCPUs available to each database instance node.
    instancesDetails List<DbSystemInstancesDetail>
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberosAuthDetails DbSystemKerberosAuthDetails
    Kerberos Authentication details for the database system.
    managementPolicy DbSystemManagementPolicy
    (Updatable) PostgreSQL database system management policy update details.
    odspInsightDetails DbSystemOdspInsightDetails
    (Updatable) ODSP Insight details for the database system.
    patchOperations List<DbSystemPatchOperation>
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replicationConfig DbSystemReplicationConfig

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    source DbSystemSource
    The source of the database system.
    state String

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    systemType String
    Type of the database system.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the database system.
    dbVersion string
    Version of database system software.
    displayName string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    networkDetails DbSystemNetworkDetails
    (Updatable) Network details for the database system.
    shape string
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    storageDetails DbSystemStorageDetails
    (Updatable) Storage details of the database system.
    applyChangeModeToStandAlone string
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    applyConfig string
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    configId string
    The OCID of the configuration associated with the database system.
    credentials DbSystemCredentials
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A user-provided description of a database system.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instanceCount number
    Count of database instances nodes to be created in the database system.
    instanceMemorySizeInGbs number
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instanceOcpuCount number
    (Updatable) The total number of OCPUs available to each database instance node.
    instancesDetails DbSystemInstancesDetail[]
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberosAuthDetails DbSystemKerberosAuthDetails
    Kerberos Authentication details for the database system.
    managementPolicy DbSystemManagementPolicy
    (Updatable) PostgreSQL database system management policy update details.
    odspInsightDetails DbSystemOdspInsightDetails
    (Updatable) ODSP Insight details for the database system.
    patchOperations DbSystemPatchOperation[]
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replicationConfig DbSystemReplicationConfig

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    source DbSystemSource
    The source of the database system.
    state string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    systemType string
    Type of the database system.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the database system.
    db_version str
    Version of database system software.
    display_name str
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    network_details DbSystemNetworkDetailsArgs
    (Updatable) Network details for the database system.
    shape str
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    storage_details DbSystemStorageDetailsArgs
    (Updatable) Storage details of the database system.
    apply_change_mode_to_stand_alone str
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    apply_config str
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    config_id str
    The OCID of the configuration associated with the database system.
    credentials DbSystemCredentialsArgs
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A user-provided description of a database system.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instance_count int
    Count of database instances nodes to be created in the database system.
    instance_memory_size_in_gbs int
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instance_ocpu_count int
    (Updatable) The total number of OCPUs available to each database instance node.
    instances_details Sequence[DbSystemInstancesDetailArgs]
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberos_auth_details DbSystemKerberosAuthDetailsArgs
    Kerberos Authentication details for the database system.
    management_policy DbSystemManagementPolicyArgs
    (Updatable) PostgreSQL database system management policy update details.
    odsp_insight_details DbSystemOdspInsightDetailsArgs
    (Updatable) ODSP Insight details for the database system.
    patch_operations Sequence[DbSystemPatchOperationArgs]
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replication_config DbSystemReplicationConfigArgs

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    source DbSystemSourceArgs
    The source of the database system.
    state str

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    system_type str
    Type of the database system.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the database system.
    dbVersion String
    Version of database system software.
    displayName String
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    networkDetails Property Map
    (Updatable) Network details for the database system.
    shape String
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    storageDetails Property Map
    (Updatable) Storage details of the database system.
    applyChangeModeToStandAlone String
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    applyConfig String
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    configId String
    The OCID of the configuration associated with the database system.
    credentials Property Map
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-provided description of a database system.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instanceCount Number
    Count of database instances nodes to be created in the database system.
    instanceMemorySizeInGbs Number
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instanceOcpuCount Number
    (Updatable) The total number of OCPUs available to each database instance node.
    instancesDetails List<Property Map>
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberosAuthDetails Property Map
    Kerberos Authentication details for the database system.
    managementPolicy Property Map
    (Updatable) PostgreSQL database system management policy update details.
    odspInsightDetails Property Map
    (Updatable) ODSP Insight details for the database system.
    patchOperations List<Property Map>
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replicationConfig Property Map

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    source Property Map
    The source of the database system.
    state String

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    systemType String
    Type of the database system.

    Outputs

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

    AdminUsername string
    The database system administrator username.
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances List<DbSystemInstance>
    The list of instances, or nodes, in the database system.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    SystemRole string
    Type of the database system.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    AdminUsername string
    The database system administrator username.
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances []DbSystemInstance
    The list of instances, or nodes, in the database system.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    SystemRole string
    Type of the database system.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    admin_username string
    The database system administrator username.
    id string
    The provider-assigned unique ID for this managed resource.
    instances list(object)
    The list of instances, or nodes, in the database system.
    lifecycle_details string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    system_role string
    Type of the database system.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    time_updated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    adminUsername String
    The database system administrator username.
    id String
    The provider-assigned unique ID for this managed resource.
    instances List<DbSystemInstance>
    The list of instances, or nodes, in the database system.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    systemRole String
    Type of the database system.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    adminUsername string
    The database system administrator username.
    id string
    The provider-assigned unique ID for this managed resource.
    instances DbSystemInstance[]
    The list of instances, or nodes, in the database system.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    systemRole string
    Type of the database system.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    admin_username str
    The database system administrator username.
    id str
    The provider-assigned unique ID for this managed resource.
    instances Sequence[DbSystemInstance]
    The list of instances, or nodes, in the database system.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    system_role str
    Type of the database system.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    adminUsername String
    The database system administrator username.
    id String
    The provider-assigned unique ID for this managed resource.
    instances List<Property Map>
    The list of instances, or nodes, in the database system.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    systemRole String
    Type of the database system.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

    Look up Existing DbSystem Resource

    Get an existing DbSystem 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?: DbSystemState, opts?: CustomResourceOptions): DbSystem
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_username: Optional[str] = None,
            apply_change_mode_to_stand_alone: Optional[str] = None,
            apply_config: Optional[str] = None,
            compartment_id: Optional[str] = None,
            config_id: Optional[str] = None,
            credentials: Optional[DbSystemCredentialsArgs] = None,
            db_version: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            instance_count: Optional[int] = None,
            instance_memory_size_in_gbs: Optional[int] = None,
            instance_ocpu_count: Optional[int] = None,
            instances: Optional[Sequence[DbSystemInstanceArgs]] = None,
            instances_details: Optional[Sequence[DbSystemInstancesDetailArgs]] = None,
            kerberos_auth_details: Optional[DbSystemKerberosAuthDetailsArgs] = None,
            lifecycle_details: Optional[str] = None,
            management_policy: Optional[DbSystemManagementPolicyArgs] = None,
            network_details: Optional[DbSystemNetworkDetailsArgs] = None,
            odsp_insight_details: Optional[DbSystemOdspInsightDetailsArgs] = None,
            patch_operations: Optional[Sequence[DbSystemPatchOperationArgs]] = None,
            replication_config: Optional[DbSystemReplicationConfigArgs] = None,
            shape: Optional[str] = None,
            source: Optional[DbSystemSourceArgs] = None,
            state: Optional[str] = None,
            storage_details: Optional[DbSystemStorageDetailsArgs] = None,
            system_role: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            system_type: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> DbSystem
    func GetDbSystem(ctx *Context, name string, id IDInput, state *DbSystemState, opts ...ResourceOption) (*DbSystem, error)
    public static DbSystem Get(string name, Input<string> id, DbSystemState? state, CustomResourceOptions? opts = null)
    public static DbSystem get(String name, Output<String> id, DbSystemState state, CustomResourceOptions options)
    resources:  _:    type: oci:Psql:DbSystem    get:      id: ${id}
    import {
      to = oci_psql_dbsystem.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:
    AdminUsername string
    The database system administrator username.
    ApplyChangeModeToStandAlone string
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    ApplyConfig string
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the database system.
    ConfigId string
    The OCID of the configuration associated with the database system.
    Credentials DbSystemCredentials
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    DbVersion string
    Version of database system software.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-provided description of a database system.
    DisplayName string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InstanceCount int
    Count of database instances nodes to be created in the database system.
    InstanceMemorySizeInGbs int
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    InstanceOcpuCount int
    (Updatable) The total number of OCPUs available to each database instance node.
    Instances List<DbSystemInstance>
    The list of instances, or nodes, in the database system.
    InstancesDetails List<DbSystemInstancesDetail>
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    KerberosAuthDetails DbSystemKerberosAuthDetails
    Kerberos Authentication details for the database system.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    ManagementPolicy DbSystemManagementPolicy
    (Updatable) PostgreSQL database system management policy update details.
    NetworkDetails DbSystemNetworkDetails
    (Updatable) Network details for the database system.
    OdspInsightDetails DbSystemOdspInsightDetails
    (Updatable) ODSP Insight details for the database system.
    PatchOperations List<DbSystemPatchOperation>
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    ReplicationConfig DbSystemReplicationConfig

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    Shape string
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    Source DbSystemSource
    The source of the database system.
    State string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    StorageDetails DbSystemStorageDetails
    (Updatable) Storage details of the database system.
    SystemRole string
    Type of the database system.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    SystemType string
    Type of the database system.
    TimeCreated string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    AdminUsername string
    The database system administrator username.
    ApplyChangeModeToStandAlone string
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    ApplyConfig string
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the database system.
    ConfigId string
    The OCID of the configuration associated with the database system.
    Credentials DbSystemCredentialsArgs
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    DbVersion string
    Version of database system software.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-provided description of a database system.
    DisplayName string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    InstanceCount int
    Count of database instances nodes to be created in the database system.
    InstanceMemorySizeInGbs int
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    InstanceOcpuCount int
    (Updatable) The total number of OCPUs available to each database instance node.
    Instances []DbSystemInstanceArgs
    The list of instances, or nodes, in the database system.
    InstancesDetails []DbSystemInstancesDetailArgs
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    KerberosAuthDetails DbSystemKerberosAuthDetailsArgs
    Kerberos Authentication details for the database system.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    ManagementPolicy DbSystemManagementPolicyArgs
    (Updatable) PostgreSQL database system management policy update details.
    NetworkDetails DbSystemNetworkDetailsArgs
    (Updatable) Network details for the database system.
    OdspInsightDetails DbSystemOdspInsightDetailsArgs
    (Updatable) ODSP Insight details for the database system.
    PatchOperations []DbSystemPatchOperationArgs
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    ReplicationConfig DbSystemReplicationConfigArgs

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    Shape string
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    Source DbSystemSourceArgs
    The source of the database system.
    State string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    StorageDetails DbSystemStorageDetailsArgs
    (Updatable) Storage details of the database system.
    SystemRole string
    Type of the database system.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    SystemType string
    Type of the database system.
    TimeCreated string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    admin_username string
    The database system administrator username.
    apply_change_mode_to_stand_alone string
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    apply_config string
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    compartment_id string
    (Updatable) The OCID of the compartment that contains the database system.
    config_id string
    The OCID of the configuration associated with the database system.
    credentials object
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    db_version string
    Version of database system software.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A user-provided description of a database system.
    display_name string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    freeform_tags map(string)
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instance_count number
    Count of database instances nodes to be created in the database system.
    instance_memory_size_in_gbs number
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instance_ocpu_count number
    (Updatable) The total number of OCPUs available to each database instance node.
    instances list(object)
    The list of instances, or nodes, in the database system.
    instances_details list(object)
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberos_auth_details object
    Kerberos Authentication details for the database system.
    lifecycle_details string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    management_policy object
    (Updatable) PostgreSQL database system management policy update details.
    network_details object
    (Updatable) Network details for the database system.
    odsp_insight_details object
    (Updatable) ODSP Insight details for the database system.
    patch_operations list(object)
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replication_config object

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    shape string
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    source object
    The source of the database system.
    state string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    storage_details object
    (Updatable) Storage details of the database system.
    system_role string
    Type of the database system.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    system_type string
    Type of the database system.
    time_created string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    time_updated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    adminUsername String
    The database system administrator username.
    applyChangeModeToStandAlone String
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    applyConfig String
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    compartmentId String
    (Updatable) The OCID of the compartment that contains the database system.
    configId String
    The OCID of the configuration associated with the database system.
    credentials DbSystemCredentials
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    dbVersion String
    Version of database system software.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-provided description of a database system.
    displayName String
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instanceCount Integer
    Count of database instances nodes to be created in the database system.
    instanceMemorySizeInGbs Integer
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instanceOcpuCount Integer
    (Updatable) The total number of OCPUs available to each database instance node.
    instances List<DbSystemInstance>
    The list of instances, or nodes, in the database system.
    instancesDetails List<DbSystemInstancesDetail>
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberosAuthDetails DbSystemKerberosAuthDetails
    Kerberos Authentication details for the database system.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    managementPolicy DbSystemManagementPolicy
    (Updatable) PostgreSQL database system management policy update details.
    networkDetails DbSystemNetworkDetails
    (Updatable) Network details for the database system.
    odspInsightDetails DbSystemOdspInsightDetails
    (Updatable) ODSP Insight details for the database system.
    patchOperations List<DbSystemPatchOperation>
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replicationConfig DbSystemReplicationConfig

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    shape String
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    source DbSystemSource
    The source of the database system.
    state String

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    storageDetails DbSystemStorageDetails
    (Updatable) Storage details of the database system.
    systemRole String
    Type of the database system.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    systemType String
    Type of the database system.
    timeCreated String
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    adminUsername string
    The database system administrator username.
    applyChangeModeToStandAlone string
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    applyConfig string
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    compartmentId string
    (Updatable) The OCID of the compartment that contains the database system.
    configId string
    The OCID of the configuration associated with the database system.
    credentials DbSystemCredentials
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    dbVersion string
    Version of database system software.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A user-provided description of a database system.
    displayName string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instanceCount number
    Count of database instances nodes to be created in the database system.
    instanceMemorySizeInGbs number
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instanceOcpuCount number
    (Updatable) The total number of OCPUs available to each database instance node.
    instances DbSystemInstance[]
    The list of instances, or nodes, in the database system.
    instancesDetails DbSystemInstancesDetail[]
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberosAuthDetails DbSystemKerberosAuthDetails
    Kerberos Authentication details for the database system.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    managementPolicy DbSystemManagementPolicy
    (Updatable) PostgreSQL database system management policy update details.
    networkDetails DbSystemNetworkDetails
    (Updatable) Network details for the database system.
    odspInsightDetails DbSystemOdspInsightDetails
    (Updatable) ODSP Insight details for the database system.
    patchOperations DbSystemPatchOperation[]
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replicationConfig DbSystemReplicationConfig

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    shape string
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    source DbSystemSource
    The source of the database system.
    state string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    storageDetails DbSystemStorageDetails
    (Updatable) Storage details of the database system.
    systemRole string
    Type of the database system.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    systemType string
    Type of the database system.
    timeCreated string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    admin_username str
    The database system administrator username.
    apply_change_mode_to_stand_alone str
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    apply_config str
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    compartment_id str
    (Updatable) The OCID of the compartment that contains the database system.
    config_id str
    The OCID of the configuration associated with the database system.
    credentials DbSystemCredentialsArgs
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    db_version str
    Version of database system software.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A user-provided description of a database system.
    display_name str
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instance_count int
    Count of database instances nodes to be created in the database system.
    instance_memory_size_in_gbs int
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instance_ocpu_count int
    (Updatable) The total number of OCPUs available to each database instance node.
    instances Sequence[DbSystemInstanceArgs]
    The list of instances, or nodes, in the database system.
    instances_details Sequence[DbSystemInstancesDetailArgs]
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberos_auth_details DbSystemKerberosAuthDetailsArgs
    Kerberos Authentication details for the database system.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    management_policy DbSystemManagementPolicyArgs
    (Updatable) PostgreSQL database system management policy update details.
    network_details DbSystemNetworkDetailsArgs
    (Updatable) Network details for the database system.
    odsp_insight_details DbSystemOdspInsightDetailsArgs
    (Updatable) ODSP Insight details for the database system.
    patch_operations Sequence[DbSystemPatchOperationArgs]
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replication_config DbSystemReplicationConfigArgs

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    shape str
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    source DbSystemSourceArgs
    The source of the database system.
    state str

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    storage_details DbSystemStorageDetailsArgs
    (Updatable) Storage details of the database system.
    system_role str
    Type of the database system.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    system_type str
    Type of the database system.
    time_created str
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    adminUsername String
    The database system administrator username.
    applyChangeModeToStandAlone String
    Specify change mode to apply when converting from warm standby to standalone. It can be set to 'IMMEDIATELY' or 'REPLAY_PENDING_UPDATES'. If source.primary_db_system_id is disabled, REPLAY_PENDING_UPDATES is used by default.
    applyConfig String
    Whether a configuration update requires a restart of the database instance or a reload of the configuration. Some configuration changes require a restart of database instances to be applied. Apply config can be passed as RESTART or RELOAD
    compartmentId String
    (Updatable) The OCID of the compartment that contains the database system.
    configId String
    The OCID of the configuration associated with the database system.
    credentials Property Map
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    dbVersion String
    Version of database system software.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-provided description of a database system.
    displayName String
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    instanceCount Number
    Count of database instances nodes to be created in the database system.
    instanceMemorySizeInGbs Number
    (Updatable) The total amount of memory available to each database instance node, in gigabytes.
    instanceOcpuCount Number
    (Updatable) The total number of OCPUs available to each database instance node.
    instances List<Property Map>
    The list of instances, or nodes, in the database system.
    instancesDetails List<Property Map>
    Details of database instances nodes to be created. This parameter is optional. If specified, its size must match instanceCount.
    kerberosAuthDetails Property Map
    Kerberos Authentication details for the database system.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    managementPolicy Property Map
    (Updatable) PostgreSQL database system management policy update details.
    networkDetails Property Map
    (Updatable) Network details for the database system.
    odspInsightDetails Property Map
    (Updatable) ODSP Insight details for the database system.
    patchOperations List<Property Map>
    (Updatable) For adding and removing from read replica database instances. Please remove the patchOperations after it is applied. Update the instanceCount arrodrandly. Cannot be specified when creating the resource.
    replicationConfig Property Map

    (Updatable) Details of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.

    This configuration does not have any effect on database systems with other roles.

    shape String
    (Updatable) The name of the shape for the database instance node. Use the /shapes API for accepted shapes. Example: VM.Standard.E4.Flex
    source Property Map
    The source of the database system.
    state String

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    storageDetails Property Map
    (Updatable) Storage details of the database system.
    systemRole String
    Type of the database system.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    systemType String
    Type of the database system.
    timeCreated String
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    DbSystemCredentials, DbSystemCredentialsArgs

    PasswordDetails DbSystemCredentialsPasswordDetails
    Details for the database system password. Password can be passed as VaultSecretPasswordDetails or PlainTextPasswordDetails.
    Username string
    The database system administrator username.
    PasswordDetails DbSystemCredentialsPasswordDetails
    Details for the database system password. Password can be passed as VaultSecretPasswordDetails or PlainTextPasswordDetails.
    Username string
    The database system administrator username.
    password_details object
    Details for the database system password. Password can be passed as VaultSecretPasswordDetails or PlainTextPasswordDetails.
    username string
    The database system administrator username.
    passwordDetails DbSystemCredentialsPasswordDetails
    Details for the database system password. Password can be passed as VaultSecretPasswordDetails or PlainTextPasswordDetails.
    username String
    The database system administrator username.
    passwordDetails DbSystemCredentialsPasswordDetails
    Details for the database system password. Password can be passed as VaultSecretPasswordDetails or PlainTextPasswordDetails.
    username string
    The database system administrator username.
    password_details DbSystemCredentialsPasswordDetails
    Details for the database system password. Password can be passed as VaultSecretPasswordDetails or PlainTextPasswordDetails.
    username str
    The database system administrator username.
    passwordDetails Property Map
    Details for the database system password. Password can be passed as VaultSecretPasswordDetails or PlainTextPasswordDetails.
    username String
    The database system administrator username.

    DbSystemCredentialsPasswordDetails, DbSystemCredentialsPasswordDetailsArgs

    PasswordType string
    The password type.
    Password string
    The database system password.
    SecretId string
    The OCID of the secret where the password is stored.
    SecretVersion string
    The secret version of the stored password.
    PasswordType string
    The password type.
    Password string
    The database system password.
    SecretId string
    The OCID of the secret where the password is stored.
    SecretVersion string
    The secret version of the stored password.
    password_type string
    The password type.
    password string
    The database system password.
    secret_id string
    The OCID of the secret where the password is stored.
    secret_version string
    The secret version of the stored password.
    passwordType String
    The password type.
    password String
    The database system password.
    secretId String
    The OCID of the secret where the password is stored.
    secretVersion String
    The secret version of the stored password.
    passwordType string
    The password type.
    password string
    The database system password.
    secretId string
    The OCID of the secret where the password is stored.
    secretVersion string
    The secret version of the stored password.
    password_type str
    The password type.
    password str
    The database system password.
    secret_id str
    The OCID of the secret where the password is stored.
    secret_version str
    The secret version of the stored password.
    passwordType String
    The password type.
    password String
    The database system password.
    secretId String
    The OCID of the secret where the password is stored.
    secretVersion String
    The secret version of the stored password.

    DbSystemInstance, DbSystemInstanceArgs

    AvailabilityDomain string
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    Description string
    (Updatable) A user-provided description of a database system.
    DisplayName string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    Id string
    A unique identifier for the database instance node. Immutable on creation.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    State string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    TimeCreated string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    AvailabilityDomain string
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    Description string
    (Updatable) A user-provided description of a database system.
    DisplayName string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    Id string
    A unique identifier for the database instance node. Immutable on creation.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    State string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    TimeCreated string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availability_domain string
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    description string
    (Updatable) A user-provided description of a database system.
    display_name string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    id string
    A unique identifier for the database instance node. Immutable on creation.
    lifecycle_details string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    time_created string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    time_updated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain String
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    description String
    (Updatable) A user-provided description of a database system.
    displayName String
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    id String
    A unique identifier for the database instance node. Immutable on creation.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state String

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    timeCreated String
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain string
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    description string
    (Updatable) A user-provided description of a database system.
    displayName string
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    id string
    A unique identifier for the database instance node. Immutable on creation.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state string

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    timeCreated string
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availability_domain str
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    description str
    (Updatable) A user-provided description of a database system.
    display_name str
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    id str
    A unique identifier for the database instance node. Immutable on creation.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state str

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    time_created str
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain String
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    description String
    (Updatable) A user-provided description of a database system.
    displayName String
    (Updatable) A user-friendly display name for the database system. Avoid entering confidential information.
    id String
    A unique identifier for the database instance node. Immutable on creation.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    state String

    (Updatable) The target state for the Db System. Could be set to ACTIVE or INACTIVE.

    ** 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

    timeCreated String
    The date and time that the database system was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time that the database system was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

    DbSystemInstancesDetail, DbSystemInstancesDetailArgs

    Description string
    A user-provided description of the database instance node.
    DisplayName string
    Display name of the database instance node. Avoid entering confidential information.
    PrivateIp string
    Private IP in customer subnet that will be assigned to the database instance node. This value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses in the specified subnet.
    Description string
    A user-provided description of the database instance node.
    DisplayName string
    Display name of the database instance node. Avoid entering confidential information.
    PrivateIp string
    Private IP in customer subnet that will be assigned to the database instance node. This value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses in the specified subnet.
    description string
    A user-provided description of the database instance node.
    display_name string
    Display name of the database instance node. Avoid entering confidential information.
    private_ip string
    Private IP in customer subnet that will be assigned to the database instance node. This value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses in the specified subnet.
    description String
    A user-provided description of the database instance node.
    displayName String
    Display name of the database instance node. Avoid entering confidential information.
    privateIp String
    Private IP in customer subnet that will be assigned to the database instance node. This value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses in the specified subnet.
    description string
    A user-provided description of the database instance node.
    displayName string
    Display name of the database instance node. Avoid entering confidential information.
    privateIp string
    Private IP in customer subnet that will be assigned to the database instance node. This value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses in the specified subnet.
    description str
    A user-provided description of the database instance node.
    display_name str
    Display name of the database instance node. Avoid entering confidential information.
    private_ip str
    Private IP in customer subnet that will be assigned to the database instance node. This value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses in the specified subnet.
    description String
    A user-provided description of the database instance node.
    displayName String
    Display name of the database instance node. Avoid entering confidential information.
    privateIp String
    Private IP in customer subnet that will be assigned to the database instance node. This value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses in the specified subnet.

    DbSystemKerberosAuthDetails, DbSystemKerberosAuthDetailsArgs

    Kind string
    Specifies the management of Insight for the dbSystem.
    BackupCredentials List<DbSystemKerberosAuthDetailsBackupCredential>
    Optional. List of Kerberos Credentials previously configured for the dbsystem. Currently supports only one entry.
    Credentials List<DbSystemKerberosAuthDetailsCredential>
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    Kind string
    Specifies the management of Insight for the dbSystem.
    BackupCredentials []DbSystemKerberosAuthDetailsBackupCredential
    Optional. List of Kerberos Credentials previously configured for the dbsystem. Currently supports only one entry.
    Credentials []DbSystemKerberosAuthDetailsCredential
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    kind string
    Specifies the management of Insight for the dbSystem.
    backup_credentials list(object)
    Optional. List of Kerberos Credentials previously configured for the dbsystem. Currently supports only one entry.
    credentials list(object)
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    kind String
    Specifies the management of Insight for the dbSystem.
    backupCredentials List<DbSystemKerberosAuthDetailsBackupCredential>
    Optional. List of Kerberos Credentials previously configured for the dbsystem. Currently supports only one entry.
    credentials List<DbSystemKerberosAuthDetailsCredential>
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    kind string
    Specifies the management of Insight for the dbSystem.
    backupCredentials DbSystemKerberosAuthDetailsBackupCredential[]
    Optional. List of Kerberos Credentials previously configured for the dbsystem. Currently supports only one entry.
    credentials DbSystemKerberosAuthDetailsCredential[]
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    kind str
    Specifies the management of Insight for the dbSystem.
    backup_credentials Sequence[DbSystemKerberosAuthDetailsBackupCredential]
    Optional. List of Kerberos Credentials previously configured for the dbsystem. Currently supports only one entry.
    credentials Sequence[DbSystemKerberosAuthDetailsCredential]
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.
    kind String
    Specifies the management of Insight for the dbSystem.
    backupCredentials List<Property Map>
    Optional. List of Kerberos Credentials previously configured for the dbsystem. Currently supports only one entry.
    credentials List<Property Map>
    Initial database system credentials that the database system will be provisioned with. The password details are not visible on any subsequent operation, such as GET /dbSystems/{dbSystemId}.

    DbSystemKerberosAuthDetailsBackupCredential, DbSystemKerberosAuthDetailsBackupCredentialArgs

    KeytabSecretId string
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    KeytabSecretVersion string
    The secret version of the stored Kerberos keytab file.
    RealmName string
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    KeytabSecretId string
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    KeytabSecretVersion string
    The secret version of the stored Kerberos keytab file.
    RealmName string
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytab_secret_id string
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytab_secret_version string
    The secret version of the stored Kerberos keytab file.
    realm_name string
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytabSecretId String
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytabSecretVersion String
    The secret version of the stored Kerberos keytab file.
    realmName String
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytabSecretId string
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytabSecretVersion string
    The secret version of the stored Kerberos keytab file.
    realmName string
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytab_secret_id str
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytab_secret_version str
    The secret version of the stored Kerberos keytab file.
    realm_name str
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytabSecretId String
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytabSecretVersion String
    The secret version of the stored Kerberos keytab file.
    realmName String
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.

    DbSystemKerberosAuthDetailsCredential, DbSystemKerberosAuthDetailsCredentialArgs

    KeytabSecretId string
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    KeytabSecretVersion string
    The secret version of the stored Kerberos keytab file.
    RealmName string
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    KeytabSecretId string
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    KeytabSecretVersion string
    The secret version of the stored Kerberos keytab file.
    RealmName string
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytab_secret_id string
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytab_secret_version string
    The secret version of the stored Kerberos keytab file.
    realm_name string
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytabSecretId String
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytabSecretVersion String
    The secret version of the stored Kerberos keytab file.
    realmName String
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytabSecretId string
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytabSecretVersion string
    The secret version of the stored Kerberos keytab file.
    realmName string
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytab_secret_id str
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytab_secret_version str
    The secret version of the stored Kerberos keytab file.
    realm_name str
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.
    keytabSecretId String
    The OCID of the secret where the Kerberos keytab file is stored as base64 text.
    keytabSecretVersion String
    The secret version of the stored Kerberos keytab file.
    realmName String
    Kerberos realm name. https://docs.oracle.com/cd/E36784_01/html/E37126/kplanning-27.html Realm names can consist of any ASCII string. Usually, the realm name is the same as your DNS domain name except that the realm name is in uppercase. This convention helps differentiate problems with the Kerberos service from problems with the DNS namespace, while keeping a name that is familiar. You can use any string, but configuration and maintenance might then require more work. Use realm names that follow the standard Internet naming structure.

    DbSystemManagementPolicy, DbSystemManagementPolicyArgs

    BackupPolicy DbSystemManagementPolicyBackupPolicy
    (Updatable) PostgreSQL database system backup policy.
    MaintenanceWindowStart string

    (Updatable) The start of the maintenance window in UTC.

    This string is of the format: "{day-of-week} {time-of-day}". "{day-of-week}" is a case-insensitive string like "mon", "tue", &c. "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

    BackupPolicy DbSystemManagementPolicyBackupPolicy
    (Updatable) PostgreSQL database system backup policy.
    MaintenanceWindowStart string

    (Updatable) The start of the maintenance window in UTC.

    This string is of the format: "{day-of-week} {time-of-day}". "{day-of-week}" is a case-insensitive string like "mon", "tue", &c. "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

    backup_policy object
    (Updatable) PostgreSQL database system backup policy.
    maintenance_window_start string

    (Updatable) The start of the maintenance window in UTC.

    This string is of the format: "{day-of-week} {time-of-day}". "{day-of-week}" is a case-insensitive string like "mon", "tue", &c. "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

    backupPolicy DbSystemManagementPolicyBackupPolicy
    (Updatable) PostgreSQL database system backup policy.
    maintenanceWindowStart String

    (Updatable) The start of the maintenance window in UTC.

    This string is of the format: "{day-of-week} {time-of-day}". "{day-of-week}" is a case-insensitive string like "mon", "tue", &c. "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

    backupPolicy DbSystemManagementPolicyBackupPolicy
    (Updatable) PostgreSQL database system backup policy.
    maintenanceWindowStart string

    (Updatable) The start of the maintenance window in UTC.

    This string is of the format: "{day-of-week} {time-of-day}". "{day-of-week}" is a case-insensitive string like "mon", "tue", &c. "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

    backup_policy DbSystemManagementPolicyBackupPolicy
    (Updatable) PostgreSQL database system backup policy.
    maintenance_window_start str

    (Updatable) The start of the maintenance window in UTC.

    This string is of the format: "{day-of-week} {time-of-day}". "{day-of-week}" is a case-insensitive string like "mon", "tue", &c. "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

    backupPolicy Property Map
    (Updatable) PostgreSQL database system backup policy.
    maintenanceWindowStart String

    (Updatable) The start of the maintenance window in UTC.

    This string is of the format: "{day-of-week} {time-of-day}". "{day-of-week}" is a case-insensitive string like "mon", "tue", &c. "{time-of-day}" is the "Time" portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.

    DbSystemManagementPolicyBackupPolicy, DbSystemManagementPolicyBackupPolicyArgs

    BackupStart string
    (Updatable) Hour of the day when the backup starts.
    CopyPolicy DbSystemManagementPolicyBackupPolicyCopyPolicy
    (Updatable) Backup copy details
    DaysOfTheMonths List<int>
    (Updatable) Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day.
    DaysOfTheWeeks List<string>
    (Updatable) The day of the week that the backup starts.
    Kind string
    (Updatable) The kind of backup policy.
    RetentionDays int
    (Updatable) How many days the data should be stored after the database system deletion.
    BackupStart string
    (Updatable) Hour of the day when the backup starts.
    CopyPolicy DbSystemManagementPolicyBackupPolicyCopyPolicy
    (Updatable) Backup copy details
    DaysOfTheMonths []int
    (Updatable) Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day.
    DaysOfTheWeeks []string
    (Updatable) The day of the week that the backup starts.
    Kind string
    (Updatable) The kind of backup policy.
    RetentionDays int
    (Updatable) How many days the data should be stored after the database system deletion.
    backup_start string
    (Updatable) Hour of the day when the backup starts.
    copy_policy object
    (Updatable) Backup copy details
    days_of_the_months list(number)
    (Updatable) Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day.
    days_of_the_weeks list(string)
    (Updatable) The day of the week that the backup starts.
    kind string
    (Updatable) The kind of backup policy.
    retention_days number
    (Updatable) How many days the data should be stored after the database system deletion.
    backupStart String
    (Updatable) Hour of the day when the backup starts.
    copyPolicy DbSystemManagementPolicyBackupPolicyCopyPolicy
    (Updatable) Backup copy details
    daysOfTheMonths List<Integer>
    (Updatable) Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day.
    daysOfTheWeeks List<String>
    (Updatable) The day of the week that the backup starts.
    kind String
    (Updatable) The kind of backup policy.
    retentionDays Integer
    (Updatable) How many days the data should be stored after the database system deletion.
    backupStart string
    (Updatable) Hour of the day when the backup starts.
    copyPolicy DbSystemManagementPolicyBackupPolicyCopyPolicy
    (Updatable) Backup copy details
    daysOfTheMonths number[]
    (Updatable) Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day.
    daysOfTheWeeks string[]
    (Updatable) The day of the week that the backup starts.
    kind string
    (Updatable) The kind of backup policy.
    retentionDays number
    (Updatable) How many days the data should be stored after the database system deletion.
    backup_start str
    (Updatable) Hour of the day when the backup starts.
    copy_policy DbSystemManagementPolicyBackupPolicyCopyPolicy
    (Updatable) Backup copy details
    days_of_the_months Sequence[int]
    (Updatable) Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day.
    days_of_the_weeks Sequence[str]
    (Updatable) The day of the week that the backup starts.
    kind str
    (Updatable) The kind of backup policy.
    retention_days int
    (Updatable) How many days the data should be stored after the database system deletion.
    backupStart String
    (Updatable) Hour of the day when the backup starts.
    copyPolicy Property Map
    (Updatable) Backup copy details
    daysOfTheMonths List<Number>
    (Updatable) Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day.
    daysOfTheWeeks List<String>
    (Updatable) The day of the week that the backup starts.
    kind String
    (Updatable) The kind of backup policy.
    retentionDays Number
    (Updatable) How many days the data should be stored after the database system deletion.

    DbSystemManagementPolicyBackupPolicyCopyPolicy, DbSystemManagementPolicyBackupPolicyCopyPolicyArgs

    CompartmentId string
    (Updatable) target compartment to place a new backup
    Regions List<string>
    (Updatable) List of region names of the remote region
    RetentionPeriod int
    (Updatable) Retention period in days of the backup copy.
    CompartmentId string
    (Updatable) target compartment to place a new backup
    Regions []string
    (Updatable) List of region names of the remote region
    RetentionPeriod int
    (Updatable) Retention period in days of the backup copy.
    compartment_id string
    (Updatable) target compartment to place a new backup
    regions list(string)
    (Updatable) List of region names of the remote region
    retention_period number
    (Updatable) Retention period in days of the backup copy.
    compartmentId String
    (Updatable) target compartment to place a new backup
    regions List<String>
    (Updatable) List of region names of the remote region
    retentionPeriod Integer
    (Updatable) Retention period in days of the backup copy.
    compartmentId string
    (Updatable) target compartment to place a new backup
    regions string[]
    (Updatable) List of region names of the remote region
    retentionPeriod number
    (Updatable) Retention period in days of the backup copy.
    compartment_id str
    (Updatable) target compartment to place a new backup
    regions Sequence[str]
    (Updatable) List of region names of the remote region
    retention_period int
    (Updatable) Retention period in days of the backup copy.
    compartmentId String
    (Updatable) target compartment to place a new backup
    regions List<String>
    (Updatable) List of region names of the remote region
    retentionPeriod Number
    (Updatable) Retention period in days of the backup copy.

    DbSystemNetworkDetails, DbSystemNetworkDetailsArgs

    SubnetId string
    The OCID of the customer subnet associated with the database system.
    IsReaderEndpointEnabled bool
    (Updatable) Specifies if the reader endpoint is enabled on the dbSystem.
    NsgIds List<string>
    (Updatable) List of customer Network Security Group OCIDs associated with the database system.
    PrimaryDbEndpointPrivateIp string
    Private IP in customer subnet. The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.
    SubnetId string
    The OCID of the customer subnet associated with the database system.
    IsReaderEndpointEnabled bool
    (Updatable) Specifies if the reader endpoint is enabled on the dbSystem.
    NsgIds []string
    (Updatable) List of customer Network Security Group OCIDs associated with the database system.
    PrimaryDbEndpointPrivateIp string
    Private IP in customer subnet. The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.
    subnet_id string
    The OCID of the customer subnet associated with the database system.
    is_reader_endpoint_enabled bool
    (Updatable) Specifies if the reader endpoint is enabled on the dbSystem.
    nsg_ids list(string)
    (Updatable) List of customer Network Security Group OCIDs associated with the database system.
    primary_db_endpoint_private_ip string
    Private IP in customer subnet. The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.
    subnetId String
    The OCID of the customer subnet associated with the database system.
    isReaderEndpointEnabled Boolean
    (Updatable) Specifies if the reader endpoint is enabled on the dbSystem.
    nsgIds List<String>
    (Updatable) List of customer Network Security Group OCIDs associated with the database system.
    primaryDbEndpointPrivateIp String
    Private IP in customer subnet. The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.
    subnetId string
    The OCID of the customer subnet associated with the database system.
    isReaderEndpointEnabled boolean
    (Updatable) Specifies if the reader endpoint is enabled on the dbSystem.
    nsgIds string[]
    (Updatable) List of customer Network Security Group OCIDs associated with the database system.
    primaryDbEndpointPrivateIp string
    Private IP in customer subnet. The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.
    subnet_id str
    The OCID of the customer subnet associated with the database system.
    is_reader_endpoint_enabled bool
    (Updatable) Specifies if the reader endpoint is enabled on the dbSystem.
    nsg_ids Sequence[str]
    (Updatable) List of customer Network Security Group OCIDs associated with the database system.
    primary_db_endpoint_private_ip str
    Private IP in customer subnet. The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.
    subnetId String
    The OCID of the customer subnet associated with the database system.
    isReaderEndpointEnabled Boolean
    (Updatable) Specifies if the reader endpoint is enabled on the dbSystem.
    nsgIds List<String>
    (Updatable) List of customer Network Security Group OCIDs associated with the database system.
    primaryDbEndpointPrivateIp String
    Private IP in customer subnet. The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.

    DbSystemOdspInsightDetails, DbSystemOdspInsightDetailsArgs

    Kind string
    (Updatable) Specifies the management of Insight for the dbSystem.
    OdspInsightLists List<DbSystemOdspInsightDetailsOdspInsightList>
    (Updatable) List of ODSP Insight and their configurations.
    Kind string
    (Updatable) Specifies the management of Insight for the dbSystem.
    OdspInsightLists []DbSystemOdspInsightDetailsOdspInsightList
    (Updatable) List of ODSP Insight and their configurations.
    kind string
    (Updatable) Specifies the management of Insight for the dbSystem.
    odsp_insight_lists list(object)
    (Updatable) List of ODSP Insight and their configurations.
    kind String
    (Updatable) Specifies the management of Insight for the dbSystem.
    odspInsightLists List<DbSystemOdspInsightDetailsOdspInsightList>
    (Updatable) List of ODSP Insight and their configurations.
    kind string
    (Updatable) Specifies the management of Insight for the dbSystem.
    odspInsightLists DbSystemOdspInsightDetailsOdspInsightList[]
    (Updatable) List of ODSP Insight and their configurations.
    kind str
    (Updatable) Specifies the management of Insight for the dbSystem.
    odsp_insight_lists Sequence[DbSystemOdspInsightDetailsOdspInsightList]
    (Updatable) List of ODSP Insight and their configurations.
    kind String
    (Updatable) Specifies the management of Insight for the dbSystem.
    odspInsightLists List<Property Map>
    (Updatable) List of ODSP Insight and their configurations.

    DbSystemOdspInsightDetailsOdspInsightList, DbSystemOdspInsightDetailsOdspInsightListArgs

    InsightType string
    (Updatable) Type of Insight collected for the database system.
    RetentionPeriodInDays int
    (Updatable) Retention period for Insight data, in days. Current supported value is 7 days. the system default is 7 days.
    InsightType string
    (Updatable) Type of Insight collected for the database system.
    RetentionPeriodInDays int
    (Updatable) Retention period for Insight data, in days. Current supported value is 7 days. the system default is 7 days.
    insight_type string
    (Updatable) Type of Insight collected for the database system.
    retention_period_in_days number
    (Updatable) Retention period for Insight data, in days. Current supported value is 7 days. the system default is 7 days.
    insightType String
    (Updatable) Type of Insight collected for the database system.
    retentionPeriodInDays Integer
    (Updatable) Retention period for Insight data, in days. Current supported value is 7 days. the system default is 7 days.
    insightType string
    (Updatable) Type of Insight collected for the database system.
    retentionPeriodInDays number
    (Updatable) Retention period for Insight data, in days. Current supported value is 7 days. the system default is 7 days.
    insight_type str
    (Updatable) Type of Insight collected for the database system.
    retention_period_in_days int
    (Updatable) Retention period for Insight data, in days. Current supported value is 7 days. the system default is 7 days.
    insightType String
    (Updatable) Type of Insight collected for the database system.
    retentionPeriodInDays Number
    (Updatable) Retention period for Insight data, in days. Current supported value is 7 days. the system default is 7 days.

    DbSystemPatchOperation, DbSystemPatchOperationArgs

    Operation string
    The operation can be one of these values: INSERT, REMOVE.
    Selection string
    In case of INSERT, selection is instances. In case of REMOVE, selection is instances[?id == '${var.instance_id}'].
    From string
    Position string
    SelectedItem string
    Value Dictionary<string, string>
    Specify instance details such as displayName, description or privateIp. Example: {"displayName": "value"}.
    Operation string
    The operation can be one of these values: INSERT, REMOVE.
    Selection string
    In case of INSERT, selection is instances. In case of REMOVE, selection is instances[?id == '${var.instance_id}'].
    From string
    Position string
    SelectedItem string
    Value map[string]string
    Specify instance details such as displayName, description or privateIp. Example: {"displayName": "value"}.
    operation string
    The operation can be one of these values: INSERT, REMOVE.
    selection string
    In case of INSERT, selection is instances. In case of REMOVE, selection is instances[?id == '${var.instance_id}'].
    from string
    position string
    selected_item string
    value map(string)
    Specify instance details such as displayName, description or privateIp. Example: {"displayName": "value"}.
    operation String
    The operation can be one of these values: INSERT, REMOVE.
    selection String
    In case of INSERT, selection is instances. In case of REMOVE, selection is instances[?id == '${var.instance_id}'].
    from String
    position String
    selectedItem String
    value Map<String,String>
    Specify instance details such as displayName, description or privateIp. Example: {"displayName": "value"}.
    operation string
    The operation can be one of these values: INSERT, REMOVE.
    selection string
    In case of INSERT, selection is instances. In case of REMOVE, selection is instances[?id == '${var.instance_id}'].
    from string
    position string
    selectedItem string
    value {[key: string]: string}
    Specify instance details such as displayName, description or privateIp. Example: {"displayName": "value"}.
    operation str
    The operation can be one of these values: INSERT, REMOVE.
    selection str
    In case of INSERT, selection is instances. In case of REMOVE, selection is instances[?id == '${var.instance_id}'].
    from_ str
    position str
    selected_item str
    value Mapping[str, str]
    Specify instance details such as displayName, description or privateIp. Example: {"displayName": "value"}.
    operation String
    The operation can be one of these values: INSERT, REMOVE.
    selection String
    In case of INSERT, selection is instances. In case of REMOVE, selection is instances[?id == '${var.instance_id}'].
    from String
    position String
    selectedItem String
    value Map<String>
    Specify instance details such as displayName, description or privateIp. Example: {"displayName": "value"}.

    DbSystemReplicationConfig, DbSystemReplicationConfigArgs

    IsRpoEnforced bool
    (Updatable) Specify if Recovery point objective (RPO) enforcement needs to be enabled on the database system.
    RpoInSeconds string
    (Updatable) Specifies the Recovery point objective (RPO) in seconds that will be enforced, if the isRpoEnforced flag is true.
    IsRpoEnforced bool
    (Updatable) Specify if Recovery point objective (RPO) enforcement needs to be enabled on the database system.
    RpoInSeconds string
    (Updatable) Specifies the Recovery point objective (RPO) in seconds that will be enforced, if the isRpoEnforced flag is true.
    is_rpo_enforced bool
    (Updatable) Specify if Recovery point objective (RPO) enforcement needs to be enabled on the database system.
    rpo_in_seconds string
    (Updatable) Specifies the Recovery point objective (RPO) in seconds that will be enforced, if the isRpoEnforced flag is true.
    isRpoEnforced Boolean
    (Updatable) Specify if Recovery point objective (RPO) enforcement needs to be enabled on the database system.
    rpoInSeconds String
    (Updatable) Specifies the Recovery point objective (RPO) in seconds that will be enforced, if the isRpoEnforced flag is true.
    isRpoEnforced boolean
    (Updatable) Specify if Recovery point objective (RPO) enforcement needs to be enabled on the database system.
    rpoInSeconds string
    (Updatable) Specifies the Recovery point objective (RPO) in seconds that will be enforced, if the isRpoEnforced flag is true.
    is_rpo_enforced bool
    (Updatable) Specify if Recovery point objective (RPO) enforcement needs to be enabled on the database system.
    rpo_in_seconds str
    (Updatable) Specifies the Recovery point objective (RPO) in seconds that will be enforced, if the isRpoEnforced flag is true.
    isRpoEnforced Boolean
    (Updatable) Specify if Recovery point objective (RPO) enforcement needs to be enabled on the database system.
    rpoInSeconds String
    (Updatable) Specifies the Recovery point objective (RPO) in seconds that will be enforced, if the isRpoEnforced flag is true.

    DbSystemSource, DbSystemSourceArgs

    BackupId string
    The OCID of the database system backup.
    IsHavingRestoreConfigOverrides bool
    Deprecated. Don't use.
    PrimaryDbSystemId string
    The [OCID] of the primary database system.
    SourceType string
    The source descriminator.
    BackupId string
    The OCID of the database system backup.
    IsHavingRestoreConfigOverrides bool
    Deprecated. Don't use.
    PrimaryDbSystemId string
    The [OCID] of the primary database system.
    SourceType string
    The source descriminator.
    backup_id string
    The OCID of the database system backup.
    is_having_restore_config_overrides bool
    Deprecated. Don't use.
    primary_db_system_id string
    The [OCID] of the primary database system.
    source_type string
    The source descriminator.
    backupId String
    The OCID of the database system backup.
    isHavingRestoreConfigOverrides Boolean
    Deprecated. Don't use.
    primaryDbSystemId String
    The [OCID] of the primary database system.
    sourceType String
    The source descriminator.
    backupId string
    The OCID of the database system backup.
    isHavingRestoreConfigOverrides boolean
    Deprecated. Don't use.
    primaryDbSystemId string
    The [OCID] of the primary database system.
    sourceType string
    The source descriminator.
    backup_id str
    The OCID of the database system backup.
    is_having_restore_config_overrides bool
    Deprecated. Don't use.
    primary_db_system_id str
    The [OCID] of the primary database system.
    source_type str
    The source descriminator.
    backupId String
    The OCID of the database system backup.
    isHavingRestoreConfigOverrides Boolean
    Deprecated. Don't use.
    primaryDbSystemId String
    The [OCID] of the primary database system.
    sourceType String
    The source descriminator.

    DbSystemStorageDetails, DbSystemStorageDetailsArgs

    IsRegionallyDurable bool
    Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    SystemType string
    Type of the database system.
    AvailabilityDomain string
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    Iops string
    (Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system. Find more about the supported Peformance Tiers here.
    IsRegionallyDurable bool
    Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    SystemType string
    Type of the database system.
    AvailabilityDomain string
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    Iops string
    (Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system. Find more about the supported Peformance Tiers here.
    is_regionally_durable bool
    Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    system_type string
    Type of the database system.
    availability_domain string
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    iops string
    (Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system. Find more about the supported Peformance Tiers here.
    isRegionallyDurable Boolean
    Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    systemType String
    Type of the database system.
    availabilityDomain String
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    iops String
    (Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system. Find more about the supported Peformance Tiers here.
    isRegionallyDurable boolean
    Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    systemType string
    Type of the database system.
    availabilityDomain string
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    iops string
    (Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system. Find more about the supported Peformance Tiers here.
    is_regionally_durable bool
    Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    system_type str
    Type of the database system.
    availability_domain str
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    iops str
    (Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system. Find more about the supported Peformance Tiers here.
    isRegionallyDurable Boolean
    Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    systemType String
    Type of the database system.
    availabilityDomain String
    Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.
    iops String
    (Updatable) Guaranteed input/output storage requests per second (IOPS) available to the database system. Find more about the supported Peformance Tiers here.

    Import

    DbSystems can be imported using the id, e.g.

    $ pulumi import oci:Psql/dbSystem:DbSystem test_db_system "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
    Viewing docs for Oracle Cloud Infrastructure v4.16.0
    published on Wednesday, Jun 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial