FileSystems interface

Interface representing a FileSystems.

Methods

beginCreateOrUpdate(string, string, FileSystemResource, FileSystemsCreateOrUpdateOptionalParams)

Create a FileSystemResource

beginCreateOrUpdateAndWait(string, string, FileSystemResource, FileSystemsCreateOrUpdateOptionalParams)

Create a FileSystemResource

beginDelete(string, string, FileSystemsDeleteOptionalParams)

Delete a FileSystemResource

beginDeleteAndWait(string, string, FileSystemsDeleteOptionalParams)

Delete a FileSystemResource

get(string, string, FileSystemsGetOptionalParams)

Get a FileSystemResource

listByResourceGroup(string, FileSystemsListByResourceGroupOptionalParams)

List FileSystemResource resources by resource group

listBySubscription(FileSystemsListBySubscriptionOptionalParams)

List FileSystemResource resources by subscription ID

update(string, string, FileSystemResourceUpdate, FileSystemsUpdateOptionalParams)

Update a FileSystemResource

Method Details

beginCreateOrUpdate(string, string, FileSystemResource, FileSystemsCreateOrUpdateOptionalParams)

Create a FileSystemResource

function beginCreateOrUpdate(resourceGroupName: string, fileSystemName: string, resource: FileSystemResource, options?: FileSystemsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FileSystemResource>, FileSystemResource>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

fileSystemName

string

Name of the File System resource

resource
FileSystemResource

Resource create parameters.

options
FileSystemsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<FileSystemResource>, FileSystemResource>>

beginCreateOrUpdateAndWait(string, string, FileSystemResource, FileSystemsCreateOrUpdateOptionalParams)

Create a FileSystemResource

function beginCreateOrUpdateAndWait(resourceGroupName: string, fileSystemName: string, resource: FileSystemResource, options?: FileSystemsCreateOrUpdateOptionalParams): Promise<FileSystemResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

fileSystemName

string

Name of the File System resource

resource
FileSystemResource

Resource create parameters.

options
FileSystemsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, FileSystemsDeleteOptionalParams)

Delete a FileSystemResource

function beginDelete(resourceGroupName: string, fileSystemName: string, options?: FileSystemsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<FileSystemsDeleteHeaders>, FileSystemsDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

fileSystemName

string

Name of the File System resource

options
FileSystemsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<FileSystemsDeleteHeaders>, FileSystemsDeleteHeaders>>

beginDeleteAndWait(string, string, FileSystemsDeleteOptionalParams)

Delete a FileSystemResource

function beginDeleteAndWait(resourceGroupName: string, fileSystemName: string, options?: FileSystemsDeleteOptionalParams): Promise<FileSystemsDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

fileSystemName

string

Name of the File System resource

options
FileSystemsDeleteOptionalParams

The options parameters.

Returns

get(string, string, FileSystemsGetOptionalParams)

Get a FileSystemResource

function get(resourceGroupName: string, fileSystemName: string, options?: FileSystemsGetOptionalParams): Promise<FileSystemResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

fileSystemName

string

Name of the File System resource

options
FileSystemsGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, FileSystemsListByResourceGroupOptionalParams)

List FileSystemResource resources by resource group

function listByResourceGroup(resourceGroupName: string, options?: FileSystemsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<FileSystemResource, FileSystemResource[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
FileSystemsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(FileSystemsListBySubscriptionOptionalParams)

List FileSystemResource resources by subscription ID

function listBySubscription(options?: FileSystemsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<FileSystemResource, FileSystemResource[], PageSettings>

Parameters

options
FileSystemsListBySubscriptionOptionalParams

The options parameters.

Returns

update(string, string, FileSystemResourceUpdate, FileSystemsUpdateOptionalParams)

Update a FileSystemResource

function update(resourceGroupName: string, fileSystemName: string, properties: FileSystemResourceUpdate, options?: FileSystemsUpdateOptionalParams): Promise<FileSystemResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

fileSystemName

string

Name of the File System resource

properties
FileSystemResourceUpdate

The resource properties to be updated.

options
FileSystemsUpdateOptionalParams

The options parameters.

Returns