LogicalServerFarm create request
Description
Creates a LogicalServerFarm object
API stability classification
API overview
HTTP | URI | Return | Return type |
---|---|---|---|
POST | csm/LogicalServerFarm | void | Not applicable |
HTTP request message
Query string parameters
This API does not use query string parameters.
Request message headers
This API uses only common headers listed in HTTP-request-and-response-headers.
Request message body
This API uses the following objects in the request message body JSON.
Top-level objectsThe [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
Name | Type | Multi- | Description |
---|---|---|---|
callbackURL | String | 0..1 | URL to call when the operation finishes |
postCallout | String | 0..1 | Identifier of a callout to run after the operation executes |
preCallout | String | 0..1 | Identifier of a callout to run before the operation executes |
timeout | Integer | 0..1 | Timeout setting. For more information about using the timeout, see Synchronous-and-asynchronous-operations. Timeout values:
|
operationParams | 1 | Array of input parameters. The following table contains the list of input parameters. For information about setting up the input parameters, see Passing-input-parameters-with-an-API-request. |
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
Input parameters to include in operationParamsThe [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
Name | Type | Multi- | Description |
---|---|---|---|
deploymentParameterValue | 0..* | List of deployment parameter values | |
logicalServerFarm | LogicalServerFarm | 1 | The LogicalServerFarm to create. |
HTTP response message
Response message headers
This API uses only common headers listed in HTTP-request-and-response-headers.
Response message body
The response message body contains a Task object.
Example
The following example shows an HTTP request that creates a logical server farm:
"clientLogicalLoadBalancerInterface" : "/logicalloadbalancerinterface/2b1d25ca-ce9a-485a-a3f1-1742dfb13645",
"clientPortNumber" : 80,
"cloudClass" : "com.bmc.cloud.model.beans.LogicalServerFarm",
"frontEndProtocol" : 6,
"guid" : "c08e5e34-cd32-4d78-9d7a-fc4ea0eeaa96",
"isEnabled" : false,
"logicalLoadBalancer" : "/logicalloadbalancer/4d6dc4e5-53f5-4bfd-80e2-8e72755a6575",
"name" : "Test_LogicalServerFarm",
"serverLogicalLoadBalancerInterface" : [ "/logicalloadbalancerinterface/929fe8c2-c2d5-4bda-b11a-9e5dbcd53d69" ],
"serverLogicalLoadBalancerInterfaceObject" : [ {
"cloudClass" : "com.bmc.cloud.model.beans.LogicalLoadBalancerInterface",
"guid" : "929fe8c2-c2d5-4bda-b11a-9e5dbcd53d69",
"isTemplate" : false,
"logicalNetwork" : [ "/logicalnetwork/abd0aeb6-032d-4cfc-a8f1-a722a0dd6f74" ]
} ],
"clientLogicalLoadBalancerInterfaceObject" : {
"cloudClass" : "com.bmc.cloud.model.beans.LogicalLoadBalancerInterface",
"guid" : "2b1d25ca-ce9a-485a-a3f1-1742dfb13645",
"isTemplate" : false,
"logicalNetwork" : [ "/logicalnetwork/abd0aeb6-032d-4cfc-a8f1-a722a0dd6f74" ]
}
}