Sla Profiles
List all replication SLA profiles
Request
URI
GET
https://{api_host}/sla-profiles
COPY
Query Parameters
string
site
Optional
The local or remote site of the SLA profile(s). When omitted, the local site is assumed.
site example
site1
Header Parameters
string
operationID
Optional
Operation ID for correlating logs across multiple services
Responses
200
OK
[
{
"dataConnectionType": "string",
"description": "Some description.",
"displayName": "Bronze",
"id": "895f916a-6c11-4366-965d-19e9c75f7c9e",
"initialSyncTime": 0,
"orgs": 2,
"quiesced": true,
"replications": 1,
"retentionPolicy": {
"rules": [
{
"numberOfInstances": 3,
"distance": 60
}
]
},
"rpo": 120
}
]
401
The returned error codes include (but are not limited to): NotAuthenticated
Returns ApiError of type(s) application/vnd.vmware.h4-v4.7+json;charset=UTF-8
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional
Positional arguments.
string
code
Optional
Specific error code.
string
msg
Optional
Detailed error message.
string
stacktrace
Optional
Exception stacktrace.
500
The returned error codes include (but are not limited to): GeneralServerFailure
Returns ApiError of type(s) application/vnd.vmware.h4-v4.7+json;charset=UTF-8
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional
Positional arguments.
string
code
Optional
Specific error code.
string
msg
Optional
Detailed error message.
string
stacktrace
Optional
Exception stacktrace.
On This Page
Sla Profiles Operations
POST
Assign Sla Profile
GET
Sla Profiles
DELETE
Unassign Sla Profile