View a Service Instance
/paas/service/dbcs/api/v1.1/instances/{identityDomainId}/{serviceId}
Request
-
identityDomainId: string
Identity domain ID for the Database Classic Cloud Service account:
For a Cloud account with Identity Cloud Service: the identity service ID, which has the form
idcs-letters-and-numbers
. You can find this ID in the Identity Service Id field on the Overview tab of the Service Details page for Database Classic Cloud Service in My Services.For a traditional cloud account: the name of the identity domain.
-
serviceId: string
Name of the Database Classic Cloud Service instance.
-
Authorization: string
Base64 encoding of the user name and password of the user making the request. For more information, see Security, Authentication and Authorization.
-
X-ID-TENANT-NAME: string
Identity domain ID for the Database Classic Cloud Service account:
For a Cloud account with Identity Cloud Service: the identity service ID, which has the form
idcs-letters-and-numbers
. You can find this ID in the Identity Service Id field on the Overview tab of the Service Details page for Database Classic Cloud Service in My Services.For a traditional cloud account: the name of the identity domain.
Response
- application/json
202 Response
object
Response Body
-
apex_url(optional):
string
The URL to use to connect to Oracle Application Express on the service instance.
-
availabilityDomain(optional):
string
Applicable only in Oracle Cloud Infrastructure regions.
Name of the availability domain within the region where the Oracle Database Classic Cloud Service instance is provisioned.
-
backup_destination(optional):
string
The backup configuration of the service instance.
-
backup_supported_version(optional):
string
The version of cloud tooling for backup and recovery supported by the service instance.
-
charset(optional):
string
The database character set of the database.
-
cloud_storage_container(optional):
string
The Oracle Storage Cloud container for backups.
-
compute_site_name(optional):
string
The Oracle Cloud location housing the service instance.
-
connect_descriptor(optional):
string
The connection descriptor for Oracle Net Services (SQL*Net).
-
connect_descriptor_with_public_ip(optional):
string
The connection descriptor for Oracle Net Services (SQL*Net) with IP addresses instead of host names.
-
created_by(optional):
string
The user name of the Oracle Cloud user who created the service instance.
-
creation_job_id(optional):
string
The job id of the job that created the service instance.
-
creation_time(optional):
string
The date-and-time stamp when the service instance was created.
-
current_version(optional):
string
The Oracle Database version on the service instance, including the patch level.
-
dbaasmonitor_url(optional):
string
The URL to use to connect to Oracle DBaaS Monitor on the service instance.
-
description(optional):
string
The description of the service instance, if one was provided when the instance was created.
-
edition(optional):
string
The software edition of the service instance.
-
em_url(optional):
string
The URL to use to connect to Enterprise Manager on the service instance.
-
failover_database(optional):
boolean
Indicates whether the service instance hosts an Oracle Data Guard configuration.
-
glassfish_url(optional):
string
The URL to use to connect to the Oracle GlassFish Server Administration Console on the service instance.
-
hdgPremIP(optional):
string
Data Guard Role of the on-premise instance in Oracle Hybrid Disaster Recovery configuration.
-
hybrid_dg(optional):
string
Indicates whether the service instance hosts an Oracle Hybrid Disaster Recovery configuration.
-
identity_domain(optional):
string
The identity domain housing the service instance.
-
ipNetwork(optional):
string
This attribute is only applicable to accounts where regions are supported. The three-part name of an IP network to which the service instance is added. For example: /Compute-identity_domain/user/object
-
ipReservations(optional):
string
Groups one or more IP reservations in use on this service instance. This attribute is only applicable to accounts where regions are supported. This attribute is returned when you set the
?outputLevel=verbose
query parameter. -
isBYOL(optional):
boolean
Indicates whether service instance was provisioned with the 'Bring Your Own License' (BYOL) option.
-
jaas_instances_using_service(optional):
string
The Oracle Java Cloud Service instances using this Database Classic Cloud Service instance.
-
last_modified_time(optional):
string
The date-and-time stamp when the service instance was last modified.
-
level(optional):
string
The service level of the service instance:
BASIC
: The Oracle Database Classic Cloud Service - Virtual Image service levelPAAS
:The Oracle Database Classic Cloud Service service level
-
listenerPort(optional):
integer
The listener port for Oracle Net Services (SQL*Net) connections.
-
ncharset(optional):
string
The national character set of the database.
-
num_ip_reservations(optional):
integer
The number of Oracle Compute Service IP reservations assigned to the service instance.
-
num_nodes(optional):
string
The number of compute nodes in the service instance.
-
pdbName(optional):
string
The name of the default PDB (pluggable database) created when the service instance was created.
-
rac_database(optional):
boolean
Indicates whether the service instance hosts an Oracle RAC database.
-
region(optional):
string
This attribute is only applicable to accounts where regions are supported. Location where the service instance is provisioned (only for accounts where regions are supported).
-
service_name(optional):
string
The name of the service instance.
-
service_uri(optional):
string
The REST endpoint URI of the service instance.
-
shape(optional):
string
The Oracle Compute Cloud shape of the service instance.
-
sid(optional):
string
The SID of the database.
-
sm_plugin_version(optional):
string
The version of the cloud tooling service manager plugin supported by the service instance.
-
status(optional):
string
The status of the service instance:
Configured
: the service instance has been configured.In Progress
: the service instance is being created.Maintenance
: the service instance is being stopped, started, restarted or scaled.Running
: the service instance is running.Stopped
: the service instance is stopped.Terminating
: the service instance is being deleted.
-
subnet(optional):
string
Applicable only in Oracle Cloud Infrastructure regions.
Name of the subnet within the region where the Oracle Database Classic Cloud Service instance is provisioned.
-
subscriptionType(optional):
string
The billing frequency of the service instance; either
MONTHLY
orHOURLY
. -
timezone(optional):
string
The time zone of the operating system.
- total_shared_storage(optional): integer
-
useHighPerformanceStorage(optional):
boolean
Indicates whether the service instance was provisioned with high performance storage.
-
version(optional):
string
The Oracle Database version on the service instance.
Examples
The following example shows how to view detailed information about a Database Classic Cloud Service instance by submitting a GET request on the REST endpoint using cURL.
This example uses a traditional cloud account, so the {identityDomainId}
path parameter and the X-ID-TENANT-NAME
header parameter are set to the account's domain name, which is usexample
. The service instance is db12c-xp-rac
and the Oracle Cloud user name of the user making the call is dbcsadmin
.
cURL Command
$ curl --include --request GET \
--user dbcsadmin:password \
--header "X-ID-TENANT-NAME:usexample" \
https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances/usexample/db12c-xp-rac
HTTP Status Code and Response Headers
HTTP/1.1 200 OK Date: date-and-time-stamp Server: Oracle-Application-Server-11g Content-Length: 1890 X-ORACLE-DMS-ECID: id-string X-ORACLE-DMS-ECID: id-string X-Frame-Options: DENY Service-URI: https://dbaas.oraclecloud.com:443/paas/service/dbcs/api/v1.1/instances/usexample/db12c-xp-rac Vary: Accept-Encoding,User-Agent Content-Language: en Content-Type: application/json
Response Body
{ "service_name": "db12c-xp-rac", "version": "12.1.0.2", "status": "Running", "description": "Example service instance", "identity_domain": "usexample", "creation_time": "Tue Jun 28 23:52:45 UTC 2016", "last_modified_time": "Tue Jun 28 23:52:45 UTC 2016", "created_by": "dbcsadmin", "sm_plugin_version": "16.2.5-125", "backup_supported_version": "16.1.5", "service_uri": "https:\/\/dbaas.oraclecloud.com:443\/paas\/service\/dbcs\/api\/v1.1\/instances\/usexample\/db12c-xp-rac", "num_nodes": 2, "level": "PAAS", "edition": "EE_EP", "shape": "oc4", "subscriptionType": "MONTHLY", "creation_job_id": "5495118", "num_ip_reservations": 2, "backup_destination": "BOTH", "cloud_storage_container": "Storage-usexample\/dbcsbackups", "failover_database": false, "rac_database": true, "current_version": "12.1.0.2.160119", "sid": "ORCL", "pdbName": "PDB1", "listenerPort": 1521, "timezone": "UTC", "em_url": "https:\/\/129.144.23.112:5500\/em", "connect_descriptor": "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=db12c-xp-rac2)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=db12c-xp-rac1)(PORT=1521))(LOAD_BALANCE=ON)(FAILOVER=ON))(CONNECT_DATA=(SERVICE_NAME=PDB1.usexample.oraclecloud.internal)))", "connect_descriptor_with_public_ip": "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=129.144.23.176)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=129.144.23.112)(PORT=1521))(LOAD_BALANCE=ON)(FAILOVER=ON))(CONNECT_DATA=(SERVICE_NAME=PDB1.usexample.oraclecloud.internal)))", "apex_url": "https:\/\/129.144.23.112\/apex\/pdb1\/", "glassfish_url": "", "dbaasmonitor_url": "https:\/\/129.144.23.112\/dbaas_monitor", "charset": "AL32UTF8", "ncharset": "AL16UTF16", "total_shared_storage": 95232, "compute_site_name": "US006_Z25", "jaas_instances_using_service": "" }