IscsiServers interface

Interface representing a IscsiServers.

Methods

beginBackupNow(string, string, string, string, IscsiServersBackupNowOptionalParams)

Backup the iSCSI server now.

beginBackupNowAndWait(string, string, string, string, IscsiServersBackupNowOptionalParams)

Backup the iSCSI server now.

beginCreateOrUpdate(string, string, string, string, IscsiServer, IscsiServersCreateOrUpdateOptionalParams)

Creates or updates the iSCSI server.

beginCreateOrUpdateAndWait(string, string, string, string, IscsiServer, IscsiServersCreateOrUpdateOptionalParams)

Creates or updates the iSCSI server.

beginDelete(string, string, string, string, IscsiServersDeleteOptionalParams)

Deletes the iSCSI server.

beginDeleteAndWait(string, string, string, string, IscsiServersDeleteOptionalParams)

Deletes the iSCSI server.

get(string, string, string, string, IscsiServersGetOptionalParams)

Returns the properties of the specified iSCSI server name.

listByDevice(string, string, string, IscsiServersListByDeviceOptionalParams)

Retrieves all the iSCSI in a device.

listByManager(string, string, IscsiServersListByManagerOptionalParams)

Retrieves all the iSCSI servers in a manager.

listMetricDefinition(string, string, string, string, IscsiServersListMetricDefinitionOptionalParams)

Retrieves metric definitions for all metrics aggregated at iSCSI server.

listMetrics(string, string, string, string, IscsiServersListMetricsOptionalParams)

Gets the iSCSI server metrics

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

options
IscsiServersBackupNowOptionalParams

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

options
IscsiServersBackupNowOptionalParams

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.

options
IscsiServersCreateOrUpdateOptionalParams

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.

options
IscsiServersCreateOrUpdateOptionalParams

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

options
IscsiServersListByDeviceOptionalParams

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

options
IscsiServersListByManagerOptionalParams

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

options
IscsiServersListMetricDefinitionOptionalParams

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

options
IscsiServersListMetricsOptionalParams

The options parameters.

Returns