Redis Enterprise - Create
Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}?api-version=2024-10-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
cluster
|
path | True |
string |
The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens Regex pattern: |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
location | True |
string |
The geo-location where the resource lives |
sku | True |
The SKU to create, which affects price, performance, and features. |
|
identity |
The identity of the resource. |
||
properties.encryption |
Encryption-at-rest configuration for the cluster. |
||
properties.minimumTlsVersion |
The minimum TLS version for the cluster to support, e.g. '1.2' |
||
tags |
object |
Resource tags. |
|
zones |
string[] |
The Availability Zones where this cluster will be deployed. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The cluster was/is being updated. Check provisioningState and resourceState to see detailed status. |
|
201 Created |
The cluster was/is being created. Check provisioningState and resourceState to see detailed status. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
RedisEnterpriseCreate
Sample request
PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1?api-version=2024-10-01
{
"location": "West US",
"sku": {
"name": "EnterpriseFlash_F300",
"capacity": 3
},
"zones": [
"1",
"2",
"3"
],
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/your-subscription/resourceGroups/your-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/your-identity": {}
}
},
"properties": {
"minimumTlsVersion": "1.2",
"encryption": {
"customerManagedKeyEncryption": {
"keyEncryptionKeyIdentity": {
"identityType": "userAssignedIdentity",
"userAssignedIdentityResourceId": "/subscriptions/your-subscription/resourceGroups/your-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/your-identity"
},
"keyEncryptionKeyUrl": "https://your-kv.vault.azure.net/keys/your-key/your-key-version"
}
}
},
"tags": {
"tag1": "value1"
}
}
Sample response
{
"name": "cache1",
"type": "Microsoft.Cache/redisEnterprise",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1",
"location": "West US",
"sku": {
"name": "EnterpriseFlash_F300",
"capacity": 3
},
"zones": [
"1",
"2",
"3"
],
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/your-subscription/resourceGroups/your-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/your-identity": {
"principalId": "00000000-0000-0000-0000-000000000000",
"clientId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"provisioningState": "Creating",
"resourceState": "Creating",
"hostName": "cache1.westus.something.azure.net",
"redisVersion": "5",
"minimumTlsVersion": "1.2",
"encryption": {
"customerManagedKeyEncryption": {
"keyEncryptionKeyIdentity": {
"userAssignedIdentityResourceId": "/subscriptions/your-subscription/resourceGroups/your-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/your-identity",
"identityType": "userAssignedIdentity"
},
"keyEncryptionKeyUrl": "https://your-kv.vault.azure.net/keys/your-key/your-key-version"
}
}
},
"tags": {
"tag1": "value1"
}
}
{
"name": "cache1",
"type": "Microsoft.Cache/redisEnterprise",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1",
"location": "West US",
"sku": {
"name": "EnterpriseFlash_F300",
"capacity": 3
},
"zones": [
"1",
"2",
"3"
],
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/your-subscription/resourceGroups/your-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/your-identity": {
"principalId": "00000000-0000-0000-0000-000000000000",
"clientId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Running",
"hostName": "cache1.westus.something.azure.net",
"redisVersion": "5",
"minimumTlsVersion": "1.2"
},
"tags": {
"tag1": "value1"
}
}
Definitions
Name | Description |
---|---|
Cluster |
Describes the RedisEnterprise cluster |
Cmk |
Only userAssignedIdentity is supported in this API version; other types may be supported in the future |
Customer |
All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption. |
Encryption |
Encryption-at-rest configuration for the cluster. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Key |
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. |
Managed |
Managed service identity (system assigned and/or user assigned identities) |
Managed |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
Private |
The Private Endpoint resource. |
Private |
The Private Endpoint Connection resource. |
Private |
The current provisioning state. |
Private |
The private endpoint connection status. |
Private |
A collection of information about the state of the connection between service consumer and provider. |
Provisioning |
Current provisioning status |
Resource |
Current resource status |
Sku |
SKU parameters supplied to the create RedisEnterprise operation. |
Sku |
The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.) |
Tls |
The minimum TLS version for the cluster to support, e.g. '1.2' |
User |
User assigned identity properties |
Cluster
Describes the RedisEnterprise cluster
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
identity |
The identity of the resource. |
|
location |
string |
The geo-location where the resource lives |
name |
string |
The name of the resource |
properties.encryption |
Encryption-at-rest configuration for the cluster. |
|
properties.hostName |
string |
DNS name of the cluster endpoint |
properties.minimumTlsVersion |
The minimum TLS version for the cluster to support, e.g. '1.2' |
|
properties.privateEndpointConnections |
List of private endpoint connections associated with the specified RedisEnterprise cluster |
|
properties.provisioningState |
Current provisioning status of the cluster |
|
properties.redisVersion |
string |
Version of redis the cluster supports, e.g. '6' |
properties.resourceState |
Current resource status of the cluster |
|
sku |
The SKU to create, which affects price, performance, and features. |
|
tags |
object |
Resource tags. |
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
zones |
string[] |
The Availability Zones where this cluster will be deployed. |
CmkIdentityType
Only userAssignedIdentity is supported in this API version; other types may be supported in the future
Name | Type | Description |
---|---|---|
systemAssignedIdentity |
string |
|
userAssignedIdentity |
string |
CustomerManagedKeyEncryption
All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.
Name | Type | Description |
---|---|---|
keyEncryptionKeyIdentity |
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. |
|
keyEncryptionKeyUrl |
string |
Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 |
Encryption
Encryption-at-rest configuration for the cluster.
Name | Type | Description |
---|---|---|
customerManagedKeyEncryption |
All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
KeyEncryptionKeyIdentity
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Name | Type | Description |
---|---|---|
identityType |
Only userAssignedIdentity is supported in this API version; other types may be supported in the future |
|
userAssignedIdentityResourceId |
string |
User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. |
ManagedServiceIdentity
Managed service identity (system assigned and/or user assigned identities)
Name | Type | Description |
---|---|---|
principalId |
string |
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. |
tenantId |
string |
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. |
type |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
|
userAssignedIdentities |
<string,
User |
User-Assigned Identities |
ManagedServiceIdentityType
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
Name | Type | Description |
---|---|---|
None |
string |
|
SystemAssigned |
string |
|
SystemAssigned, UserAssigned |
string |
|
UserAssigned |
string |
PrivateEndpoint
The Private Endpoint resource.
Name | Type | Description |
---|---|---|
id |
string |
The ARM identifier for Private Endpoint |
PrivateEndpointConnection
The Private Endpoint Connection resource.
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
The name of the resource |
properties.privateEndpoint |
The resource of private end point. |
|
properties.privateLinkServiceConnectionState |
A collection of information about the state of the connection between service consumer and provider. |
|
properties.provisioningState |
The provisioning state of the private endpoint connection resource. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
PrivateEndpointConnectionProvisioningState
The current provisioning state.
Name | Type | Description |
---|---|---|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
PrivateEndpointServiceConnectionStatus
The private endpoint connection status.
Name | Type | Description |
---|---|---|
Approved |
string |
|
Pending |
string |
|
Rejected |
string |
PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
Name | Type | Description |
---|---|---|
actionsRequired |
string |
A message indicating if changes on the service provider require any updates on the consumer. |
description |
string |
The reason for approval/rejection of the connection. |
status |
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. |
ProvisioningState
Current provisioning status
Name | Type | Description |
---|---|---|
Canceled |
string |
|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Updating |
string |
ResourceState
Current resource status
Name | Type | Description |
---|---|---|
CreateFailed |
string |
|
Creating |
string |
|
DeleteFailed |
string |
|
Deleting |
string |
|
DisableFailed |
string |
|
Disabled |
string |
|
Disabling |
string |
|
EnableFailed |
string |
|
Enabling |
string |
|
Running |
string |
|
Scaling |
string |
|
ScalingFailed |
string |
|
UpdateFailed |
string |
|
Updating |
string |
Sku
SKU parameters supplied to the create RedisEnterprise operation.
Name | Type | Description |
---|---|---|
capacity |
integer |
The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs. |
name |
The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.) |
SkuName
The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)
Name | Type | Description |
---|---|---|
EnterpriseFlash_F1500 |
string |
|
EnterpriseFlash_F300 |
string |
|
EnterpriseFlash_F700 |
string |
|
Enterprise_E1 |
string |
|
Enterprise_E10 |
string |
|
Enterprise_E100 |
string |
|
Enterprise_E20 |
string |
|
Enterprise_E200 |
string |
|
Enterprise_E400 |
string |
|
Enterprise_E5 |
string |
|
Enterprise_E50 |
string |
TlsVersion
The minimum TLS version for the cluster to support, e.g. '1.2'
Name | Type | Description |
---|---|---|
1.0 |
string |
|
1.1 |
string |
|
1.2 |
string |
UserAssignedIdentity
User assigned identity properties
Name | Type | Description |
---|---|---|
clientId |
string |
The client ID of the assigned identity. |
principalId |
string |
The principal ID of the assigned identity. |