post /cloudextensions
Create Cloud Extension (createCloudExtension)
Creating a Cloud Extension deploys a set of Velostrata Cloud Edge nodes. To allow flexibility in deployment and enable you to deploy a CE with a size that corresponds to the intended activity, you can select whether to create a small or a large CE.
Consumes
This API call consumes the following media types via the Content-Type request header:
- application/json
Request body
createCloudExtensionRequest CreateCloudExtensionRequest (required)
Body Parameter — Create Cloud Extension request
CreateCloudExtensionRequest
|
_type |
String GCP Cloud Extension Enum: CreateGcpCloudExtensionRequest |
CreateGcpCloudExtensionRequest
|
cloudCredentials |
CredentialsId
|
||||||||
|
ceSize (optional) |
CeSize
|
||||||||
|
dataCenterId |
String vSphere Data Center ID |
||||||||
|
name |
String Cloud Extension name |
||||||||
|
workloadDefaultSubnetId |
String Default network subnet for workload VMs |
||||||||
|
licenseType |
LicenseType License Type - VelostrataIssued or Marketplace. |
||||||||
|
_type |
String Enum: CreateGcpCloudExtensionRequest |
||||||||
|
networkName (optional) |
StringVPC network |
||||||||
|
primaryFrontendZone |
String Zone for primary Cloud Edge node (Node A) |
||||||||
|
secondaryFrontendZone |
String Zone for secondary Cloud Edge node (Node B) |
||||||||
|
primaryFrontendSubnetId |
String Network subnet for primary Cloud Edge node (Node A) |
||||||||
|
secondaryFrontendSubnetId |
String Network subnet for secondary Cloud Edge node (Node B) |
||||||||
|
infraNetworkTags (optional) |
array[String] Network tags for Frontends |
||||||||
|
workloadDefaultNetworkTags (optional) |
array[String] Network tags that are assigned by default to the workloads if no other tags are specified |
||||||||
|
proxy (optional) |
ProxyConfiguration
|
Return type
TaskId
|
value (optional) |
String Entity ID |
|
_type |
String Task ID Enum: TaskId |
Example data
Content-Type: application/json
{
"_type": "CreateGcpCloudExtensionRequest",
"cloudCredentials": {
"value": "gcp_datacenter-1_2345678901_ABC",
"_type": "CredentialsId"
},
"ceSize": "Small",
"dataCenterId": "datacenter-1",
"name": "datacenter-1_2345678901_DEF"",
"workloadDefaultSubnetId": "https://www.googleapis.com/compute/v1/projects/velos/regions/europe-west1/subnetworks/default",
"licenseType": "VelostrataIssued",
"networkName": "https://www.googleapis.com/compute/v1/projects/velos/global/networks/network",
"primaryFrontendZone": "europe-west1-d",
"secondaryFrontendZone": "europe-west1-d",
"primaryFrontendSubnetId": "https://www.googleapis.com/compute/v1/projects/velos/regions/europe-west1/subnetworks/subnet",
"secondaryFrontendSubnetId": "https://www.googleapis.com/compute/v1/projects/velos/regions/europe-west1/subnetworks/subnet",
"infraNetworkTags": ["tag"],
"workloadDefaultNetworkTags": ["velostrata"],
"serviceAccount": "velosdev1@velos.iam.serviceaccount.com",
}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
- application/json
Responses
201
Created TaskId
|
value (optional) |
String Entity ID |
|
_type |
String Task ID Enum: TaskId |
Default
Error ErrorInfo
|
errorCode (optional) |
String |
|
url(optional) |
String |
|
message (optional) |
String |