Create Key Pair
Create a new KeyPair
Request
URI
POST
https://{api_host}/iaas-proxy-provider/api/keyPairs
COPY
Request Body
The key pair to be created.
KeyPair of type(s) application/json
Required
{
"secretKey": "string",
"name": "string",
"id": 0,
"computeResourceId": "string"
}
string
secretKey
Optional
secretKey
string
name
Required
name
integer As int32 As int32
id
Optional
id
string
computeResourceId
Required
computeResourceId
Responses
200
successful operation
Returns KeyPair of type(s) */*
{
"secretKey": "string",
"name": "string",
"id": 0,
"computeResourceId": "string"
}
string
secretKey
Optional
secretKey
string
name
Required
name
integer As int32 As int32
id
Optional
id
string
computeResourceId
Required
computeResourceId
201
The key pair is created.
Returns KeyPair of type(s) */*
{
"secretKey": "string",
"name": "string",
"id": 0,
"computeResourceId": "string"
}
string
secretKey
Optional
secretKey
string
name
Required
name
integer As int32 As int32
id
Optional
id
string
computeResourceId
Required
computeResourceId
Key Pair Operations
POST
Create Key Pair
DELETE
Delete Key Pair
GET
Get Key Pair
GET
List Key Pair
PUT
Update Key Pair