Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The caches resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.StorageCache/caches resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.StorageCache/caches@2019-11-01' = {
location: 'string'
name: 'string'
properties: {
cacheSizeGB: int
provisioningState: 'string'
subnet: 'string'
upgradeStatus: {}
}
sku: {
name: 'string'
}
tags: any(...)
}
Property Values
Microsoft.StorageCache/caches
Name | Description | Value |
---|---|---|
location | Region name string. | string |
name | The resource name | string Constraints: Pattern = ^[-0-9a-zA-Z_]{1,80}$ (required) |
properties | Properties of the Cache. | CacheProperties |
sku | SKU for the Cache. | CacheSku |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
CacheProperties
Name | Description | Value |
---|---|---|
cacheSizeGB | The size of this Cache, in GB. | int |
provisioningState | ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property | 'Cancelled' 'Creating' 'Deleting' 'Failed' 'Succeeded' 'Updating' |
subnet | Subnet used for the Cache. | string |
upgradeStatus | Upgrade status of the Cache. | CacheUpgradeStatus |
CacheSku
Name | Description | Value |
---|---|---|
name | SKU name for this Cache. | string |
CacheUpgradeStatus
Name | Description | Value |
---|
ARM template resource definition
The caches resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.StorageCache/caches resource, add the following JSON to your template.
{
"type": "Microsoft.StorageCache/caches",
"apiVersion": "2019-11-01",
"name": "string",
"location": "string",
"properties": {
"cacheSizeGB": "int",
"provisioningState": "string",
"subnet": "string",
"upgradeStatus": {
}
},
"sku": {
"name": "string"
},
"tags": {}
}
Property Values
Microsoft.StorageCache/caches
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2019-11-01' |
location | Region name string. | string |
name | The resource name | string Constraints: Pattern = ^[-0-9a-zA-Z_]{1,80}$ (required) |
properties | Properties of the Cache. | CacheProperties |
sku | SKU for the Cache. | CacheSku |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.StorageCache/caches' |
CacheProperties
Name | Description | Value |
---|---|---|
cacheSizeGB | The size of this Cache, in GB. | int |
provisioningState | ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property | 'Cancelled' 'Creating' 'Deleting' 'Failed' 'Succeeded' 'Updating' |
subnet | Subnet used for the Cache. | string |
upgradeStatus | Upgrade status of the Cache. | CacheUpgradeStatus |
CacheSku
Name | Description | Value |
---|---|---|
name | SKU name for this Cache. | string |
CacheUpgradeStatus
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The caches resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.StorageCache/caches resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.StorageCache/caches@2019-11-01"
name = "string"
parent_id = "string"
location = "string"
tags = ?
body = {
properties = {
cacheSizeGB = int
provisioningState = "string"
subnet = "string"
upgradeStatus = {
}
}
sku = {
name = "string"
}
}
}
Property Values
Microsoft.StorageCache/caches
Name | Description | Value |
---|---|---|
location | Region name string. | string |
name | The resource name | string Constraints: Pattern = ^[-0-9a-zA-Z_]{1,80}$ (required) |
properties | Properties of the Cache. | CacheProperties |
sku | SKU for the Cache. | CacheSku |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.StorageCache/caches@2019-11-01" |
CacheProperties
Name | Description | Value |
---|---|---|
cacheSizeGB | The size of this Cache, in GB. | int |
provisioningState | ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property | 'Cancelled' 'Creating' 'Deleting' 'Failed' 'Succeeded' 'Updating' |
subnet | Subnet used for the Cache. | string |
upgradeStatus | Upgrade status of the Cache. | CacheUpgradeStatus |
CacheSku
Name | Description | Value |
---|---|---|
name | SKU name for this Cache. | string |
CacheUpgradeStatus
Name | Description | Value |
---|