Skip to main content

aml_filesystems

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

Overview

Nameaml_filesystems
TypeResource
Idazure.storage_cache.aml_filesystems

Fields

NameDatatypeDescription
identityobjectManaged Identity properties.
locationstringThe geo-location where the resource lives
propertiesobjectProperties of the AML file system.
skuobjectSKU for the resource.
tagsobjectResource tags.
zonesarrayAvailability zones for resources. This field should only contain a single element in the array.

Methods

NameAccessible byRequired ParamsDescription
getSELECTamlFilesystemName, resourceGroupName, subscriptionIdReturns an AML file system.
listSELECTsubscriptionIdReturns all AML file systems the user has access to under a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdReturns all AML file systems the user has access to under a resource group.
create_or_updateINSERTamlFilesystemName, resourceGroupName, subscriptionIdCreate or update an AML file system.
deleteDELETEamlFilesystemName, resourceGroupName, subscriptionIdSchedules an AML file system for deletion.
updateUPDATEamlFilesystemName, resourceGroupName, subscriptionIdUpdate an AML file system instance.
archiveEXECamlFilesystemName, resourceGroupName, subscriptionIdArchive data from the AML file system.
cancel_archiveEXECamlFilesystemName, resourceGroupName, subscriptionIdCancel archiving data from the AML file system.

SELECT examples

Returns all AML file systems the user has access to under a subscription.

SELECT
identity,
location,
properties,
sku,
tags,
zones
FROM azure.storage_cache.aml_filesystems
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.storage_cache.aml_filesystems (
amlFilesystemName,
resourceGroupName,
subscriptionId,
tags,
location,
identity,
sku,
zones,
properties
)
SELECT
'{{ amlFilesystemName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ identity }}',
'{{ sku }}',
'{{ zones }}',
'{{ properties }}'
;

UPDATE example

Updates a aml_filesystems resource.

/*+ update */
UPDATE azure.storage_cache.aml_filesystems
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
amlFilesystemName = '{{ amlFilesystemName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified aml_filesystems resource.

/*+ delete */
DELETE FROM azure.storage_cache.aml_filesystems
WHERE amlFilesystemName = '{{ amlFilesystemName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';