Skip to main content

volume_groups

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

Overview

Namevolume_groups
TypeResource
Idazure.elastic_san.volume_groups

Fields

NameDatatypeDescription
elasticSanNametextfield from the properties object
encryptiontextfield from the properties object
encryption_propertiestextfield from the properties object
enforce_data_integrity_check_for_iscsitextfield from the properties object
identitytextIdentity for the resource.
network_aclstextfield from the properties object
private_endpoint_connectionstextfield from the properties object
protocol_typetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
volumeGroupNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTelasticSanName, resourceGroupName, subscriptionId, volumeGroupNameGet an VolumeGroups.
list_by_elastic_sanSELECTelasticSanName, resourceGroupName, subscriptionIdList VolumeGroups.
createINSERTelasticSanName, resourceGroupName, subscriptionId, volumeGroupNameCreate a Volume Group.
deleteDELETEelasticSanName, resourceGroupName, subscriptionId, volumeGroupNameDelete an VolumeGroup.
updateUPDATEelasticSanName, resourceGroupName, subscriptionId, volumeGroupNameUpdate an VolumeGroup.

SELECT examples

List VolumeGroups.

SELECT
elasticSanName,
encryption,
encryption_properties,
enforce_data_integrity_check_for_iscsi,
identity,
network_acls,
private_endpoint_connections,
protocol_type,
provisioning_state,
resourceGroupName,
subscriptionId,
volumeGroupName
FROM azure.elastic_san.vw_volume_groups
WHERE elasticSanName = '{{ elasticSanName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.elastic_san.volume_groups (
elasticSanName,
resourceGroupName,
subscriptionId,
volumeGroupName,
identity,
properties
)
SELECT
'{{ elasticSanName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ volumeGroupName }}',
'{{ identity }}',
'{{ properties }}'
;

UPDATE example

Updates a volume_groups resource.

/*+ update */
UPDATE azure.elastic_san.volume_groups
SET
identity = '{{ identity }}',
properties = '{{ properties }}'
WHERE
elasticSanName = '{{ elasticSanName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND volumeGroupName = '{{ volumeGroupName }}';

DELETE example

Deletes the specified volume_groups resource.

/*+ delete */
DELETE FROM azure.elastic_san.volume_groups
WHERE elasticSanName = '{{ elasticSanName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND volumeGroupName = '{{ volumeGroupName }}';