openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 30 kB
JSON
{"openapi":"3.0.0","info":{"description":"The Azure Storage Management API.","title":"StorageManagementClient","version":"2019-06-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"storage-file","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices":{"get":{"description":"List all file services in storage accounts","operationId":"FileServices_List","parameters":[{"description":"The name of the resource group within the user's subscription. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"ListFileServices":{"value":"res9290"}}},{"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.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":24},"examples":{"ListFileServices":{"value":"sto1590"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"ListFileServices":{"value":"2019-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"ListFileServices":{"value":"{subscription-id}"}}}],"responses":{"200":{"description":"OK -- List file services operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileServiceItems"},"examples":{"ListFileServices":{"$ref":"#/components/examples/ListFileServices"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["FileService"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares":{"get":{"description":"Lists all shares.","operationId":"FileShares_List","parameters":[{"description":"The name of the resource group within the user's subscription. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"ListShares":{"value":"res9290"}}},{"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.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":24},"examples":{"ListShares":{"value":"sto1590"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"ListShares":{"value":"2019-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"ListShares":{"value":"{subscription-id}"}}},{"description":"Optional. Specified maximum number of shares that can be included in the list.","in":"query","name":"$maxpagesize","schema":{"type":"string"}},{"description":"Optional. When specified, only share names starting with the filter will be listed.","in":"query","name":"$filter","schema":{"type":"string"}}],"responses":{"200":{"description":"OK -- List Shares operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileShareItems"},"examples":{"ListShares":{"$ref":"#/components/examples/ListShares"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["FileShares"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}":{"delete":{"description":"Deletes specified share under its account.","operationId":"FileShares_Delete","parameters":[{"description":"The name of the resource group within the user's subscription. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"DeleteShares":{"value":"res4079"}}},{"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.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":24},"examples":{"DeleteShares":{"value":"sto4506"}}},{"$ref":"#/components/parameters/ShareName"},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"DeleteShares":{"value":"2019-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"DeleteShares":{"value":"{subscription-id}"}}}],"responses":{"200":{"description":"OK -- Delete Share operation completed successfully."},"204":{"description":"No Content -- The Share not exist."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["FileShares"]},"get":{"description":"Gets properties of a specified share.","operationId":"FileShares_Get","parameters":[{"description":"The name of the resource group within the user's subscription. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"GetShares":{"value":"res9871"}}},{"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.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":24},"examples":{"GetShares":{"value":"sto6217"}}},{"$ref":"#/components/parameters/ShareName"},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"GetShares":{"value":"2019-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"GetShares":{"value":"{subscription-id}"}}}],"responses":{"200":{"description":"OK -- Get Share operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileShare"},"examples":{"GetShares":{"$ref":"#/components/examples/GetShares"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["FileShares"]},"patch":{"description":"Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. ","operationId":"FileShares_Update","parameters":[{"description":"The name of the resource group within the user's subscription. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"UpdateShares":{"value":"res3376"}}},{"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.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":24},"examples":{"UpdateShares":{"value":"sto328"}}},{"$ref":"#/components/parameters/ShareName"},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"UpdateShares":{"value":"2019-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"UpdateShares":{"value":"{subscription-id}"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileShare"}}},"description":"Properties to update for the file share.","required":true},"responses":{"200":{"description":"OK -- Update Share operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileShare"},"examples":{"UpdateShares":{"$ref":"#/components/examples/UpdateShares"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["FileShares"]},"put":{"description":"Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. ","operationId":"FileShares_Create","parameters":[{"description":"The name of the resource group within the user's subscription. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"PutShares":{"value":"res3376"}}},{"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.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":24},"examples":{"PutShares":{"value":"sto328"}}},{"$ref":"#/components/parameters/ShareName"},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"PutShares":{"value":"2019-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"PutShares":{"value":"{subscription-id}"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileShare"}}},"description":"Properties of the file share to create.","required":true},"responses":{"200":{"description":"OK -- The Share is already created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileShare"},"examples":{"PutShares":{"$ref":"#/components/examples/PutShares"}}}}},"201":{"description":"Created -- Create Share operation completed successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileShare"},"examples":{"PutShares":{"$ref":"#/components/examples/PutShares"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["FileShares"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}":{"get":{"description":"Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.","operationId":"FileServices_GetServiceProperties","parameters":[{"description":"The name of the resource group within the user's subscription. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"GetFileServices":{"value":"res4410"}}},{"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.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":24},"examples":{"GetFileServices":{"value":"sto8607"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"GetFileServices":{"value":"2019-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"GetFileServices":{"value":"{subscription-id}"}}},{"$ref":"#/components/parameters/FileServicesName"}],"responses":{"200":{"description":"OK -- returned the properties of a storage account’s File service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileServiceProperties"},"examples":{"GetFileServices":{"$ref":"#/components/examples/GetFileServices"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["FileService"]},"put":{"description":"Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. ","operationId":"FileServices_SetServiceProperties","parameters":[{"description":"The name of the resource group within the user's subscription. The name is case insensitive.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"PutFileServices":{"value":"res4410"}}},{"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.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":24},"examples":{"PutFileServices":{"value":"sto8607"}}},{"description":"The API version to use for this operation.","in":"query","name":"api-version","required":true,"schema":{"type":"string","minLength":1},"examples":{"PutFileServices":{"value":"2019-06-01"}}},{"description":"The ID of the target subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string","minLength":1},"examples":{"PutFileServices":{"value":"{subscription-id}"}}},{"$ref":"#/components/parameters/FileServicesName"}],"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},"responses":{"200":{"description":"OK -- Sets The properties of a storage account’s File service successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileServiceProperties"},"examples":{"PutFileServices":{"$ref":"#/components/examples/PutFileServices"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["FileService"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"ListFileServices":{"value":{"value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default","name":"default","properties":{"cors":{"corsRules":[{"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"exposedHeaders":["x-ms-meta-*"],"maxAgeInSeconds":100},{"allowedHeaders":["*"],"allowedMethods":["GET"],"allowedOrigins":["*"],"exposedHeaders":["*"],"maxAgeInSeconds":2},{"allowedHeaders":["x-ms-meta-12345675754564*"],"allowedMethods":["GET","PUT"],"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"],"maxAgeInSeconds":2000}]}},"sku":{"name":"Standard_GRS","tier":"Standard"},"type":"Microsoft.Storage/storageAccounts/fileServices"}]}},"ListShares":{"value":{"nextLink":"https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2019-06-01&$maxpagesize=2&$skipToken=/sto1590/share5103","value":[{"etag":"\"0x8D589847D51C7DE\"","id":"/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644","name":"share1644","properties":{"lastModifiedTime":"2019-05-14T08:20:47Z","shareQuota":1024},"type":"Microsoft.Storage/storageAccounts/fileServices/shares"},{"etag":"\"0x8D589847DAB5AF9\"","id":"/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052","name":"share4052","properties":{"lastModifiedTime":"2019-05-14T08:20:47Z","shareQuota":1024},"type":"Microsoft.Storage/storageAccounts/fileServices/shares"}]}},"GetShares":{"value":{"etag":"\"0x8D592D74CC20EBA\"","id":"/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634","name":"share1634","properties":{"lastModifiedTime":"2019-05-26T05:06:14Z","shareQuota":1024},"type":"Microsoft.Storage/storageAccounts/fileServices/shares"}},"UpdateShares":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185","name":"share6185","properties":{"metadata":{"type":"image"}},"type":"Microsoft.Storage/storageAccounts/fileServices/shares"}},"PutShares":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185","name":"share6185","type":"Microsoft.Storage/storageAccounts/fileServices/shares"}},"GetFileServices":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default","name":"default","properties":{"cors":{"corsRules":[{"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"exposedHeaders":["x-ms-meta-*"],"maxAgeInSeconds":100},{"allowedHeaders":["*"],"allowedMethods":["GET"],"allowedOrigins":["*"],"exposedHeaders":["*"],"maxAgeInSeconds":2},{"allowedHeaders":["x-ms-meta-12345675754564*"],"allowedMethods":["GET","PUT"],"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"],"maxAgeInSeconds":2000}]}},"sku":{"name":"Standard_GRS","tier":"Standard"},"type":"Microsoft.Storage/storageAccounts/fileServices"}},"PutFileServices":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default","name":"default","properties":{"cors":{"corsRules":[{"allowedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"],"allowedMethods":["GET","HEAD","POST","OPTIONS","MERGE","PUT"],"allowedOrigins":["http://www.contoso.com","http://www.fabrikam.com"],"exposedHeaders":["x-ms-meta-*"],"maxAgeInSeconds":100},{"allowedHeaders":["*"],"allowedMethods":["GET"],"allowedOrigins":["*"],"exposedHeaders":["*"],"maxAgeInSeconds":2},{"allowedHeaders":["x-ms-meta-12345675754564*"],"allowedMethods":["GET","PUT"],"allowedOrigins":["http://www.abc23.com","https://www.fabrikam.com/*"],"exposedHeaders":["x-ms-meta-abc","x-ms-meta-data*","x-ms-meta-target*"],"maxAgeInSeconds":2000}]}},"sku":{"name":"Standard_GRS","tier":"Standard"},"type":"Microsoft.Storage/storageAccounts/fileServices"}}},"parameters":{"FileServicesName":{"description":"The name of the file Service within the specified storage account. File Service Name must be \"default\"","in":"path","name":"FileServicesName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","enum":["default"]},"examples":{"GetFileServices":{"value":"default"},"PutFileServices":{"value":"default"}}},"ShareName":{"description":"The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.","in":"path","name":"shareName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":63},"examples":{"DeleteShares":{"value":"share9689"},"GetShares":{"value":"share1634"},"UpdateShares":{"value":"share6185"},"PutShares":{"value":"share6185"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"CloudError":{"description":"An error response from the Storage service.","properties":{"error":{"$ref":"#/components/schemas/CloudErrorBody"}},"x-ms-external":true},"CloudErrorBody":{"description":"An error response from the Storage service.","properties":{"code":{"description":"An identifier for the error. Codes are invariant and are intended to be consumed programmatically.","type":"string"},"details":{"description":"A list of additional details about the error.","items":{"$ref":"#/components/schemas/CloudErrorBody"},"type":"array"},"message":{"description":"A message describing the error, intended to be suitable for display in a user interface.","type":"string"},"target":{"description":"The target of the particular error. For example, the name of the property in error.","type":"string"}},"x-ms-external":true},"FileServiceItems":{"properties":{"value":{"description":"List of file services returned.","items":{"$ref":"#/components/schemas/FileServiceProperties"},"readOnly":true,"type":"array"}}},"FileServiceProperties":{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The properties of File services in storage account.","properties":{"properties":{"description":"The properties of File services in storage account.","properties":{"cors":{"description":"Sets the CORS rules. You can include up to five CorsRule elements in the request. ","properties":{"corsRules":{"description":"The List of CORS rules. You can include up to five CorsRule elements in the request. ","items":{"description":"Specifies a CORS rule for the Blob service.","properties":{"allowedHeaders":{"description":"Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.","items":{"type":"string"},"type":"array"},"allowedMethods":{"description":"Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.","items":{"enum":["DELETE","GET","HEAD","MERGE","POST","OPTIONS","PUT"],"type":"string"},"type":"array"},"allowedOrigins":{"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"},"type":"array"},"exposedHeaders":{"description":"Required if CorsRule element is present. A list of response headers to expose to CORS clients.","items":{"type":"string"},"type":"array"},"maxAgeInSeconds":{"description":"Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.","type":"integer"}},"required":["allowedOrigins","allowedMethods","maxAgeInSeconds","exposedHeaders","allowedHeaders"]},"type":"array"}}},"shareDeleteRetentionPolicy":{"description":"The service properties for soft delete.","properties":{"days":{"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.","maximum":365,"minimum":1,"type":"integer"},"enabled":{"description":"Indicates whether DeleteRetentionPolicy is enabled.","type":"boolean"}}}},"x-ms-client-flatten":true,"x-ms-client-name":"FileServiceProperties"},"sku":{"description":"The SKU of the storage account.","properties":{"name":{"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"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"SkuName"}},"tier":{"description":"The SKU tier. This is based on the SKU name.","enum":["Standard","Premium"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":false,"name":"SkuTier"}}},"required":["name"]}}},"FileShare":{"allOf":[{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a Azure Resource Manager resource with an etag.","properties":{"etag":{"description":"Resource Etag.","readOnly":true,"type":"string"}},"x-ms-client-name":"AzureEntityResource"}],"description":"Properties of the file share, including Id, resource name, resource type, Etag.","properties":{"properties":{"$ref":"#/components/schemas/FileShareProperties"}}},"FileShareItem":{"allOf":[{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a Azure Resource Manager resource with an etag.","properties":{"etag":{"description":"Resource Etag.","readOnly":true,"type":"string"}},"x-ms-client-name":"AzureEntityResource"}],"description":"The file share properties be listed out.","properties":{"properties":{"$ref":"#/components/schemas/FileShareProperties"}}},"FileShareItems":{"description":"Response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares.","properties":{"nextLink":{"description":"Request URL that can be used to query next page of shares. Returned when total number of requested shares exceed maximum page size.","readOnly":true,"type":"string"},"value":{"description":"List of file shares returned.","items":{"$ref":"#/components/schemas/FileShareItem"},"readOnly":true,"type":"array"}}},"FileShareProperties":{"description":"The properties of the file share.","properties":{"lastModifiedTime":{"description":"Returns the date and time the share was last modified.","format":"date-time","readOnly":true,"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"description":"A name-value pair to associate with the share as metadata.","type":"object"},"shareQuota":{"description":"The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.","maximum":102400,"minimum":1,"type":"integer"}}}}}}