Snapservice. Sites. Licenses List
List the licenses for the specified site. VMware live recovery licenses are always associated with the peer site. The result for local site will not include the VMware live recovery license information.
VSAN replication features are not supported when the peer site does not have any VMware live recovery licenses available.
This operation was added in vSphere API 9.0.0.0.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires
VsanDP.Replication.com.vmware.vsan.snapshotservice.Site.View
.
Identifier of the site.
The parameter must be an identifier for the resource type: com.vmware.snapservice.site
.
Information about the licenses for the specified site.
"Snapservice.Sites.Licenses.ListResult Object"
If the caller is not authenticated.
"Vapi.Std.Errors.Unauthenticated Object"
If the caller is not authorized to perform the operation.
"Vapi.Std.Errors.Unauthorized Object"
If there is no site associated with site in the system.
"Vapi.Std.Errors.NotFound Object"
If there is unknown internal error.
"Vapi.Std.Errors.Error Object"
if the system is unable to communicate with a service to complete the request.
"Vapi.Std.Errors.ServiceUnavailable Object"
curl -H 'Authorization: <value>' https://{api_host}/api/snapservice/sites/{site}/licenses