FileServicesOperations interface

Interface representing a FileServices operations.

Properties

getServiceProperties

Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.

getServiceUsage

Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.

list

List all file services in storage accounts

listServiceUsages

Gets the usages of file service in storage account.

setServiceProperties

Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.

Property Details

getServiceProperties

Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.

getServiceProperties: (resourceGroupName: string, accountName: string, options?: FileServicesGetServicePropertiesOptionalParams) => Promise<FileServiceProperties>

Property Value

(resourceGroupName: string, accountName: string, options?: FileServicesGetServicePropertiesOptionalParams) => Promise<FileServiceProperties>

getServiceUsage

Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.

getServiceUsage: (resourceGroupName: string, accountName: string, options?: FileServicesGetServiceUsageOptionalParams) => Promise<FileServiceUsage>

Property Value

(resourceGroupName: string, accountName: string, options?: FileServicesGetServiceUsageOptionalParams) => Promise<FileServiceUsage>

list

List all file services in storage accounts

list: (resourceGroupName: string, accountName: string, options?: FileServicesListOptionalParams) => Promise<FileServiceItems>

Property Value

(resourceGroupName: string, accountName: string, options?: FileServicesListOptionalParams) => Promise<FileServiceItems>

listServiceUsages

Gets the usages of file service in storage account.

listServiceUsages: (resourceGroupName: string, accountName: string, options?: FileServicesListServiceUsagesOptionalParams) => PagedAsyncIterableIterator<FileServiceUsage, FileServiceUsage[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, options?: FileServicesListServiceUsagesOptionalParams) => PagedAsyncIterableIterator<FileServiceUsage, FileServiceUsage[], PageSettings>

setServiceProperties

Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.

setServiceProperties: (resourceGroupName: string, accountName: string, parameters: FileServiceProperties, options?: FileServicesSetServicePropertiesOptionalParams) => Promise<FileServiceProperties>

Property Value

(resourceGroupName: string, accountName: string, parameters: FileServiceProperties, options?: FileServicesSetServicePropertiesOptionalParams) => Promise<FileServiceProperties>