Create working copy
post
/rhp-restapi/rhp/workingcopies
Creates a new working copy using an existing gold image
Request
Supported Media Types
- application/json
Header Parameters
-
Authorization: string
Base64 encoding of the user name and password of the user making the request. For more information, see Authentication for Fleet Patching and Provisioning.
Root Schema : AddWorkingCopyBody
Type:
Show Source
object
-
agpath(optional):
string
Read/write path for the persistent Oracle home path.
-
asmClientData(optional):
string
File that contains the ASM client data.
-
aupath(optional):
string
Read-only gold image path for the persistent Oracle home path.
-
auth(optional):
string
Use an authentication plugin to access the remote node.
-
authArgs(optional):
object authArgs
Additional Properties Allowed: additionalPropertiesAdditional properties for the selected authentication plugin.
-
cardinality(optional):
string
Cardinality for new server pool.
-
cdb(optional):
boolean
Default Value:
false
To create database as container database. -
client(optional):
string
Client cluster name
-
clusterManifest(optional):
string
Location of Cluster Manifest File.
-
clusterNodes(optional):
string
Comma-separated list of node information on which Oracle Clusterware will be provisioned.
-
datafileDestination(optional):
string
Data file destination location or ASM disk group name.
-
dbname(optional):
string
Name of database (DB_UNIQUE_NAME) to be provisioned.
-
dbtemplate(optional):
string
Absolute file path for the template file or relative path to the image home directory on Rapid Home Provisioning Server.
-
dbtype(optional):
string
Allowed Values:
[ "RAC", "RACONENODE", "SINGLE" ]
Type of database: Oracle RAC One Node or Oracle RAC or Single Instance. -
eval(optional):
boolean
Default Value:
false
Evaluate without executing the command. -
gnsClientData(optional):
string
File that contains the GNS client data.
-
ignorePrereq(optional):
boolean
Default Value:
false
To ignore the CVU pre-requisite checks. -
isfixup(optional):
boolean
Default Value:
false
Execute fixup script. Valid only for Grid Infrastructure provisioning. -
newpool(optional):
string
Server pool name for pool to be created.
-
node(optional):
string
Comma-separated list of nodes on which database will be created
-
numberOfPDBs(optional):
integer(int32)
Number of PDBs to be created.
-
oracleBase(optional):
string
ORACLE_BASE path for provisioning Oracle database home or Oracle Grid Infrastructure home.
-
path(optional):
string
Absolute path location of the software home to be imported (For database images, this will be the ORACLE_HOME).
-
pdbName(optional):
string
The pdbName prefix if one or more PDBs need to be created.
-
root(optional):
boolean
Default Value:
false
Use root credentials to access the remote node. -
schedule(optional):
string
Preferred time to execute the operation, in ISO-8601 format. For example: 2016-12-21T19:13:17+05.
-
serverpool(optional):
string
Comma-separated list of existing server pool names.
-
setupSSH(optional):
boolean
Default Value:
false
sets up passwordless SSH user equivalence on the remote nodes for the provisioning user. -
storagetype(optional):
string
Allowed Values:
[ "NFS", "LOCAL", "RHP_MANAGED" ]
Type of storage for the home. -
sudoPath(optional):
string
location of sudo binary.
-
sudoUser(optional):
string
perform super user operations as sudo user name.
-
superUserPasswd(optional):
string
The password for the super user account.
-
targetnode(optional):
string
Node on which operation needs to be executed
-
user(optional):
string
Name of the user for whom the software home is being provisioned.
Nested Schema : authArgs
Type:
object
Additional Properties Allowed
Show Source
Additional properties for the selected authentication plugin.
Security
-
basicAuthentication: basic
Type:
basic
Response
Supported Media Types
- application/json
202 Response
Accepted. A JSON object containing job resource details of the accepted operation to obtain status and output of the progress.
Headers
-
Location: string
URL to the job that will execute the operation
Nested Schema : singleResourceLinks
Type:
Show Source
object
-
href(optional):
string
The referenced hyperlink element provided in an absolute format.
-
rel(optional):
string
Allowed Values:
[ "self", "collection", "up", "describedBy" ]
Specify the type of relationship the link has with the described resource.
Nested Schema : collectionResourceLinks
Type:
Show Source
object
-
href(optional):
string
The referenced hyperlink element provided in an absolute format with the correct URL parameters.
-
rel(optional):
string
Allowed Values:
[ "next", "prev", "first", "last" ]
Specify the type of relationship the link has with the described resource.
400 Response
Bad Request. A JSON object containing error details of the issue found while parsing a parameter value or name.
Root Schema : errorResource
Type:
Show Source
object
-
errorCode(optional):
string
Application specific error code, related to the error message shown at tittle.
-
errorDetails(optional):
array errorDetails
If multiple errors are reported they can be organized in a hierarchical structure in this array.
-
errorPath(optional):
string
XPath or JSON path to indicate where the error occurs.
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
status(optional):
integer
HTTP status code.
-
title(optional):
string
Summary error message.
-
type(optional):
string
Link to HTTP error code page.
Nested Schema : errorDetails
Type:
array
If multiple errors are reported they can be organized in a hierarchical structure in this array.
Show Source
Default Response
Unexpected error. A JSON object containing error details of the issue while executing the operation.
Root Schema : errorResource
Type:
Show Source
object
-
errorCode(optional):
string
Application specific error code, related to the error message shown at tittle.
-
errorDetails(optional):
array errorDetails
If multiple errors are reported they can be organized in a hierarchical structure in this array.
-
errorPath(optional):
string
XPath or JSON path to indicate where the error occurs.
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
status(optional):
integer
HTTP status code.
-
title(optional):
string
Summary error message.
-
type(optional):
string
Link to HTTP error code page.
Nested Schema : errorDetails
Type:
array
If multiple errors are reported they can be organized in a hierarchical structure in this array.
Show Source