Microsoft.FileStorage (stable:2025-05-05)

2025/03/19 • 50 updated methods

Service_SetProperties (updated)
Description Sets properties for a storage account's File service endpoint, including properties for Storage Analytics metrics and CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚶ Changes

{
  "#id": "Service_SetProperties",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /?restype=service&comp=properties
{
StorageServiceProperties:
{
HourMetrics:
{
Version: string ,
Enabled: boolean ,
IncludeAPIs: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
MinuteMetrics:
{
Version: string ,
Enabled: boolean ,
IncludeAPIs: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
Cors:
[
{
AllowedOrigins: string ,
AllowedMethods: string ,
AllowedHeaders: string ,
ExposedHeaders: string ,
MaxAgeInSeconds: integer ,
}
,
]
,
Protocol:
{
Smb:
{
Multichannel:
{
Enabled: boolean ,
}
,
}
,
}
,
}
,
timeout: integer ,
x-ms-version: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (202)

{
x-ms-request-id: string ,
x-ms-version: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Service_GetProperties (updated)
Description Gets the properties of a storage account's File service, including properties for Storage Analytics metrics and CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚶ Changes

{
  "#id": "Service_GetProperties",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /?restype=service&comp=properties
{
timeout: integer ,
x-ms-version: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
}
,
$schema:
{
HourMetrics:
{
Version: string ,
Enabled: boolean ,
IncludeAPIs: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
MinuteMetrics:
{
Version: string ,
Enabled: boolean ,
IncludeAPIs: boolean ,
RetentionPolicy:
{
Enabled: boolean ,
Days: integer ,
}
,
}
,
Cors:
[
{
AllowedOrigins: string ,
AllowedMethods: string ,
AllowedHeaders: string ,
ExposedHeaders: string ,
MaxAgeInSeconds: integer ,
}
,
]
,
Protocol:
{
Smb:
{
Multichannel:
{
Enabled: boolean ,
}
,
}
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Service_ListSharesSegment (updated)
Description The List Shares Segment operation returns a list of the shares and share snapshots under the specified account.
Reference Link ¶

⚶ Changes

{
  "#id": "Service_ListSharesSegment",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /?comp=list
{
prefix: string ,
marker: string ,
maxresults: integer ,
include: array ,
timeout: integer ,
x-ms-version: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
}
,
$schema:
{
ServiceEndpoint: string ,
Prefix: string ,
Marker: string ,
MaxResults: integer ,
ShareItems:
[
{
Name: string ,
Snapshot: string ,
Deleted: boolean ,
Version: string ,
Properties:
{
Last-Modified: string ,
Etag: string ,
Quota: integer ,
ProvisionedIops: integer ,
ProvisionedIngressMBps: integer ,
ProvisionedEgressMBps: integer ,
ProvisionedBandwidthMiBps: integer ,
NextAllowedQuotaDowngradeTime: string ,
DeletedTime: string ,
RemainingRetentionDays: integer ,
AccessTier: string ,
AccessTierChangeTime: string ,
AccessTierTransitionState: string ,
LeaseStatus: enum ,
LeaseState: enum ,
LeaseDuration: enum ,
EnabledProtocols: string ,
RootSquash: enum ,
EnableSnapshotVirtualDirectoryAccess: boolean ,
PaidBurstingEnabled: boolean ,
PaidBurstingMaxIops: integer ,
PaidBurstingMaxBandwidthMibps: integer ,
IncludedBurstIops: integer ,
MaxBurstCreditsForIops: integer ,
NextAllowedProvisionedIopsDowngradeTime: string ,
NextAllowedProvisionedBandwidthDowngradeTime: string ,
}
,
Metadata: object ,
}
,
]
,
NextMarker: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_Create (updated)
Description Creates a new share under the specified account. If the share with the same name already exists, the operation fails.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_Create",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share
{
timeout: integer ,
x-ms-meta: string ,
x-ms-share-quota: integer ,
x-ms-access-tier: string ,
x-ms-version: string ,
x-ms-enabled-protocols: string ,
x-ms-root-squash: string ,
x-ms-enable-snapshot-virtual-directory-access: boolean ,
x-ms-share-paid-bursting-enabled: boolean ,
x-ms-share-paid-bursting-max-bandwidth-mibps: integer ,
x-ms-share-paid-bursting-max-iops: integer ,
x-ms-file-request-intent: string ,
x-ms-share-provisioned-iops: integer ,
x-ms-share-provisioned-bandwidth-mibps: integer ,
}

⚐ Response (201)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-share-quota: integer ,
x-ms-share-provisioned-iops: integer ,
x-ms-share-provisioned-bandwidth-mibps: integer ,
x-ms-share-included-burst-iops: integer ,
x-ms-share-max-burst-credits-for-iops: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_GetProperties (updated)
Description Returns all user-defined metadata and system properties for the specified share or share snapshot. The data returned does not include the share's list of files.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_GetProperties",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}?restype=share
{
sharesnapshot: string ,
timeout: integer ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
x-ms-meta: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-share-quota: integer ,
x-ms-share-provisioned-iops: integer ,
x-ms-share-provisioned-ingress-mbps: integer ,
x-ms-share-provisioned-egress-mbps: integer ,
x-ms-share-next-allowed-quota-downgrade-time: string ,
x-ms-share-provisioned-bandwidth-mibps: integer ,
x-ms-lease-duration: string ,
x-ms-lease-state: string ,
x-ms-lease-status: string ,
x-ms-access-tier: string ,
x-ms-access-tier-change-time: string ,
x-ms-access-tier-transition-state: string ,
x-ms-enabled-protocols: string ,
x-ms-root-squash: string ,
x-ms-enable-snapshot-virtual-directory-access: boolean ,
x-ms-share-paid-bursting-enabled: boolean ,
x-ms-share-paid-bursting-max-iops: integer ,
x-ms-share-paid-bursting-max-bandwidth-mibps: integer ,
x-ms-share-included-burst-iops: integer ,
x-ms-share-max-burst-credits-for-iops: integer ,
x-ms-share-next-allowed-provisioned-iops-downgrade-time: string ,
x-ms-share-next-allowed-provisioned-bandwidth-downgrade-time: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_Delete (updated)
Description Operation marks the specified share or share snapshot for deletion. The share or share snapshot and any files contained within it are later deleted during garbage collection.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_Delete",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

DELETE:  /{shareName}?restype=share
{
sharesnapshot: string ,
timeout: integer ,
x-ms-version: string ,
x-ms-delete-snapshots: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (202)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-file-share-usage-bytes: integer ,
x-ms-file-share-snapshot-usage-bytes: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_AcquireLease (updated)
Description The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for set and delete share operations.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_AcquireLease",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=lease&acquire
{
timeout: integer ,
x-ms-lease-duration: integer ,
x-ms-proposed-lease-id: string ,
x-ms-version: string ,
sharesnapshot: string ,
x-ms-client-request-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (201)

{
etag: string ,
last-modified: string ,
x-ms-lease-id: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_ReleaseLease (updated)
Description The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for set and delete share operations.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_ReleaseLease",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=lease&release
{
timeout: integer ,
x-ms-lease-id: string ,
x-ms-version: string ,
sharesnapshot: string ,
x-ms-client-request-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_ChangeLease (updated)
Description The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for set and delete share operations.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_ChangeLease",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=lease&change
{
timeout: integer ,
x-ms-lease-id: string ,
x-ms-proposed-lease-id: string ,
x-ms-version: string ,
sharesnapshot: string ,
x-ms-client-request-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-lease-id: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_RenewLease (updated)
Description The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for set and delete share operations.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_RenewLease",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=lease&renew
{
timeout: integer ,
x-ms-lease-id: string ,
x-ms-version: string ,
sharesnapshot: string ,
x-ms-client-request-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-lease-id: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_BreakLease (updated)
Description The Lease Share operation establishes and manages a lock on a share, or the specified snapshot for set and delete share operations.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_BreakLease",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=lease&break
{
timeout: integer ,
x-ms-lease-break-period: integer ,
x-ms-lease-id: string ,
x-ms-version: string ,
x-ms-client-request-id: string ,
sharesnapshot: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (202)

{
etag: string ,
last-modified: string ,
x-ms-lease-time: integer ,
x-ms-lease-id: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_CreateSnapshot (updated)
Description Creates a read-only snapshot of a share.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_CreateSnapshot",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=snapshot
{
timeout: integer ,
x-ms-meta: string ,
x-ms-version: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (201)

{
x-ms-snapshot: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_CreatePermission (updated)
Description Create a permission (a security descriptor).
Reference Link ¶

⚶ Changes

{
  "#id": "Share_CreatePermission",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=filepermission
{
timeout: integer ,
x-ms-version: string ,
sharePermission:
{
permission: string ,
format: enum ,
}
,
x-ms-file-request-intent: string ,
}

⚐ Response (201)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-file-permission-key: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_GetPermission (updated)
Description Returns the permission (security descriptor) for a given key
Reference Link ¶

⚶ Changes

{
  "#id": "Share_GetPermission",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}?restype=share&comp=filepermission
{
x-ms-file-permission-key: string ,
x-ms-file-permission-format: string ,
timeout: integer ,
x-ms-version: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
permission: string ,
format: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_SetProperties (updated)
Description Sets properties for the specified share.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_SetProperties",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=properties
{
timeout: integer ,
x-ms-version: string ,
x-ms-share-quota: integer ,
x-ms-access-tier: string ,
x-ms-lease-id: string ,
x-ms-root-squash: string ,
x-ms-enable-snapshot-virtual-directory-access: boolean ,
x-ms-share-paid-bursting-enabled: boolean ,
x-ms-share-paid-bursting-max-bandwidth-mibps: integer ,
x-ms-share-paid-bursting-max-iops: integer ,
x-ms-file-request-intent: string ,
x-ms-share-provisioned-iops: integer ,
x-ms-share-provisioned-bandwidth-mibps: integer ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-share-quota: integer ,
x-ms-share-provisioned-iops: integer ,
x-ms-share-provisioned-bandwidth-mibps: integer ,
x-ms-share-included-burst-iops: integer ,
x-ms-share-max-burst-credits-for-iops: integer ,
x-ms-share-next-allowed-quota-downgrade-time: string ,
x-ms-share-next-allowed-provisioned-iops-downgrade-time: string ,
x-ms-share-next-allowed-provisioned-bandwidth-downgrade-time: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_SetMetadata (updated)
Description Sets one or more user-defined name-value pairs for the specified share.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_SetMetadata",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=metadata
{
timeout: integer ,
x-ms-meta: string ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_GetAccessPolicy (updated)
Description Returns information about stored access policies specified on the share.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_GetAccessPolicy",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}?restype=share&comp=acl
{
timeout: integer ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
Id: string ,
AccessPolicy:
{
Start: string ,
Expiry: string ,
Permission: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_SetAccessPolicy (updated)
Description Sets a stored access policy for use with shared access signatures.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_SetAccessPolicy",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=acl
{
shareAcl:
{
Id: string ,
AccessPolicy:
{
Start: string ,
Expiry: string ,
Permission: string ,
}
,
}
,
timeout: integer ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_GetStatistics (updated)
Description Retrieves statistics related to the share.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_GetStatistics",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}?restype=share&comp=stats
{
timeout: integer ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
ShareUsageBytes: integer ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_Restore (updated)
Description Restores a previously deleted Share.
Reference Link ¶

⚶ Changes

{
  "#id": "Share_Restore",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}?restype=share&comp=undelete
{
timeout: integer ,
x-ms-version: string ,
x-ms-client-request-id: string ,
x-ms-deleted-share-name: string ,
x-ms-deleted-share-version: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (201)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-client-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-share-quota: integer ,
x-ms-share-provisioned-iops: integer ,
x-ms-share-provisioned-bandwidth-mibps: integer ,
x-ms-share-included-burst-iops: integer ,
x-ms-share-max-burst-credits-for-iops: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_Create (updated)
Description Creates a new directory under the specified share or parent directory.
Reference Link ¶

⚶ Changes

{
  "#id": "Directory_Create",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}?restype=directory
{
timeout: integer ,
x-ms-meta: string ,
x-ms-version: string ,
x-ms-file-permission: string ,
x-ms-file-permission-format: string ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-request-intent: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-mode: string ,
}

⚐ Response (201)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
x-ms-mode: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-file-file-type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_GetProperties (updated)
Description Returns all system properties for the specified directory, and can also be used to check the existence of a directory. The data returned does not include the files in the directory or any subdirectories.
Reference Link ¶

⚶ Changes

{
  "#id": "Directory_GetProperties",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}/{directory}?restype=directory
{
sharesnapshot: string ,
timeout: integer ,
x-ms-version: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
x-ms-meta: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-server-encrypted: boolean ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-permission-key: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
x-ms-mode: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-file-file-type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_Delete (updated)
Description Removes the specified empty directory. Note that the directory must be empty before it can be deleted.
Reference Link ¶

⚶ Changes

{
  "#id": "Directory_Delete",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

DELETE:  /{shareName}/{directory}?restype=directory
{
timeout: integer ,
x-ms-version: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (202)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_SetProperties (updated)
Description Sets properties on the directory.
Reference Link ¶

⚶ Changes

{
  "#id": "Directory_SetProperties",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}?restype=directory&comp=properties
{
timeout: integer ,
x-ms-version: string ,
x-ms-file-permission: string ,
x-ms-file-permission-format: string ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-mode: string ,
}

⚐ Response (200)

{
etag: string ,
x-ms-request-id: string ,
last-modified: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
x-ms-mode: string ,
x-ms-owner: string ,
x-ms-group: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_SetMetadata (updated)
Description Updates user defined metadata for the specified directory.
Reference Link ¶

⚶ Changes

{
  "#id": "Directory_SetMetadata",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}?restype=directory&comp=metadata
{
timeout: integer ,
x-ms-meta: string ,
x-ms-version: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_ListFilesAndDirectoriesSegment (updated)
Description Returns a list of files or directories under the specified share or directory. It lists the contents only for a single level of the directory hierarchy.
Reference Link ¶

⚶ Changes

{
  "#id": "Directory_ListFilesAndDirectoriesSegment",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}/{directory}?restype=directory&comp=list
{
prefix: string ,
sharesnapshot: string ,
marker: string ,
maxresults: integer ,
timeout: integer ,
x-ms-version: string ,
include: array ,
x-ms-file-extended-info: boolean ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
$headers:
{
content-type: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
ServiceEndpoint: string ,
ShareName: string ,
ShareSnapshot: string ,
Encoded: boolean ,
DirectoryPath: string ,
Prefix:
{
Encoded: boolean ,
content: string ,
}
,
Marker: string ,
MaxResults: integer ,
Segment:
{
DirectoryItems:
[
{
Name:
{
Encoded: boolean ,
content: string ,
}
,
FileId: string ,
Properties:
{
Content-Length: integer ,
CreationTime: string ,
LastAccessTime: string ,
LastWriteTime: string ,
ChangeTime: string ,
Last-Modified: string ,
Etag: string ,
}
,
Attributes: string ,
PermissionKey: string ,
}
,
]
,
FileItems:
[
{
Name:
{
Encoded: boolean ,
content: string ,
}
,
FileId: string ,
Properties:
{
Content-Length: integer ,
CreationTime: string ,
LastAccessTime: string ,
LastWriteTime: string ,
ChangeTime: string ,
Last-Modified: string ,
Etag: string ,
}
,
Attributes: string ,
PermissionKey: string ,
}
,
]
,
}
,
NextMarker: string ,
DirectoryId: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_ListHandles (updated)
Description Lists handles for directory.
Reference Link ¶

⚶ Changes

{
  "#id": "Directory_ListHandles",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}/{directory}?comp=listhandles
{
marker: string ,
maxresults: integer ,
timeout: integer ,
sharesnapshot: string ,
x-ms-recursive: boolean ,
x-ms-version: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
$headers:
{
content-type: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
HandleList:
[
{
HandleId: string ,
Path:
{
Encoded: boolean ,
content: string ,
}
,
FileId: string ,
ParentId: string ,
SessionId: string ,
ClientIp: string ,
ClientName: string ,
OpenTime: string ,
LastReconnectTime: string ,
AccessRightList:
[
string ,
]
,
}
,
]
,
NextMarker: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_ForceCloseHandles (updated)
Description Closes all handles open for given directory.
Reference Link ¶

⚶ Changes

{
  "#id": "Directory_ForceCloseHandles",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}?comp=forceclosehandles
{
timeout: integer ,
marker: string ,
sharesnapshot: string ,
x-ms-handle-id: string ,
x-ms-recursive: boolean ,
x-ms-version: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-marker: string ,
x-ms-number-of-handles-closed: integer ,
x-ms-number-of-handles-failed: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_Rename (updated)
Description Renames a directory
Reference Link ¶

⚶ Changes

{
  "#id": "Directory_Rename",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}?restype=directory&comp=rename
{
timeout: integer ,
x-ms-version: string ,
x-ms-file-rename-source: string ,
x-ms-file-rename-replace-if-exists: boolean ,
x-ms-file-rename-ignore-readonly: boolean ,
x-ms-source-lease-id: string ,
x-ms-destination-lease-id: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-permission: string ,
x-ms-file-permission-format: string ,
x-ms-file-permission-key: string ,
x-ms-meta: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-source-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_Create (updated)
Description Creates a new file or replaces a file. Note it only initializes the file with no content.
Reference Link ¶

⚶ Changes

{
  "#id": "File_Create",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}
{
timeout: integer ,
x-ms-version: string ,
x-ms-content-length: integer ,
x-ms-type: string ,
x-ms-content-type: string ,
x-ms-content-encoding: string ,
x-ms-content-language: string ,
x-ms-cache-control: string ,
x-ms-content-md5: string ,
x-ms-content-disposition: string ,
x-ms-meta: string ,
x-ms-file-permission: string ,
x-ms-file-permission-format: string ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-mode: string ,
x-ms-file-file-type: string ,
}

⚐ Response (201)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
x-ms-mode: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-file-file-type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_Download (updated)
Description Reads or downloads a file from the system, including its metadata and properties.
Reference Link ¶

⚶ Changes

{
  "#id": "File_Download",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}/{directory}/{fileName}
{
timeout: integer ,
x-ms-version: string ,
x-ms-range: string ,
x-ms-range-get-content-md5: boolean ,
x-ms-structured-body: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
$headers:
{
last-modified: string ,
x-ms-meta: string ,
content-length: integer ,
content-type: string ,
content-range: string ,
etag: string ,
content-md5: string ,
content-encoding: string ,
cache-control: string ,
content-disposition: string ,
content-language: string ,
x-ms-request-id: string ,
x-ms-version: string ,
accept-ranges: string ,
date: string ,
x-ms-copy-completion-time: string ,
x-ms-copy-status-description: string ,
x-ms-copy-id: string ,
x-ms-copy-progress: string ,
x-ms-copy-source: string ,
x-ms-copy-status: string ,
x-ms-content-md5: string ,
x-ms-server-encrypted: boolean ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-permission-key: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
x-ms-lease-duration: string ,
x-ms-lease-state: string ,
x-ms-lease-status: string ,
x-ms-structured-body: string ,
x-ms-structured-content-length: integer ,
x-ms-mode: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-link-count: integer ,
}
,
$schema: object ,
}

⚐ Response (206)

{
$headers:
{
last-modified: string ,
x-ms-meta: string ,
content-length: integer ,
content-type: string ,
content-range: string ,
etag: string ,
content-md5: string ,
content-encoding: string ,
cache-control: string ,
content-disposition: string ,
content-language: string ,
x-ms-request-id: string ,
x-ms-version: string ,
accept-ranges: string ,
date: string ,
x-ms-copy-completion-time: string ,
x-ms-copy-status-description: string ,
x-ms-copy-id: string ,
x-ms-copy-progress: string ,
x-ms-copy-source: string ,
x-ms-copy-status: string ,
x-ms-content-md5: string ,
x-ms-server-encrypted: boolean ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-permission-key: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
x-ms-lease-duration: string ,
x-ms-lease-state: string ,
x-ms-lease-status: string ,
x-ms-structured-body: string ,
x-ms-structured-content-length: integer ,
x-ms-mode: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-link-count: integer ,
}
,
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_GetProperties (updated)
Description Returns all user-defined metadata, standard HTTP properties, and system properties for the file. It does not return the content of the file.
Reference Link ¶

⚶ Changes

{
  "#id": "File_GetProperties",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

HEAD:  /{shareName}/{directory}/{fileName}
{
sharesnapshot: string ,
timeout: integer ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
last-modified: string ,
x-ms-meta: string ,
x-ms-type: string ,
content-length: integer ,
content-type: string ,
etag: string ,
content-md5: string ,
content-encoding: string ,
cache-control: string ,
content-disposition: string ,
content-language: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-copy-completion-time: string ,
x-ms-copy-status-description: string ,
x-ms-copy-id: string ,
x-ms-copy-progress: string ,
x-ms-copy-source: string ,
x-ms-copy-status: string ,
x-ms-server-encrypted: boolean ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-permission-key: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
x-ms-lease-duration: string ,
x-ms-lease-state: string ,
x-ms-lease-status: string ,
x-ms-mode: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-link-count: integer ,
x-ms-file-file-type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_Delete (updated)
Description removes the file from the storage account.
Reference Link ¶

⚶ Changes

{
  "#id": "File_Delete",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

DELETE:  /{shareName}/{directory}/{fileName}
{
timeout: integer ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-file-request-intent: string ,
}

⚐ Response (202)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-link-count: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_SetHTTPHeaders (updated)
Description Sets HTTP headers on the file.
Reference Link ¶

⚶ Changes

{
  "#id": "File_SetHTTPHeaders",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=properties
{
timeout: integer ,
x-ms-version: string ,
x-ms-content-length: integer ,
x-ms-content-type: string ,
x-ms-content-encoding: string ,
x-ms-content-language: string ,
x-ms-cache-control: string ,
x-ms-content-md5: string ,
x-ms-content-disposition: string ,
x-ms-file-permission: string ,
x-ms-file-permission-format: string ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-lease-id: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-mode: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
x-ms-mode: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-link-count: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_SetMetadata (updated)
Description Updates user-defined metadata for the specified file.
Reference Link ¶

⚶ Changes

{
  "#id": "File_SetMetadata",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=metadata
{
timeout: integer ,
x-ms-meta: string ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_AcquireLease (updated)
Description [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations
Reference Link ¶

⚶ Changes

{
  "#id": "File_AcquireLease",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=lease&acquire
{
timeout: integer ,
x-ms-lease-duration: integer ,
x-ms-proposed-lease-id: string ,
x-ms-version: string ,
x-ms-client-request-id: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (201)

{
etag: string ,
last-modified: string ,
x-ms-lease-id: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_ReleaseLease (updated)
Description [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations
Reference Link ¶

⚶ Changes

{
  "#id": "File_ReleaseLease",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=lease&release
{
timeout: integer ,
x-ms-lease-id: string ,
x-ms-version: string ,
x-ms-client-request-id: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_ChangeLease (updated)
Description [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations
Reference Link ¶

⚶ Changes

{
  "#id": "File_ChangeLease",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=lease&change
{
timeout: integer ,
x-ms-lease-id: string ,
x-ms-proposed-lease-id: string ,
x-ms-version: string ,
x-ms-client-request-id: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-lease-id: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_BreakLease (updated)
Description [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations
Reference Link ¶

⚶ Changes

{
  "#id": "File_BreakLease",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=lease&break
{
timeout: integer ,
x-ms-lease-id: string ,
x-ms-version: string ,
x-ms-client-request-id: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (202)

{
etag: string ,
last-modified: string ,
x-ms-lease-id: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_UploadRange (updated)
Description Upload a range of bytes to a file.
Reference Link ¶

⚶ Changes

{
  "#id": "File_UploadRange",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=range
{
optionalbody: object ,
timeout: integer ,
x-ms-range: string ,
x-ms-write: string ,
Content-Length: integer ,
Content-MD5: string ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-file-last-write-time: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
x-ms-structured-body: string ,
x-ms-structured-content-length: integer ,
}

⚐ Response (201)

{
etag: string ,
last-modified: string ,
content-md5: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-file-last-write-time: string ,
x-ms-structured-body: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_UploadRangeFromURL (updated)
Description Upload a range of bytes to a file where the contents are read from a URL.
Reference Link ¶

⚶ Changes

{
  "#id": "File_UploadRangeFromURL",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=range&fromURL
{
timeout: integer ,
x-ms-range: string ,
x-ms-copy-source: string ,
x-ms-source-range: string ,
x-ms-write: string ,
Content-Length: integer ,
x-ms-source-content-crc64: string ,
x-ms-source-if-match-crc64: string ,
x-ms-source-if-none-match-crc64: string ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-copy-source-authorization: string ,
x-ms-file-last-write-time: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-source-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (201)

{
etag: string ,
last-modified: string ,
x-ms-content-crc64: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-file-last-write-time: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_GetRangeList (updated)
Description Returns the list of valid ranges for a file.
Reference Link ¶

⚶ Changes

{
  "#id": "File_GetRangeList",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}/{directory}/{fileName}?comp=rangelist
{
sharesnapshot: string ,
prevsharesnapshot: string ,
timeout: integer ,
x-ms-version: string ,
x-ms-range: string ,
x-ms-lease-id: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
x-ms-file-support-rename: boolean ,
}

⚐ Response (200)

{
$headers:
{
last-modified: string ,
etag: string ,
x-ms-content-length: integer ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
Ranges:
[
{
Start: integer ,
End: integer ,
}
,
]
,
ClearRanges:
[
{
Start: integer ,
End: integer ,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_StartCopy (updated)
Description Copies a blob or file to a destination file within the storage account.
Reference Link ¶

⚶ Changes

{
  "#id": "File_StartCopy",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=copy
{
timeout: integer ,
x-ms-version: string ,
x-ms-meta: string ,
x-ms-copy-source: string ,
x-ms-file-permission: string ,
x-ms-file-permission-format: string ,
x-ms-file-permission-key: string ,
x-ms-file-permission-copy-mode: string ,
x-ms-file-copy-ignore-readonly: boolean ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-copy-set-archive: boolean ,
x-ms-lease-id: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-source-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-mode: string ,
x-ms-file-mode-copy-mode: string ,
x-ms-file-owner-copy-mode: string ,
}

⚐ Response (202)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-copy-id: string ,
x-ms-copy-status: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_AbortCopy (updated)
Description Aborts a pending Copy File operation, and leaves a destination file with zero length and full metadata.
Reference Link ¶

⚶ Changes

{
  "#id": "File_AbortCopy",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=copy©id
{
copyid: string ,
timeout: integer ,
x-ms-copy-action: string ,
x-ms-version: string ,
x-ms-lease-id: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (204)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_ListHandles (updated)
Description Lists handles for file
Reference Link ¶

⚶ Changes

{
  "#id": "File_ListHandles",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

GET:  /{shareName}/{directory}/{fileName}?comp=listhandles
{
marker: string ,
maxresults: integer ,
timeout: integer ,
sharesnapshot: string ,
x-ms-version: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
$headers:
{
content-type: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
HandleList:
[
{
HandleId: string ,
Path:
{
Encoded: boolean ,
content: string ,
}
,
FileId: string ,
ParentId: string ,
SessionId: string ,
ClientIp: string ,
ClientName: string ,
OpenTime: string ,
LastReconnectTime: string ,
AccessRightList:
[
string ,
]
,
}
,
]
,
NextMarker: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_ForceCloseHandles (updated)
Description Closes all handles open for given file
Reference Link ¶

⚶ Changes

{
  "#id": "File_ForceCloseHandles",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=forceclosehandles
{
timeout: integer ,
marker: string ,
sharesnapshot: string ,
x-ms-handle-id: string ,
x-ms-version: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-marker: string ,
x-ms-number-of-handles-closed: integer ,
x-ms-number-of-handles-failed: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_Rename (updated)
Description Renames a file
Reference Link ¶

⚶ Changes

{
  "#id": "File_Rename",
  "$parameters": [
    {
      "#name": "timeout",
      "Description": {
        "new": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations.",
        "old": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for File Service Operations."
      }
    }
  ]
}

⚼ Request

PUT:  /{shareName}/{directory}/{fileName}?comp=rename
{
timeout: integer ,
x-ms-version: string ,
x-ms-file-rename-source: string ,
x-ms-file-rename-replace-if-exists: boolean ,
x-ms-file-rename-ignore-readonly: boolean ,
x-ms-source-lease-id: string ,
x-ms-destination-lease-id: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-permission: string ,
x-ms-file-permission-format: string ,
x-ms-file-permission-key: string ,
x-ms-meta: string ,
x-ms-content-type: string ,
x-ms-allow-trailing-dot: boolean ,
x-ms-source-allow-trailing-dot: boolean ,
x-ms-file-request-intent: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-file-permission-key: string ,
x-ms-file-attributes: string ,
x-ms-file-creation-time: string ,
x-ms-file-last-write-time: string ,
x-ms-file-change-time: string ,
x-ms-file-id: string ,
x-ms-file-parent-id: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
AuthenticationErrorDetail: string ,
}
,
}