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

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe object name.
daystextfield from the properties object
deviceNametextfield from the properties object
rate_in_mbpstextfield from the properties object
resourceGroupNametextfield from the properties object
starttextfield from the properties object
stoptextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe hierarchical type of the object.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, name, resourceGroupName, subscriptionIdGets the properties of the specified bandwidth schedule.
list_by_data_box_edge_deviceSELECTdeviceName, resourceGroupName, subscriptionIdGets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.
create_or_updateINSERTdeviceName, name, resourceGroupName, subscriptionId, data__propertiesCreates or updates a bandwidth schedule.
deleteDELETEdeviceName, name, resourceGroupName, subscriptionIdDeletes the specified bandwidth schedule.

SELECT examples

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

SELECT
id,
name,
days,
deviceName,
rate_in_mbps,
resourceGroupName,
start,
stop,
subscriptionId,
system_data,
type
FROM azure.data_box_edge.vw_bandwidth_schedules
WHERE deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new bandwidth_schedules resource.

/*+ create */
INSERT INTO azure.data_box_edge.bandwidth_schedules (
deviceName,
name,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ deviceName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified bandwidth_schedules resource.

/*+ delete */
DELETE FROM azure.data_box_edge.bandwidth_schedules
WHERE deviceName = '{{ deviceName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';