Modify This Partition
post
/management/lifecycle/{version}/runtimes/{runtime}/partitions/{partition}
The POST method updates the partition identified by the resource URL.
Roles
Admin
Request
Supported Media Types
- application/json
Path Parameters
-
partition: string
The name of the partition.
-
runtime: string
The name of the runtime.
-
version: string
The version of the WebLogic Lifecycle REST interface.
The request body must include a fully populated runtime partition model.
Root Schema : Runtime Partition
Type:
objectIncludes the name and ID of the partition on a physical runtime. It can also include arbitrary properties.
Show Source
-
id(optional):
string
The ID of the partition.
-
name(optional):
string
The name of the partition.
-
properties(optional):
array properties
Arbitrary properties passed to a plugin.
-
type(optional):
string
The type of the partition. (Not used, reserved for future use)
Nested Schema : properties
Type:
arrayArbitrary properties passed to a plugin.
Show Source
-
Array of:
object Property
Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : Property
Type:
objectHolds a named property, where the value can be a String, a confidential String, or a list of Properties.
Show Source
-
confidentialValue(optional):
string
Property Confidential String value.
-
properties(optional):
array properties
Property Properties value.
-
values(optional):
array values
Property String values.
Nested Schema : properties
Type:
arrayProperty Properties value.
Show Source
-
Array of:
object Property
Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : values
Type:
arrayProperty String values.
Show Source
-
Array of:
object Property
Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Security
-
Admin: basic
Type:
basic
Response
200 Response
Examples
Updating a Partition
This example uses the POST method to update a specific partition.
Example Request
curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-d "{"properties" : [
{ "name" : "resourceGroups",
"properties" : [
{ "name" : "g1",
"properties" : [
{ "name" : "useDefaultTarget", "value" : "false" }
]}
]}
]}" \
-X POST http://localhost:7001/management/lifecycle/latest/runtimes/WLSRuntime/partitions/SpritePartition
Example Response
HTTP/1.1 200 OK
Response Body:
{}
Back to Top