FileSharesOperations interface

Interface representing a FileShares operations.

Properties

checkNameAvailability

Implements local CheckNameAvailability operations

createOrUpdate

Create or update a file share.

delete

Delete a FileShare

get

Get a FileShare

listByParent

List FileShare resources by resource group

listBySubscription

List FileShare resources by subscription ID

update

Update a FileShare

Property Details

checkNameAvailability

Implements local CheckNameAvailability operations

checkNameAvailability: (location: string, body: CheckNameAvailabilityRequest, options?: FileSharesCheckNameAvailabilityOptionalParams) => Promise<CheckNameAvailabilityResponse>

Property Value

(location: string, body: CheckNameAvailabilityRequest, options?: FileSharesCheckNameAvailabilityOptionalParams) => Promise<CheckNameAvailabilityResponse>

createOrUpdate

Create or update a file share.

createOrUpdate: (resourceGroupName: string, resourceName: string, resource: FileShare, options?: FileSharesCreateOrUpdateOptionalParams) => PollerLike<OperationState<FileShare>, FileShare>

Property Value

(resourceGroupName: string, resourceName: string, resource: FileShare, options?: FileSharesCreateOrUpdateOptionalParams) => PollerLike<OperationState<FileShare>, FileShare>

delete

Delete a FileShare

delete: (resourceGroupName: string, resourceName: string, options?: FileSharesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, resourceName: string, options?: FileSharesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a FileShare

get: (resourceGroupName: string, resourceName: string, options?: FileSharesGetOptionalParams) => Promise<FileShare>

Property Value

(resourceGroupName: string, resourceName: string, options?: FileSharesGetOptionalParams) => Promise<FileShare>

listByParent

List FileShare resources by resource group

listByParent: (resourceGroupName: string, options?: FileSharesListByParentOptionalParams) => PagedAsyncIterableIterator<FileShare, FileShare[], PageSettings>

Property Value

(resourceGroupName: string, options?: FileSharesListByParentOptionalParams) => PagedAsyncIterableIterator<FileShare, FileShare[], PageSettings>

listBySubscription

List FileShare resources by subscription ID

listBySubscription: (options?: FileSharesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<FileShare, FileShare[], PageSettings>

Property Value

(options?: FileSharesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<FileShare, FileShare[], PageSettings>

update

Update a FileShare

update: (resourceGroupName: string, resourceName: string, properties: FileShareUpdate, options?: FileSharesUpdateOptionalParams) => PollerLike<OperationState<FileShare>, FileShare>

Property Value

(resourceGroupName: string, resourceName: string, properties: FileShareUpdate, options?: FileSharesUpdateOptionalParams) => PollerLike<OperationState<FileShare>, FileShare>