Azure Storage Accounts File Services API

The FileServices API from Azure Storage Accounts — 3 operation(s) for fileservices.

GitHub OpenAPI

Operations 4

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices File services list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default File services get service properties #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default File services set service properties #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares File shares list #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-storage-accounts:azure-storage-accounts-fileservices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-storage-accounts-fileservices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StorageManagementClient File Services API
  version: '2026-09-01'
  description: The Azure Storage Management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: FileServices
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices
  : get:
      operationId: FileServices_List
      tags:
      - FileServices
      description: List all file services in storage accounts
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileServiceItems'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: File services list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default
  : get:
      operationId: FileServices_GetServiceProperties
      tags:
      - FileServices
      description: Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileServiceProperties'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: File services get service properties
      x-summary-source: derived
    put:
      operationId: FileServices_SetServiceProperties
      tags:
      - FileServices
      description: Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      responses:
        '200':
          description: Resource 'FileServiceProperties' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileServiceProperties'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileServiceProperties'
        description: The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
        required: true
      summary: File services set service properties
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares
  : get:
      operationId: FileShares_List
      tags:
      - FileServices
      description: Lists all shares.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      - name: $maxpagesize
        in: query
        description: Optional. Specified maximum number of shares that can be included in the list.
        required: false
        schema:
          type: string
      - name: $filter
        in: query
        description: Optional. When specified, only share names starting with the filter will be listed.
        required: false
        schema:
          type: string
      - name: $expand
        in: query
        description: 'Optional, used to expand the properties within share''s properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter '','''
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileShareItems'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: File shares list
      x-summary-source: derived
components:
  schemas:
    AccessPolicy:
      type: object
      properties:
        startTime:
          type: string
          format: date-time
          description: Start time of the access policy
        expiryTime:
          type: string
          format: date-time
          description: Expiry time of the access policy
        permission:
          type: string
          description: List of abbreviated permissions.
    ShareAccessTier:
      type: string
      description: Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium.
      enum:
      - TransactionOptimized
      - Hot
      - Cool
      - Premium
      x-ms-enum:
        name: ShareAccessTier
        modelAsString: true
        values:
        - name: TransactionOptimized
          value: TransactionOptimized
        - name: Hot
          value: Hot
        - name: Cool
          value: Cool
        - name: Premium
          value: Premium
    LeaseState:
      type: string
      description: Lease state of the container.
      enum:
      - Available
      - Leased
      - Expired
      - Breaking
      - Broken
      x-ms-enum:
        name: LeaseState
        modelAsString: true
        values:
        - name: Available
          value: Available
        - name: Leased
          value: Leased
        - name: Expired
          value: Expired
        - name: Breaking
          value: Breaking
        - name: Broken
          value: Broken
    FileServiceItems:
      type: object
      properties:
        value:
          type: array
          description: List of file services returned.
          items:
            $ref: '#/components/schemas/FileServiceProperties'
          readOnly: true
    SmbSetting:
      type: object
      description: Setting for SMB protocol
      properties:
        multichannel:
          $ref: '#/components/schemas/Multichannel'
          description: Multichannel setting. Applies to Premium FileStorage only.
        versions:
          type: string
          description: SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'.
        authenticationMethods:
          type: string
          description: SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'.
        kerberosTicketEncryption:
          type: string
          description: Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'
        channelEncryption:
          type: string
          description: SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'.
        encryptionInTransit:
          $ref: '#/components/schemas/EncryptionInTransit'
          description: Encryption in transit setting.
    AzureEntityResource:
      type: object
      title: Entity Resource
      description: The resource model definition for an Azure Resource Manager resource with an etag.
      properties:
        etag:
          type: string
          description: Resource Etag.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/Resource'
    FileSharePropertiesFileSharePaidBursting:
      type: object
      description: File Share Paid Bursting properties.
      properties:
        paidBurstingEnabled:
          type: boolean
          description: Indicates whether paid bursting is enabled for the share. This property is only for file shares created under Files Provisioned v1 SSD account type.
        paidBurstingMaxIops:
          type: integer
          format: int32
          description: The maximum paid bursting IOPS for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 102400 which is the maximum allowed IOPS for a share.
        paidBurstingMaxBandwidthMibps:
          type: integer
          format: int32
          description: The maximum paid bursting bandwidth for the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for a share.
    FileShareItems:
      type: object
      description: Response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares.
      properties:
        value:
          type: array
          description: The FileShareItem items on this page
          items:
            $ref: '#/components/schemas/FileShareItem'
          readOnly: true
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    ProtocolSettings:
      type: object
      description: Protocol settings for file service
      properties:
        smb:
          $ref: '#/components/schemas/SmbSetting'
          description: Setting for SMB protocol
        nfs:
          $ref: '#/components/schemas/NfsSetting'
          description: Setting for NFS protocol
    FileServiceProperties:
      type: object
      description: The properties of File services in storage account.
      properties:
        properties:
          $ref: '#/components/schemas/FileServicePropertiesProperties'
          description: The properties of File services in storage account.
          x-ms-client-flatten: true
          x-ms-client-name: FileServiceProperties
        sku:
          $ref: '#/components/schemas/Sku'
          description: Sku name and tier.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    NfsSetting:
      type: object
      description: Setting for NFS protocol
      properties:
        encryptionInTransit:
          $ref: '#/components/schemas/EncryptionInTransit'
          description: Encryption in transit setting.
    CloudError:
      type: object
      description: An error response from the Storage service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: An error response from the Storage service.
      x-ms-external: true
    LeaseStatus:
      type: string
      description: The lease status of the container.
      enum:
      - Locked
      - Unlocked
      x-ms-enum:
        name: LeaseStatus
        modelAsString: true
        values:
        - name: Locked
          value: Locked
        - name: Unlocked
          value: Unlocked
    Sku:
      type: object
      description: The SKU of the storage account.
      properties:
        name:
          $ref: '#/components/schemas/SkuName'
          description: The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
        tier:
          $ref: '#/components/schemas/SkuTier'
          description: The SKU tier. This is based on the SKU name.
          readOnly: true
      required:
      - name
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    DeleteRetentionPolicy:
      type: object
      description: The service properties for soft delete.
      properties:
        enabled:
          type: boolean
          description: Indicates whether DeleteRetentionPolicy is enabled.
        days:
          type: integer
          format: int32
          description: Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365.
          minimum: 1
          maximum: 365
        allowPermanentDelete:
          type: boolean
          description: This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share.
    FileServicePropertiesProperties:
      type: object
      description: The properties of File services in storage account.
      properties:
        cors:
          $ref: '#/components/schemas/CorsRules'
          description: Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service.
        shareDeleteRetentionPolicy:
          $ref: '#/components/schemas/DeleteRetentionPolicy'
          description: The file service properties for share soft delete.
        protocolSettings:
          $ref: '#/components/schemas/ProtocolSettings'
          description: Protocol settings for file service
    SkuName:
      type: string
      description: The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
      enum:
      - Standard_LRS
      - Standard_GRS
      - Standard_RAGRS
      - Standard_ZRS
      - Premium_LRS
      - Premium_ZRS
      - Standard_GZRS
      - Standard_RAGZRS
      - StandardV2_LRS
      - StandardV2_GRS
      - StandardV2_ZRS
      - StandardV2_GZRS
      - PremiumV2_LRS
      - PremiumV2_ZRS
      x-ms-enum:
        name: SkuName
        modelAsString: true
        values:
        - name: Standard_LRS
          value: Standard_LRS
        - name: Standard_GRS
          value: Standard_GRS
        - name: Standard_RAGRS
          value: Standard_RAGRS
        - name: Standard_ZRS
          value: Standard_ZRS
        - name: Premium_LRS
          value: Premium_LRS
        - name: Premium_ZRS
          value: Premium_ZRS
        - name: Standard_GZRS
          value: Standard_GZRS
        - name: Standard_RAGZRS
          value: Standard_RAGZRS
        - name: StandardV2_LRS
          value: StandardV2_LRS
        - name: StandardV2_GRS
          value: StandardV2_GRS
        - name: StandardV2_ZRS
          value: StandardV2_ZRS
        - name: StandardV2_GZRS
          value: StandardV2_GZRS
        - name: PremiumV2_LRS
          value: PremiumV2_LRS
        - name: PremiumV2_ZRS
          value: PremiumV2_ZRS
    CloudErrorBody:
      type: object
      description: An error response from the Storage service.
      properties:
        code:
          type: string
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
        message:
          type: string
          description: A message describing the error, intended to be suitable for display in a user interface.
        target:
          type: string
          description: The target of the particular error. For example, the name of the property in error.
        details:
          type: array
          description: A list of additional details about the error.
          items:
            $ref: '#/components/schemas/CloudErrorBody'
          x-ms-identifiers: []
      x-ms-external: true
    EncryptionInTransit:
      type: object
      description: Encryption in transit setting.
      properties:
        required:
          type: boolean
          description: Indicates whether encryption in transit is required
    EnabledProtocols:
      type: string
      description: The authentication protocol that is used for the file share. Can only be specified when creating a share.
      enum:
      - SMB
      - NFS
      x-ms-enum:
        name: EnabledProtocols
        modelAsString: true
        values:
        - name: SMB
          value: SMB
        - name: NFS
          value: NFS
    CorsRule:
      type: object
      description: Specifies a CORS rule for the Blob service.
      properties:
        allowedOrigins:
          type: array
          description: Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains
          items:
            type: string
        allowedMethods:
          type: array
          description: Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.
          items:
            $ref: '#/components/schemas/AllowedMethods'
        maxAgeInSeconds:
          type: integer
          format: int32
          description: Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.
        exposedHeaders:
          type: array
          description: Required if CorsRule element is present. A list of response headers to expose to CORS clients.
          items:
            type: string
        allowedHeaders:
          type: array
          description: Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.
          items:
            type: string
      required:
      - allowedOrigins
      - allowedMethods
      - maxAgeInSeconds
      - exposedHeaders
      - allowedHeaders
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          format: arm-id
          description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    RootSquashType:
      type: string
      description: The property is for NFS share only. The default is NoRootSquash.
      enum:
      - NoRootSquash
      - RootSquash
      - AllSquash
      x-ms-enum:
        name: RootSquashType
        modelAsString: true
        values:
        - name: NoRootSquash
          value: NoRootSquash
        - name: RootSquash
          value: RootSquash
        - name: AllSquash
          value: AllSquash
    AllowedMethods:
      type: string
      enum:
      - DELETE
      - GET
      - HEAD
      - MERGE
      - POST
      - OPTIONS
      - PUT
      - PATCH
      - CONNECT
      - TRACE
      x-ms-enum:
        name: AllowedMethods
        modelAsString: true
        values:
        - name: DELETE
          value: DELETE
        - name: GET
          value: GET
        - name: HEAD
          value: HEAD
        - name: MERGE
          value: MERGE
        - name: POST
          value: POST
        - name: OPTIONS
          value: OPTIONS
        - name: PUT
          value: PUT
        - name: PATCH
          value: PATCH
        - name: CONNECT
          value: CONNECT
        - name: TRACE
          value: TRACE
    CorsRules:
      type: object
      description: Sets the CORS rules. You can include up to five CorsRule elements in the request.
      properties:
        corsRules:
          type: array
          description: The List of CORS rules. You can include up to five CorsRule elements in the request.
          items:
            $ref: '#/components/schemas/CorsRule'
          x-ms-identifiers: []
    Multichannel:
      type: object
      description: Multichannel setting. Applies to Premium FileStorage only.
      properties:
        enabled:
          type: boolean
          description: Indicates whether multichannel is enabled
    LeaseDuration:
      type: string
      description: Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.
      enum:
      - Infinite
      - Fixed
      x-ms-enum:
        name: LeaseDuration
        modelAsString: true
        values:
        - name: Infinite
          value: Infinite
        - name: Fixed
          value: Fixed
    FileShareItem:
      type: object
      description: The file share properties be listed out.
      properties:
        properties:
          $ref: '#/components/schemas/FileShareProperties'
          description: The file share properties be listed out.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/AzureEntityResource'
    FileShareProperties:
      type: object
      description: The properties of the file share.
      properties:
        lastModifiedTime:
          type: string
          format: date-time
          description: Returns the date and time the share was last modified.
          readOnly: true
        metadata:
          type: object
          description: A name-value pair to associate with the share as metadata.
          additionalProperties:
            type: string
        shareQuota:
          type: integer
          format: int32
          description: The provisioned size of the share, in gibibytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For file shares created under Files Provisioned v2 account type, please refer to the GetFileServiceUsage API response for the minimum and maximum allowed provisioned storage size.
        provisionedIops:
          type: integer
          format: int32
          description: The provisioned IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned IOPS.
        provisionedBandwidthMibps:
          type: integer
          format: int32
          description: The provisioned bandwidth of the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned bandwidth.
        includedBurstIops:
          type: integer
          format: int32
          description: The calculated burst IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type.
          readOnly: true
        maxBurstCreditsForIops:
          type: integer
          format: int64
          description: The calculated maximum burst credits for the share. This property is only for file shares created under Files Provisioned v2 account type.
          readOnly: true
        nextAllowedQuotaDowngradeTime:
          type: string
          format: date-time-rfc7231
          description: Returns the next allowed provisioned storage size downgrade time for the share. This property is only for file shares created under Files Provisioned v1 SSD and Files Provisioned v2 account type
          readOnly: true
        nextAllowedProvisionedIopsDowngradeTime:
          type: string
          format: date-time-rfc7231
          description: Returns the next allowed provisioned IOPS downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.
          readOnly: true
        nextAllowedProvisionedBandwidthDowngradeTime:
          type: string
          format: date-time-rfc7231
          description: Returns the next allowed provisioned bandwidth downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.
          readOnly: true
        enabledProtocols:
          $ref: '#/components/schemas/EnabledProtocols'
          description: The authentication protocol that is used for the file share. Can only be specified when creating a share.
          x-ms-mutability:
          - read
          - create
        rootSquash:
          $ref: '#/components/schemas/RootSquashType'
          description: The property is for NFS share only. The default is NoRootSquash.
        version:
          type: string
          description: The version of the share.
          readOnly: true
        deleted:
          type: boolean
          description: Indicates whether the share was deleted.
          readOnly: true
        deletedTime:
          type: string
          format: date-time
          description: The deleted time if the share was deleted.
          readOnly: true
        remainingRetentionDays:
          type: integer
          format: int32
          description: Remaining retention days for share that was soft deleted.
          readOnly: true
        accessTier:
          $ref: '#/components/schemas/ShareAccessTier'
          description: Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium.
        accessTierChangeTime:
          type: string
          format: date-time
          description: Indicates the last modification time for share access tier.
          readOnly: true
        accessTierStatus:
          type: string
          description: Indicates if there is a pending transition for access tier.
          readOnly: true
        shareUsageBytes:
          type: integer
          format: int64
          description: The approximate size of the data stored on the share. Note that this value may not include all recently created or recently resized files.
          readOnly: true
        leaseStatus:
          $ref: '#/components/schemas/LeaseStatus'
          description: The lease status of the share.
          readOnly: true
        leaseState:
          $ref: '#/components/schemas/LeaseState'
          description: Lease state of the share.
          readOnly: true
        leaseDuration:
          $ref: '#/components/schemas/LeaseDuration'
          description: Specifies whether the lease on a share is of infinite or fixed duration, only when the share is leased.
          readOnly: true
        signedIdentifiers:
          type: array
          description: List of stored access policies specified on the share.
          items:
            $ref: '#/components/schemas/SignedIdentifier'
        snapshotTime:
          type: string
          format: date-time
          description: Creation time of share snapshot returned in the response of list shares with expand param "snapshots".
          readOnly: true
        fileSharePaidBursting:
          $ref: '#/components/schemas/FileSharePropertiesFileSharePaidBursting'
          description: File Share Paid Bursting properties.
    SkuTier:
      type: string
      description: The SKU tier. This is based on the SKU name.
      enum:
      - Standard
      - Premium
      x-ms-enum:
        name: SkuTier
        modelAsString: false
    SignedIdentifier:
      type: object
      properties:
        id:
          type: string
          description: An unique identifier of the stored access policy.
        accessPolicy:
          $ref: '#/components/schemas/AccessPolicy'
          description: Access policy
  parameters:
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.