FileServices interface
Interface representing a FileServices.
Methods
get |
Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. |
list(string, string, File |
List all file services in storage accounts |
set |
Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. |
Method Details
getServiceProperties(string, string, FileServicesGetServicePropertiesOptionalParams)
Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
function getServiceProperties(resourceGroupName: string, accountName: string, options?: FileServicesGetServicePropertiesOptionalParams): Promise<FileServiceProperties>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
-
string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The options parameters.
Returns
Promise<FileServiceProperties>
list(string, string, FileServicesListOptionalParams)
List all file services in storage accounts
function list(resourceGroupName: string, accountName: string, options?: FileServicesListOptionalParams): Promise<FileServiceItems>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
-
string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- options
- FileServicesListOptionalParams
The options parameters.
Returns
Promise<FileServiceItems>
setServiceProperties(string, string, FileServiceProperties, FileServicesSetServicePropertiesOptionalParams)
Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
function setServiceProperties(resourceGroupName: string, accountName: string, parameters: FileServiceProperties, options?: FileServicesSetServicePropertiesOptionalParams): Promise<FileServiceProperties>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
-
string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- parameters
- FileServiceProperties
The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
The options parameters.
Returns
Promise<FileServiceProperties>