Skip to content

Commit 7f02560

Browse files
nikitagarg123Nikita Gargweidongxu-microsoft
authored
redis enterprise rename model name to previous to avoid breaking sdks (#38226)
* rename model to previous to avoid breaking sdks * rename database * Update readme.java.md --------- Co-authored-by: Nikita Garg <[email protected]> Co-authored-by: Weidong Xu <[email protected]>
1 parent e80040e commit 7f02560

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

specification/redisenterprise/resource-manager/Microsoft.Cache/RedisEnterprise/readme.java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
These settings apply only when `--java` is specified on the command line.
44

55
```yaml $(java)
6-
rename-model: ClusterCommonPropertiesEncryption:ClusterPropertiesEncryption,DatabaseCommonPropertiesGeoReplication:DatabasePropertiesGeoReplication,ClusterCommonPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity:ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity,ClusterCommonPropertiesEncryptionCustomerManagedKeyEncryption:ClusterPropertiesEncryptionCustomerManagedKeyEncryption,ClusterCreateProperties:ClusterProperties
6+
rename-model: ClusterProperties:ClusterCommonProperties,ClusterCreateProperties:ClusterProperties
77
```

specification/redisenterprise/resource-manager/Microsoft.Cache/RedisEnterprise/stable/2025-07-01/redisenterprise.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@
19731973
}
19741974
}
19751975
},
1976-
"ClusterCommonProperties": {
1976+
"ClusterProperties": {
19771977
"title": "Redis Enterprise cluster properties",
19781978
"description": "Properties of Redis Enterprise clusters, as opposed to general resource properties like location, tags",
19791979
"type": "object",
@@ -2108,7 +2108,7 @@
21082108
"type": "object",
21092109
"allOf": [
21102110
{
2111-
"$ref": "#/definitions/ClusterCommonProperties"
2111+
"$ref": "#/definitions/ClusterProperties"
21122112
}
21132113
],
21142114
"properties": {
@@ -2136,7 +2136,7 @@
21362136
"type": "object",
21372137
"allOf": [
21382138
{
2139-
"$ref": "#/definitions/ClusterCommonProperties"
2139+
"$ref": "#/definitions/ClusterProperties"
21402140
}
21412141
],
21422142
"properties": {
@@ -2200,7 +2200,7 @@
22002200
}
22012201
}
22022202
},
2203-
"DatabaseCommonProperties": {
2203+
"DatabaseProperties": {
22042204
"title": "Redis Enterprise database properties",
22052205
"description": "Properties of Redis Enterprise databases, as opposed to general resource properties like location, tags",
22062206
"type": "object",
@@ -2369,7 +2369,7 @@
23692369
"description": "Properties for creating Redis Enterprise databases",
23702370
"allOf": [
23712371
{
2372-
"$ref": "#/definitions/DatabaseCommonProperties"
2372+
"$ref": "#/definitions/DatabaseProperties"
23732373
}
23742374
],
23752375
"type": "object",
@@ -2394,7 +2394,7 @@
23942394
"description": "Properties for updating Redis Enterprise databases",
23952395
"allOf": [
23962396
{
2397-
"$ref": "#/definitions/DatabaseCommonProperties"
2397+
"$ref": "#/definitions/DatabaseProperties"
23982398
}
23992399
],
24002400
"type": "object",

0 commit comments

Comments
 (0)