volume_containers
Creates, updates, deletes, gets or lists a volume_containers
resource.
Overview
Name | volume_containers |
Type | Resource |
Id | azure_extras.storsimple_8000_series.volume_containers |
Fields
- vw_volume_containers
- volume_containers
Name | Datatype | Description |
---|---|---|
id | text | The path ID that uniquely identifies the object. |
name | text | The name of the object. |
band_width_rate_in_mbps | text | field from the properties object |
bandwidth_setting_id | text | field from the properties object |
deviceName | text | field from the properties object |
encryption_key | text | field from the properties object |
encryption_status | 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 |
owner_ship_status | text | field from the properties object |
resourceGroupName | text | field from the properties object |
storage_account_credential_id | text | field from the properties object |
subscriptionId | text | field from the properties object |
total_cloud_storage_usage_in_bytes | text | field from the properties object |
type | text | The hierarchical type of the object. |
volumeContainerName | text | field from the properties 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 volume container. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deviceName, managerName, resourceGroupName, subscriptionId, volumeContainerName | Gets the properties of the specified volume container name. |
list_by_device | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Gets all the volume containers in a device. |
create_or_update | INSERT | deviceName, managerName, resourceGroupName, subscriptionId, volumeContainerName, data__properties | Creates or updates the volume container. |
delete | DELETE | deviceName, managerName, resourceGroupName, subscriptionId, volumeContainerName | Deletes the volume container. |
SELECT
examples
Gets all the volume containers in a device.
- vw_volume_containers
- volume_containers
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 }}';
SELECT
id,
name,
kind,
properties,
type
FROM azure_extras.storsimple_8000_series.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- 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: encryptionKey
value:
- name: value
value: string
- name: encryptionCertThumbprint
value: string
- name: encryptionAlgorithm
value: string
- name: encryptionStatus
value: string
- name: volumeCount
value: integer
- name: storageAccountCredentialId
value: string
- name: ownerShipStatus
value: string
- name: bandWidthRateInMbps
value: integer
- name: bandwidthSettingId
value: string
- name: totalCloudStorageUsageInBytes
value: integer
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 }}';