Skip to main content

file_systems

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

Overview

Namefile_systems
TypeResource
Idazure_isv.dellstorage.file_systems

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.
capacityobjectCapacity for Dell Filesystem, Will be received as part of Job Status.
delegatedSubnetCidrstringDomain range for the delegated subnet. Required.
delegatedSubnetIdstringDelegated subnet id for Vnet injection. Required.
dellReferenceNumberstringDellReferenceNumber of the resource. Required.
encryptionobjectEncryptionProperties of the resource. Required.
fileSystemIdstringFile system Id of the resource.
identityobjectThe managed service identities assigned to this resource.
locationstringThe geo-location where the resource lives. Required.
marketplaceobjectMarketplace details. Required.
oneFsUrlstringOneFS url.
provisioningStatestringProvisioning State of the resource. Known values are: "Accepted", "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled", "Deleted", and "NotSpecified". (Accepted, Creating, Updating, Deleting, Succeeded, Failed, Canceled, Deleted, NotSpecified)
smartConnectFqdnstringSmart Connect FQDN of the resource.
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".
userobjectUser Details. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, filesystem_name, subscription_idGet a FileSystemResource.
list_by_resource_groupselectresource_group_name, subscription_idList FileSystemResource resources by resource group.
list_by_subscriptionselectsubscription_idList FileSystemResource resources by subscription ID.
create_or_updateinsertresource_group_name, filesystem_name, subscription_id, locationCreate a FileSystemResource.
updateupdateresource_group_name, filesystem_name, subscription_idUpdate a FileSystemResource.
create_or_updatereplaceresource_group_name, filesystem_name, subscription_id, locationCreate a FileSystemResource.
deletedeleteresource_group_name, filesystem_name, subscription_idDelete a FileSystemResource.

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

SELECT examples

Get a FileSystemResource.

SELECT
id,
name,
capacity,
delegatedSubnetCidr,
delegatedSubnetId,
dellReferenceNumber,
encryption,
fileSystemId,
identity,
location,
marketplace,
oneFsUrl,
provisioningState,
smartConnectFqdn,
systemData,
tags,
type,
user
FROM azure_isv.dellstorage.file_systems
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND filesystem_name = '{{ filesystem_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create a FileSystemResource.

INSERT INTO azure_isv.dellstorage.file_systems (
tags,
location,
properties,
identity,
resource_group_name,
filesystem_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ identity }}',
'{{ resource_group_name }}',
'{{ filesystem_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Update a FileSystemResource.

UPDATE azure_isv.dellstorage.file_systems
SET
identity = '{{ identity }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND filesystem_name = '{{ filesystem_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type;

REPLACE examples

Create a FileSystemResource.

REPLACE azure_isv.dellstorage.file_systems
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}',
identity = '{{ identity }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND filesystem_name = '{{ filesystem_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type;

DELETE examples

Delete a FileSystemResource.

DELETE FROM azure_isv.dellstorage.file_systems
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND filesystem_name = '{{ filesystem_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;