elastic_sans
Creates, updates, deletes, gets or lists a elastic_sans
resource.
Overview
Name | elastic_sans |
Type | Resource |
Id | azure.elastic_san.elastic_sans |
Fields
- vw_elastic_sans
- elastic_sans
Name | Datatype | Description |
---|---|---|
availability_zones | text | field from the properties object |
base_size_tib | text | field from the properties object |
elasticSanName | text | field from the properties object |
extended_capacity_size_tib | text | field from the properties object |
location | text | The geo-location where the resource lives |
private_endpoint_connections | text | field from the properties object |
provisioning_state | text | field from the properties object |
public_network_access | text | field from the properties object |
resourceGroupName | text | field from the properties object |
sku | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
total_iops | text | field from the properties object |
total_mbps | text | field from the properties object |
total_size_tib | text | field from the properties object |
total_volume_size_gib | text | field from the properties object |
volume_group_count | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Elastic San response properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | elasticSanName, resourceGroupName, subscriptionId | Get a ElasticSan. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Gets a list of ElasticSan in a resource group. |
list_by_subscription | SELECT | subscriptionId | Gets a list of ElasticSans in a subscription |
create | INSERT | elasticSanName, resourceGroupName, subscriptionId, data__location, data__properties | Create ElasticSan. |
delete | DELETE | elasticSanName, resourceGroupName, subscriptionId | Delete a Elastic San. |
update | UPDATE | elasticSanName, resourceGroupName, subscriptionId | Update a Elastic San. |
SELECT
examples
Gets a list of ElasticSans in a subscription
- vw_elastic_sans
- elastic_sans
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 }}';
SELECT
location,
properties,
tags
FROM azure.elastic_san.elastic_sans
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new elastic_sans
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: sku
value:
- name: name
value: string
- name: tier
value: []
- name: size
value: string
- name: family
value: string
- name: capacity
value: integer
- name: availabilityZones
value:
- []
- name: provisioningState
value: []
- name: baseSizeTiB
value: integer
- name: extendedCapacitySizeTiB
value: integer
- name: totalVolumeSizeGiB
value: integer
- name: volumeGroupCount
value: integer
- name: totalIops
value: integer
- name: totalMBps
value: integer
- name: totalSizeTiB
value: integer
- 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: publicNetworkAccess
value: string
- name: tags
value: object
- name: location
value: string
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 }}';