Get details about a deployment procedure instance
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/deploymentProcedureInstances/{deploymentProcedureInstanceId}
Get deployment procedure instance details. We can obatain 'get_instance_data' and 'get_instance_status' using above api.
Request
Path Parameters
-
deploymentProcedureInstanceId(required): string
Id of an Instance.
Query Parameters
-
exclude: string
if exclude=executionId or owner, information about executionId or owner is excluded from the response
-
include: string
If include=total information about total number of returned records will be included in the response
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
Instance returned successfully
Root Schema : DeploymentProcedureInstance
Type:
object
It represents a Procedure Instance
Match All
Show Source
-
object
DeploymentProcedureInstanceDetails
This is the representation of an Instance.
Nested Schema : DeploymentProcedureInstanceDetails
Type:
object
This is the representation of an Instance.
Show Source
-
executionId: string
Execution Id of an InstanceExample:
CC67DA5B8AD02268E053E00F4B64265F
-
id: string
Unique identifier for an InstanceExample:
B0FBBE587FD201E2E0537013790A7D03
-
instanceData: object
instanceData
Data which used while submitting deployment procedure
-
links: object
links
Instance related links
-
name: string
Name of an InstanceExample:
HOST_COMMAND
-
owner: string
Owner of an InstanceExample:
SYSMAN
-
procedureType: string
Type of a ProcedureExample:
UserDefined
-
status: string
Status of an InstanceExample:
Succeeded
-
statusDetails: object
statusDetails
status details of a deployment procedure instance
Nested Schema : instanceData
Type:
object
Data which used while submitting deployment procedure
Match All
Show Source
-
object
allOf
InstanceData
This is the representation of instance submission data.
Nested Schema : links
Type:
object
Instance related links
Show Source
-
self: object
Link
Represents a link(could be self, previous or next)
Nested Schema : statusDetails
Type:
object
status details of a deployment procedure instance
Match All
Show Source
-
object
DeploymentProcedureInstanceStatusDetails
This is the representation of procedure instance status in details.
Nested Schema : InstanceData
Type:
object
This is the representation of instance submission data.
Match All
Show Source
-
array
DeploymentProcedureTargetList
Defining list of procedure targets
-
object
DeploymentProcedureVariableCollection
Collections of Procedure Variable
Nested Schema : DeploymentProcedureTargetList
Type:
array
Defining list of procedure targets
Show Source
Nested Schema : DeploymentProcedureVariableCollection
Type:
object
Collections of Procedure Variable
Show Source
-
items: array
items
The list of procedure variables
Nested Schema : items
Type:
Show Source
object
-
name: string
name of target typeExample:
host
-
targets: object
DeploymentProcedureTargetCollection
Collections of Procedure Target
Nested Schema : DeploymentProcedureTargetCollection
Type:
object
Collections of Procedure Target
Show Source
-
items: array
items
The list of targets
Nested Schema : items
Type:
array
The list of targets
Show Source
-
Array of:
object DeploymentProcedureTargetSummary
This is the representation of Procedure Target
Nested Schema : DeploymentProcedureTargetSummary
Type:
object
This is the representation of Procedure Target
Match All
Show Source
-
object
DeploymentProcedureTargetDetails
Defining Target for Deployment Procedure
Nested Schema : DeploymentProcedureTargetDetails
Type:
object
Defining Target for Deployment Procedure
Show Source
-
credentialReferences: array
CredentialReference
This is the representation of credential references.
-
targetName: string
Target NameExample:
host1.oracle.com
-
targetType: string
Target TypeExample:
host
Nested Schema : CredentialReference
Type:
array
This is the representation of credential references.
Show Source
Nested Schema : items
Type:
Show Source
object
-
credentialName: string
Represents credential nameExample:
EMGA
-
credentialType: string
Represents type of the credentialExample:
NAMED
-
owner: string
Represents owner of the credentialExample:
SYSMAN
-
usage: string
Represents credential usageExample:
defaultHostCred
Nested Schema : items
Type:
array
The list of procedure variables
Show Source
-
Array of:
object DeploymentProcedureVariableSummary
This is the representation of Procedure Variable
Nested Schema : DeploymentProcedureVariableSummary
Type:
object
This is the representation of Procedure Variable
Match All
Show Source
-
object
DeploymentProcedureVariableDetails
Defining Variable for Deployment Procedure
Nested Schema : DeploymentProcedureVariableDetails
Type:
object
Defining Variable for Deployment Procedure
Show Source
-
variableName: string
Displays Deployment Procedure varibale nameExample:
userId
-
variableValue: string
Displays Deployment Procedure varibale valueExample:
10001
Nested Schema : Link
Type:
object
Represents a link(could be self, previous or next)
Show Source
-
href: string
URL for LinkExample:
/em/api/<resources>?page=b2Zmc2V0OjA&limit=0
Nested Schema : DeploymentProcedureInstanceStatusDetails
Type:
object
This is the representation of procedure instance status in details.
Show Source
-
createdBy: string
Owner of an InstanceExample:
SYSMAN
-
dataId: string
Represents data guidExample:
CC186E3706C349BBE053E00F4B64AB8F
-
elapsedTime: string
elapsed time of an instanceExample:
8 seconds
-
errorHandling: string
Represents error handling
-
procedureId: string
Unique identifier for a procedureExample:
CC01BDC5DA734370E053E00F4B64B23D
-
status: string
Status of an InstanceExample:
FAILED
-
stepDetails: array
stepDetails
Represtents step details
Nested Schema : stepDetails
Type:
array
Represtents step details
Show Source
-
Array of:
object Phase
Represents information of a phase and its steps
Nested Schema : Phase
Type:
object
Represents information of a phase and its steps
Show Source
-
steps: array
steps
Represents step
Match All
Show Source
-
object
PhaseStepDetails
This is the representation of Phase Step.
Nested Schema : steps
Type:
array
Represents step
Show Source
-
Array of:
object StepDetails
This is the representation of Step.
Nested Schema : PhaseStepDetails
Type:
object
This is the representation of Phase Step.
Show Source
-
stepDetails: array
stepDetails
Represents step details
-
steps: object
StepDetails
This is the representation of Step.
Nested Schema : StepDetails
Type:
object
This is the representation of Step.
Show Source
-
errorMode: string
Represents mode of errorExample:
stop
-
id: string
Represents step idExample:
s1
-
isEnabled: boolean
Represents step whether it is enabled or notExample:
true
-
parentId: string
Represents parent guid.Example:
default_phase
-
stateDetails: object
StateDetails
This is the representation of State.
-
stepType: string
Represents type of the stepExample:
Host Command Step
-
timeCompleted: string
Represents completion time of the stepExample:
2021-09-16 07:05:48.0
-
timeStarted: string
Represents start time of the strpExample:
2021-09-16 07:05:44.0
-
timeUpdated: string
Represents last updated time of the stepExample:
2021-09-16 07:05:48.0
-
typeStep: string
Represents step typeExample:
Step
Nested Schema : StateDetails
Type:
object
This is the representation of State.
Show Source
-
id: string
Represents state idExample:
CC1871802C4343A3E053E00F4B640973
-
jobDetails: object
JobDetails
This is the representation of Job
-
parentId: string
Represents parent guidExample:
CC1871802C4243A3E053E00F4B640973
-
phaseDetails: object
PhaseDetails
This is the representation of phase
-
status: string
Represents state statusExample:
FAILED
-
timeCompleted: string
Represents completion time of the stateExample:
2021-09-16 07:05:48.0
-
timeStarted: string
Represents start time of the stateExample:
2021-09-16 07:05:44.0
-
timeUpdated: string
Represents last updated time of the stateExample:
2021-09-16 07:05:48.0
Nested Schema : JobDetails
Type:
object
This is the representation of Job
Show Source
-
jobDetails: object
JobStep
This is the representation of job step
-
jobExecutionId: string
Represents job execution idExample:
CC1871802C4643A3E053E00F4B640973
-
jobId: string
Represents job idExample:
CC1871802C4443A3E053E00F4B640973
-
jobName: string
Represents job nameExample:
S1_CC1871802C4343A3E053E00F4B640973
-
jobStatus: string
Represents job statusExample:
Aborted
-
jobType: string
Represents job typeExample:
HostCommand
-
timeStarted: string
Represents job start timeExample:
2021-09-16 07:05:46 GMT
Nested Schema : PhaseDetails
Type:
object
This is the representation of phase
Show Source
-
targetName: string
Represents target nameExample:
host1.us.oracle.com
-
targetType: string
Represents target typeExample:
host
Nested Schema : JobStep
Type:
object
This is the representation of job step
Show Source
-
command: string
Represents job commandExample:
remoteOp
-
name: string
Represents job nameExample:
SS_RemoteOp
-
output: string
Represents job output
-
status: string
Represent job statusExample:
Aborted
Nested Schema : stepDetails
Type:
array
Represents step details
Show Source
-
Array of:
object StepDetails
This is the representation of Step.
400 Response
Bad Request. The payload is null or missing some parameters
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
401 Response
Unauthorized. The user does not have permissions to perform the requested operation
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
404 Response
Not Found. The requested REST API URL is not found.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
500 Response
Internal Server Error. Exception in execution of REST API.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
503 Response
Service Unavailable. The server is unable to process the request.
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string