Submit deployment procedure
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/deploymentProcedures/{deploymentProcedureId}/actions/submit
Submit Deployment Procedures provided in request body. In emcli, it is equivalent to 'submit_procedure'
Request
Path Parameters
-
deploymentProcedureId(required): string
Id of a Procedure.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Inputs for Deployment Procedure submission
Show Source
-
automaticRerunDelayInMinutes: number
Positive values set the delay between automatic rerun attempts,of the DP steps, the units of such delay are minutes.Example:
10
-
instanceName: string
Deployment Procedure Instance NameExample:
hostcommand-testsubmit
-
maxAutomaticRerunsCount: number
It determine the automatic rerun behaviour of the DP steps. Only failed or aborted DP steps are resubmitted or retried; successful DP steps are never rerun, regardless of these options' valuesExample:
5
-
notification: object
Notification
Status of the deployment procedure instance for which the end-users can choose to be notified.
-
schedule: object
Schedule
This represents a schedule object to schedule blackouts.
-
targetLists: array
DeploymentProcedureTargetList
Defining list of procedure targets
-
variables: object
DeploymentProcedureVariableCollection
Collections of Procedure Variable
Nested Schema : Notification
Type:
object
Status of the deployment procedure instance for which the end-users can choose to be notified.
Show Source
-
value: string
The status of the procedure.All available status are scheduled, running, action required, succeeded, problems, suspended
Nested Schema : Schedule
Type:
object
This represents a schedule object to schedule blackouts.
Show Source
-
repeat: object
Repeat
Describes repetition of a blackout.
-
timeToStart: string
Start time of the blackout with timezone. Timestamps are with minute accuracy. Timezones can be given as offset (+01:00) or as zone (Europe/Berlin).Example:
2023-08-24T14:54-02:00
Match One Schema
Show Source
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 : Repeat
Type:
object
Describes repetition of a blackout.
Show Source
-
timeToEndRepeat: string
End time of the repetition with timezone. Timestamps are with minute accuracy.Example:
2023-08-24T14:54-02:00
Match One Schema
Show Source
-
object
DaysOfYear
List of days of year.
-
object
DaysOfMonth
List of days of month in range 1-31 or -1 for last day of the month.
-
object
DaysOfWeek
List of days of week.
-
object
EveryNWeeks
Repeat every n weeks.
-
object
EveryNDays
Repeat every n days.
-
object
EveryNHours
Repeat every n hours.
-
object
EveryNMinutes
Repeat every n minutes, minimal value is 2.
Nested Schema : TimeToEnd
Type:
object
An object specifying an end time with timezone. Timestamps are with minute accuracy. Timezones can be given as offset (+01:00) or as zone (Europe/Berlin).
Show Source
-
timeToEnd(required): string
An end timeExample:
2023-08-23T14:54+01:00
Nested Schema : Duration
Type:
object
A duration given in hours and minutes. At least one of durationHours and durationMinutes is required.
Show Source
-
durationHours: integer
Duration of the blackout in hours.Example:
2
-
durationMinutes: integer
Duration of the blackout in minutes.Example:
25
Nested Schema : DaysOfYear
Type:
object
List of days of year.
Show Source
-
daysOfYear: array
daysOfYear
List of days of the year.
Nested Schema : DaysOfMonth
Type:
object
List of days of month in range 1-31 or -1 for last day of the month.
Show Source
-
daysOfMonth: array
daysOfMonth
List of days of the month (1 based).
Nested Schema : DaysOfWeek
Type:
object
List of days of week.
Show Source
-
daysOfWeek: array
daysOfWeek
List of days of week (localized short names).
Nested Schema : EveryNWeeks
Type:
object
Repeat every n weeks.
Show Source
-
everyNWeeks: integer
Repeat interval in weeks.Example:
2
Nested Schema : EveryNDays
Type:
object
Repeat every n days.
Show Source
-
everyNDays: integer
Repeat interval in days, minimal value is 1.Example:
5
Nested Schema : EveryNHours
Type:
object
Repeat every n hours.
Show Source
-
everyNHours: integer
Repeat interval in hours.Example:
2
Nested Schema : EveryNMinutes
Type:
object
Repeat every n minutes, minimal value is 2.
Show Source
-
everyNMinutes: integer
Repeat interval in minutes.Example:
45
Nested Schema : items
Type:
Show Source
object
-
day: integer
Day in range 1-31 or -1 for last day of the month.
-
month: integer
Month in range of 1-12.
Nested Schema : daysOfMonth
Type:
array
List of days of the month (1 based).
Show Source
Example:
[
"1",
"15"
]
Nested Schema : daysOfWeek
Type:
array
List of days of week (localized short names).
Show Source
-
Array of:
string
Allowed Values:
[ "MO", "TU", "WE", "TH", "FR", "SA", "SU" ]
Example:
[
"MO",
"TH"
]
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
Response
Supported Media Types
- application/json
202 Response
A request to submit the deployment procedure was accepted
Headers
-
Location:
URL to get the status of submit Procedure action.
Root Schema : schema
Type:
Show Source
object
-
code: string
codeExample:
202
-
message: string
Rest Api message for submit procedure.Example:
A request to submit the deployment procedure was accepted
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
403 Response
Forbidden. The user is forbidden 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
404 Response
Not Found. The requested REST API URL is not found.
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