Set IORM shares
/paas/service/dbcs/api/v1.1/instances/{identityDomainId}/{serviceId}/iorm
Request
- application/vnd.com.oracle.oracloud.provisioning.Service+json
-
identityDomainId: string
The value depends on the type of Exadata Cloud at Customer 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 is a character string beginning withidcs-
.
-
serviceId: string
Name of the Exadata Cloud at Customer database deployment.
-
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
The value depends on the type of Exadata Cloud at Customer 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 is a character string beginning withidcs-
.
For more information, see Security, Authentication and Authorization.
object
-
DBPlan(optional):
array DBPlan
Parameters for the IORM dbplan.
array
-
Array of:
object iorm-put-parameters
The parameters for setting IORM shares.
object
-
dbname(optional):
string
The database name, as contained in the
DBNAME
database initialization parameter. - share(optional): string
Response
200 Response
Examples
The following example shows how to set the Exadata I/O Resource Management (IORM) plan associated with an Exadata Cloud at Customer database deployment by submitting a PUT request on the REST endpoint using cURL.
In this example:
-
The identity domain associated with the request is
usexample
. -
The user name and password for the Oracle Cloud user performing the request are
serviceadmin
andPa55_word
. -
The name of the database deployment associated with the request is
db12c
. -
The default IORM share allocation is set to
5
. -
The IORM share allocation for the
DB12C
database is set to4
. -
The IORM share allocation for the
STRT
database is set to6
.
cURL Command
In the following cURL command, the request body is provided directly in the -d
option.
curl -i -X PUT --cacert ~/cacert.pem -u serviceadmin:Pa55_word -H "X-ID-TENANT-NAME:usexample" -H "Content-Type:application/json" -d '{"DBPlan":[{"dbname":"DB12C","share":"4"},{"dbname":"STRT","share":"6"},{"dbname":"default","share":"5"}]}' https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances/usexample/db12c/iorm
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 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: 005MPBz0^9G6uHFpR0H7id0003mK0002aZ x-oracle-dms-ecid: 005MPBz0^9G6uHFpR0H7id0003mK0002aZ access-control-allow-origin: * x-frame-options: DENY content-type: application/json vary: user-agent date: Tue, 19 Sep 2017 23:13:02 GMT content-length: 85
Response Body
IORM dbplan for Exadata System [exacs] in Identity Domain [usexample] set successfully