Microsoft.FileShares (preview:2025-06-01)

2025/07/29 • 16 new methods

Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.FileShares/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShares_ListBySubscription (new)
Description List FileShare resources by subscription ID
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.FileShares/fileShares
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
mountName: string ,
hostName: string ,
mediaTier: enum ,
redundancy: enum ,
protocol: enum ,
provisionedStorageGiB: integer ,
provisionedStorageNextAllowedDowngrade: string ,
provisionedIOPerSec: integer ,
provisionedIOPerSecNextAllowedDowngrade: string ,
provisionedThroughputMiBPerSec: integer ,
provisionedThroughputNextAllowedDowngrade: string ,
includedBurstIOPerSec: integer ,
maxBurstIOPerSecCredits: integer ,
nfsProtocolProperties:
{
rootSquash: enum ,
}
,
publicAccessProperties:
{
allowedSubnets:
[
string ,
]
,
}
,
provisioningState: enum ,
publicNetworkAccess: enum ,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShares_CheckNameAvailability (new)
Description Implements local CheckNameAvailability operations
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
location: string ,
body:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShare_GetLimits (new)
Description Get file shares limits.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getLimits
{
api-version: string ,
subscriptionId: string ,
location: string ,
}

⚐ Response (200)

{
properties:
{
limits:
{
maxFileShares: integer ,
maxFileShareSnapshots: integer ,
maxFileShareSubnets: integer ,
maxFileSharePrivateEndpointConnections: integer ,
minProvisionedStorageGiB: integer ,
maxProvisionedStorageGiB: integer ,
minProvisionedIOPerSec: integer ,
maxProvisionedIOPerSec: integer ,
minProvisionedThroughputMiBPerSec: integer ,
maxProvisionedThroughputMiBPerSec: integer ,
}
,
provisioningConstants:
{
baseIOPerSec: integer ,
scalarIOPerSec: number ,
baseThroughputMiBPerSec: integer ,
scalarThroughputMiBPerSec: number ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShare_GetProvisioningRecommendation (new)
Description Get file shares provisioning parameters recommendation.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getProvisioningRecommendation
{
api-version: string ,
subscriptionId: string ,
location: string ,
body:
{
properties:
{
provisionedStorageGiB: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisionedIOPerSec: integer ,
provisionedThroughputMiBPerSec: integer ,
availableRedundancyOptions:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShare_GetUsageData (new)
Description Get file shares usage data.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getUsageData
{
api-version: string ,
subscriptionId: string ,
location: string ,
}

⚐ Response (200)

{
properties:
{
liveShares:
{
fileShareCount: integer ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShares_ListByParent (new)
Description List FileShare resources by resource group
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
mountName: string ,
hostName: string ,
mediaTier: enum ,
redundancy: enum ,
protocol: enum ,
provisionedStorageGiB: integer ,
provisionedStorageNextAllowedDowngrade: string ,
provisionedIOPerSec: integer ,
provisionedIOPerSecNextAllowedDowngrade: string ,
provisionedThroughputMiBPerSec: integer ,
provisionedThroughputNextAllowedDowngrade: string ,
includedBurstIOPerSec: integer ,
maxBurstIOPerSecCredits: integer ,
nfsProtocolProperties:
{
rootSquash: enum ,
}
,
publicAccessProperties:
{
allowedSubnets:
[
string ,
]
,
}
,
provisioningState: enum ,
publicNetworkAccess: enum ,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShares_Get (new)
Description Get a FileShare
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
properties:
{
mountName: string ,
hostName: string ,
mediaTier: enum ,
redundancy: enum ,
protocol: enum ,
provisionedStorageGiB: integer ,
provisionedStorageNextAllowedDowngrade: string ,
provisionedIOPerSec: integer ,
provisionedIOPerSecNextAllowedDowngrade: string ,
provisionedThroughputMiBPerSec: integer ,
provisionedThroughputNextAllowedDowngrade: string ,
includedBurstIOPerSec: integer ,
maxBurstIOPerSecCredits: integer ,
nfsProtocolProperties:
{
rootSquash: enum ,
}
,
publicAccessProperties:
{
allowedSubnets:
[
string ,
]
,
}
,
provisioningState: enum ,
publicNetworkAccess: enum ,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShares_CreateOrUpdate (new)
Description Create or update a file share.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
resource:
{
properties:
{
mountName: string ,
hostName: string ,
mediaTier: enum ,
redundancy: enum ,
protocol: enum ,
provisionedStorageGiB: integer ,
provisionedStorageNextAllowedDowngrade: string ,
provisionedIOPerSec: integer ,
provisionedIOPerSecNextAllowedDowngrade: string ,
provisionedThroughputMiBPerSec: integer ,
provisionedThroughputNextAllowedDowngrade: string ,
includedBurstIOPerSec: integer ,
maxBurstIOPerSecCredits: integer ,
nfsProtocolProperties:
{
rootSquash: enum ,
}
,
publicAccessProperties:
{
allowedSubnets:
[
string ,
]
,
}
,
provisioningState: enum ,
publicNetworkAccess: enum ,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
mountName: string ,
hostName: string ,
mediaTier: enum ,
redundancy: enum ,
protocol: enum ,
provisionedStorageGiB: integer ,
provisionedStorageNextAllowedDowngrade: string ,
provisionedIOPerSec: integer ,
provisionedIOPerSecNextAllowedDowngrade: string ,
provisionedThroughputMiBPerSec: integer ,
provisionedThroughputNextAllowedDowngrade: string ,
includedBurstIOPerSec: integer ,
maxBurstIOPerSecCredits: integer ,
nfsProtocolProperties:
{
rootSquash: enum ,
}
,
publicAccessProperties:
{
allowedSubnets:
[
string ,
]
,
}
,
provisioningState: enum ,
publicNetworkAccess: enum ,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
mountName: string ,
hostName: string ,
mediaTier: enum ,
redundancy: enum ,
protocol: enum ,
provisionedStorageGiB: integer ,
provisionedStorageNextAllowedDowngrade: string ,
provisionedIOPerSec: integer ,
provisionedIOPerSecNextAllowedDowngrade: string ,
provisionedThroughputMiBPerSec: integer ,
provisionedThroughputNextAllowedDowngrade: string ,
includedBurstIOPerSec: integer ,
maxBurstIOPerSecCredits: integer ,
nfsProtocolProperties:
{
rootSquash: enum ,
}
,
publicAccessProperties:
{
allowedSubnets:
[
string ,
]
,
}
,
provisioningState: enum ,
publicNetworkAccess: enum ,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShares_Update (new)
Description Update a FileShare
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
properties:
{
tags: object ,
properties:
{
provisionedStorageGiB: integer ,
provisionedIOPerSec: integer ,
provisionedThroughputMiBPerSec: integer ,
nfsProtocolProperties:
{
rootSquash: enum ,
}
,
publicAccessProperties:
{
allowedSubnets:
[
string ,
]
,
}
,
publicNetworkAccess: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
mountName: string ,
hostName: string ,
mediaTier: enum ,
redundancy: enum ,
protocol: enum ,
provisionedStorageGiB: integer ,
provisionedStorageNextAllowedDowngrade: string ,
provisionedIOPerSec: integer ,
provisionedIOPerSecNextAllowedDowngrade: string ,
provisionedThroughputMiBPerSec: integer ,
provisionedThroughputNextAllowedDowngrade: string ,
includedBurstIOPerSec: integer ,
maxBurstIOPerSecCredits: integer ,
nfsProtocolProperties:
{
rootSquash: enum ,
}
,
publicAccessProperties:
{
allowedSubnets:
[
string ,
]
,
}
,
provisioningState: enum ,
publicNetworkAccess: enum ,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShares_Delete (new)
Description Delete a FileShare
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShareSnapshot_List (new)
Description List FileShareSnapshot by FileShare.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
snapshotTime: string ,
initiatorId: string ,
metadata: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShareSnapshot_Get (new)
Description Get a FileShareSnapshot
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
name: string ,
}

⚐ Response (200)

{
properties:
{
snapshotTime: string ,
initiatorId: string ,
metadata: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShareSnapshot_CreateOrUpdate (new)
Description Create a FileShareSnapshot.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
name: string ,
resource:
{
properties:
{
snapshotTime: string ,
initiatorId: string ,
metadata: object ,
}
,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShareSnapshot_Update (new)
Description Update a FileShareSnapshot.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
name: string ,
properties:
{
properties:
{
metadata: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
snapshotTime: string ,
initiatorId: string ,
metadata: object ,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FileShareSnapshot_Delete (new)
Description Delete a FileShareSnapshot.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.FileShares/fileShares/{resourceName}/fileShareSnapshots/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
name: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}