BandwidthSchedules interface
Interface representing a BandwidthSchedules.
Methods
begin |
Creates or updates a bandwidth schedule. |
begin |
Creates or updates a bandwidth schedule. |
begin |
Deletes the specified bandwidth schedule. |
begin |
Deletes the specified bandwidth schedule. |
get(string, string, string, Bandwidth |
Gets the properties of the specified bandwidth schedule. |
list |
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.
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.
The options parameters.
Returns
Promise<BandwidthSchedule>
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.
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.
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.
The options parameters.
Returns
Promise<BandwidthSchedule>
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.
The options parameters.