Changed1
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-rest-api
Get Protection Group Folder Children
DescriptionGet information about Site Recovery Manager protection group folder children.
Request
URLURL
https://{api_host}//pairings/{pairing_id}/protection-management/inventory/{folder_id}/children
Path Parameters
Path Parameters
string
pairing_id
Required
The ID of a pairing between this Site Recovery Manager server and remote one.
string
folder_id
Required
ID of the protection group folder.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
ProtectionInventoryItemDrResponseList
of type application/json
Information about Site Recovery Manager protection group folder children.
{
"_meta": {
"errors": [
{
"code": "string",
"field": "string",
"message": "string"
}
],
"limit": 0,
"links": {
"next": {
"href": "string"
},
"previous": {
"href": "string"
},
"self": {
"href": "string"
}
},
"offset": 0,
"total": 0
},
"list": [
{
"id": "string",
"name": "string",
"parent": "string",
"path": "string",
"type": "FOLDER"
}
]
}
array of
ProtectionInventoryItem
list
Optional
Inventory object related to protection, such as folder or protection group.
Errors
ResponseError
400
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
401
Unauthorized - the client must authenticate itself to get the requested response
ResponseError
403
Forbidden - not sufficient access rights to fulfill the request
404
Not Found - server cannot find the requested in URL resource
ResponseError
500
Internal server error - unexpected condition prevents fulfilling the request
Code Samples
PowerCLI Client SDK Example
Invoke-SrmGetProtectionGroupFolderChildren -pairingId "MypairingId" -folderId "MyfolderId"
cURL Command
curl https://{api_host}/pairings/{pairing_id}/protection-management/inventory/{folder_id}/children
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-dr-permissions:
permissions:
- System.View
- System.Read
x-dr-remote-site-connectivity-contract:
not-authenticated: FULL_DATA
server-down: FULL_DATA
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-rest-api
What's changed in latest?
INTRODUCED
On This Page
Protection Operations
post
post
post
post
Create Protection Group Folder
Introduced
delete
delete
Delete Protection Group Folder
Introduced
get
get
get
get
get
get
Get Protection Group Folder
Introduced
get
Get Protection Group Folder Children
Introduced
get
Get Protection Group Folders
Introduced
post
Move Protection Group Folder
Introduced
post
delete
post
post
Rename Protection Group Folder
Introduced