Suspend ( Timeout, Ignore Sessions, Target Names )
/management/weblogic/{version}/domainRuntime/domainPartitionRuntimes/{name}/partitionLifeCycleRuntime/suspend
Begins the graceful transition of the partition from the RUNNING
state to the ADMIN
state on the specified targets.
Use the returned PartitionLifeCycleTaskRuntimeMBean value to check for completion
Applications are in admin mode. Inflight work is completed.
This method supports both asynchronous and best effort synchronous invocations. The behavior is controlled by the 'Prefer' header.
Request
- application/json
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
Prefer(optional): string
The 'Prefer' header parameter can be used to specify the preference on how this method runs. A value of 'respond-async' specifies a preference to submit the request and return immediately without waiting for completion. Alternatively a value of 'wait=#seconds' specifies a preference to wait for #seconds for method completion before returning. If the Prefer header is not specified or invalid, then a 300 second wait will be used.
-
X-Requested-By: string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain the following fields:
object
Arguments
-
ignoreSessions(optional):
boolean
drop inflight HTTP sessions during graceful suspend
-
targetNames(optional):
array Items
Title:
Items
the specific servers on which to suspend this partition
-
timeout(optional):
integer(int32)
Seconds to wait for the partition to transition gracefully. The partition automatically calls forceSuspend() after timeout.
array
Items
the specific servers on which to suspend this partition
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.
-
Operator: basic
Type:
basic
Description:A user in the Operator security role.
Response
- application/json
200 Response
Returns the following fields:
object
Return
-
return(optional):
array Partition Life Cycle Task Runtime Reference
Title:
Partition Life Cycle Task Runtime Reference
Contains the partition life cycle task runtime reference.Returns the action's result.
array
Partition Life Cycle Task Runtime Reference
Returns the action's result.