All URIs are relative to https://{{vc}}
Method | HTTP request | Description |
---|---|---|
restVcenterVmVm33HardwareAdapterScsi1000Get | GET /rest/vcenter/vm/vm-33/hardware/adapter/scsi/1000 | Details |
restVcenterVmVm33HardwareAdapterScsi1001Delete | DELETE /rest/vcenter/vm/vm-33/hardware/adapter/scsi/1001 | Delete |
restVcenterVmVm33HardwareAdapterScsi1001Patch | PATCH /rest/vcenter/vm/vm-33/hardware/adapter/scsi/1001 | Update |
restVcenterVmVm33HardwareAdapterScsiGet | GET /rest/vcenter/vm/vm-33/hardware/adapter/scsi | List |
restVcenterVmVm33HardwareAdapterScsiPost | POST /rest/vcenter/vm/vm-33/hardware/adapter/scsi | Create |
restVcenterVmVm33HardwareAdapterScsi1000Get()
Details
Get SCSI details for a single VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMAdapterSCSIApi(
// 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->restVcenterVmVm33HardwareAdapterScsi1000Get();
} catch (Exception $e) {
echo 'Exception when calling VMAdapterSCSIApi->restVcenterVmVm33HardwareAdapterScsi1000Get: ', $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]
restVcenterVmVm33HardwareAdapterScsi1001Delete()
Delete
Delete SCSI Device on VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMAdapterSCSIApi(
// 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->restVcenterVmVm33HardwareAdapterScsi1001Delete();
} catch (Exception $e) {
echo 'Exception when calling VMAdapterSCSIApi->restVcenterVmVm33HardwareAdapterScsi1001Delete: ', $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]
restVcenterVmVm33HardwareAdapterScsi1001Patch($body, $content_type)
Update
Update SCSI Device on VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMAdapterSCSIApi(
// 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->restVcenterVmVm33HardwareAdapterScsi1001Patch($body, $content_type);
} catch (Exception $e) {
echo 'Exception when calling VMAdapterSCSIApi->restVcenterVmVm33HardwareAdapterScsi1001Patch: ', $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]
restVcenterVmVm33HardwareAdapterScsiGet()
List
List SCSI IDs for a VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMAdapterSCSIApi(
// 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->restVcenterVmVm33HardwareAdapterScsiGet();
} catch (Exception $e) {
echo 'Exception when calling VMAdapterSCSIApi->restVcenterVmVm33HardwareAdapterScsiGet: ', $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]
restVcenterVmVm33HardwareAdapterScsiPost($body, $content_type)
Create
Create SCSI Device on VM
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\VMAdapterSCSIApi(
// 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->restVcenterVmVm33HardwareAdapterScsiPost($body, $content_type);
} catch (Exception $e) {
echo 'Exception when calling VMAdapterSCSIApi->restVcenterVmVm33HardwareAdapterScsiPost: ', $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]