bandwidth_settings
Creates, updates, deletes, gets or lists a bandwidth_settings
resource.
Overview
Name | bandwidth_settings |
Type | Resource |
Id | azure_extras.storsimple_8000_series.bandwidth_settings |
Fields
- vw_bandwidth_settings
- bandwidth_settings
Name | Datatype | Description |
---|---|---|
id | text | The path ID that uniquely identifies the object. |
name | text | The name of the object. |
bandwidthSettingName | text | field from the properties object |
kind | text | The Kind of the object. Currently only Series8000 is supported |
managerName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
schedules | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The hierarchical type of the object. |
volume_count | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | The path ID that uniquely identifies the object. |
name | string | The name of the object. |
kind | string | The Kind of the object. Currently only Series8000 is supported |
properties | object | The properties of the bandwidth setting. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | bandwidthSettingName, managerName, resourceGroupName, subscriptionId | Returns the properties of the specified bandwidth setting name. |
list_by_manager | SELECT | managerName, resourceGroupName, subscriptionId | Retrieves all the bandwidth setting in a manager. |
create_or_update | INSERT | bandwidthSettingName, managerName, resourceGroupName, subscriptionId, data__properties | Creates or updates the bandwidth setting |
delete | DELETE | bandwidthSettingName, managerName, resourceGroupName, subscriptionId | Deletes the bandwidth setting |
SELECT
examples
Retrieves all the bandwidth setting in a manager.
- vw_bandwidth_settings
- bandwidth_settings
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 }}';
SELECT
id,
name,
kind,
properties,
type
FROM azure_extras.storsimple_8000_series.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: kind
value: string
- name: properties
value:
- name: schedules
value:
- - name: start
value:
- name: hours
value: integer
- name: minutes
value: integer
- name: seconds
value: integer
- name: rateInMbps
value: integer
- name: days
value:
- string
- name: volumeCount
value: integer
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 }}';