Microsoft.FileStorage (stable:2026-02-06)

2025/09/08 • 51 new methods

Service_SetProperties (new)
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 ¶

⚼ 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 ,
}
,
EncryptionInTransit:
{
Required: boolean ,
}
,
}
,
Nfs:
{
EncryptionInTransit:
{
Required: 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Service_GetProperties (new)
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 ¶

⚼ 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 ,
}
,
EncryptionInTransit:
{
Required: boolean ,
}
,
}
,
Nfs:
{
EncryptionInTransit:
{
Required: boolean ,
}
,
}
,
}
,
}
,
}

⚐ Response (default)

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

⚼ 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 ,
EnableSmbDirectoryLease: boolean ,
}
,
Metadata: object ,
}
,
]
,
NextMarker: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Service_GetUserDelegationKey (new)
Description :  Retrieves a user delegation key for the File service. This is only a valid operation when using bearer token authentication.
Reference :  Link ¶

⚼ Request

POST:  /?restype=service&comp=userdelegationkey
{
KeyInfo:
{
Start: string ,
Expiry: string ,
}
,
timeout: integer ,
x-ms-version: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
SignedOid: string ,
SignedTid: string ,
SignedStart: string ,
SignedExpiry: string ,
SignedService: string ,
SignedVersion: string ,
Value: string ,
}
,
}

⚐ Response (default)

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

⚼ 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 ,
x-ms-enable-smb-directory-lease: boolean ,
}

⚐ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_GetProperties (new)
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 ¶

⚼ 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 ,
x-ms-enable-smb-directory-lease: boolean ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
Message: string ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_Delete (new)
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 ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_AcquireLease (new)
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 ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_ReleaseLease (new)
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 ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_ChangeLease (new)
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 ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_RenewLease (new)
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 ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_BreakLease (new)
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 ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_CreateSnapshot (new)
Description :  Creates a read-only snapshot of a share.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_CreatePermission (new)
Description :  Create a permission (a security descriptor).
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_GetPermission (new)
Description :  Returns the permission (security descriptor) for a given key
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_SetProperties (new)
Description :  Sets properties for the specified share.
Reference :  Link ¶

⚼ 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 ,
x-ms-enable-smb-directory-lease: boolean ,
}

⚐ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_SetMetadata (new)
Description :  Sets one or more user-defined name-value pairs for the specified share.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_GetAccessPolicy (new)
Description :  Returns information about stored access policies specified on the share.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_SetAccessPolicy (new)
Description :  Sets a stored access policy for use with shared access signatures.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_GetStatistics (new)
Description :  Retrieves statistics related to the share.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Share_Restore (new)
Description :  Restores a previously deleted Share.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_Create (new)
Description :  Creates a new directory under the specified share or parent directory.
Reference :  Link ¶

⚼ 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 ,
x-ms-file-property-semantics: 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_GetProperties (new)
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 ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_Delete (new)
Description :  Removes the specified empty directory. Note that the directory must be empty before it can be deleted.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_SetProperties (new)
Description :  Sets properties on the directory.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_SetMetadata (new)
Description :  Updates user defined metadata for the specified directory.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_ListFilesAndDirectoriesSegment (new)
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 ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_ListHandles (new)
Description :  Lists handles for directory.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_ForceCloseHandles (new)
Description :  Closes all handles open for given directory.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
Directory_Rename (new)
Description :  Renames a directory
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_Create (new)
Description :  Creates a new file or replaces a file. Note it only initializes the file with no content.
Reference :  Link ¶

⚼ 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 ,
Content-MD5: string ,
x-ms-file-property-semantics: string ,
Content-Length: integer ,
optionalbody: object ,
}

⚐ 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 ,
content-md5: string ,
content-length: integer ,
}

⚐ Response (default)

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

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_GetProperties (new)
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 ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_Delete (new)
Description :  removes the file from the storage account.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_SetHTTPHeaders (new)
Description :  Sets HTTP headers on the file.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_SetMetadata (new)
Description :  Updates user-defined metadata for the specified file.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_AcquireLease (new)
Description :  [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_ReleaseLease (new)
Description :  [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_ChangeLease (new)
Description :  [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_BreakLease (new)
Description :  [Update] The Lease File operation establishes and manages a lock on a file for write and delete operations
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_UploadRange (new)
Description :  Upload a range of bytes to a file.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_UploadRangeFromURL (new)
Description :  Upload a range of bytes to a file where the contents are read from a URL.
Reference :  Link ¶

⚼ 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 ,
x-ms-copy-source-error-code: string ,
x-ms-copy-source-status-code: integer ,
}
,
$schema:
{
Message: string ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_GetRangeList (new)
Description :  Returns the list of valid ranges for a file.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_StartCopy (new)
Description :  Copies a blob or file to a destination file within the storage account.
Reference :  Link ¶

⚼ 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 ,
x-ms-copy-source-error-code: string ,
x-ms-copy-source-status-code: integer ,
}
,
$schema:
{
Message: string ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_AbortCopy (new)
Description :  Aborts a pending Copy File operation, and leaves a destination file with zero length and full metadata.
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_ListHandles (new)
Description :  Lists handles for file
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_ForceCloseHandles (new)
Description :  Closes all handles open for given file
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}
File_Rename (new)
Description :  Renames a file
Reference :  Link ¶

⚼ 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 ,
CopySourceStatusCode: integer ,
CopySourceErrorCode: string ,
CopySourceErrorMessage: string ,
AuthenticationErrorDetail: string ,
}
,
}