{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-storage-file","description":"StorageManagementClient","version":"2019-06-01","base_url":"https://management.azure.com","endpoints":9,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api StorageManagementClient\n@base https://management.azure.com\n@version 2019-06-01\n@auth OAuth2\n@endpoints 9\n@toc subscriptions(9)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices\n@desc List all file services in storage accounts\n@returns(200) OK -- List file services operation completed successfully.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}\n@desc Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.\n@required {FileServicesName: any # The name of the file Service within the specified storage account. File Service Name must be \"default\", parameters: any # The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.}\n@returns(200) OK -- Sets The properties of a storage account’s File service successfully.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}\n@desc Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.\n@required {FileServicesName: any # The name of the file Service within the specified storage account. File Service Name must be \"default\"}\n@returns(200) OK -- returned the properties of a storage account’s File service.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares\n@desc Lists all shares.\n@optional {$maxpagesize: any # Optional. Specified maximum number of shares that can be included in the list., $filter: any # Optional. When specified, only share names starting with the filter will be listed., $expand: any # Optional, used to expand the properties within share's properties.}\n@returns(200) OK -- List Shares operation completed successfully.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}\n@desc Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.\n@required {shareName: any # The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number., fileShare: any # Properties of the file share to create.}\n@returns(200) OK -- The Share is already created.\n@returns(201) Created -- Create Share operation completed successfully.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}\n@desc Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.\n@required {shareName: any # The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number., fileShare: any # Properties to update for the file share.}\n@returns(200) OK -- Update Share operation completed successfully.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}\n@desc Gets properties of a specified share.\n@required {shareName: any # The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.}\n@optional {$expand: any # Optional, used to expand the properties within share's properties.}\n@returns(200) OK -- Get Share operation completed successfully.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}\n@desc Deletes specified share under its account.\n@required {shareName: any # The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.}\n@returns(200) OK -- Delete Share operation completed successfully.\n@returns(204) No Content -- The Share not exist.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore\n@desc Restore a file share within a valid retention days if share soft delete is enabled\n@required {shareName: any # The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number., deletedShare: any}\n@returns(200) OK -- The Share is successfully restored.\n\n@end\n"}