...
Description | Used to deploy a partition in Apache Stratos |
URL | admin/policy/deployment/partition |
HTTP Method | POST |
Request/Response Format | application/json |
Sample request payload
Excerpt |
---|
{
"id": "P1",
"provider": "ec2",
"property": [
{
"name": "region",
"value": "ap-southeast-1"
},
{
"name": "zone",
"value": "ap-southeast-1a"
}
]
}
} |
Parameter definitionParameter | Description | Required | Default value | Example Value |
---|
id | ID corresponding to the partition. This should be a unique value. | yes | no | P1 | provider | The name of the IaaS provider | yes | no | ec2, openstack,vcloud | property | The IaaS provider properties are listed as name value pairs. | In any IaaS region property is required. | no | EC2 - region , zone and region Openstack - region , host and zone |
|
Example
Use case: Add a partition file. The example request is as follows:
...