Get deployment procedure instances
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/deploymentProcedureInstances
Returns list of Deployment Procedure Instances for a given filtering criteria.By default, it shows the 20 most recently submitted deployment procedure instances.In emcli, it is equivalent to 'emcli get_instances'.
Request
Query Parameters
-
executionId: string
Returns instance using executionId
-
include: string
If include=total information about total number of returned records will be included in the response
-
limit: integer
Minimum Value:
1
Maximum Value:2000
For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. The api will return no more than the number specified as limit, but might not return that exact number.Default Value:20
-
name: string
Returns instance using name
-
owner: string
Returns instance using owner name
-
page: string
System generated page token of a page.
-
procedureType: string
Returns deployment procedure instances using procedure type
-
sort: string
Returns sorted deployment procedure instances.Allowed field is instance name. Allowed directions are DESC and ASC
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
List of Instances returned successfully
Root Schema : DeploymentProcedureInstanceCollection
Type:
object
This is the representation of list of Instances.
Show Source
-
items(required): array
items
The list of instances
Match All
This is the representation of list of Instances.
Show Source
-
object
CountLinks
This represents pagination properties like count and links.
Nested Schema : items
Type:
array
The list of instances
Show Source
-
Array of:
object ProcedureInstanceSummary
This is the representation of an Instance.
Nested Schema : CountLinks
Type:
object
This represents pagination properties like count and links.
Show Source
-
count: integer
This represents total number of elements in a page.Example:
20
-
links: object
links
Read Only:
true
The result set navigation links
Nested Schema : ProcedureInstanceSummary
Type:
object
This is the representation of an Instance.
Match All
This is the representation of an Instance.
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
Data which used while submitting deployment procedure
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
A link referencing a REST API.
Nested Schema : statusDetails
Type:
object
status details of a deployment procedure instance
Match All
status details of a deployment procedure instance
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
This is the representation of instance submission data.
This is the representation of instance submission data.
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
This is the representation of Procedure Target
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
This is the representation of Procedure Variable
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 : 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
Represents information of a phase and its steps
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.
Nested Schema : links
Type:
object
Read Only:
true
The result set navigation links
Show Source
-
next: object
Link
A link referencing a REST API.
-
previous: object
Link
A link referencing a REST API.
-
self: object
Link
A link referencing a REST API.
400 Response
Bad Request. The payload is null or missing some parameters
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
401 Response
Unauthorized. The user does not have permissions to perform the requested operation
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
500 Response
Internal Server Error. Exception in execution of REST API.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
503 Response
Service Unavailable. The server is unable to process the request.
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported