Microsoft Azure Storage Cache Mgmt Client

The Microsoft Azure Storage Cache Mgmt Client is a tool that allows users to manage and optimize their cache storage within Azure Storage. This client provides functionalities such as creating, deleting, updating, and monitoring cache storage to help efficiently store and retrieve data. By utilizing the Cache Mgmt Client, users can improve the performance and responsiveness of their applications by effectively managing their cache storage resources.

OpenAPI Specification

storage-cache-mgmt-client-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  description: >-
    A Storage Cache provides scalable caching service for NAS clients, serving
    data from either NFSv3 or Blob at-rest storage (referred to as "Storage
    Targets"). These operations allow you to manage Caches.
  title: Microsoft Azure Storage Cache Mgmt Client
  version: 2023-03-01-preview
host: management.azure.com
basePath: /
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
security:
  - azure_auth:
      - user_impersonation
securityDefinitions:
  azure_auth:
    type: oauth2
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    flow: implicit
    description: Azure Active Directory OAuth2 Flow.
    scopes:
      user_impersonation: impersonate your user account
paths:
  /providers/Microsoft.StorageCache/operations:
    get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: The list of available Resource Provider operations.
          schema:
            $ref: '#/definitions/ApiOperationListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      tags:
        - Operations
      description: Lists all of the available Resource Provider operations.
      x-ms-examples:
        Operations_List:
          $ref: ./examples/Operations_List.json
      operationId: microsoftAzureOperationsList
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Providers Microsoft Storagecache Operations
  /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/skus:
    get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: A list of SKU descriptors.
          schema:
            $ref: '#/definitions/ResourceSkusResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Skus_List:
          $ref: ./examples/Skus_List.json
      tags:
        - SKUs
      description: Get the list of StorageCache.Cache SKUs available to this subscription.
      operationId: microsoftAzureSkusList
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Storagecache Skus
  /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels:
    get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: A list of UsageModel descriptors.
          schema:
            $ref: '#/definitions/UsageModelsResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        UsageModels_List:
          $ref: ./examples/UsageModels_List.json
      tags:
        - UsageModels
      description: Get the list of cache usage models available to this subscription.
      operationId: microsoftAzureUsagemodelsList
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Storagecache Usagemodels
  /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations/{operationId}:
    get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/OperationIdParameter
      responses:
        '200':
          description: The asynchronous operation was returned.
          schema:
            $ref: '#/definitions/AscOperation'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        AscOperations_Get:
          $ref: ./examples/AscOperations_Get.json
      tags:
        - AscOperations
      description: Gets the status of an asynchronous operation for the Azure HPC Cache
      operationId: microsoftAzureAscoperationsGet
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Storagecache Locations Location Ascoperations Operationid
  /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/usages:
    get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - name: location
          in: path
          required: true
          type: string
          description: The name of the region to query for usage information.
      responses:
        '200':
          description: The usage information was returned.
          schema:
            $ref: '#/definitions/ResourceUsagesListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        AscUsages_List:
          $ref: ./examples/AscResourceUsages_Get.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - AscUsages
      description: Gets the quantity used and quota limit for resources
      operationId: microsoftAzureAscusagesList
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Storagecache Locations Location Usages
  /subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/caches:
    get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: >-
            A list of cache objects. Note that entity references might replace
            complete cache objects, as described in
            http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference
          schema:
            $ref: '#/definitions/CachesListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Caches_List:
          $ref: ./examples/Caches_List.json
      tags:
        - Caches
      description: Returns all caches the user has access to under a subscription.
      operationId: microsoftAzureCachesList
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Storagecache Caches
  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches:
    get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: >-
            A list of cache objects. Note that entity references might replace
            complete cache objects, as described in
            http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference
          schema:
            $ref: '#/definitions/CachesListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_ListByResourceGroup:
          $ref: ./examples/Caches_ListByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Caches
      description: Returns all caches the user has access to under a resource group.
      operationId: microsoftAzureCachesListbyresourcegroup
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches
  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}:
    delete:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/CacheNameParameter'
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: Cache deleted.
        '202':
          description: >-
            Started the cache's transition to Deleted state. Poll the cache to
            monitor.
          headers:
            Location:
              description: Location URI to poll for result
              type: string
            Azure-AsyncOperation:
              description: URI to poll for the operation status
              type: string
        '204':
          description: Cache deleted.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_Delete:
          $ref: ./examples/Caches_Delete.json
      x-ms-long-running-operation: true
      tags:
        - Caches
      description: Schedules a cache for deletion.
      operationId: microsoftAzureCachesDelete
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename
    get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/CacheNameParameter'
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: Returns the cache object corresponding to cache name.
          schema:
            $ref: '#/definitions/Cache'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_Get:
          $ref: ./examples/Caches_Get.json
      tags:
        - Caches
      description: Returns a cache.
      operationId: microsoftAzureCachesGet
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename
    put:
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
        - description: >-
            Object containing the user-selectable properties of the new cache.
            If read-only properties are included, they must match the existing
            values of those properties.
          in: body
          name: cache
          required: true
          schema:
            $ref: '#/definitions/Cache'
      responses:
        '200':
          description: Cache created or updated.
          schema:
            $ref: '#/definitions/Cache'
        '201':
          description: >-
            Cache creation or update has been initiated. Poll the cache's
            provisioningState property to monitor creation/update progress.
          schema:
            $ref: '#/definitions/Cache'
        '202':
          description: >-
            Cache creation or update has been initiated. Poll the cache's
            provisioningState property to monitor creation/update progress.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_CreateOrUpdate:
          $ref: ./examples/Caches_CreateOrUpdate.json
        Caches_CreateOrUpdate_ldap_only:
          $ref: ./examples/Caches_CreateOrUpdate_ldap_only.json
      x-ms-long-running-operation: true
      tags:
        - Caches
      description: Create or update a cache.
      operationId: microsoftAzureCachesCreateorupdate
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename
    patch:
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
        - description: >-
            Object containing the user-selectable properties of the cache. If
            read-only properties are included, they must match the existing
            values of those properties.
          in: body
          name: cache
          schema:
            $ref: '#/definitions/Cache'
      responses:
        '200':
          description: Updated the cache.
          schema:
            $ref: '#/definitions/Cache'
        '202':
          description: >-
            Cache update has been initiated.  Poll the cache's provisioningState
            property to monitor update progress.
          headers:
            Location:
              description: Location URI to poll for result
              type: string
            Azure-AsyncOperation:
              description: URI to poll for the operation status
              type: string
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_Update:
          $ref: ./examples/Caches_Update.json
        Caches_Update_ldap_only:
          $ref: ./examples/Caches_Update_ldap_only.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      tags:
        - Caches
      description: Update a cache instance.
      operationId: microsoftAzureCachesUpdate
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh
  : post:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
        - $ref: '#/parameters/StorageTargetParameter'
      responses:
        '200':
          description: Cache has refreshed the storage target's DNS information.
        '202':
          description: Cache has started refreshing storage target DNS information.
          headers:
            Location:
              description: Location URI to poll for result
              type: string
            Azure-AsyncOperation:
              description: URI to poll for the operation status
              type: string
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_DnsRefresh:
          $ref: ./examples/StorageTargets_DnsRefresh.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      tags:
        - StorageTargets
      description: Tells a storage target to refresh its DNS information.
      operationId: microsoftAzureStoragetargetsDnsrefresh
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename Storagetargets Storagetargetname Dnsrefresh
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/debugInfo
  : post:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
      responses:
        '200':
          description: Cache has started generating debug info.
        '202':
          description: Cache has started generating debug info.
          headers:
            Location:
              description: Location URI to poll for result
              type: string
            Azure-AsyncOperation:
              description: URI to poll for the operation status
              type: string
        '204':
          description: Cache has started generating debug info.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_DebugInfo:
          $ref: ./examples/Caches_DebugInfo.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      tags:
        - Caches
      description: Tells a cache to write generate debug info for support to process.
      operationId: microsoftAzureCachesDebuginfo
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename Debuginfo
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/flush
  : post:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
      responses:
        '200':
          description: All cached data has been flushed to the Storage Target(s).
        '202':
          description: >-
            Cache has started flushing to its Storage Target(s). Poll the
            cache's state field to monitor.
          headers:
            Location:
              description: Location URI to poll for result
              type: string
            Azure-AsyncOperation:
              description: URI to poll for the operation status
              type: string
        '204':
          description: Cache flush already in progress or has completed.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_Flush:
          $ref: ./examples/Caches_Flush.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      tags:
        - Caches
      description: >-
        Tells a cache to write all dirty data to the Storage Target(s). During
        the flush, clients will see errors returned until the flush is complete.
      operationId: microsoftAzureCachesFlush
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename Flush
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/start
  : post:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
      responses:
        '200':
          description: Cache is Active.
        '202':
          description: >-
            Cache has started the transition to Active. Poll the cache's state
            field to monitor.
          headers:
            Location:
              description: Location URI to poll for result
              type: string
            Azure-AsyncOperation:
              description: URI to poll for the operation status
              type: string
        '204':
          description: Restarted VMs associated with the cache.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_Start:
          $ref: ./examples/Caches_Start.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      tags:
        - Caches
      description: Tells a Stopped state cache to transition to Active state.
      operationId: microsoftAzureCachesStart
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename Start
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stop
  : post:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
      responses:
        '200':
          description: Cache is stopped.
        '202':
          description: >-
            Cache has started the transition to Stopped. Poll the cache's state
            field to monitor.
          headers:
            Location:
              description: Location URI to poll for result
              type: string
            Azure-AsyncOperation:
              description: URI to poll for the operation status
              type: string
        '204':
          description: Stopped VMs associated with the cache.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        Caches_Stop:
          $ref: ./examples/Caches_Stop.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      tags:
        - Caches
      description: Tells an Active cache to transition to Stopped state.
      operationId: microsoftAzureCachesStop
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename Stop
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets
  : get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
      responses:
        '200':
          description: Returns the list of Storage Targets defined by cache name.
          schema:
            $ref: '#/definitions/StorageTargetsResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        StorageTargets_List:
          $ref: ./examples/StorageTargets_ListByCache.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - StorageTargets
      description: Returns a list of Storage Targets for the specified cache.
      operationId: microsoftAzureStoragetargetsListbycache
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename Storagetargets
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}
  : delete:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
        - $ref: '#/parameters/StorageTargetParameter'
        - name: force
          in: query
          required: false
          type: string
          description: >-
            Boolean value requesting the force delete operation for a storage
            target. Force delete discards unwritten-data in the cache instead of
            flushing it to back-end storage.
      responses:
        '200':
          description: Storage Target deleted.
        '202':
          description: >-
            Started the Storage Target's deletion. Poll the cache's Storage
            Targets to monitor.
          headers:
            Location:
              description: Location URI to poll for result
              type: string
            Azure-AsyncOperation:
              description: URI to poll for the operation status
              type: string
        '204':
          description: Storage Target deleted.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        StorageTargets_Delete:
          $ref: ./examples/StorageTargets_Delete.json
      x-ms-long-running-operation: true
      tags:
        - StorageTargets
      description: >-
        Removes a Storage Target from a cache. This operation is allowed at any
        time, but if the cache is down or unhealthy, the actual removal of the
        Storage Target may be delayed until the cache is healthy again. Note
        that if the cache has data to flush to the Storage Target, the data will
        be flushed before the Storage Target will be deleted.
      operationId: microsoftAzureStoragetargetsDelete
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename Storagetargets Storagetargetname
    get:
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
        - $ref: '#/parameters/StorageTargetParameter'
      responses:
        '200':
          description: >-
            Returns the Storage Target object corresponding to
            storageTargetName.
          schema:
            $ref: '#/definitions/StorageTarget'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        StorageTargets_Get:
          $ref: ./examples/StorageTargets_Get.json
      tags:
        - StorageTargets
      description: Returns a Storage Target from a cache.
      operationId: microsoftAzureStoragetargetsGet
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Storagecache Caches Cachename Storagetargets Storagetargetname
    put:
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/CacheNameParameter'
        - $ref: '#/parameters/StorageTargetParameter'
        - description: Object containing the definition of a Storage Target.
          in: body
          name: storagetarget
          required: true
          schema:
 

# --- truncated at 32 KB (101 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/storage-cache-mgmt-client-openapi-original.yml