All URIs are relative to https://{{vc}}
Method | HTTP request | Description |
---|---|---|
restVcenterVmVm33HardwareParallel10000ConnectPost | POST /rest/vcenter/vm/vm-33/hardware/parallel/10000/connect | Connect |
restVcenterVmVm33HardwareParallel10000DisconnectPost | POST /rest/vcenter/vm/vm-33/hardware/parallel/10000/disconnect | Disconnect |
restVcenterVmVm33HardwareParallel10000Get | GET /rest/vcenter/vm/vm-33/hardware/parallel/10000 | Details |
restVcenterVmVm33HardwareParallel10001Delete | DELETE /rest/vcenter/vm/vm-33/hardware/parallel/10001 | Delete |
restVcenterVmVm33HardwareParallel10001Patch | PATCH /rest/vcenter/vm/vm-33/hardware/parallel/10001 | Update |
restVcenterVmVm33HardwareParallelGet | GET /rest/vcenter/vm/vm-33/hardware/parallel | List |
restVcenterVmVm33HardwareParallelPost | POST /rest/vcenter/vm/vm-33/hardware/parallel/ | Create |
restVcenterVmVm33HardwareParallel10000ConnectPost()
Connect
Connect Parallel device to a VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMParallelApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$apiInstance->restVcenterVmVm33HardwareParallel10000ConnectPost();
} catch (Exception $e) {
echo 'Exception when calling VMParallelApi->restVcenterVmVm33HardwareParallel10000ConnectPost: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restVcenterVmVm33HardwareParallel10000DisconnectPost()
Disconnect
Disconnect Parallel device from a VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMParallelApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$apiInstance->restVcenterVmVm33HardwareParallel10000DisconnectPost();
} catch (Exception $e) {
echo 'Exception when calling VMParallelApi->restVcenterVmVm33HardwareParallel10000DisconnectPost: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restVcenterVmVm33HardwareParallel10000Get()
Details
Get Parallel details for a single VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMParallelApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$apiInstance->restVcenterVmVm33HardwareParallel10000Get();
} catch (Exception $e) {
echo 'Exception when calling VMParallelApi->restVcenterVmVm33HardwareParallel10000Get: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restVcenterVmVm33HardwareParallel10001Delete()
Delete
Delete Parallel device on VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMParallelApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$apiInstance->restVcenterVmVm33HardwareParallel10001Delete();
} catch (Exception $e) {
echo 'Exception when calling VMParallelApi->restVcenterVmVm33HardwareParallel10001Delete: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restVcenterVmVm33HardwareParallel10001Patch($body, $content_type)
Update
Update Parallel to use new file
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMParallelApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \stdClass; // object |
$content_type = "content_type_example"; // string |
try {
$apiInstance->restVcenterVmVm33HardwareParallel10001Patch($body, $content_type);
} catch (Exception $e) {
echo 'Exception when calling VMParallelApi->restVcenterVmVm33HardwareParallel10001Patch: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | object | [optional] | |
content_type | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restVcenterVmVm33HardwareParallelGet()
List
List Parallel IDs for a VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMParallelApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$apiInstance->restVcenterVmVm33HardwareParallelGet();
} catch (Exception $e) {
echo 'Exception when calling VMParallelApi->restVcenterVmVm33HardwareParallelGet: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restVcenterVmVm33HardwareParallelPost($body, $content_type)
Create
Create Parallel device on VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMParallelApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \stdClass; // object |
$content_type = "content_type_example"; // string |
try {
$apiInstance->restVcenterVmVm33HardwareParallelPost($body, $content_type);
} catch (Exception $e) {
echo 'Exception when calling VMParallelApi->restVcenterVmVm33HardwareParallelPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | object | [optional] | |
content_type | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]