Skip to content

Commit 7106c47

Browse files
author
SDKAuto
committed
CodeGen from PR 15674 in Azure/azure-rest-api-specs
Merge 929151682cb78f9d948035165e5c3e78ce569d66 into 7326c66014c2180e83c52c30f150eea094613ca4
1 parent 159f49f commit 7106c47

File tree

2 files changed

+124
-10
lines changed

2 files changed

+124
-10
lines changed

schemas/2020-06-01/Microsoft.Cache.json

Lines changed: 62 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,67 @@
345345
},
346346
"description": "A collection of information about the state of the connection between service consumer and provider."
347347
},
348+
"RedisCommonPropertiesRedisConfiguration": {
349+
"type": "object",
350+
"properties": {
351+
"additionalProperties": {
352+
"oneOf": [
353+
{
354+
"type": "object",
355+
"additionalProperties": {
356+
"type": "string"
357+
},
358+
"properties": {}
359+
},
360+
{
361+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
362+
}
363+
],
364+
"description": "Unmatched properties from the message are deserialized this collection"
365+
},
366+
"aof-storage-connection-string-0": {
367+
"type": "string",
368+
"description": "First storage account connection string"
369+
},
370+
"aof-storage-connection-string-1": {
371+
"type": "string",
372+
"description": "First storage account connection string"
373+
},
374+
"maxfragmentationmemory-reserved": {
375+
"type": "string",
376+
"description": "Value in megabytes reserved for fragmentation per shard"
377+
},
378+
"maxmemory-delta": {
379+
"type": "string",
380+
"description": "Value in megabytes reserved for non-cache usage per shard e.g. failover."
381+
},
382+
"maxmemory-policy": {
383+
"type": "string",
384+
"description": "The eviction strategy used when your data won't fit within its memory limit."
385+
},
386+
"maxmemory-reserved": {
387+
"type": "string",
388+
"description": "Value in megabytes reserved for non-cache usage per shard e.g. failover."
389+
},
390+
"rdb-backup-enabled": {
391+
"type": "string",
392+
"description": "Specifies whether the rdb backup is enabled"
393+
},
394+
"rdb-backup-frequency": {
395+
"type": "string",
396+
"description": "Specifies the frequency for creating rdb backup"
397+
},
398+
"rdb-backup-max-snapshot-count": {
399+
"type": "string",
400+
"description": "Specifies the maximum number of snapshots for rdb backup"
401+
},
402+
"rdb-storage-connection-string": {
403+
"type": "string",
404+
"description": "The storage account connection string for storing rdb file"
405+
}
406+
},
407+
"description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc."
408+
},
348409
"RedisCreateProperties": {
349410
"type": "object",
350411
"properties": {
@@ -393,11 +454,7 @@
393454
"redisConfiguration": {
394455
"oneOf": [
395456
{
396-
"type": "object",
397-
"additionalProperties": {
398-
"type": "string"
399-
},
400-
"properties": {}
457+
"$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration"
401458
},
402459
{
403460
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"

schemas/2020-12-01/Microsoft.Cache.json

Lines changed: 62 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,67 @@
345345
},
346346
"description": "A collection of information about the state of the connection between service consumer and provider."
347347
},
348+
"RedisCommonPropertiesRedisConfiguration": {
349+
"type": "object",
350+
"properties": {
351+
"additionalProperties": {
352+
"oneOf": [
353+
{
354+
"type": "object",
355+
"additionalProperties": {
356+
"type": "string"
357+
},
358+
"properties": {}
359+
},
360+
{
361+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
362+
}
363+
],
364+
"description": "Unmatched properties from the message are deserialized this collection"
365+
},
366+
"aof-storage-connection-string-0": {
367+
"type": "string",
368+
"description": "First storage account connection string"
369+
},
370+
"aof-storage-connection-string-1": {
371+
"type": "string",
372+
"description": "First storage account connection string"
373+
},
374+
"maxfragmentationmemory-reserved": {
375+
"type": "string",
376+
"description": "Value in megabytes reserved for fragmentation per shard"
377+
},
378+
"maxmemory-delta": {
379+
"type": "string",
380+
"description": "Value in megabytes reserved for non-cache usage per shard e.g. failover."
381+
},
382+
"maxmemory-policy": {
383+
"type": "string",
384+
"description": "The eviction strategy used when your data won't fit within its memory limit."
385+
},
386+
"maxmemory-reserved": {
387+
"type": "string",
388+
"description": "Value in megabytes reserved for non-cache usage per shard e.g. failover."
389+
},
390+
"rdb-backup-enabled": {
391+
"type": "string",
392+
"description": "Specifies whether the rdb backup is enabled"
393+
},
394+
"rdb-backup-frequency": {
395+
"type": "string",
396+
"description": "Specifies the frequency for creating rdb backup"
397+
},
398+
"rdb-backup-max-snapshot-count": {
399+
"type": "string",
400+
"description": "Specifies the maximum number of snapshots for rdb backup"
401+
},
402+
"rdb-storage-connection-string": {
403+
"type": "string",
404+
"description": "The storage account connection string for storing rdb file"
405+
}
406+
},
407+
"description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc."
408+
},
348409
"RedisCreateProperties": {
349410
"type": "object",
350411
"properties": {
@@ -393,11 +454,7 @@
393454
"redisConfiguration": {
394455
"oneOf": [
395456
{
396-
"type": "object",
397-
"additionalProperties": {
398-
"type": "string"
399-
},
400-
"properties": {}
457+
"$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration"
401458
},
402459
{
403460
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"

0 commit comments

Comments
 (0)