Apply Offline License Key

Apply Offline License Key

Apply offline VMware Live Site Recovery key, retrieved from VMware Live Recovery Cloud Service. VMware Live Site Recovery will be licensed to use only the number of VMs specified in the license key. To retrieve the offline license key you must generate activation request key and then use it in VMware Live Recovery Cloud Service.

Request
URI
POST
https://{api_host}/pairings/{pairing_id}/srms/{srm_id}/licensing/offline-key
COPY
Path Parameters
string
pairing_id
Required

The ID of a pairing between this Site Recovery Manager server and remote one.

string
srm_id
Required

ID of a Site Recovery Manager server.


Request Body

Offline license key.

StringDrData of type(s) application/json
Required
{
    "value": "string"
}
string
value
Optional

The string representation of a data.

Authentication
This operation uses the following authentication methods.
Responses
202

A task to track the progress of the operation.

Returns TaskDrResponseEntity of type(s) application/json
This response body class contains all of the following: InlineTaskDrResponseEntity0 , InlineTaskDrResponseEntity1
"TaskDrResponseEntity Object"

400

Bad request - the server cannot understand the request due to invalid syntax or invalid request body content

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


401

Unauthorized - the client must authenticate itself to get the requested response

Operation doesn't return any data structure

403

Forbidden - not sufficient access rights to fulfill the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


404

Not Found - server cannot find the requested in URL resource

Operation doesn't return any data structure

500

Internal server error - unexpected condition prevents fulfilling the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/pairings/{pairing_id}/srms/{srm_id}/licensing/offline-key