Skip to main content

volume_containers

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

Overview

Namevolume_containers
TypeResource
Idazure_extras.storsimple_8000_series.volume_containers

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe name of the object.
band_width_rate_in_mbpstextfield from the properties object
bandwidth_setting_idtextfield from the properties object
deviceNametextfield from the properties object
encryption_keytextfield from the properties object
encryption_statustextfield from the properties object
kindtextThe Kind of the object. Currently only Series8000 is supported
managerNametextfield from the properties object
owner_ship_statustextfield from the properties object
resourceGroupNametextfield from the properties object
storage_account_credential_idtextfield from the properties object
subscriptionIdtextfield from the properties object
total_cloud_storage_usage_in_bytestextfield from the properties object
typetextThe hierarchical type of the object.
volumeContainerNametextfield from the properties object
volume_counttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, managerName, resourceGroupName, subscriptionId, volumeContainerNameGets the properties of the specified volume container name.
list_by_deviceSELECTdeviceName, managerName, resourceGroupName, subscriptionIdGets all the volume containers in a device.
create_or_updateINSERTdeviceName, managerName, resourceGroupName, subscriptionId, volumeContainerName, data__propertiesCreates or updates the volume container.
deleteDELETEdeviceName, managerName, resourceGroupName, subscriptionId, volumeContainerNameDeletes the volume container.

SELECT examples

Gets all the volume containers in a device.

SELECT
id,
name,
band_width_rate_in_mbps,
bandwidth_setting_id,
deviceName,
encryption_key,
encryption_status,
kind,
managerName,
owner_ship_status,
resourceGroupName,
storage_account_credential_id,
subscriptionId,
total_cloud_storage_usage_in_bytes,
type,
volumeContainerName,
volume_count
FROM azure_extras.storsimple_8000_series.vw_volume_containers
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified volume_containers resource.

/*+ delete */
DELETE FROM azure_extras.storsimple_8000_series.volume_containers
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND volumeContainerName = '{{ volumeContainerName }}';