Skip to main content

bandwidth_settings

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

Overview

Namebandwidth_settings
TypeResource
Idazure_extras.storsimple_8000_series.bandwidth_settings

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe name of the object.
bandwidthSettingNametextfield from the properties object
kindtextThe Kind of the object. Currently only Series8000 is supported
managerNametextfield from the properties object
resourceGroupNametextfield from the properties object
schedulestextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe hierarchical type of the object.
volume_counttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTbandwidthSettingName, managerName, resourceGroupName, subscriptionIdReturns the properties of the specified bandwidth setting name.
list_by_managerSELECTmanagerName, resourceGroupName, subscriptionIdRetrieves all the bandwidth setting in a manager.
create_or_updateINSERTbandwidthSettingName, managerName, resourceGroupName, subscriptionId, data__propertiesCreates or updates the bandwidth setting
deleteDELETEbandwidthSettingName, managerName, resourceGroupName, subscriptionIdDeletes the bandwidth setting

SELECT examples

Retrieves all the bandwidth setting in a manager.

SELECT
id,
name,
bandwidthSettingName,
kind,
managerName,
resourceGroupName,
schedules,
subscriptionId,
type,
volume_count
FROM azure_extras.storsimple_8000_series.vw_bandwidth_settings
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.storsimple_8000_series.bandwidth_settings (
bandwidthSettingName,
managerName,
resourceGroupName,
subscriptionId,
data__properties,
kind,
properties
)
SELECT
'{{ bandwidthSettingName }}',
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ kind }}',
'{{ properties }}'
;

DELETE example

Deletes the specified bandwidth_settings resource.

/*+ delete */
DELETE FROM azure_extras.storsimple_8000_series.bandwidth_settings
WHERE bandwidthSettingName = '{{ bandwidthSettingName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';