Create CSP Machine Instance

post/virtualization/v1beta1/csp-machine-instances

Create CSP Machine Instance

Securitybearer
Request
Request Body schema: application/json
required
accountId
string <uuid>

ID of the csp-account resource representing the cloud provider account.

CreateAWSMachineInstanceRequest (object) or CreateAzureMachineInstanceRequest (object)
cspType
string
Default: "AWS"

The cloud service provider type

Enum: "AWS" "AZURE"
keyPairName
string

Name of User's KeyPair, required for CSP Machine Instance login

name
string

Name of CSP machine instance provided by user

Responses
202

Accepted

400

Bad request

401

Unauthorized request

403

Forbidden

404

Not found

409

State Conflict

500

Internal / unexpected error

Request samples
application/json
{
  • "accountId": "a652f894-1cc6-52c2-9540-490671081fd6",
  • "cspMachineInstanceInfo": {
    },
  • "cspType": "AWS",
  • "keyPairName": "HPE_DSCC_KeyPair",
  • "name": "HPE_CSP_VM"
}
Response samples
application/json
{ }