Skip to main content

elastic_sans

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

Overview

Nameelastic_sans
TypeResource
Idazure.elastic_san.elastic_sans

Fields

NameDatatypeDescription
availability_zonestextfield from the properties object
base_size_tibtextfield from the properties object
elasticSanNametextfield from the properties object
extended_capacity_size_tibtextfield from the properties object
locationtextThe geo-location where the resource lives
private_endpoint_connectionstextfield from the properties object
provisioning_statetextfield from the properties object
public_network_accesstextfield from the properties object
resourceGroupNametextfield from the properties object
skutextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
total_iopstextfield from the properties object
total_mbpstextfield from the properties object
total_size_tibtextfield from the properties object
total_volume_size_gibtextfield from the properties object
volume_group_counttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTelasticSanName, resourceGroupName, subscriptionIdGet a ElasticSan.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets a list of ElasticSan in a resource group.
list_by_subscriptionSELECTsubscriptionIdGets a list of ElasticSans in a subscription
createINSERTelasticSanName, resourceGroupName, subscriptionId, data__location, data__propertiesCreate ElasticSan.
deleteDELETEelasticSanName, resourceGroupName, subscriptionIdDelete a Elastic San.
updateUPDATEelasticSanName, resourceGroupName, subscriptionIdUpdate a Elastic San.

SELECT examples

Gets a list of ElasticSans in a subscription

SELECT
availability_zones,
base_size_tib,
elasticSanName,
extended_capacity_size_tib,
location,
private_endpoint_connections,
provisioning_state,
public_network_access,
resourceGroupName,
sku,
subscriptionId,
tags,
total_iops,
total_mbps,
total_size_tib,
total_volume_size_gib,
volume_group_count
FROM azure.elastic_san.vw_elastic_sans
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.elastic_san.elastic_sans (
elasticSanName,
resourceGroupName,
subscriptionId,
data__location,
data__properties,
properties,
tags,
location
)
SELECT
'{{ elasticSanName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a elastic_sans resource.

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

DELETE example

Deletes the specified elastic_sans resource.

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