|
| Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| None | ||
Methods
| Methods defined in this Managed Object |
|---|
| AddFolderMapping, AddNetworkMapping, AddResourcePoolMapping, AddTestNetworkMapping, GetFolderMappings, GetNetworkMappings, GetResourcePoolMappings, GetTestNetworkMappings, RemoveFolderMapping, RemoveNetworkMapping, RemoveResourcePoolMapping, RemoveTestNetworkMapping |
This method requires Resource.com.vmware.vcDr.RecoveryUse on the {@code secondaryFolder}.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
| primaryFolder P | vim.Folder |
The folder on the protection site (must be local)
Since SRM API 3.0 |
| secondaryFolder P | vim.Folder |
The folder on the recovery site (must be remote)
Since SRM API 3.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| SrmFaultConnectionDownFault | Thrown if the remote site could not be contacted |
| SrmFaultInvalidPrimaryFolder | Thrown if {@code primaryFolder} cannot have VMs as a child type |
| SrmFaultInvalidSecondaryFolder | Thrown if {@code secondaryFolder} cannot have VMs as a child type |
| SrmFaultNotAuthenticated | Thrown if the session is not authenticated |
| SrmFaultUnknownPrimaryFolder | Thrown if {@code primaryFolder} cannot be found on the local site |
| SrmFaultUnknownSecondaryFolder | Thrown if {@code secondaryFolder} cannot be found on the remote site |
Events
| Type | |
|---|---|
| None | |
This method requires Resource.com.vmware.vcDr.RecoveryUse on the {@code secondaryNetwork}.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
| primaryNetwork P | vim.Network |
The network on the protection site (must be local)
Since SRM API 3.0 |
| secondaryNetwork P | vim.Network |
The network on the recovery site (must be remote)
Since SRM API 3.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| SrmFaultConnectionDownFault | Thrown if the remote site could not be contacted |
| SrmFaultInvalidPrimaryNetwork | Thrown if {@code primaryNetwork} is not a supported network type (e.g. DVPortgroup) |
| SrmFaultInvalidSecondaryNetwork | Thrown if {@code secondaryNetwork} is not a supported network type (e.g. DVPortgroup) |
| SrmFaultNotAuthenticated | Thrown if the session is not authenticated |
| SrmFaultUnknownPrimaryNetwork | Thrown if no such network exists on the local site |
| SrmFaultUnknownSecondaryNetwork | Thrown if no such network exists on the remote site |
Events
| Type | |
|---|---|
| None | |
This method requires Resource.com.vmware.vcDr.RecoveryUse on {@code secondaryPool}.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
| primaryPool P | vim.ResourcePool |
The resource pool on the protection site (must be local)
Since SRM API 3.0 |
| secondaryPool P | vim.ResourcePool |
The resource pool on the recovery site (must be remote)
Since SRM API 3.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| SrmFaultConnectionDownFault | Thrown if the remote site could not be contacted |
| SrmFaultNotAuthenticated | Thrown if the session is not authenticated |
| SrmFaultUnknownPrimaryResourcePool | Thrown if no such resource pool exists on the local site |
| SrmFaultUnknownSecondaryResourcePool | Thrown if no such resource pool exists on the remote site |
Events
| Type | |
|---|---|
| None | |
This method requires Resource.com.vmware.vcDr.RecoveryUse on {@code secondaryNetwork} and {@code destinationTestNetwork}
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
| secondaryNetwork P | vim.Network |
The network on the recovery site (must be remote)
Since SRM API 5.0 |
| destinationTestNetwork P | vim.Network |
The test network on the recovery site (must be remote)
Since SRM API 5.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| SrmFaultConnectionDownFault | Thrown if the remote site could not be contacted |
| SrmFaultInvalidSecondaryNetwork | Thrown if {@code secondaryNetwork} is not a supported network type (e.g. DVPortgroup) |
| SrmFaultRemoteSiteNotAuthenticated | Thrown if the remote site is not authenticated |
| SrmFaultUnknownSecondaryNetwork | Thrown if no such network exists on the remote site for secondaryNetwork or destinationTestNetwork |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
Return Value
| Type | Description |
|---|---|
| SrmInventoryMappingFolderMapping[] | The folder mappings. |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
Return Value
| Type | Description |
|---|---|
| SrmInventoryMappingNetworkMapping[] | The network mappings. |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
Return Value
| Type | Description |
|---|---|
| SrmInventoryMappingResourcePoolMapping[] | The resource pool mappings. |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
Return Value
| Type | Description |
|---|---|
| SrmInventoryMappingTestNetworkMapping[] | The test network mappings. |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
| primaryFolder P | vim.Folder |
The primary site folder whose mapping is to be removed
Since SRM API 3.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
| primaryNetwork P | vim.Network |
The primary site network whose mapping is to be removed
Since SRM API 3.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
| primaryPool P | vim.ResourcePool |
The primary site resource pool whose mapping is to be removed
Since SRM API 3.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the SrmInventoryMapping used to make the method call. |
| secondaryNetwork P | vim.Network |
The secondary site network whose mapping is to be removed
Since SRM API 5.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
| Top of page | Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |