IscsiServers interface
Interface representing a IscsiServers.
Methods
Method Details
beginBackupNow(string, string, string, string, IscsiServersBackupNowOptionalParams)
Backup the iSCSI server now.
function beginBackupNow(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: IscsiServersBackupNowOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- deviceName
-
string
The device name.
- iscsiServerName
-
string
The iSCSI server name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginBackupNowAndWait(string, string, string, string, IscsiServersBackupNowOptionalParams)
Backup the iSCSI server now.
function beginBackupNowAndWait(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: IscsiServersBackupNowOptionalParams): Promise<void>
Parameters
- deviceName
-
string
The device name.
- iscsiServerName
-
string
The iSCSI server name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
Promise<void>
beginCreateOrUpdate(string, string, string, string, IscsiServer, IscsiServersCreateOrUpdateOptionalParams)
Creates or updates the iSCSI server.
function beginCreateOrUpdate(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, iscsiServer: IscsiServer, options?: IscsiServersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IscsiServer>, IscsiServer>>
Parameters
- deviceName
-
string
The device name.
- iscsiServerName
-
string
The iSCSI server name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- iscsiServer
- IscsiServer
The iSCSI server.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<IscsiServer>, IscsiServer>>
beginCreateOrUpdateAndWait(string, string, string, string, IscsiServer, IscsiServersCreateOrUpdateOptionalParams)
Creates or updates the iSCSI server.
function beginCreateOrUpdateAndWait(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, iscsiServer: IscsiServer, options?: IscsiServersCreateOrUpdateOptionalParams): Promise<IscsiServer>
Parameters
- deviceName
-
string
The device name.
- iscsiServerName
-
string
The iSCSI server name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- iscsiServer
- IscsiServer
The iSCSI server.
The options parameters.
Returns
Promise<IscsiServer>
beginDelete(string, string, string, string, IscsiServersDeleteOptionalParams)
Deletes the iSCSI server.
function beginDelete(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: IscsiServersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- deviceName
-
string
The device name.
- iscsiServerName
-
string
The iSCSI server name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- options
- IscsiServersDeleteOptionalParams
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, IscsiServersDeleteOptionalParams)
Deletes the iSCSI server.
function beginDeleteAndWait(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: IscsiServersDeleteOptionalParams): Promise<void>
Parameters
- deviceName
-
string
The device name.
- iscsiServerName
-
string
The iSCSI server name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- options
- IscsiServersDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, string, IscsiServersGetOptionalParams)
Returns the properties of the specified iSCSI server name.
function get(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: IscsiServersGetOptionalParams): Promise<IscsiServer>
Parameters
- deviceName
-
string
The device name.
- iscsiServerName
-
string
The iSCSI server name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- options
- IscsiServersGetOptionalParams
The options parameters.
Returns
Promise<IscsiServer>
listByDevice(string, string, string, IscsiServersListByDeviceOptionalParams)
Retrieves all the iSCSI in a device.
function listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: IscsiServersListByDeviceOptionalParams): PagedAsyncIterableIterator<IscsiServer, IscsiServer[], PageSettings>
Parameters
- deviceName
-
string
The device name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
listByManager(string, string, IscsiServersListByManagerOptionalParams)
Retrieves all the iSCSI servers in a manager.
function listByManager(resourceGroupName: string, managerName: string, options?: IscsiServersListByManagerOptionalParams): PagedAsyncIterableIterator<IscsiServer, IscsiServer[], PageSettings>
Parameters
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
listMetricDefinition(string, string, string, string, IscsiServersListMetricDefinitionOptionalParams)
Retrieves metric definitions for all metrics aggregated at iSCSI server.
function listMetricDefinition(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: IscsiServersListMetricDefinitionOptionalParams): PagedAsyncIterableIterator<MetricDefinition, MetricDefinition[], PageSettings>
Parameters
- deviceName
-
string
The device name.
- iscsiServerName
-
string
The iSCSI server name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
listMetrics(string, string, string, string, IscsiServersListMetricsOptionalParams)
Gets the iSCSI server metrics
function listMetrics(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: IscsiServersListMetricsOptionalParams): PagedAsyncIterableIterator<Metrics, Metrics[], PageSettings>
Parameters
- deviceName
-
string
The device name.
- iscsiServerName
-
string
The iSCSI server name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
Azure SDK for JavaScript