Shutdown ( Timeout, Ignore Sessions, Wait For All Sessions, Targets )
/management/weblogic/{version}/domainRuntime/domainPartitionRuntimes/{name}/partitionLifeCycleRuntime/shutdown
Begins to shut down this partition gracefully on the specified targets.
Use the returned PartitionLifeCycleTaskRuntimeMBean value to check for completion
Please use PartitionLifeCycleRuntimeMBean.shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions, String[] targetNames)
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:
objectArguments-
ignoreSessions(optional):
boolean
Set to
trueto ignore pending HTTP sessions during inflight work handling. -
targets(optional):
array Target References
Title:
Target ReferencesContains the array of target references.the specific targets on which to shut down this partition
-
timeout(optional):
integer(int32)
Number of seconds to wait before aborting inflight work and force shutting down the server.
-
waitForAllSessions(optional):
boolean
Set to
trueto wait for all HTTP sessions duirng inflight work handling;falseto wait for non-persisted HTTP sessions only.
arrayTarget Referencesthe specific targets on which to shut down this partition
-
Array of:
object Target Reference
Title:
Target ReferenceContains the target reference.
objectTarget Reference-
identity(optional):
array Identity
Title:
IdentityDOC TEAM TBD - describe an identity - it's a reference to another WLS REST resource.
arrayIdentity-
Admin: basic
Type:
basicDescription:A user in the Admin security role. -
Operator: basic
Type:
basicDescription:A user in the Operator security role.
Response
- application/json
200 Response
Returns the following fields:
objectReturn-
return(optional):
array Partition Life Cycle Task Runtime Reference
Title:
Partition Life Cycle Task Runtime ReferenceContains the partition life cycle task runtime reference.Returns the action's result.
arrayPartition Life Cycle Task Runtime ReferenceReturns the action's result.