elastic_sans
Creates, updates, deletes, gets or lists an elastic_sans
resource.
Overview
Name | elastic_sans |
Type | Resource |
Id | azure.elastic_san.elastic_sans |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
OK -- Operation completed successfully; retrieved ElasticSan.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Properties of ElasticSan. |
tags | object | Resource tags. |
OK -- Operation completed successfully; retrieved elasticSans by resource group
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Properties of ElasticSan. |
tags | object | Resource tags. |
OK -- Operation completed successfully; retrieved Elastic San by subscription
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Properties of ElasticSan. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , elasticSanName | Get a ElasticSan. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | Gets a list of ElasticSan in a resource group. | |
list_by_subscription | select | subscriptionId | Gets a list of ElasticSans in a subscription | |
create | insert | subscriptionId , resourceGroupName , elasticSanName , data__properties , data__location | Create ElasticSan. | |
update | update | subscriptionId , resourceGroupName , elasticSanName | Update a Elastic San. | |
delete | delete | subscriptionId , resourceGroupName , elasticSanName | Delete 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.
Name | Datatype | Description |
---|---|---|
elasticSanName | string | The name of the ElasticSan. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Get a ElasticSan.
SELECT
location,
properties,
tags
FROM azure.elastic_san.elastic_sans
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND elasticSanName = '{{ elasticSanName }}' -- required
;
Gets a list of ElasticSan in a resource group.
SELECT
location,
properties,
tags
FROM azure.elastic_san.elastic_sans
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Gets a list of ElasticSans in a subscription
SELECT
location,
properties,
tags
FROM azure.elastic_san.elastic_sans
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
Create ElasticSan.
INSERT INTO azure.elastic_san.elastic_sans (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
elasticSanName
)
SELECT
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ location }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ elasticSanName }}'
RETURNING
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: elastic_sans
props:
- name: subscriptionId
value: string
description: Required parameter for the elastic_sans resource.
- name: resourceGroupName
value: string
description: Required parameter for the elastic_sans resource.
- name: elasticSanName
value: string
description: Required parameter for the elastic_sans resource.
- name: properties
value: object
description: |
Properties of ElasticSan.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
UPDATE
examples
- update
Update a Elastic San.
UPDATE azure.elastic_san.elastic_sans
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND elasticSanName = '{{ elasticSanName }}' --required
RETURNING
location,
properties,
tags;
DELETE
examples
- delete
Delete a Elastic San.
DELETE FROM azure.elastic_san.elastic_sans
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND elasticSanName = '{{ elasticSanName }}' --required
;