Skip to main content

elastic_sans

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

Overview

Nameelastic_sans
TypeResource
Idazure.elastic_san.elastic_sans

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
autoScalePropertiesobjectAuto Scale Properties for Elastic San Appliance.
availabilityZonesarrayLogical zone for Elastic San resource; example: ["1"].
baseSizeTiBintegerBase size of the Elastic San appliance in TiB. Required.
extendedCapacitySizeTiBintegerExtended size of the Elastic San appliance in TiB. Required.
locationstringThe geo-location where the resource lives. Required.
privateEndpointConnectionsarrayThe list of Private Endpoint Connections.
provisioningStatestringState of the operation on the resource. Known values are: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting", "Deleted", and "Restoring". (Invalid, Succeeded, Failed, Canceled, Pending, Creating, Updating, Deleting, Deleted, Restoring)
publicNetworkAccessstringAllow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
skuobjectresource sku. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
totalIopsintegerTotal Provisioned IOPS of the Elastic San appliance.
totalMBpsintegerTotal Provisioned MBps Elastic San appliance.
totalSizeTiBintegerTotal size of the Elastic San appliance in TB.
totalVolumeSizeGiBintegerTotal size of the provisioned Volumes in GiB.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
volumeGroupCountintegerTotal number of volume groups in this Elastic San appliance.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, elastic_san_name, subscription_idGet a ElasticSan.
list_by_resource_groupselectresource_group_name, subscription_idGets a list of ElasticSan in a resource group.
list_by_subscriptionselectsubscription_idGets a list of ElasticSans in a subscription.
createinsertresource_group_name, elastic_san_name, subscription_id, location, propertiesCreate ElasticSan.
updateupdateresource_group_name, elastic_san_name, subscription_idUpdate a Elastic San.
deletedeleteresource_group_name, elastic_san_name, subscription_idDelete a Elastic San.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
elastic_san_namestringThe name of the ElasticSan. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get a ElasticSan.

SELECT
id,
name,
autoScaleProperties,
availabilityZones,
baseSizeTiB,
extendedCapacitySizeTiB,
location,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
sku,
systemData,
tags,
totalIops,
totalMBps,
totalSizeTiB,
totalVolumeSizeGiB,
type,
volumeGroupCount
FROM azure.elastic_san.elastic_sans
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND elastic_san_name = '{{ elastic_san_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create ElasticSan.

INSERT INTO azure.elastic_san.elastic_sans (
tags,
location,
properties,
resource_group_name,
elastic_san_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ elastic_san_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Update a Elastic San.

UPDATE azure.elastic_san.elastic_sans
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND elastic_san_name = '{{ elastic_san_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Delete a Elastic San.

DELETE FROM azure.elastic_san.elastic_sans
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND elastic_san_name = '{{ elastic_san_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;