Microsoft Azure

Azure Storage: File (2025-01-01)

The Azure Storage Management API.

Developer tools#openapi#cloud

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The Azure Storage Management API.

Endpoints 12

FileService

  • GETFileServices_List/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServicesList all file services in storage accounts
  • GETFileServices_GetServiceProperties/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/:FileServicesNameGets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
  • PUTFileServices_SetServiceProperties/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/:FileServicesNameSets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
  • GETFileServices_ListServiceUsages/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/:FileServicesName/usages?$maxpagesize=0Gets the usages of file service in storage account.
  • GETFileServices_GetServiceUsage/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/:FileServicesName/usages/:fileServiceUsagesNameGets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.

FileShares

  • GETFileShares_List/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/default/shares?$maxpagesize=string&$filter=string&$expand=stringLists all shares.
  • GETFileShares_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/default/shares/:shareName?$expand=stringGets properties of a specified share.
  • PUTFileShares_Create/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/default/shares/:shareName?$expand=stringCreates 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…
  • DELETEFileShares_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/default/shares/:shareName?$include=stringDeletes specified share under its account.
  • PATCHFileShares_Update/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/default/shares/:shareNameUpdates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does…
  • POSTFileShares_Restore/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/default/shares/:shareName/restoreRestore a file share within a valid retention days if share soft delete is enabled
  • POSTFileShares_Lease/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices/default/shares/:shareName/leaseThe Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
12 operations on 8 pathsGET 6PUT 2POST 2PATCH 1DELETE 1
Main resources
FileShares 7FileService 5
Response formats
application/json
Description format
Swagger 2.0, API version 2025-01-01

How to test the Azure Storage: File (2025-01-01) in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Storage: File (2025-01-01) collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “FileServices_List” (GET /subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Storage/storageAccounts/:accountName/fileServices), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Storage: File (2025-01-01)?

The Azure Storage Management API. It is listed under Developer tools and has 12 endpoints.

Who publishes the Azure Storage: File (2025-01-01)?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Storage: File (2025-01-01)?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Storage: File (2025-01-01)?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Storage: File (2025-01-01) have?

12 operations on 8 paths (6 GET, 2 PUT, 2 POST, 1 PATCH, 1 DELETE). The largest groups are FileShares, FileService.

Is forking the Azure Storage: File (2025-01-01) free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.