Microsoft.ApiManagement service/caches

Template format

To create a Microsoft.ApiManagement/service/caches resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.ApiManagement/service/caches",
  "apiVersion": "2020-06-01-preview",
  "properties": {
    "description": "string",
    "connectionString": "string",
    "useFromLocation": "string",
    "resourceId": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ApiManagement/service/caches object

Name Type Required Value
name string Yes Identifier of the Cache entity. Cache identifier (should be either 'default' or valid Azure region identifier).
type enum Yes caches
-or-
Microsoft.ApiManagement/service/caches

See Set name and type for child resources.
apiVersion enum Yes 2020-06-01-preview
properties object Yes Cache properties details. - CacheContractProperties object

CacheContractProperties object

Name Type Required Value
description string No Cache description
connectionString string Yes Runtime connection string to cache
useFromLocation string Yes Location identifier to use cache from (should be either 'default' or valid Azure region identifier)
resourceId string No Original uri of entity in external system cache points to