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
Path Parameters
Body ()
The request body must include a fully populated runtime partition model.
Root Schema : Runtime Partition
Type: object
Includes the name and ID of the partition on a physical runtime. It can also include arbitrary properties.
Show Source
Nested Schema : properties
Type: array
Arbitrary properties passed to a plugin.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : Property
Type: object
Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Show Source
Nested Schema : properties
Type: array
Property Properties value.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : values
Type: array
Property String values.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Security
Back to Top

Response

200 Response

Back to Top

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