Add Resources to a ZORG
Note: Only the VMs which are in the resource pool (vCenter deployment) or in a vCD organization (vCD deployment) are eligable for protection within the ZORG.
METHOD | URL |
---|---|
POST | https://zcm_ip:port/v1/zorgs/{zorgidentifier}/resources |
Where:
zcm_ip | The IP address of the Zerto Cloud Manager where the API is run. |
port | The port to access the Zerto Cloud Manager. The default port is 9989. |
zorgidentifier | The identifier of the ZORG to which a resource is added. |
Request
The following is an example request Json body.
[{
"Identifier": "urn:vcloud:org:0f36cfaf-c237-4b3e-8d7c-6aca9c8903b0",
"Type": "VCDOrganization",
"MaskedName": "",
"MaxStorageGB": 0,
"MaxVms": 0
}]
PARAMETER | type | DESCRIPTION |
---|---|---|
Identifier | String | The unique internal identifier of the resource. |
Type | String | Resource type. |
MaskedName | String | Alternative name for the resource. |
MaxStorageGB | Number | Limit of the specific storage in GB. |
MaxVms | Number | Max number of virtual machines allowed in the resource pool. |
Response
The following is an example response Json body.
[{
"CloudSiteName": "String content",
"Identifier": "String content",
"Link": {
"href": "String content",
"identifier": "String content",
"rel": "String content",
"type": "String content"
},
"MaskedName": "String content",
"MaxStorageGB": 0,
"MaxVms": 0,
"OwnerVCDOrgName": "String content",
"ResourceName": "String content",
"SiteIdentifier": "String content",
"Type": "String content",
"VirtualizationSite": "String content"
}]
PARAMETER | DESCRIPTION |
---|---|
CloudSiteName | Name of the Zerto Virtual Manager site connected to the Zerto Cloud Manager. |
Identifier | The Identifier of the object. |
Link | Link information for the URL. |
href |
URL for API call(s) to the resource. |
identifier |
The unique internal identifier of the resource. |
rel |
Next path level for the API relative to the current path. |
type |
API interface type. |
MaskedName | Alternative name for the resource. |
MaxStorageGB | Limit of the specific storage in GB. |
MaxVms | Max number of virtual machines allowed in the resource pool. |
OwnerVCDOrgName | vCD resource name. |
ResourceName | Name of resource that can be attached to ZORG. |
SiteIdentifier | Internal site identifier. |
Type | Type of resource. |
VirtualizationSite | Type of resource origin. |
Back to List of APIs
Back to ZORG APIs
See also Starting and Ending a Session