BandwidthSchedules interface

Interface representing a BandwidthSchedules.

Methods

beginCreateOrUpdate(string, string, string, BandwidthSchedule, BandwidthSchedulesCreateOrUpdateOptionalParams)

Creates or updates a bandwidth schedule.

beginCreateOrUpdateAndWait(string, string, string, BandwidthSchedule, BandwidthSchedulesCreateOrUpdateOptionalParams)

Creates or updates a bandwidth schedule.

beginDelete(string, string, string, BandwidthSchedulesDeleteOptionalParams)

Deletes the specified bandwidth schedule.

beginDeleteAndWait(string, string, string, BandwidthSchedulesDeleteOptionalParams)

Deletes the specified bandwidth schedule.

get(string, string, string, BandwidthSchedulesGetOptionalParams)

Gets the properties of the specified bandwidth schedule.

listByDataBoxEdgeDevice(string, string, BandwidthSchedulesListByDataBoxEdgeDeviceOptionalParams)

Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.

Method Details

beginCreateOrUpdate(string, string, string, BandwidthSchedule, BandwidthSchedulesCreateOrUpdateOptionalParams)

Creates or updates a bandwidth schedule.

function beginCreateOrUpdate(deviceName: string, name: string, resourceGroupName: string, parameters: BandwidthSchedule, options?: BandwidthSchedulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<BandwidthSchedule>, BandwidthSchedule>>

Parameters

deviceName

string

The device name.

name

string

The bandwidth schedule name which needs to be added/updated.

resourceGroupName

string

The resource group name.

parameters
BandwidthSchedule

The bandwidth schedule to be added or updated.

options
BandwidthSchedulesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, BandwidthSchedule, BandwidthSchedulesCreateOrUpdateOptionalParams)

Creates or updates a bandwidth schedule.

function beginCreateOrUpdateAndWait(deviceName: string, name: string, resourceGroupName: string, parameters: BandwidthSchedule, options?: BandwidthSchedulesCreateOrUpdateOptionalParams): Promise<BandwidthSchedule>

Parameters

deviceName

string

The device name.

name

string

The bandwidth schedule name which needs to be added/updated.

resourceGroupName

string

The resource group name.

parameters
BandwidthSchedule

The bandwidth schedule to be added or updated.

options
BandwidthSchedulesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, BandwidthSchedulesDeleteOptionalParams)

Deletes the specified bandwidth schedule.

function beginDelete(deviceName: string, name: string, resourceGroupName: string, options?: BandwidthSchedulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

deviceName

string

The device name.

name

string

The bandwidth schedule name.

resourceGroupName

string

The resource group name.

options
BandwidthSchedulesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, BandwidthSchedulesDeleteOptionalParams)

Deletes the specified bandwidth schedule.

function beginDeleteAndWait(deviceName: string, name: string, resourceGroupName: string, options?: BandwidthSchedulesDeleteOptionalParams): Promise<void>

Parameters

deviceName

string

The device name.

name

string

The bandwidth schedule name.

resourceGroupName

string

The resource group name.

options
BandwidthSchedulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, BandwidthSchedulesGetOptionalParams)

Gets the properties of the specified bandwidth schedule.

function get(deviceName: string, name: string, resourceGroupName: string, options?: BandwidthSchedulesGetOptionalParams): Promise<BandwidthSchedule>

Parameters

deviceName

string

The device name.

name

string

The bandwidth schedule name.

resourceGroupName

string

The resource group name.

options
BandwidthSchedulesGetOptionalParams

The options parameters.

Returns

listByDataBoxEdgeDevice(string, string, BandwidthSchedulesListByDataBoxEdgeDeviceOptionalParams)

Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.

function listByDataBoxEdgeDevice(deviceName: string, resourceGroupName: string, options?: BandwidthSchedulesListByDataBoxEdgeDeviceOptionalParams): PagedAsyncIterableIterator<BandwidthSchedule, BandwidthSchedule[], PageSettings>

Parameters

deviceName

string

The device name.

resourceGroupName

string

The resource group name.

Returns