Dissociate Two Partitions
post
/management/lifecycle/{version}/environments/{environment}/dissociatePartitions
The POST method dissociates two partitions.
Roles
Admin
Request
Supported Media Types
- application/json
Path Parameters
-
environment: string
The name of the environment.
-
version: string
The version of the WebLogic Lifecycle REST interface.
The request body must include a fully populated dissociate partitions model.
Root Schema : Dissociate Partitions
Type:
objectIncludes the names of two partitions to dissociate and arbitrary properties.
Show Source
-
partition1Name(optional):
string
The name of one of the partitions to dissociate.
-
partition1RuntimeName(optional):
string
The runtime name of one of the partitions to dissociate.
-
partition2Name(optional):
string
The name of the other partition to dissociate.
-
partition2RuntimeName(optional):
string
The runtime name of the other partition to dissociate.
-
properties(optional):
array properties
Arbitrary properties. These may include jdbcSystemResource and jdbcSystemResourceOverride properties.
Nested Schema : properties
Type:
arrayArbitrary properties. These may include jdbcSystemResource and jdbcSystemResourceOverride properties.
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
Dissociating WLS partition and PDB
This example uses the POST method to dissociate two partitions.
Example Request
curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-d '{
"partition1Name": "SpritePartition",
"partition1RuntimeName": "WLSRuntime",
"partition2Name": "SpritePDB",
"partition2RuntimeName": "DBRuntime",
"properties":[
{"name": "jdbcSystemResource", "properties" : [
{"name": "resourceGroups", "properties": [
{"name": "g1", "value": "SpritePDB"}]}]},
{"name": "jdbcSystemResourceOverride", "value": "SpritePDB" }]}' \
-X POST http://localhost:7001/management/lifecycle/latest/environments/sprite/dissociatePartitions
Example Response
HTTP/1.1 200 OK
Response Body:
{}
Back to Top