oci.Opsi.DatabaseInsight
Explore with Pulumi AI
Example Usage
Create DatabaseInsight Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatabaseInsight(name: string, args: DatabaseInsightArgs, opts?: CustomResourceOptions);@overload
def DatabaseInsight(resource_name: str,
                    args: DatabaseInsightArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def DatabaseInsight(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    entity_source: Optional[str] = None,
                    database_connection_status_details: Optional[str] = None,
                    enterprise_manager_entity_identifier: Optional[str] = None,
                    credential_details: Optional[DatabaseInsightCredentialDetailsArgs] = None,
                    connection_details: Optional[DatabaseInsightConnectionDetailsArgs] = None,
                    database_connector_id: Optional[str] = None,
                    database_id: Optional[str] = None,
                    database_resource_type: Optional[str] = None,
                    dbm_private_endpoint_id: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    deployment_type: Optional[str] = None,
                    enterprise_manager_bridge_id: Optional[str] = None,
                    connector_id: Optional[str] = None,
                    enterprise_manager_identifier: Optional[str] = None,
                    connection_credential_details: Optional[DatabaseInsightConnectionCredentialDetailsArgs] = None,
                    exadata_insight_id: Optional[str] = None,
                    freeform_tags: Optional[Mapping[str, str]] = None,
                    is_advanced_features_enabled: Optional[bool] = None,
                    management_agent_id: Optional[str] = None,
                    opsi_private_endpoint_id: Optional[str] = None,
                    service_name: Optional[str] = None,
                    status: Optional[str] = None)func NewDatabaseInsight(ctx *Context, name string, args DatabaseInsightArgs, opts ...ResourceOption) (*DatabaseInsight, error)public DatabaseInsight(string name, DatabaseInsightArgs args, CustomResourceOptions? opts = null)
public DatabaseInsight(String name, DatabaseInsightArgs args)
public DatabaseInsight(String name, DatabaseInsightArgs args, CustomResourceOptions options)
type: oci:Opsi:DatabaseInsight
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatabaseInsightArgs
- 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 DatabaseInsightArgs
- 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 DatabaseInsightArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseInsightArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseInsightArgs
- 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 databaseInsightResource = new Oci.Opsi.DatabaseInsight("databaseInsightResource", new()
{
    CompartmentId = "string",
    EntitySource = "string",
    DatabaseConnectionStatusDetails = "string",
    EnterpriseManagerEntityIdentifier = "string",
    CredentialDetails = new Oci.Opsi.Inputs.DatabaseInsightCredentialDetailsArgs
    {
        CredentialType = "string",
        CredentialSourceName = "string",
        PasswordSecretId = "string",
        Role = "string",
        UserName = "string",
        WalletSecretId = "string",
    },
    ConnectionDetails = new Oci.Opsi.Inputs.DatabaseInsightConnectionDetailsArgs
    {
        HostName = "string",
        Hosts = new[]
        {
            new Oci.Opsi.Inputs.DatabaseInsightConnectionDetailsHostArgs
            {
                HostIp = "string",
                Port = 0,
            },
        },
        Port = 0,
        Protocol = "string",
        ServiceName = "string",
    },
    DatabaseConnectorId = "string",
    DatabaseId = "string",
    DatabaseResourceType = "string",
    DbmPrivateEndpointId = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    DeploymentType = "string",
    EnterpriseManagerBridgeId = "string",
    ConnectorId = "string",
    EnterpriseManagerIdentifier = "string",
    ConnectionCredentialDetails = new Oci.Opsi.Inputs.DatabaseInsightConnectionCredentialDetailsArgs
    {
        CredentialType = "string",
        CredentialSourceName = "string",
        PasswordSecretId = "string",
        Role = "string",
        UserName = "string",
    },
    ExadataInsightId = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    IsAdvancedFeaturesEnabled = false,
    ManagementAgentId = "string",
    OpsiPrivateEndpointId = "string",
    ServiceName = "string",
    Status = "string",
});
example, err := opsi.NewDatabaseInsight(ctx, "databaseInsightResource", &opsi.DatabaseInsightArgs{
	CompartmentId:                     pulumi.String("string"),
	EntitySource:                      pulumi.String("string"),
	DatabaseConnectionStatusDetails:   pulumi.String("string"),
	EnterpriseManagerEntityIdentifier: pulumi.String("string"),
	CredentialDetails: &opsi.DatabaseInsightCredentialDetailsArgs{
		CredentialType:       pulumi.String("string"),
		CredentialSourceName: pulumi.String("string"),
		PasswordSecretId:     pulumi.String("string"),
		Role:                 pulumi.String("string"),
		UserName:             pulumi.String("string"),
		WalletSecretId:       pulumi.String("string"),
	},
	ConnectionDetails: &opsi.DatabaseInsightConnectionDetailsArgs{
		HostName: pulumi.String("string"),
		Hosts: opsi.DatabaseInsightConnectionDetailsHostArray{
			&opsi.DatabaseInsightConnectionDetailsHostArgs{
				HostIp: pulumi.String("string"),
				Port:   pulumi.Int(0),
			},
		},
		Port:        pulumi.Int(0),
		Protocol:    pulumi.String("string"),
		ServiceName: pulumi.String("string"),
	},
	DatabaseConnectorId:  pulumi.String("string"),
	DatabaseId:           pulumi.String("string"),
	DatabaseResourceType: pulumi.String("string"),
	DbmPrivateEndpointId: pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DeploymentType:              pulumi.String("string"),
	EnterpriseManagerBridgeId:   pulumi.String("string"),
	ConnectorId:                 pulumi.String("string"),
	EnterpriseManagerIdentifier: pulumi.String("string"),
	ConnectionCredentialDetails: &opsi.DatabaseInsightConnectionCredentialDetailsArgs{
		CredentialType:       pulumi.String("string"),
		CredentialSourceName: pulumi.String("string"),
		PasswordSecretId:     pulumi.String("string"),
		Role:                 pulumi.String("string"),
		UserName:             pulumi.String("string"),
	},
	ExadataInsightId: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	IsAdvancedFeaturesEnabled: pulumi.Bool(false),
	ManagementAgentId:         pulumi.String("string"),
	OpsiPrivateEndpointId:     pulumi.String("string"),
	ServiceName:               pulumi.String("string"),
	Status:                    pulumi.String("string"),
})
var databaseInsightResource = new DatabaseInsight("databaseInsightResource", DatabaseInsightArgs.builder()
    .compartmentId("string")
    .entitySource("string")
    .databaseConnectionStatusDetails("string")
    .enterpriseManagerEntityIdentifier("string")
    .credentialDetails(DatabaseInsightCredentialDetailsArgs.builder()
        .credentialType("string")
        .credentialSourceName("string")
        .passwordSecretId("string")
        .role("string")
        .userName("string")
        .walletSecretId("string")
        .build())
    .connectionDetails(DatabaseInsightConnectionDetailsArgs.builder()
        .hostName("string")
        .hosts(DatabaseInsightConnectionDetailsHostArgs.builder()
            .hostIp("string")
            .port(0)
            .build())
        .port(0)
        .protocol("string")
        .serviceName("string")
        .build())
    .databaseConnectorId("string")
    .databaseId("string")
    .databaseResourceType("string")
    .dbmPrivateEndpointId("string")
    .definedTags(Map.of("string", "string"))
    .deploymentType("string")
    .enterpriseManagerBridgeId("string")
    .connectorId("string")
    .enterpriseManagerIdentifier("string")
    .connectionCredentialDetails(DatabaseInsightConnectionCredentialDetailsArgs.builder()
        .credentialType("string")
        .credentialSourceName("string")
        .passwordSecretId("string")
        .role("string")
        .userName("string")
        .build())
    .exadataInsightId("string")
    .freeformTags(Map.of("string", "string"))
    .isAdvancedFeaturesEnabled(false)
    .managementAgentId("string")
    .opsiPrivateEndpointId("string")
    .serviceName("string")
    .status("string")
    .build());
database_insight_resource = oci.opsi.DatabaseInsight("databaseInsightResource",
    compartment_id="string",
    entity_source="string",
    database_connection_status_details="string",
    enterprise_manager_entity_identifier="string",
    credential_details={
        "credential_type": "string",
        "credential_source_name": "string",
        "password_secret_id": "string",
        "role": "string",
        "user_name": "string",
        "wallet_secret_id": "string",
    },
    connection_details={
        "host_name": "string",
        "hosts": [{
            "host_ip": "string",
            "port": 0,
        }],
        "port": 0,
        "protocol": "string",
        "service_name": "string",
    },
    database_connector_id="string",
    database_id="string",
    database_resource_type="string",
    dbm_private_endpoint_id="string",
    defined_tags={
        "string": "string",
    },
    deployment_type="string",
    enterprise_manager_bridge_id="string",
    connector_id="string",
    enterprise_manager_identifier="string",
    connection_credential_details={
        "credential_type": "string",
        "credential_source_name": "string",
        "password_secret_id": "string",
        "role": "string",
        "user_name": "string",
    },
    exadata_insight_id="string",
    freeform_tags={
        "string": "string",
    },
    is_advanced_features_enabled=False,
    management_agent_id="string",
    opsi_private_endpoint_id="string",
    service_name="string",
    status="string")
const databaseInsightResource = new oci.opsi.DatabaseInsight("databaseInsightResource", {
    compartmentId: "string",
    entitySource: "string",
    databaseConnectionStatusDetails: "string",
    enterpriseManagerEntityIdentifier: "string",
    credentialDetails: {
        credentialType: "string",
        credentialSourceName: "string",
        passwordSecretId: "string",
        role: "string",
        userName: "string",
        walletSecretId: "string",
    },
    connectionDetails: {
        hostName: "string",
        hosts: [{
            hostIp: "string",
            port: 0,
        }],
        port: 0,
        protocol: "string",
        serviceName: "string",
    },
    databaseConnectorId: "string",
    databaseId: "string",
    databaseResourceType: "string",
    dbmPrivateEndpointId: "string",
    definedTags: {
        string: "string",
    },
    deploymentType: "string",
    enterpriseManagerBridgeId: "string",
    connectorId: "string",
    enterpriseManagerIdentifier: "string",
    connectionCredentialDetails: {
        credentialType: "string",
        credentialSourceName: "string",
        passwordSecretId: "string",
        role: "string",
        userName: "string",
    },
    exadataInsightId: "string",
    freeformTags: {
        string: "string",
    },
    isAdvancedFeaturesEnabled: false,
    managementAgentId: "string",
    opsiPrivateEndpointId: "string",
    serviceName: "string",
    status: "string",
});
type: oci:Opsi:DatabaseInsight
properties:
    compartmentId: string
    connectionCredentialDetails:
        credentialSourceName: string
        credentialType: string
        passwordSecretId: string
        role: string
        userName: string
    connectionDetails:
        hostName: string
        hosts:
            - hostIp: string
              port: 0
        port: 0
        protocol: string
        serviceName: string
    connectorId: string
    credentialDetails:
        credentialSourceName: string
        credentialType: string
        passwordSecretId: string
        role: string
        userName: string
        walletSecretId: string
    databaseConnectionStatusDetails: string
    databaseConnectorId: string
    databaseId: string
    databaseResourceType: string
    dbmPrivateEndpointId: string
    definedTags:
        string: string
    deploymentType: string
    enterpriseManagerBridgeId: string
    enterpriseManagerEntityIdentifier: string
    enterpriseManagerIdentifier: string
    entitySource: string
    exadataInsightId: string
    freeformTags:
        string: string
    isAdvancedFeaturesEnabled: false
    managementAgentId: string
    opsiPrivateEndpointId: string
    serviceName: string
    status: string
DatabaseInsight 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 DatabaseInsight resource accepts the following input properties:
- CompartmentId string
- (Updatable) Compartment Identifier of database
- EntitySource string
- (Updatable) Source of the database entity.
- ConnectionCredential DatabaseDetails Insight Connection Credential Details 
- User credential details to connect to the database.
- ConnectionDetails DatabaseInsight Connection Details 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- ConnectorId string
- The OCID of External Database Connector
- CredentialDetails DatabaseInsight Credential Details 
- User credential details to connect to the database.
- DatabaseConnection stringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnector stringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- DatabaseId string
- The OCID of the database.
- DatabaseResource stringType 
- Oracle Cloud Infrastructure database resource type
- DbmPrivate stringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DeploymentType string
- Database Deployment Type (EXACS will be supported in the future)
- EnterpriseManager stringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- EnterpriseManager stringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- EnterpriseManager stringIdentifier 
- Enterprise Manager Unique Identifier
- ExadataInsight stringId 
- The OCID of the Exadata insight.
- 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"}
- IsAdvanced boolFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- ManagementAgent stringId 
- The OCID of the Management Agent
- OpsiPrivate stringEndpoint Id 
- The OCID of the OPSI private endpoint
- ServiceName string
- Database service name used for connection requests.
- Status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- CompartmentId string
- (Updatable) Compartment Identifier of database
- EntitySource string
- (Updatable) Source of the database entity.
- ConnectionCredential DatabaseDetails Insight Connection Credential Details Args 
- User credential details to connect to the database.
- ConnectionDetails DatabaseInsight Connection Details Args 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- ConnectorId string
- The OCID of External Database Connector
- CredentialDetails DatabaseInsight Credential Details Args 
- User credential details to connect to the database.
- DatabaseConnection stringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnector stringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- DatabaseId string
- The OCID of the database.
- DatabaseResource stringType 
- Oracle Cloud Infrastructure database resource type
- DbmPrivate stringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DeploymentType string
- Database Deployment Type (EXACS will be supported in the future)
- EnterpriseManager stringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- EnterpriseManager stringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- EnterpriseManager stringIdentifier 
- Enterprise Manager Unique Identifier
- ExadataInsight stringId 
- The OCID of the Exadata insight.
- 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"}
- IsAdvanced boolFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- ManagementAgent stringId 
- The OCID of the Management Agent
- OpsiPrivate stringEndpoint Id 
- The OCID of the OPSI private endpoint
- ServiceName string
- Database service name used for connection requests.
- Status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- compartmentId String
- (Updatable) Compartment Identifier of database
- entitySource String
- (Updatable) Source of the database entity.
- connectionCredential DatabaseDetails Insight Connection Credential Details 
- User credential details to connect to the database.
- connectionDetails DatabaseInsight Connection Details 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- connectorId String
- The OCID of External Database Connector
- credentialDetails DatabaseInsight Credential Details 
- User credential details to connect to the database.
- databaseConnection StringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- databaseConnector StringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- databaseId String
- The OCID of the database.
- databaseResource StringType 
- Oracle Cloud Infrastructure database resource type
- dbmPrivate StringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- deploymentType String
- Database Deployment Type (EXACS will be supported in the future)
- enterpriseManager StringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- enterpriseManager StringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- enterpriseManager StringIdentifier 
- Enterprise Manager Unique Identifier
- exadataInsight StringId 
- The OCID of the Exadata insight.
- 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"}
- isAdvanced BooleanFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- managementAgent StringId 
- The OCID of the Management Agent
- opsiPrivate StringEndpoint Id 
- The OCID of the OPSI private endpoint
- serviceName String
- Database service name used for connection requests.
- status String
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- compartmentId string
- (Updatable) Compartment Identifier of database
- entitySource string
- (Updatable) Source of the database entity.
- connectionCredential DatabaseDetails Insight Connection Credential Details 
- User credential details to connect to the database.
- connectionDetails DatabaseInsight Connection Details 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- connectorId string
- The OCID of External Database Connector
- credentialDetails DatabaseInsight Credential Details 
- User credential details to connect to the database.
- databaseConnection stringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- databaseConnector stringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- databaseId string
- The OCID of the database.
- databaseResource stringType 
- Oracle Cloud Infrastructure database resource type
- dbmPrivate stringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- deploymentType string
- Database Deployment Type (EXACS will be supported in the future)
- enterpriseManager stringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- enterpriseManager stringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- enterpriseManager stringIdentifier 
- Enterprise Manager Unique Identifier
- exadataInsight stringId 
- The OCID of the Exadata insight.
- {[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"}
- isAdvanced booleanFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- managementAgent stringId 
- The OCID of the Management Agent
- opsiPrivate stringEndpoint Id 
- The OCID of the OPSI private endpoint
- serviceName string
- Database service name used for connection requests.
- status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- compartment_id str
- (Updatable) Compartment Identifier of database
- entity_source str
- (Updatable) Source of the database entity.
- connection_credential_ Databasedetails Insight Connection Credential Details Args 
- User credential details to connect to the database.
- connection_details DatabaseInsight Connection Details Args 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- connector_id str
- The OCID of External Database Connector
- credential_details DatabaseInsight Credential Details Args 
- User credential details to connect to the database.
- database_connection_ strstatus_ details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- database_connector_ strid 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- database_id str
- The OCID of the database.
- database_resource_ strtype 
- Oracle Cloud Infrastructure database resource type
- dbm_private_ strendpoint_ id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- deployment_type str
- Database Deployment Type (EXACS will be supported in the future)
- enterprise_manager_ strbridge_ id 
- OPSI Enterprise Manager Bridge OCID
- enterprise_manager_ strentity_ identifier 
- Enterprise Manager Entity Unique Identifier
- enterprise_manager_ stridentifier 
- Enterprise Manager Unique Identifier
- exadata_insight_ strid 
- The OCID of the Exadata insight.
- 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"}
- is_advanced_ boolfeatures_ enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- management_agent_ strid 
- The OCID of the Management Agent
- opsi_private_ strendpoint_ id 
- The OCID of the OPSI private endpoint
- service_name str
- Database service name used for connection requests.
- status str
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- compartmentId String
- (Updatable) Compartment Identifier of database
- entitySource String
- (Updatable) Source of the database entity.
- connectionCredential Property MapDetails 
- User credential details to connect to the database.
- connectionDetails Property Map
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- connectorId String
- The OCID of External Database Connector
- credentialDetails Property Map
- User credential details to connect to the database.
- databaseConnection StringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- databaseConnector StringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- databaseId String
- The OCID of the database.
- databaseResource StringType 
- Oracle Cloud Infrastructure database resource type
- dbmPrivate StringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- deploymentType String
- Database Deployment Type (EXACS will be supported in the future)
- enterpriseManager StringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- enterpriseManager StringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- enterpriseManager StringIdentifier 
- Enterprise Manager Unique Identifier
- exadataInsight StringId 
- The OCID of the Exadata insight.
- 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"}
- isAdvanced BooleanFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- managementAgent StringId 
- The OCID of the Management Agent
- opsiPrivate StringEndpoint Id 
- The OCID of the OPSI private endpoint
- serviceName String
- Database service name used for connection requests.
- status String
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabaseInsight resource produces the following output properties:
- DatabaseDisplay stringName 
- Display name of database
- DatabaseName string
- Name of database
- DatabaseType string
- Ops Insights internal representation of the database type.
- DatabaseVersion string
- The version of the database.
- EnterpriseManager stringEntity Display Name 
- Enterprise Manager Entity Display Name
- EnterpriseManager stringEntity Name 
- Enterprise Manager Entity Name
- EnterpriseManager stringEntity Type 
- Enterprise Manager Entity Type
- Id string
- The provider-assigned unique ID for this managed resource.
- IsHeat boolWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- IsHighly boolAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- ParentId string
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- ProcessorCount int
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- RootId string
- The OCID of the Exadata Infrastructure.
- State string
- The current state of the database.
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the database insight was updated. An RFC3339 formatted datetime string
- DatabaseDisplay stringName 
- Display name of database
- DatabaseName string
- Name of database
- DatabaseType string
- Ops Insights internal representation of the database type.
- DatabaseVersion string
- The version of the database.
- EnterpriseManager stringEntity Display Name 
- Enterprise Manager Entity Display Name
- EnterpriseManager stringEntity Name 
- Enterprise Manager Entity Name
- EnterpriseManager stringEntity Type 
- Enterprise Manager Entity Type
- Id string
- The provider-assigned unique ID for this managed resource.
- IsHeat boolWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- IsHighly boolAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- ParentId string
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- ProcessorCount int
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- RootId string
- The OCID of the Exadata Infrastructure.
- State string
- The current state of the database.
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the database insight was updated. An RFC3339 formatted datetime string
- databaseDisplay StringName 
- Display name of database
- databaseName String
- Name of database
- databaseType String
- Ops Insights internal representation of the database type.
- databaseVersion String
- The version of the database.
- enterpriseManager StringEntity Display Name 
- Enterprise Manager Entity Display Name
- enterpriseManager StringEntity Name 
- Enterprise Manager Entity Name
- enterpriseManager StringEntity Type 
- Enterprise Manager Entity Type
- id String
- The provider-assigned unique ID for this managed resource.
- isHeat BooleanWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- isHighly BooleanAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- parentId String
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- processorCount Integer
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- rootId String
- The OCID of the Exadata Infrastructure.
- state String
- The current state of the database.
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- timeUpdated String
- The time the database insight was updated. An RFC3339 formatted datetime string
- databaseDisplay stringName 
- Display name of database
- databaseName string
- Name of database
- databaseType string
- Ops Insights internal representation of the database type.
- databaseVersion string
- The version of the database.
- enterpriseManager stringEntity Display Name 
- Enterprise Manager Entity Display Name
- enterpriseManager stringEntity Name 
- Enterprise Manager Entity Name
- enterpriseManager stringEntity Type 
- Enterprise Manager Entity Type
- id string
- The provider-assigned unique ID for this managed resource.
- isHeat booleanWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- isHighly booleanAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- parentId string
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- processorCount number
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- rootId string
- The OCID of the Exadata Infrastructure.
- state string
- The current state of the database.
- {[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 time the database insight was first enabled. An RFC3339 formatted datetime string
- timeUpdated string
- The time the database insight was updated. An RFC3339 formatted datetime string
- database_display_ strname 
- Display name of database
- database_name str
- Name of database
- database_type str
- Ops Insights internal representation of the database type.
- database_version str
- The version of the database.
- enterprise_manager_ strentity_ display_ name 
- Enterprise Manager Entity Display Name
- enterprise_manager_ strentity_ name 
- Enterprise Manager Entity Name
- enterprise_manager_ strentity_ type 
- Enterprise Manager Entity Type
- id str
- The provider-assigned unique ID for this managed resource.
- is_heat_ boolwave_ cluster_ attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- is_highly_ boolavailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- parent_id str
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- processor_count int
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- root_id str
- The OCID of the Exadata Infrastructure.
- state str
- The current state of the database.
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- time_updated str
- The time the database insight was updated. An RFC3339 formatted datetime string
- databaseDisplay StringName 
- Display name of database
- databaseName String
- Name of database
- databaseType String
- Ops Insights internal representation of the database type.
- databaseVersion String
- The version of the database.
- enterpriseManager StringEntity Display Name 
- Enterprise Manager Entity Display Name
- enterpriseManager StringEntity Name 
- Enterprise Manager Entity Name
- enterpriseManager StringEntity Type 
- Enterprise Manager Entity Type
- id String
- The provider-assigned unique ID for this managed resource.
- isHeat BooleanWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- isHighly BooleanAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- parentId String
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- processorCount Number
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- rootId String
- The OCID of the Exadata Infrastructure.
- state String
- The current state of the database.
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- timeUpdated String
- The time the database insight was updated. An RFC3339 formatted datetime string
Look up Existing DatabaseInsight Resource
Get an existing DatabaseInsight 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?: DatabaseInsightState, opts?: CustomResourceOptions): DatabaseInsight@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        connection_credential_details: Optional[DatabaseInsightConnectionCredentialDetailsArgs] = None,
        connection_details: Optional[DatabaseInsightConnectionDetailsArgs] = None,
        connector_id: Optional[str] = None,
        credential_details: Optional[DatabaseInsightCredentialDetailsArgs] = None,
        database_connection_status_details: Optional[str] = None,
        database_connector_id: Optional[str] = None,
        database_display_name: Optional[str] = None,
        database_id: Optional[str] = None,
        database_name: Optional[str] = None,
        database_resource_type: Optional[str] = None,
        database_type: Optional[str] = None,
        database_version: Optional[str] = None,
        dbm_private_endpoint_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        deployment_type: Optional[str] = None,
        enterprise_manager_bridge_id: Optional[str] = None,
        enterprise_manager_entity_display_name: Optional[str] = None,
        enterprise_manager_entity_identifier: Optional[str] = None,
        enterprise_manager_entity_name: Optional[str] = None,
        enterprise_manager_entity_type: Optional[str] = None,
        enterprise_manager_identifier: Optional[str] = None,
        entity_source: Optional[str] = None,
        exadata_insight_id: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        is_advanced_features_enabled: Optional[bool] = None,
        is_heat_wave_cluster_attached: Optional[bool] = None,
        is_highly_available: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        management_agent_id: Optional[str] = None,
        opsi_private_endpoint_id: Optional[str] = None,
        parent_id: Optional[str] = None,
        processor_count: Optional[int] = None,
        root_id: Optional[str] = None,
        service_name: Optional[str] = None,
        state: Optional[str] = None,
        status: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> DatabaseInsightfunc GetDatabaseInsight(ctx *Context, name string, id IDInput, state *DatabaseInsightState, opts ...ResourceOption) (*DatabaseInsight, error)public static DatabaseInsight Get(string name, Input<string> id, DatabaseInsightState? state, CustomResourceOptions? opts = null)public static DatabaseInsight get(String name, Output<String> id, DatabaseInsightState state, CustomResourceOptions options)resources:  _:    type: oci:Opsi:DatabaseInsight    get:      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.
- CompartmentId string
- (Updatable) Compartment Identifier of database
- ConnectionCredential DatabaseDetails Insight Connection Credential Details 
- User credential details to connect to the database.
- ConnectionDetails DatabaseInsight Connection Details 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- ConnectorId string
- The OCID of External Database Connector
- CredentialDetails DatabaseInsight Credential Details 
- User credential details to connect to the database.
- DatabaseConnection stringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnector stringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- DatabaseDisplay stringName 
- Display name of database
- DatabaseId string
- The OCID of the database.
- DatabaseName string
- Name of database
- DatabaseResource stringType 
- Oracle Cloud Infrastructure database resource type
- DatabaseType string
- Ops Insights internal representation of the database type.
- DatabaseVersion string
- The version of the database.
- DbmPrivate stringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DeploymentType string
- Database Deployment Type (EXACS will be supported in the future)
- EnterpriseManager stringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- EnterpriseManager stringEntity Display Name 
- Enterprise Manager Entity Display Name
- EnterpriseManager stringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- EnterpriseManager stringEntity Name 
- Enterprise Manager Entity Name
- EnterpriseManager stringEntity Type 
- Enterprise Manager Entity Type
- EnterpriseManager stringIdentifier 
- Enterprise Manager Unique Identifier
- EntitySource string
- (Updatable) Source of the database entity.
- ExadataInsight stringId 
- The OCID of the Exadata insight.
- 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"}
- IsAdvanced boolFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- IsHeat boolWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- IsHighly boolAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- ManagementAgent stringId 
- The OCID of the Management Agent
- OpsiPrivate stringEndpoint Id 
- The OCID of the OPSI private endpoint
- ParentId string
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- ProcessorCount int
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- RootId string
- The OCID of the Exadata Infrastructure.
- ServiceName string
- Database service name used for connection requests.
- State string
- The current state of the database.
- Status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the database insight was updated. An RFC3339 formatted datetime string
- CompartmentId string
- (Updatable) Compartment Identifier of database
- ConnectionCredential DatabaseDetails Insight Connection Credential Details Args 
- User credential details to connect to the database.
- ConnectionDetails DatabaseInsight Connection Details Args 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- ConnectorId string
- The OCID of External Database Connector
- CredentialDetails DatabaseInsight Credential Details Args 
- User credential details to connect to the database.
- DatabaseConnection stringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnector stringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- DatabaseDisplay stringName 
- Display name of database
- DatabaseId string
- The OCID of the database.
- DatabaseName string
- Name of database
- DatabaseResource stringType 
- Oracle Cloud Infrastructure database resource type
- DatabaseType string
- Ops Insights internal representation of the database type.
- DatabaseVersion string
- The version of the database.
- DbmPrivate stringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DeploymentType string
- Database Deployment Type (EXACS will be supported in the future)
- EnterpriseManager stringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- EnterpriseManager stringEntity Display Name 
- Enterprise Manager Entity Display Name
- EnterpriseManager stringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- EnterpriseManager stringEntity Name 
- Enterprise Manager Entity Name
- EnterpriseManager stringEntity Type 
- Enterprise Manager Entity Type
- EnterpriseManager stringIdentifier 
- Enterprise Manager Unique Identifier
- EntitySource string
- (Updatable) Source of the database entity.
- ExadataInsight stringId 
- The OCID of the Exadata insight.
- 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"}
- IsAdvanced boolFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- IsHeat boolWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- IsHighly boolAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- ManagementAgent stringId 
- The OCID of the Management Agent
- OpsiPrivate stringEndpoint Id 
- The OCID of the OPSI private endpoint
- ParentId string
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- ProcessorCount int
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- RootId string
- The OCID of the Exadata Infrastructure.
- ServiceName string
- Database service name used for connection requests.
- State string
- The current state of the database.
- Status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the database insight was updated. An RFC3339 formatted datetime string
- compartmentId String
- (Updatable) Compartment Identifier of database
- connectionCredential DatabaseDetails Insight Connection Credential Details 
- User credential details to connect to the database.
- connectionDetails DatabaseInsight Connection Details 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- connectorId String
- The OCID of External Database Connector
- credentialDetails DatabaseInsight Credential Details 
- User credential details to connect to the database.
- databaseConnection StringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- databaseConnector StringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- databaseDisplay StringName 
- Display name of database
- databaseId String
- The OCID of the database.
- databaseName String
- Name of database
- databaseResource StringType 
- Oracle Cloud Infrastructure database resource type
- databaseType String
- Ops Insights internal representation of the database type.
- databaseVersion String
- The version of the database.
- dbmPrivate StringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- deploymentType String
- Database Deployment Type (EXACS will be supported in the future)
- enterpriseManager StringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- enterpriseManager StringEntity Display Name 
- Enterprise Manager Entity Display Name
- enterpriseManager StringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- enterpriseManager StringEntity Name 
- Enterprise Manager Entity Name
- enterpriseManager StringEntity Type 
- Enterprise Manager Entity Type
- enterpriseManager StringIdentifier 
- Enterprise Manager Unique Identifier
- entitySource String
- (Updatable) Source of the database entity.
- exadataInsight StringId 
- The OCID of the Exadata insight.
- 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"}
- isAdvanced BooleanFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- isHeat BooleanWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- isHighly BooleanAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- managementAgent StringId 
- The OCID of the Management Agent
- opsiPrivate StringEndpoint Id 
- The OCID of the OPSI private endpoint
- parentId String
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- processorCount Integer
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- rootId String
- The OCID of the Exadata Infrastructure.
- serviceName String
- Database service name used for connection requests.
- state String
- The current state of the database.
- status String
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- timeUpdated String
- The time the database insight was updated. An RFC3339 formatted datetime string
- compartmentId string
- (Updatable) Compartment Identifier of database
- connectionCredential DatabaseDetails Insight Connection Credential Details 
- User credential details to connect to the database.
- connectionDetails DatabaseInsight Connection Details 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- connectorId string
- The OCID of External Database Connector
- credentialDetails DatabaseInsight Credential Details 
- User credential details to connect to the database.
- databaseConnection stringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- databaseConnector stringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- databaseDisplay stringName 
- Display name of database
- databaseId string
- The OCID of the database.
- databaseName string
- Name of database
- databaseResource stringType 
- Oracle Cloud Infrastructure database resource type
- databaseType string
- Ops Insights internal representation of the database type.
- databaseVersion string
- The version of the database.
- dbmPrivate stringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- deploymentType string
- Database Deployment Type (EXACS will be supported in the future)
- enterpriseManager stringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- enterpriseManager stringEntity Display Name 
- Enterprise Manager Entity Display Name
- enterpriseManager stringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- enterpriseManager stringEntity Name 
- Enterprise Manager Entity Name
- enterpriseManager stringEntity Type 
- Enterprise Manager Entity Type
- enterpriseManager stringIdentifier 
- Enterprise Manager Unique Identifier
- entitySource string
- (Updatable) Source of the database entity.
- exadataInsight stringId 
- The OCID of the Exadata insight.
- {[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"}
- isAdvanced booleanFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- isHeat booleanWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- isHighly booleanAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- managementAgent stringId 
- The OCID of the Management Agent
- opsiPrivate stringEndpoint Id 
- The OCID of the OPSI private endpoint
- parentId string
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- processorCount number
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- rootId string
- The OCID of the Exadata Infrastructure.
- serviceName string
- Database service name used for connection requests.
- state string
- The current state of the database.
- status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- {[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 time the database insight was first enabled. An RFC3339 formatted datetime string
- timeUpdated string
- The time the database insight was updated. An RFC3339 formatted datetime string
- compartment_id str
- (Updatable) Compartment Identifier of database
- connection_credential_ Databasedetails Insight Connection Credential Details Args 
- User credential details to connect to the database.
- connection_details DatabaseInsight Connection Details Args 
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- connector_id str
- The OCID of External Database Connector
- credential_details DatabaseInsight Credential Details Args 
- User credential details to connect to the database.
- database_connection_ strstatus_ details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- database_connector_ strid 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- database_display_ strname 
- Display name of database
- database_id str
- The OCID of the database.
- database_name str
- Name of database
- database_resource_ strtype 
- Oracle Cloud Infrastructure database resource type
- database_type str
- Ops Insights internal representation of the database type.
- database_version str
- The version of the database.
- dbm_private_ strendpoint_ id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- deployment_type str
- Database Deployment Type (EXACS will be supported in the future)
- enterprise_manager_ strbridge_ id 
- OPSI Enterprise Manager Bridge OCID
- enterprise_manager_ strentity_ display_ name 
- Enterprise Manager Entity Display Name
- enterprise_manager_ strentity_ identifier 
- Enterprise Manager Entity Unique Identifier
- enterprise_manager_ strentity_ name 
- Enterprise Manager Entity Name
- enterprise_manager_ strentity_ type 
- Enterprise Manager Entity Type
- enterprise_manager_ stridentifier 
- Enterprise Manager Unique Identifier
- entity_source str
- (Updatable) Source of the database entity.
- exadata_insight_ strid 
- The OCID of the Exadata insight.
- 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"}
- is_advanced_ boolfeatures_ enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- is_heat_ boolwave_ cluster_ attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- is_highly_ boolavailable 
- Specifies if MYSQL DB System is highly available.
- 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_agent_ strid 
- The OCID of the Management Agent
- opsi_private_ strendpoint_ id 
- The OCID of the OPSI private endpoint
- parent_id str
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- processor_count int
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- root_id str
- The OCID of the Exadata Infrastructure.
- service_name str
- Database service name used for connection requests.
- state str
- The current state of the database.
- status str
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- time_updated str
- The time the database insight was updated. An RFC3339 formatted datetime string
- compartmentId String
- (Updatable) Compartment Identifier of database
- connectionCredential Property MapDetails 
- User credential details to connect to the database.
- connectionDetails Property Map
- Connection details to connect to the database. HostName, protocol, and port should be specified.
- connectorId String
- The OCID of External Database Connector
- credentialDetails Property Map
- User credential details to connect to the database.
- databaseConnection StringStatus Details 
- A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- databaseConnector StringId 
- (Updatable) The DBM owned database connector OCID mapping to the database credentials and connection details.
- databaseDisplay StringName 
- Display name of database
- databaseId String
- The OCID of the database.
- databaseName String
- Name of database
- databaseResource StringType 
- Oracle Cloud Infrastructure database resource type
- databaseType String
- Ops Insights internal representation of the database type.
- databaseVersion String
- The version of the database.
- dbmPrivate StringEndpoint Id 
- The OCID of the Database Management private endpoint. This field and opsi_private_endpoint_id are mutually exclusive. If DBM private endpoint ID is provided, a new OPSI private endpoint ID will be created.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- deploymentType String
- Database Deployment Type (EXACS will be supported in the future)
- enterpriseManager StringBridge Id 
- OPSI Enterprise Manager Bridge OCID
- enterpriseManager StringEntity Display Name 
- Enterprise Manager Entity Display Name
- enterpriseManager StringEntity Identifier 
- Enterprise Manager Entity Unique Identifier
- enterpriseManager StringEntity Name 
- Enterprise Manager Entity Name
- enterpriseManager StringEntity Type 
- Enterprise Manager Entity Type
- enterpriseManager StringIdentifier 
- Enterprise Manager Unique Identifier
- entitySource String
- (Updatable) Source of the database entity.
- exadataInsight StringId 
- The OCID of the Exadata insight.
- 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"}
- isAdvanced BooleanFeatures Enabled 
- Flag is to identify if advanced features for autonomous database is enabled or not
- isHeat BooleanWave Cluster Attached 
- Specifies if MYSQL DB System has heatwave cluster attached.
- isHighly BooleanAvailable 
- Specifies if MYSQL DB System is highly available.
- 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.
- managementAgent StringId 
- The OCID of the Management Agent
- opsiPrivate StringEndpoint Id 
- The OCID of the OPSI private endpoint
- parentId String
- The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- processorCount Number
- Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- rootId String
- The OCID of the Exadata Infrastructure.
- serviceName String
- Database service name used for connection requests.
- state String
- The current state of the database.
- status String
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" - ** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. 
- 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 time the database insight was first enabled. An RFC3339 formatted datetime string
- timeUpdated String
- The time the database insight was updated. An RFC3339 formatted datetime string
Supporting Types
DatabaseInsightConnectionCredentialDetails, DatabaseInsightConnectionCredentialDetailsArgs          
- CredentialType string
- Credential type.
- CredentialSource stringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- PasswordSecret stringId 
- The secret OCID mapping to the database credentials.
- Role string
- database user role.
- UserName string
- database user name.
- CredentialType string
- Credential type.
- CredentialSource stringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- PasswordSecret stringId 
- The secret OCID mapping to the database credentials.
- Role string
- database user role.
- UserName string
- database user name.
- credentialType String
- Credential type.
- credentialSource StringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- passwordSecret StringId 
- The secret OCID mapping to the database credentials.
- role String
- database user role.
- userName String
- database user name.
- credentialType string
- Credential type.
- credentialSource stringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- passwordSecret stringId 
- The secret OCID mapping to the database credentials.
- role string
- database user role.
- userName string
- database user name.
- credential_type str
- Credential type.
- credential_source_ strname 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- password_secret_ strid 
- The secret OCID mapping to the database credentials.
- role str
- database user role.
- user_name str
- database user name.
- credentialType String
- Credential type.
- credentialSource StringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- passwordSecret StringId 
- The secret OCID mapping to the database credentials.
- role String
- database user role.
- userName String
- database user name.
DatabaseInsightConnectionDetails, DatabaseInsightConnectionDetailsArgs        
- HostName string
- Name of the listener host that will be used to create the connect string to the database.
- Hosts
List<DatabaseInsight Connection Details Host> 
- List of hosts and port for private endpoint accessed database resource.
- Port int
- Listener port number used for connection requests.
- Protocol string
- Protocol used for connection requests for private endpoint accssed database resource.
- ServiceName string
- Database service name used for connection requests.
- HostName string
- Name of the listener host that will be used to create the connect string to the database.
- Hosts
[]DatabaseInsight Connection Details Host 
- List of hosts and port for private endpoint accessed database resource.
- Port int
- Listener port number used for connection requests.
- Protocol string
- Protocol used for connection requests for private endpoint accssed database resource.
- ServiceName string
- Database service name used for connection requests.
- hostName String
- Name of the listener host that will be used to create the connect string to the database.
- hosts
List<DatabaseInsight Connection Details Host> 
- List of hosts and port for private endpoint accessed database resource.
- port Integer
- Listener port number used for connection requests.
- protocol String
- Protocol used for connection requests for private endpoint accssed database resource.
- serviceName String
- Database service name used for connection requests.
- hostName string
- Name of the listener host that will be used to create the connect string to the database.
- hosts
DatabaseInsight Connection Details Host[] 
- List of hosts and port for private endpoint accessed database resource.
- port number
- Listener port number used for connection requests.
- protocol string
- Protocol used for connection requests for private endpoint accssed database resource.
- serviceName string
- Database service name used for connection requests.
- host_name str
- Name of the listener host that will be used to create the connect string to the database.
- hosts
Sequence[DatabaseInsight Connection Details Host] 
- List of hosts and port for private endpoint accessed database resource.
- port int
- Listener port number used for connection requests.
- protocol str
- Protocol used for connection requests for private endpoint accssed database resource.
- service_name str
- Database service name used for connection requests.
- hostName String
- Name of the listener host that will be used to create the connect string to the database.
- hosts List<Property Map>
- List of hosts and port for private endpoint accessed database resource.
- port Number
- Listener port number used for connection requests.
- protocol String
- Protocol used for connection requests for private endpoint accssed database resource.
- serviceName String
- Database service name used for connection requests.
DatabaseInsightConnectionDetailsHost, DatabaseInsightConnectionDetailsHostArgs          
DatabaseInsightCredentialDetails, DatabaseInsightCredentialDetailsArgs        
- CredentialType string
- Credential type.
- CredentialSource stringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- PasswordSecret stringId 
- The secret OCID mapping to the database credentials.
- Role string
- database user role.
- UserName string
- database user name.
- WalletSecret stringId 
- The OCID of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.
- CredentialType string
- Credential type.
- CredentialSource stringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- PasswordSecret stringId 
- The secret OCID mapping to the database credentials.
- Role string
- database user role.
- UserName string
- database user name.
- WalletSecret stringId 
- The OCID of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.
- credentialType String
- Credential type.
- credentialSource StringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- passwordSecret StringId 
- The secret OCID mapping to the database credentials.
- role String
- database user role.
- userName String
- database user name.
- walletSecret StringId 
- The OCID of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.
- credentialType string
- Credential type.
- credentialSource stringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- passwordSecret stringId 
- The secret OCID mapping to the database credentials.
- role string
- database user role.
- userName string
- database user name.
- walletSecret stringId 
- The OCID of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.
- credential_type str
- Credential type.
- credential_source_ strname 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- password_secret_ strid 
- The secret OCID mapping to the database credentials.
- role str
- database user role.
- user_name str
- database user name.
- wallet_secret_ strid 
- The OCID of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.
- credentialType String
- Credential type.
- credentialSource StringName 
- Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- passwordSecret StringId 
- The secret OCID mapping to the database credentials.
- role String
- database user role.
- userName String
- database user name.
- walletSecret StringId 
- The OCID of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.
Import
DatabaseInsights can be imported using the id, e.g.
$ pulumi import oci:Opsi/databaseInsight:DatabaseInsight test_database_insight "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.