Get Datastore Group

Get Datastore Group

A group of replicated datastores. A datastore group represents a minimal set of datastores that must be protected and recovered together. The rules for combining datastores are:

  • Datastores are backed by storage devices from the same consistency group;
  • Virtual machine spans multiple datastores;
  • Two virtual machines on two different datastores share an RDM device.
For a non-Array-Based Replication protection group, this will return an empty response.
Request
URI
GET
https://{api_host}/pairings/{pairing_id}/protection-management/groups/{group_id}/datastore-groups/{datastore_group_id}
COPY
Path Parameters
string
pairing_id
Required

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

string
group_id
Required

The ID of a protection group defined within current pairing

string
datastore_group_id
Required

The ID of a datastore group.

Query Parameters
boolean
include_vms_info
Optional

If you want VMs info, this will lead to slower and bigger API response.


Authentication
This operation uses the following authentication methods.
Responses
200

Information of a datastore group related to an Array-Based Replication protection group.

Returns DatastoreGroupInfoDrResponseEntity of type(s) application/json
This response body class contains all of the following: DatastoreGroupInfo
{
    "id": "string",
    "array_pair": "string",
    "datastores": [
        {
            "id": "string",
            "name": "string",
            "issue_type": "string",
            "conflict_protection_group": "string",
            "conflict_protection_group_name": "string",
            "capacity_details": {
                "total_capacity": 0,
                "used_space": 0
            }
        }
    ],
    "vm_infos": [
        {
            "id": "string",
            "name": "string",
            "template": false,
            "inside_vapp": false,
            "datastores": [
                "string"
            ],
            "protection_status": "string",
            "protection_issues": [
                {
                    "type": "string",
                    "datastore_name": "string",
                    "device_id": 0,
                    "disk_key": 0,
                    "datastore": "string"
                }
            ]
        }
    ],
    "potential_vm_to_add_infos": [
        {
            "id": "string",
            "name": "string",
            "template": false,
            "inside_vapp": false,
            "datastores": [
                "string"
            ],
            "protection_status": "string",
            "protection_issues": [
                {
                    "type": "string",
                    "datastore_name": "string",
                    "device_id": 0,
                    "disk_key": 0,
                    "datastore": "string"
                }
            ]
        }
    ],
    "rdm_keys": [
        {
            "id": "string",
            "name": "string",
            "issue_type": "string"
        }
    ],
    "status": "string",
    "protection_groups": [
        "string"
    ],
    "_meta": {
        "errors": [
            {
                "code": "string",
                "message": "string",
                "field": "string"
            }
        ]
    }
}
_meta
Optional

_meta


400

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

Returns ResponseError of type(s) application/json
{
    "error_code": "string",
    "message": "string",
    "op_id": "string"
}
string
error_code
Optional

error_code

string
message
Optional

message

string As uuid As uuid
op_id
Optional

op_id


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
{
    "error_code": "string",
    "message": "string",
    "op_id": "string"
}
string
error_code
Optional

error_code

string
message
Optional

message

string As uuid As uuid
op_id
Optional

op_id


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
{
    "error_code": "string",
    "message": "string",
    "op_id": "string"
}
string
error_code
Optional

error_code

string
message
Optional

message

string As uuid As uuid
op_id
Optional

op_id