Azure Files · Schema

StorageServiceProperties

Storage service properties.

StorageFile StorageFile SharesNFSCloudMicrosoft AzureServer Message Block

Properties

Name Type Description
HourMetrics object A summary of request statistics grouped by API in hourly aggregates for files.
MinuteMetrics object A summary of request statistics grouped by API in minute aggregates for files.
Cors array The set of CORS rules.
Protocol object Protocol settings
View JSON Schema on GitHub

JSON Schema

azure-file-storage-storage-service-properties-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-file-storage/json-schema/azure-file-storage-storage-service-properties-schema.json",
  "title": "StorageServiceProperties",
  "description": "Storage service properties.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-file-storage-openapi.yml#/components/schemas/StorageServiceProperties",
  "type": "object",
  "properties": {
    "HourMetrics": {
      "description": "A summary of request statistics grouped by API in hourly aggregates for files.",
      "$ref": "#/$defs/Metrics"
    },
    "MinuteMetrics": {
      "description": "A summary of request statistics grouped by API in minute aggregates for files.",
      "$ref": "#/$defs/Metrics"
    },
    "Cors": {
      "description": "The set of CORS rules.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CorsRule"
      }
    },
    "Protocol": {
      "description": "Protocol settings",
      "$ref": "#/$defs/ShareProtocolSettings"
    }
  },
  "$defs": {
    "CorsRule": {
      "description": "CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain. Web browsers implement a security restriction known as same-origin policy that prevents a web page from calling APIs in a different domain; CORS provides a secure way to allow one domain (the origin domain) to call APIs in another domain.",
      "type": "object",
      "required": [
        "AllowedOrigins",
        "AllowedMethods",
        "AllowedHeaders",
        "ExposedHeaders",
        "MaxAgeInSeconds"
      ],
      "properties": {
        "AllowedOrigins": {
          "description": "The origin domains that are permitted to make a request against the storage service via CORS. The origin domain is the domain from which the request originates. Note that the origin must be an exact case-sensitive match with the origin that the user age sends to the service. You can also use the wildcard character '*' to allow all origin domains to make requests via CORS.",
          "type": "string"
        },
        "AllowedMethods": {
          "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request. (comma separated)",
          "type": "string"
        },
        "AllowedHeaders": {
          "description": "The request headers that the origin domain may specify on the CORS request.",
          "type": "string"
        },
        "ExposedHeaders": {
          "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.",
          "type": "string"
        },
        "MaxAgeInSeconds": {
          "description": "The maximum amount time that a browser should cache the preflight OPTIONS request.",
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "Metrics": {
      "description": "Storage Analytics metrics for file service.",
      "required": [
        "Version",
        "Enabled"
      ],
      "properties": {
        "Version": {
          "description": "The version of Storage Analytics to configure.",
          "type": "string"
        },
        "Enabled": {
          "description": "Indicates whether metrics are enabled for the File service.",
          "type": "boolean"
        },
        "IncludeAPIs": {
          "description": "Indicates whether metrics should generate summary statistics for called API operations.",
          "type": "boolean"
        },
        "RetentionPolicy": {
          "$ref": "#/$defs/RetentionPolicy"
        }
      }
    },
    "RetentionPolicy": {
      "description": "The retention policy.",
      "type": "object",
      "required": [
        "Enabled"
      ],
      "properties": {
        "Enabled": {
          "description": "Indicates whether a retention policy is enabled for the File service. If false, metrics data is retained, and the user is responsible for deleting it.",
          "type": "boolean"
        },
        "Days": {
          "description": "Indicates the number of days that metrics data should be retained. All data older than this value will be deleted. Metrics data is deleted on a best-effort basis after the retention period expires.",
          "type": "integer",
          "minimum": 1,
          "maximum": 365
        }
      }
    },
    "ShareNfsSettings": {
      "description": "Settings for SMB protocol.",
      "type": "object",
      "properties": {
        "EncryptionInTransit": {
          "description": "Enable or disable encryption in transit.",
          "type": "object",
          "properties": {
            "Required": {
              "description": "If encryption in transit is required",
              "type": "boolean"
            }
          }
        }
      }
    },
    "ShareProtocolSettings": {
      "description": "Protocol settings",
      "type": "object",
      "properties": {
        "Smb": {
          "description": "Settings for SMB protocol.",
          "$ref": "#/$defs/ShareSmbSettings"
        },
        "Nfs": {
          "description": "Settings for NFS protocol.",
          "$ref": "#/$defs/ShareNfsSettings"
        }
      }
    },
    "ShareSmbSettings": {
      "description": "Settings for SMB protocol.",
      "type": "object",
      "properties": {
        "Multichannel": {
          "description": "Settings for SMB Multichannel.",
          "$ref": "#/$defs/SmbMultichannel"
        },
        "EncryptionInTransit": {
          "description": "Enable or disable encryption in transit.",
          "type": "object",
          "properties": {
            "Required": {
              "description": "If encryption in transit is required",
              "type": "boolean"
            }
          }
        }
      }
    },
    "SmbMultichannel": {
      "description": "Settings for SMB multichannel",
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "If SMB multichannel is enabled."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/azure-file-storage-storage-service-properties"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.