FileSystems interface
Interface representing a FileSystems.
Methods
begin |
Create a FileSystemResource |
begin |
Create a FileSystemResource |
begin |
Delete a FileSystemResource |
begin |
Delete a FileSystemResource |
get(string, string, File |
Get a FileSystemResource |
list |
List FileSystemResource resources by resource group |
list |
List FileSystemResource resources by subscription ID |
update(string, string, File |
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.
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.
The options parameters.
Returns
Promise<FileSystemResource>
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
Promise<FileSystemsDeleteHeaders>
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
Promise<FileSystemResource>
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.
The options parameters.
Returns
listBySubscription(FileSystemsListBySubscriptionOptionalParams)
List FileSystemResource resources by subscription ID
function listBySubscription(options?: FileSystemsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<FileSystemResource, FileSystemResource[], PageSettings>
Parameters
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
Promise<FileSystemResource>