Skip to main content

bandwidth_schedules

Creates, updates, deletes, gets or lists a bandwidth_schedules resource.

Overview

Namebandwidth_schedules
TypeResource
Idazure.data_box_edge.bandwidth_schedules

Fields

The following fields are returned by SELECT queries:

The bandwidth schedule.

NameDatatypeDescription
idstringThe path ID that uniquely identifies the object.
namestringThe object name.
propertiesobjectThe properties of the bandwidth schedule.
systemDataobjectMetadata pertaining to creation and last modification of BandwidthSchedule
typestringThe hierarchical type of the object.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdeviceName, name, subscriptionId, resourceGroupNameGets the properties of the specified bandwidth schedule.
list_by_data_box_edge_deviceselectdeviceName, subscriptionId, resourceGroupNameGets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.
create_or_updateinsertdeviceName, name, subscriptionId, resourceGroupName, data__propertiesCreates or updates a bandwidth schedule.
deletedeletedeviceName, name, subscriptionId, resourceGroupNameDeletes the specified bandwidth schedule.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deviceNamestringThe device name.
namestringThe bandwidth schedule name.
resourceGroupNamestringThe resource group name.
subscriptionIdstringThe subscription ID.

SELECT examples

Gets the properties of the specified bandwidth schedule.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_box_edge.bandwidth_schedules
WHERE deviceName = '{{ deviceName }}' -- required
AND name = '{{ name }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;

INSERT examples

Creates or updates a bandwidth schedule.

INSERT INTO azure.data_box_edge.bandwidth_schedules (
data__properties,
deviceName,
name,
subscriptionId,
resourceGroupName
)
SELECT
'{{ properties }}' /* required */,
'{{ deviceName }}',
'{{ name }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes the specified bandwidth schedule.

DELETE FROM azure.data_box_edge.bandwidth_schedules
WHERE deviceName = '{{ deviceName }}' --required
AND name = '{{ name }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
;