volume_groups
Creates, updates, deletes, gets or lists a volume_groups
resource.
Overview
Name | volume_groups |
Type | Resource |
Id | azure.elastic_san.volume_groups |
Fields
- vw_volume_groups
- volume_groups
Name | Datatype | Description |
---|---|---|
elasticSanName | text | field from the properties object |
encryption | text | field from the properties object |
encryption_properties | text | field from the properties object |
enforce_data_integrity_check_for_iscsi | text | field from the properties object |
identity | text | Identity for the resource. |
network_acls | text | field from the properties object |
private_endpoint_connections | text | field from the properties object |
protocol_type | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
volumeGroupName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
identity | object | Identity for the resource. |
properties | object | VolumeGroup response properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | elasticSanName, resourceGroupName, subscriptionId, volumeGroupName | Get an VolumeGroups. |
list_by_elastic_san | SELECT | elasticSanName, resourceGroupName, subscriptionId | List VolumeGroups. |
create | INSERT | elasticSanName, resourceGroupName, subscriptionId, volumeGroupName | Create a Volume Group. |
delete | DELETE | elasticSanName, resourceGroupName, subscriptionId, volumeGroupName | Delete an VolumeGroup. |
update | UPDATE | elasticSanName, resourceGroupName, subscriptionId, volumeGroupName | Update an VolumeGroup. |
SELECT
examples
List VolumeGroups.
- vw_volume_groups
- volume_groups
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 }}';
SELECT
identity,
properties
FROM azure.elastic_san.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.elastic_san.volume_groups (
elasticSanName,
resourceGroupName,
subscriptionId,
volumeGroupName,
identity,
properties
)
SELECT
'{{ elasticSanName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ volumeGroupName }}',
'{{ identity }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: string
- name: properties
value:
- name: provisioningState
value: []
- name: protocolType
value: []
- name: encryption
value: []
- name: encryptionProperties
value:
- name: keyVaultProperties
value:
- name: keyIdentifier
value: string
- name: identity
value: string
- name: identity
value:
- name: userAssignedIdentity
value: string
- name: networkAcls
value:
- name: virtualNetworkRules
value:
- - name: id
value: string
- name: action
value: string
- name: privateEndpointConnections
value:
- - name: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: []
- name: description
value: string
- name: actionsRequired
value: string
- name: groupIds
value:
- string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: enforceDataIntegrityCheckForIscsi
value: boolean
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 }}';