Skip to main content

azure_large_storage_instance

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

Overview

Nameazure_large_storage_instance
TypeResource
Idazure.large_instance.azure_large_storage_instance

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long
namestringThe name of the resource.
azureLargeStorageInstanceUniqueIdentifierstringSpecifies the AzureLargeStorageInstance unique ID.
locationstringThe geo-location where the resource lives. Required.
storagePropertiesobjectSpecifies the storage properties for the AzureLargeStorage instance.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, azure_large_storage_instance_name, subscription_idGets an Azure Large Storage instance for the specified subscription, resource group, and instance name.
list_by_resource_groupselectresource_group_name, subscription_idGets a list of AzureLargeStorageInstances in the specified subscription and resource group. The operations returns various properties of each Azure LargeStorage instance.
list_by_subscriptionselectsubscription_idGets a list of AzureLargeStorageInstances in the specified subscription. The operations returns various properties of each Azure LargeStorage instance.
updateupdateresource_group_name, azure_large_storage_instance_name, subscription_idPatches the Tags field of a Azure Large Storage Instance for the specified subscription, resource group, and instance name.

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
azure_large_storage_instance_namestringName of the AzureLargeStorageInstance. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets an Azure Large Storage instance for the specified subscription, resource group, and instance name.

SELECT
id,
name,
azureLargeStorageInstanceUniqueIdentifier,
location,
storageProperties,
systemData,
tags,
type
FROM azure.large_instance.azure_large_storage_instance
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND azure_large_storage_instance_name = '{{ azure_large_storage_instance_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

UPDATE examples

Patches the Tags field of a Azure Large Storage Instance for the specified subscription, resource group, and instance name.

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