IscsiDisks interface

Interface representing a IscsiDisks.

Methods

beginCreateOrUpdate(string, string, string, string, string, IscsiDisk, IscsiDisksCreateOrUpdateOptionalParams)

Creates or updates the iSCSI disk.

beginCreateOrUpdateAndWait(string, string, string, string, string, IscsiDisk, IscsiDisksCreateOrUpdateOptionalParams)

Creates or updates the iSCSI disk.

beginDelete(string, string, string, string, string, IscsiDisksDeleteOptionalParams)

Deletes the iSCSI disk.

beginDeleteAndWait(string, string, string, string, string, IscsiDisksDeleteOptionalParams)

Deletes the iSCSI disk.

get(string, string, string, string, string, IscsiDisksGetOptionalParams)

Returns the properties of the specified iSCSI disk name.

listByDevice(string, string, string, IscsiDisksListByDeviceOptionalParams)

Retrieves all the iSCSI disks in a device.

listByIscsiServer(string, string, string, string, IscsiDisksListByIscsiServerOptionalParams)

Retrieves all the disks in a iSCSI server.

listMetricDefinition(string, string, string, string, string, IscsiDisksListMetricDefinitionOptionalParams)

Retrieves metric definitions for all metric aggregated at the iSCSI disk.

listMetrics(string, string, string, string, string, IscsiDisksListMetricsOptionalParams)

Gets the iSCSI disk metrics

Method Details

beginCreateOrUpdate(string, string, string, string, string, IscsiDisk, IscsiDisksCreateOrUpdateOptionalParams)

Creates or updates the iSCSI disk.

function beginCreateOrUpdate(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, iscsiDisk: IscsiDisk, options?: IscsiDisksCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<IscsiDisk>, IscsiDisk>>

Parameters

deviceName

string

The device name.

iscsiServerName

string

The iSCSI server name.

diskName

string

The disk name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

iscsiDisk
IscsiDisk

The iSCSI disk.

options
IscsiDisksCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<IscsiDisk>, IscsiDisk>>

beginCreateOrUpdateAndWait(string, string, string, string, string, IscsiDisk, IscsiDisksCreateOrUpdateOptionalParams)

Creates or updates the iSCSI disk.

function beginCreateOrUpdateAndWait(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, iscsiDisk: IscsiDisk, options?: IscsiDisksCreateOrUpdateOptionalParams): Promise<IscsiDisk>

Parameters

deviceName

string

The device name.

iscsiServerName

string

The iSCSI server name.

diskName

string

The disk name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

iscsiDisk
IscsiDisk

The iSCSI disk.

options
IscsiDisksCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<IscsiDisk>

beginDelete(string, string, string, string, string, IscsiDisksDeleteOptionalParams)

Deletes the iSCSI disk.

function beginDelete(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: IscsiDisksDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

deviceName

string

The device name.

iscsiServerName

string

The iSCSI server name.

diskName

string

The disk name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
IscsiDisksDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, string, IscsiDisksDeleteOptionalParams)

Deletes the iSCSI disk.

function beginDeleteAndWait(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: IscsiDisksDeleteOptionalParams): Promise<void>

Parameters

deviceName

string

The device name.

iscsiServerName

string

The iSCSI server name.

diskName

string

The disk name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
IscsiDisksDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, string, IscsiDisksGetOptionalParams)

Returns the properties of the specified iSCSI disk name.

function get(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: IscsiDisksGetOptionalParams): Promise<IscsiDisk>

Parameters

deviceName

string

The device name.

iscsiServerName

string

The iSCSI server name.

diskName

string

The disk name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
IscsiDisksGetOptionalParams

The options parameters.

Returns

Promise<IscsiDisk>

listByDevice(string, string, string, IscsiDisksListByDeviceOptionalParams)

Retrieves all the iSCSI disks in a device.

function listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: IscsiDisksListByDeviceOptionalParams): PagedAsyncIterableIterator<IscsiDisk, IscsiDisk[], PageSettings>

Parameters

deviceName

string

The device name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
IscsiDisksListByDeviceOptionalParams

The options parameters.

Returns

listByIscsiServer(string, string, string, string, IscsiDisksListByIscsiServerOptionalParams)

Retrieves all the disks in a iSCSI server.

function listByIscsiServer(deviceName: string, iscsiServerName: string, resourceGroupName: string, managerName: string, options?: IscsiDisksListByIscsiServerOptionalParams): PagedAsyncIterableIterator<IscsiDisk, IscsiDisk[], 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
IscsiDisksListByIscsiServerOptionalParams

The options parameters.

Returns

listMetricDefinition(string, string, string, string, string, IscsiDisksListMetricDefinitionOptionalParams)

Retrieves metric definitions for all metric aggregated at the iSCSI disk.

function listMetricDefinition(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: IscsiDisksListMetricDefinitionOptionalParams): PagedAsyncIterableIterator<MetricDefinition, MetricDefinition[], PageSettings>

Parameters

deviceName

string

The device name.

iscsiServerName

string

The iSCSI server name.

diskName

string

The iSCSI disk name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
IscsiDisksListMetricDefinitionOptionalParams

The options parameters.

Returns

listMetrics(string, string, string, string, string, IscsiDisksListMetricsOptionalParams)

Gets the iSCSI disk metrics

function listMetrics(deviceName: string, iscsiServerName: string, diskName: string, resourceGroupName: string, managerName: string, options?: IscsiDisksListMetricsOptionalParams): PagedAsyncIterableIterator<Metrics, Metrics[], PageSettings>

Parameters

deviceName

string

The device name.

iscsiServerName

string

The iSCSI server name.

diskName

string

The iSCSI disk name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
IscsiDisksListMetricsOptionalParams

The options parameters.

Returns