View the Status of an Operation

get

/paas/service/dbcs/api/v1.1/instances/{identityDomainId}/status/{requestName}/job/{jobId}

Returns the status of an operation on Exadata Cloud Service.

Request

Path Parameters
  • The value depends on the type of Exadata Cloud Service account that is used to make the request:

    • For a Traditional Cloud Account, specify the Identity Domain Name that is associated with the service.

    • For a Cloud Account with Identity Cloud Service, specify the Identity Service Id that is associated with the service, which has the format idcs-letters-and-numbers.

  • The Job ID for the operation.
  • Name of the request for which you want to view status.

    Valid values include:

Header Parameters
Back to Top

Response

Supported Media Types

200 Response

OK. See Status Codes for information about other possible HTTP status codes.
Body ()
Root Schema : jobstatus-response
Type: object
The response body contains information about the status of the operation.
Show Source
Nested Schema : stopstart-postrequest
Type: object
The request body defines the details of the compute node lifecycle request. Bold indicates a required value.
Show Source
Back to Top

Examples

The following example shows how to view status information about a request to restart a compute node associated with Exadata Cloud Service using cURL.

In this example, the identity domain is usexample and the Oracle Cloud user name and password are serviceadmin and Pa55_word. The job number for the restart request is 12209188.

cURL Command

curl -i -X GET --cacert ~/cacert.pem -u serviceadmin:Pa55_word -H "X-ID-TENANT-NAME:usexample"  https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances/usexample/status/control/job/12209188

HTTP Status Code and Response Headers

HTTP/2.0 200
server: Oracle-Application-Server-11g
strict-transport-security: max-age=31536000;includeSubDomains
content-language: en
service-uri: https://dbaas.oraclecloud.com:443/paas/service/dbcs/api/v1.1/instances/usexample/db12c
access-control-allow-headers: Content-Type, api_key, Authorization, X-ID-TENANT-NAME, X-USER-IDENTITY-DOMAIN-NAME
access-control-allow-methods: GET, POST, DELETE, PUT, OPTIONS, HEAD
x-oracle-dms-ecid: 005KA79B7Bp6uHFpR05Eid0007dd0002LB
x-oracle-dms-ecid: 005KA79B7Bp6uHFpR05Eid0007dd0002LB
access-control-allow-origin: *
x-frame-options: DENY
content-type: application/json
vary: user-agent
date: Mon, 29 May 2017 04:04:38 GMT
content-length: 1413

Response Body

{
  "service_name": "db12c",
  "version": "12.1.0.2",
  "status": "Running",
  "description": "Example Exadata Cloud Service database deployment created using REST API",
  "identity_domain": "usexample",
  "creation_time": "2017-05-29T01:48:26.563+0000",
  "last_modified_time": "2017-05-29T01:48:26.543+0000",
  "created_by": "serviceadmin",
  "sm_plugin_version": "17.2.3-539",
  "tools_version": "17.2.3-539",
  "backup_supported_version": "16.1.5",
  "service_uri": "https:\/\/dbaas.oraclecloud.com:443\/paas\/service\/dbcs\/api\/v1.1\/instances\/usexample\/db12c",
  "database_id": "0",
  "message": [
    "VM [node01.us2.oraclecloud.com] of Database Cloud Service [db12c] is being stopped...",
    "VM [node01.us2.oraclecloud.com] of Database Cloud Service [usexample::db12c] has been stopped."
  ],
  "job_start_date": "Mon May 29 04:01:17 GMT 2017",
  "job_end_date": "Mon May 29 04:04:18 GMT 2017",
  "job_status": "Succeeded",
  "job_operation": "stop-exadata-service",
  "job_request_params": {
    "exa-unit-id": "161",
    "tenant": "usexample",
    "operationName": "stop-exadata-service",
    "serviceInstance": "db12c",
    "serviceVersion": "12.1.0.2",
    "service-vm-name": "node01.us2.oraclecloud.com",
    "computeResourceTimeout": "60",
    "serviceType": "dbaas",
    "lifecycleState": "STOP",
    "vmName": "node01.us2.oraclecloud.com",
    "namespace": "dbaas"
  }
}
Back to Top