From 9efb79ff9dda788fafa0deddbab5e75fefa83c75 Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Tue, 22 Feb 2022 14:01:34 -0800 Subject: [PATCH 01/10] Update example value for module argument --- .../Microsoft.Cache/stable/2022-01-01/redisenterprise.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2022-01-01/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2022-01-01/redisenterprise.json index 61ee54d27612..02f9b693dd21 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2022-01-01/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2022-01-01/redisenterprise.json @@ -1602,7 +1602,7 @@ "read", "create" ], - "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.00 INITIAL_SIZE 400'." + "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'." }, "version": { "type": "string", From c7a9330bc915f58e4609565d62fc17761c73519e Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Wed, 25 Oct 2023 14:50:35 -0700 Subject: [PATCH 02/10] update 2023-10-01 --- .../examples/RedisEnterpriseSkusList.json | 167 ------------------ .../2023-10-01-preview/redisenterprise.json | 139 --------------- 2 files changed, 306 deletions(-) delete mode 100644 specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/examples/RedisEnterpriseSkusList.json diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/examples/RedisEnterpriseSkusList.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/examples/RedisEnterpriseSkusList.json deleted file mode 100644 index faeca7fab841..000000000000 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/examples/RedisEnterpriseSkusList.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "parameters": { - "api-version": "2023-10-01-preview", - "subscriptionId": "subid", - "location": "westus2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E1" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E10" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E20" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E50" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E100" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F300" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F700" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F1500" - } - } - ] - } - } - } -} diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/redisenterprise.json index 8a5415107511..dec23c66fff4 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/redisenterprise.json @@ -1268,48 +1268,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/skus": { - "get": { - "tags": [ - "SKU" - ], - "operationId": "Skus_List", - "description": "Gets information about skus in specified location for the given subscription id", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "SkusList": { - "$ref": "./examples/RedisEnterpriseSkusList.json" - } - }, - "responses": { - "200": { - "description": "The request succeeded, response body contains the requested details.", - "schema": { - "$ref": "#/definitions/RegionSkuDetails" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/checkNameAvailability": { "post": { "tags": [ @@ -1955,103 +1913,6 @@ } } }, - "RegionSkuDetails": { - "title": "Region Sku Details", - "description": "List of details about all the available SKUs", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RegionSkuDetail" - }, - "description": "List of Sku Detail", - "x-ms-identifiers": [] - } - } - }, - "LocationInfo": { - "type": "object", - "description": "Information about location (for example: features that it supports)", - "properties": { - "location": { - "type": "string", - "description": "Location name" - }, - "capabilities": { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - }, - "description": "List of capabilities", - "x-ms-identifiers": [] - } - } - }, - "SkuDetail": { - "type": "object", - "title": "Sku Detail", - "description": "Information about Sku", - "properties": { - "name": { - "$ref": "#/definitions/SkuName", - "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)" - } - } - }, - "SkuName": { - "type": "string", - "enum": [ - "Enterprise_E5", - "Enterprise_E10", - "Enterprise_E20", - "Enterprise_E50", - "Enterprise_E100", - "Enterprise_E200", - "Enterprise_E400", - "EnterpriseFlash_F300", - "EnterpriseFlash_F700", - "EnterpriseFlash_F1500" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "Capability": { - "type": "object", - "title": "Capability", - "description": "Information about the features the location supports", - "properties": { - "name": { - "type": "string", - "description": "Feature name" - }, - "value": { - "type": "boolean", - "description": "Indicates whether feature is supported or not" - } - } - }, - "RegionSkuDetail": { - "title": "Region Sku Detail", - "description": "Details about the location requested and the available skus in the location", - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "description": "Resource type which has the SKU, such as Microsoft.Cache/redisEnterprise" - }, - "locationInfo": { - "$ref": "#/definitions/LocationInfo", - "description": "Details about location and its capabilities" - }, - "skuDetails": { - "$ref": "#/definitions/SkuDetail", - "description": "Details about available skus" - } - } - }, "FlushParameters": { "title": "Flush all the keys from the current and all its linked databases.", "type": "object", From 35afca5775674496a96955f1ab788af0ddbfb31d Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Wed, 25 Oct 2023 15:02:30 -0700 Subject: [PATCH 03/10] updates to preview api version --- .../examples/RedisEnterpriseSkusList.json | 167 --- .../2022-11-01-preview/redisenterprise.json | 91 -- .../examples/RedisEnterpriseSkusList.json | 167 --- .../2023-03-01-preview/redisenterprise.json | 1298 ++++++++--------- .../examples/RedisEnterpriseSkusList.json | 167 --- .../2023-08-01-preview/redisenterprise.json | 156 +- .../2023-10-01-preview/redisenterprise.json | 19 + 7 files changed, 629 insertions(+), 1436 deletions(-) delete mode 100644 specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/examples/RedisEnterpriseSkusList.json delete mode 100644 specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/examples/RedisEnterpriseSkusList.json delete mode 100644 specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/examples/RedisEnterpriseSkusList.json diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/examples/RedisEnterpriseSkusList.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/examples/RedisEnterpriseSkusList.json deleted file mode 100644 index 64eada33b128..000000000000 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/examples/RedisEnterpriseSkusList.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "parameters": { - "api-version": "2022-11-01-preview", - "subscriptionId": "subid", - "location": "westus2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E1" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E10" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E20" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E50" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E100" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F300" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F700" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F1500" - } - } - ] - } - } - } -} diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json index aad09fed051b..18e0f4af59a1 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json @@ -1847,97 +1847,6 @@ } } }, - "RegionSkuDetails": { - "title": "Region Sku Details", - "description": "List of details about all the available SKUs", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RegionSkuDetail" - }, - "description": "List of Sku Detail", - "x-ms-identifiers": [] - } - } - }, - "LocationInfo": { - "type": "object", - "description": "Information about location (for example: features that it supports)", - "properties": { - "location": { - "type": "string", - "description": "Location name" - }, - "capabilities": { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - }, - "description": "List of capabilities", - "x-ms-identifiers": [] - } - } - }, - "SkuDetail": { - "type": "object", - "title": "Sku Detail", - "description": "Information about Sku", - "properties": { - "name": { - "type": "string", - "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)", - "enum": [ - "Enterprise_E10", - "Enterprise_E20", - "Enterprise_E50", - "Enterprise_E100", - "EnterpriseFlash_F300", - "EnterpriseFlash_F700", - "EnterpriseFlash_F1500" - ], - "x-ms-enum": { - "name": "name", - "modelAsString": true - } - } - } - }, - "Capability": { - "type": "object", - "title": "Capability", - "description": "Information about the features the location supports", - "properties": { - "name": { - "type": "string", - "description": "Feature name" - }, - "value": { - "type": "boolean", - "description": "Indicates whether feature is supported or not" - } - } - }, - "RegionSkuDetail": { - "title": "Region Sku Detail", - "description": "Details about the location requested and the available skus in the location", - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "description": "Resource type which has the SKU, such as Microsoft.Cache/redisEnterprise" - }, - "locationInfo": { - "$ref": "#/definitions/LocationInfo", - "description": "Details about location and its capabilities" - }, - "skuDetails": { - "$ref": "#/definitions/SkuDetail", - "description": "Details about available skus" - } - } - }, "ForceUnlinkParameters": { "title": "Forcibly unlink another database from this database.", "type": "object", diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/examples/RedisEnterpriseSkusList.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/examples/RedisEnterpriseSkusList.json deleted file mode 100644 index 242c44608fa9..000000000000 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/examples/RedisEnterpriseSkusList.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-01-preview", - "subscriptionId": "subid", - "location": "westus2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E1" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E10" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E20" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E50" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E100" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F300" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F700" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F1500" - } - } - ] - } - } - } -} diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json index c0c96dfb2440..3e6bb4bbcacd 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json @@ -1268,767 +1268,649 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/skus": { - "get": { - "tags": [ - "SKU" - ], - "operationId": "Skus_List", - "description": "Gets information about skus in specified location for the given subscription id", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "SkusList": { - "$ref": "./examples/RedisEnterpriseSkusList.json" - } - }, - "responses": { - "200": { - "description": "The request succeeded, response body contains the requested details.", - "schema": { - "$ref": "#/definitions/RegionSkuDetails" - } + "definitions": { + "Sku": { + "description": "SKU parameters supplied to the create RedisEnterprise operation.", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "capacity": { + "type": "integer", + "format": "int32", + "description": "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." } }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, - "definitions": { - "Sku": { - "description": "SKU parameters supplied to the create RedisEnterprise operation.", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/SkuName", - "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)" - }, - "capacity": { - "type": "integer", - "format": "int32", - "description": "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." + "required": [ + "name" + ] + }, + "SkuName": { + "type": "string", + "enum": [ + "Enterprise_E5", + "Enterprise_E10", + "Enterprise_E20", + "Enterprise_E50", + "Enterprise_E100", + "Enterprise_E200", + "Enterprise_E400", + "EnterpriseFlash_F300", + "EnterpriseFlash_F700", + "EnterpriseFlash_F1500" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true } }, - "required": [ - "name" - ] - }, - "ProvisioningState": { - "type": "string", - "readOnly": true, - "description": "Current provisioning status", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Creating", - "Updating", - "Deleting" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "ResourceState": { - "type": "string", - "readOnly": true, - "description": "Current resource status", - "enum": [ - "Running", - "Creating", - "CreateFailed", - "Updating", - "UpdateFailed", - "Deleting", - "DeleteFailed", - "Enabling", - "EnableFailed", - "Disabling", - "DisableFailed", - "Disabled" - ], - "x-ms-enum": { - "name": "ResourceState", - "modelAsString": true - } - }, - "Cluster": { - "description": "Describes the RedisEnterprise cluster", - "type": "object", - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU to create, which affects price, performance, and features." - }, - "zones": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Availability Zones where this cluster will be deployed." - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The identity of the resource." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "Other properties of the cluster." + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "Current provisioning status", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true } }, - "required": [ - "sku" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "ResourceState": { + "type": "string", + "readOnly": true, + "description": "Current resource status", + "enum": [ + "Running", + "Creating", + "CreateFailed", + "Updating", + "UpdateFailed", + "Deleting", + "DeleteFailed", + "Enabling", + "EnableFailed", + "Disabling", + "DisableFailed", + "Disabled" + ], + "x-ms-enum": { + "name": "ResourceState", + "modelAsString": true } - ] - }, - "ClusterUpdate": { - "description": "A partial update to the RedisEnterprise cluster", - "type": "object", - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU to create, which affects price, performance, and features." - }, + }, + "Cluster": { + "description": "Describes the RedisEnterprise cluster", + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "Other properties of the cluster." - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The identity of the resource." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } - } - }, - "ClusterProperties": { - "title": "RedisEnterprise cluster properties", - "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags", - "type": "object", - "properties": { - "minimumTlsVersion": { - "type": "string", - "description": "The minimum TLS version for the cluster to support, e.g. '1.2'", - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "x-ms-enum": { - "name": "TlsVersion", - "modelAsString": true + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU to create, which affects price, performance, and features." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Availability Zones where this cluster will be deployed." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "Other properties of the cluster." } }, - "encryption": { - "type": "object", - "description": "Encryption-at-rest configuration for the cluster.", + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ClusterUpdate": { + "description": "A partial update to the RedisEnterprise cluster", + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU to create, which affects price, performance, and features." + }, "properties": { - "customerManagedKeyEncryption": { - "type": "object", - "description": "All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.", - "properties": { - "keyEncryptionKeyIdentity": { - "type": "object", - "description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.", - "properties": { - "userAssignedIdentityResourceId": { - "type": "string", - "description": "User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId." - }, - "identityType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity" - ], - "description": "Only userAssignedIdentity is supported in this API version; other types may be supported in the future", - "x-ms-enum": { - "name": "CmkIdentityType", - "modelAsString": true + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "Other properties of the cluster." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + } + }, + "ClusterProperties": { + "title": "RedisEnterprise cluster properties", + "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags", + "type": "object", + "properties": { + "minimumTlsVersion": { + "type": "string", + "description": "The minimum TLS version for the cluster to support, e.g. '1.2'", + "enum": [ + "1.0", + "1.1", + "1.2" + ], + "x-ms-enum": { + "name": "TlsVersion", + "modelAsString": true + } + }, + "encryption": { + "type": "object", + "description": "Encryption-at-rest configuration for the cluster.", + "properties": { + "customerManagedKeyEncryption": { + "type": "object", + "description": "All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.", + "properties": { + "keyEncryptionKeyIdentity": { + "type": "object", + "description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.", + "properties": { + "userAssignedIdentityResourceId": { + "type": "string", + "description": "User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId." + }, + "identityType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity" + ], + "description": "Only userAssignedIdentity is supported in this API version; other types may be supported in the future", + "x-ms-enum": { + "name": "CmkIdentityType", + "modelAsString": true + } } } + }, + "keyEncryptionKeyUrl": { + "type": "string", + "description": "Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78" } - }, - "keyEncryptionKeyUrl": { - "type": "string", - "description": "Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78" } } } - } - }, - "hostName": { - "type": "string", - "readOnly": true, - "description": "DNS name of the cluster endpoint" - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "readOnly": true, - "description": "Current provisioning status of the cluster" - }, - "resourceState": { - "$ref": "#/definitions/ResourceState", - "readOnly": true, - "description": "Current resource status of the cluster" - }, - "redisVersion": { - "type": "string", - "readOnly": true, - "description": "Version of redis the cluster supports, e.g. '6'" - }, - "privateEndpointConnections": { - "type": "array", - "readOnly": true, - "description": "List of private endpoint connections associated with the specified RedisEnterprise cluster", - "items": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "hostName": { + "type": "string", + "readOnly": true, + "description": "DNS name of the cluster endpoint" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true, + "description": "Current provisioning status of the cluster" + }, + "resourceState": { + "$ref": "#/definitions/ResourceState", + "readOnly": true, + "description": "Current resource status of the cluster" + }, + "redisVersion": { + "type": "string", + "readOnly": true, + "description": "Version of redis the cluster supports, e.g. '6'" + }, + "privateEndpointConnections": { + "type": "array", + "readOnly": true, + "description": "List of private endpoint connections associated with the specified RedisEnterprise cluster", + "items": { + "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" + } } } - } - }, - "ClusterList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Cluster" - }, - "description": "List of clusters." - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URI to fetch the next page of results." - } }, - "description": "The response of a list-all operation." - }, - "Database": { - "description": "Describes a database on the RedisEnterprise cluster", - "type": "object", - "properties": { + "ClusterList": { + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DatabaseProperties", - "description": "Other properties of the database." - } + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Cluster" + }, + "description": "List of clusters." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URI to fetch the next page of results." + } + }, + "description": "The response of a list-all operation." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, - "DatabaseUpdate": { - "description": "A partial update to the RedisEnterprise database", - "type": "object", - "properties": { + "Database": { + "description": "Describes a database on the RedisEnterprise cluster", + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DatabaseProperties", - "description": "Properties of the database." - } - } - }, - "DatabaseProperties": { - "title": "RedisEnterprise database properties", - "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags", - "type": "object", - "properties": { - "clientProtocol": { - "type": "string", - "description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.", - "enum": [ - "Encrypted", - "Plaintext" - ], - "x-ms-enum": { - "name": "Protocol", - "modelAsString": true + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DatabaseProperties", + "description": "Other properties of the database." } }, - "port": { - "type": "integer", - "format": "int32", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "TCP port of the database endpoint. Specified at create time. Defaults to an available port." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "readOnly": true, - "description": "Current provisioning status of the database" - }, - "resourceState": { - "$ref": "#/definitions/ResourceState", - "readOnly": true, - "description": "Current resource status of the database" - }, - "clusteringPolicy": { - "type": "string", - "description": "Clustering policy - default is OSSCluster. Specified at create time.", - "enum": [ - "EnterpriseCluster", - "OSSCluster" - ], - "x-ms-enum": { - "name": "ClusteringPolicy", - "modelAsString": true - }, - "x-ms-mutability": [ - "read", - "create" - ] - }, - "evictionPolicy": { - "type": "string", - "description": "Redis eviction policy - default is VolatileLRU", - "enum": [ - "AllKeysLFU", - "AllKeysLRU", - "AllKeysRandom", - "VolatileLRU", - "VolatileLFU", - "VolatileTTL", - "VolatileRandom", - "NoEviction" - ], - "x-ms-enum": { - "name": "EvictionPolicy", - "modelAsString": true + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - }, - "persistence": { - "$ref": "#/definitions/Persistence", - "description": "Persistence settings" - }, - "modules": { - "type": "array", - "description": "Optional set of redis modules to enable in this database - modules can only be added at creation time.", - "items": { - "$ref": "#/definitions/Module" - }, - "x-ms-mutability": [ - "read", - "create" - ], - "x-ms-identifiers": [ - "name" - ] - }, - "geoReplication": { - "type": "object", - "description": "Optional set of properties to configure geo replication for this database.", - "x-ms-mutability": [ - "read", - "create" - ], + ] + }, + "DatabaseUpdate": { + "description": "A partial update to the RedisEnterprise database", + "type": "object", + "properties": { "properties": { - "groupNickname": { - "type": "string", - "description": "Name for the group of linked database resources", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-client-flatten": true, + "$ref": "#/definitions/DatabaseProperties", + "description": "Properties of the database." + } + } + }, + "DatabaseProperties": { + "title": "RedisEnterprise database properties", + "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags", + "type": "object", + "properties": { + "clientProtocol": { + "type": "string", + "description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.", + "enum": [ + "Encrypted", + "Plaintext" + ], + "x-ms-enum": { + "name": "Protocol", + "modelAsString": true + } + }, + "port": { + "type": "integer", + "format": "int32", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "TCP port of the database endpoint. Specified at create time. Defaults to an available port." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true, + "description": "Current provisioning status of the database" + }, + "resourceState": { + "$ref": "#/definitions/ResourceState", + "readOnly": true, + "description": "Current resource status of the database" + }, + "clusteringPolicy": { + "type": "string", + "description": "Clustering policy - default is OSSCluster. Specified at create time.", + "enum": [ + "EnterpriseCluster", + "OSSCluster" + ], + "x-ms-enum": { + "name": "ClusteringPolicy", + "modelAsString": true }, - "linkedDatabases": { - "type": "array", - "description": "List of database resources to link with this database", - "items": { - "$ref": "#/definitions/LinkedDatabase" + "x-ms-mutability": [ + "read", + "create" + ] + }, + "evictionPolicy": { + "type": "string", + "description": "Redis eviction policy - default is VolatileLRU", + "enum": [ + "AllKeysLFU", + "AllKeysLRU", + "AllKeysRandom", + "VolatileLRU", + "VolatileLFU", + "VolatileTTL", + "VolatileRandom", + "NoEviction" + ], + "x-ms-enum": { + "name": "EvictionPolicy", + "modelAsString": true + } + }, + "persistence": { + "$ref": "#/definitions/Persistence", + "description": "Persistence settings" + }, + "modules": { + "type": "array", + "description": "Optional set of redis modules to enable in this database - modules can only be added at creation time.", + "items": { + "$ref": "#/definitions/Module" + }, + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-identifiers": [ + "name" + ] + }, + "geoReplication": { + "type": "object", + "description": "Optional set of properties to configure geo replication for this database.", + "x-ms-mutability": [ + "read", + "create" + ], + "properties": { + "groupNickname": { + "type": "string", + "description": "Name for the group of linked database resources", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "linkedDatabases": { + "type": "array", + "description": "List of database resources to link with this database", + "items": { + "$ref": "#/definitions/LinkedDatabase" + } } } } } - } - }, - "DatabaseList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Database" - }, - "description": "List of databases" - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URI to fetch the next page of results." - } }, - "description": "The response of a list-all operation." - }, - "Persistence": { - "title": "Persistence settings", - "description": "Persistence-related configuration for the RedisEnterprise database", - "type": "object", - "properties": { - "aofEnabled": { - "type": "boolean", - "description": "Sets whether AOF is enabled." - }, - "rdbEnabled": { - "type": "boolean", - "description": "Sets whether RDB is enabled." - }, - "aofFrequency": { - "type": "string", - "description": "Sets the frequency at which data is written to disk.", - "enum": [ - "1s", - "always" - ], - "x-ms-enum": { - "name": "AofFrequency", - "modelAsString": true - } - }, - "rdbFrequency": { - "type": "string", - "description": "Sets the frequency at which a snapshot of the database is created.", - "enum": [ - "1h", - "6h", - "12h" - ], - "x-ms-enum": { - "name": "RdbFrequency", - "modelAsString": true + "DatabaseList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Database" + }, + "description": "List of databases" + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URI to fetch the next page of results." } - } - } - }, - "Module": { - "title": "Module settings", - "description": "Specifies configuration of a redis module", - "type": "object", - "properties": { - "name": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'" }, - "args": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'." - }, - "version": { - "type": "string", - "readOnly": true, - "description": "The version of the module, e.g. '1.0'." - } + "description": "The response of a list-all operation." }, - "required": [ - "name" - ] - }, - "LinkedDatabase": { - "title": "Linked Database", - "description": "Specifies details of a linked database resource.", - "type": "object", - "properties": { - "id": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Resource ID of a database resource to link with this database." - }, - "state": { - "type": "string", - "description": "State of the link between the database resources.", - "enum": [ - "Linked", - "Linking", - "Unlinking", - "LinkFailed", - "UnlinkFailed" - ], - "x-ms-enum": { - "name": "LinkState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "AccessKeys": { - "title": "Access keys", - "description": "The secret access keys used for authenticating connections to redis", - "type": "object", - "properties": { - "primaryKey": { - "readOnly": true, - "type": "string", - "description": "The current primary key that clients can use to authenticate" - }, - "secondaryKey": { - "readOnly": true, - "type": "string", - "description": "The current secondary key that clients can use to authenticate" - } - } - }, - "RegenerateKeyParameters": { - "title": "Regenerate access keys request", - "type": "object", - "properties": { - "keyType": { - "type": "string", - "description": "Which access key to regenerate.", - "enum": [ - "Primary", - "Secondary" - ], - "x-ms-enum": { - "name": "AccessKeyType", - "modelAsString": false + "Persistence": { + "title": "Persistence settings", + "description": "Persistence-related configuration for the RedisEnterprise database", + "type": "object", + "properties": { + "aofEnabled": { + "type": "boolean", + "description": "Sets whether AOF is enabled." + }, + "rdbEnabled": { + "type": "boolean", + "description": "Sets whether RDB is enabled." + }, + "aofFrequency": { + "type": "string", + "description": "Sets the frequency at which data is written to disk.", + "enum": [ + "1s", + "always" + ], + "x-ms-enum": { + "name": "AofFrequency", + "modelAsString": true + } + }, + "rdbFrequency": { + "type": "string", + "description": "Sets the frequency at which a snapshot of the database is created.", + "enum": [ + "1h", + "6h", + "12h" + ], + "x-ms-enum": { + "name": "RdbFrequency", + "modelAsString": true + } } } }, - "required": [ - "keyType" - ], - "description": "Specifies which access keys to reset to a new random value." - }, - "ImportClusterParameters": { - "title": "Import RDB files into a target database", - "type": "object", - "properties": { - "sasUris": { - "type": "array", - "items": { - "type": "string" - }, - "description": "SAS URIs for the target blobs to import from", - "x-ms-secret": true + "Module": { + "title": "Module settings", + "description": "Specifies configuration of a redis module", + "type": "object", + "properties": { + "name": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'" + }, + "args": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'." + }, + "version": { + "type": "string", + "readOnly": true, + "description": "The version of the module, e.g. '1.0'." + } + }, + "required": [ + "name" + ] + }, + "LinkedDatabase": { + "title": "Linked Database", + "description": "Specifies details of a linked database resource.", + "type": "object", + "properties": { + "id": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Resource ID of a database resource to link with this database." + }, + "state": { + "type": "string", + "description": "State of the link between the database resources.", + "enum": [ + "Linked", + "Linking", + "Unlinking", + "LinkFailed", + "UnlinkFailed" + ], + "x-ms-enum": { + "name": "LinkState", + "modelAsString": true + }, + "readOnly": true + } } }, - "required": [ - "sasUris" - ], - "description": "Parameters for a Redis Enterprise import operation." - }, - "ExportClusterParameters": { - "title": "Export an RDB file into a target database", - "type": "object", - "properties": { - "sasUri": { - "type": "string", - "description": "SAS URI for the target directory to export to", - "x-ms-secret": true + "AccessKeys": { + "title": "Access keys", + "description": "The secret access keys used for authenticating connections to redis", + "type": "object", + "properties": { + "primaryKey": { + "readOnly": true, + "type": "string", + "description": "The current primary key that clients can use to authenticate" + }, + "secondaryKey": { + "readOnly": true, + "type": "string", + "description": "The current secondary key that clients can use to authenticate" + } } }, - "required": [ - "sasUri" - ], - "description": "Parameters for a Redis Enterprise export operation." - }, - "OperationStatus": { - "description": "The status of a long-running operation.", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The operation's unique id." - }, - "name": { - "type": "string", - "description": "The operation's name." - }, - "startTime": { - "type": "string", - "description": "The start time of the operation." - }, - "endTime": { - "type": "string", - "description": "The end time of the operation." + "RegenerateKeyParameters": { + "title": "Regenerate access keys request", + "type": "object", + "properties": { + "keyType": { + "type": "string", + "description": "Which access key to regenerate.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "AccessKeyType", + "modelAsString": false + } + } }, - "status": { - "type": "string", - "description": "The current status of the operation." + "required": [ + "keyType" + ], + "description": "Specifies which access keys to reset to a new random value." + }, + "ImportClusterParameters": { + "title": "Import RDB files into a target database", + "type": "object", + "properties": { + "sasUris": { + "type": "array", + "items": { + "type": "string" + }, + "description": "SAS URIs for the target blobs to import from", + "x-ms-secret": true + } }, - "error": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse", - "description": "Error response describing why the operation failed." - } - } - }, - "RegionSkuDetails": { - "title": "Region Sku Details", - "description": "List of details about all the available SKUs", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RegionSkuDetail" - }, - "description": "List of Sku Detail", - "x-ms-identifiers": [] - } - } - }, - "LocationInfo": { - "type": "object", - "description": "Information about location (for example: features that it supports)", - "properties": { - "location": { - "type": "string", - "description": "Location name" + "required": [ + "sasUris" + ], + "description": "Parameters for a Redis Enterprise import operation." + }, + "ExportClusterParameters": { + "title": "Export an RDB file into a target database", + "type": "object", + "properties": { + "sasUri": { + "type": "string", + "description": "SAS URI for the target directory to export to", + "x-ms-secret": true + } }, - "capabilities": { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" + "required": [ + "sasUri" + ], + "description": "Parameters for a Redis Enterprise export operation." + }, + "OperationStatus": { + "description": "The status of a long-running operation.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The operation's unique id." }, - "description": "List of capabilities", - "x-ms-identifiers": [] - } - } - }, - "SkuDetail": { - "type": "object", - "title": "Sku Detail", - "description": "Information about Sku", - "properties": { - "name": { - "$ref": "#/definitions/SkuName", - "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)" - } - } - }, - "SkuName": { - "type": "string", - "enum": [ - "Enterprise_E10", - "Enterprise_E20", - "Enterprise_E50", - "Enterprise_E100", - "EnterpriseFlash_F300", - "EnterpriseFlash_F700", - "EnterpriseFlash_F1500" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "Capability": { - "type": "object", - "title": "Capability", - "description": "Information about the features the location supports", - "properties": { - "name": { - "type": "string", - "description": "Feature name" - }, - "value": { - "type": "boolean", - "description": "Indicates whether feature is supported or not" + "name": { + "type": "string", + "description": "The operation's name." + }, + "startTime": { + "type": "string", + "description": "The start time of the operation." + }, + "endTime": { + "type": "string", + "description": "The end time of the operation." + }, + "status": { + "type": "string", + "description": "The current status of the operation." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse", + "description": "Error response describing why the operation failed." + } } - } - }, - "RegionSkuDetail": { - "title": "Region Sku Detail", - "description": "Details about the location requested and the available skus in the location", - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "description": "Resource type which has the SKU, such as Microsoft.Cache/redisEnterprise" + }, + "FlushParameters": { + "title": "Flush all the keys from the current and all its linked databases", + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The resource identifiers of all the other database resources in the georeplication group to be flushed" + } }, - "locationInfo": { - "$ref": "#/definitions/LocationInfo", - "description": "Details about location and its capabilities" + "description": "Parameters for a Redis Enterprise active geo-replication flush operation." + }, + "ForceUnlinkParameters": { + "title": "Forcibly unlink another database from this database.", + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The resource IDs of the database resources to be unlinked." + } }, - "skuDetails": { - "$ref": "#/definitions/SkuDetail", - "description": "Details about available skus" - } + "required": [ + "ids" + ], + "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation." } }, - "FlushParameters": { - "title": "Flush all the keys from the current and all its linked databases", - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource identifiers of all the other database resources in the georeplication group to be flushed" - } - }, - "description": "Parameters for a Redis Enterprise active geo-replication flush operation." - }, - "ForceUnlinkParameters": { - "title": "Forcibly unlink another database from this database.", - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource IDs of the database resources to be unlinked." - } - }, - "required": [ - "ids" - ], - "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation." - } - }, "parameters": { "ClusterNameParameter": { "name": "clusterName", diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/examples/RedisEnterpriseSkusList.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/examples/RedisEnterpriseSkusList.json deleted file mode 100644 index 9de17aefc669..000000000000 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/examples/RedisEnterpriseSkusList.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "subid", - "location": "westus2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E1" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E10" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E20" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E50" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "Enterprise_E100" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F300" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F700" - } - }, - { - "resourceType": "Microsoft.Cache/redisEnterprise", - "locationInfo": { - "location": "westus2", - "capabilities": [ - { - "name": "ZoneAware", - "value": true - }, - { - "name": "FDsAvailable", - "value": true - } - ] - }, - "skuDetails": { - "name": "EnterpriseFlash_F1500" - } - } - ] - } - } - } -} diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json index 8a122022e78e..13c3afe2df4d 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json @@ -1268,48 +1268,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/skus": { - "get": { - "tags": [ - "SKU" - ], - "operationId": "Skus_List", - "description": "Gets information about skus in specified location for the given subscription id", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "SkusList": { - "$ref": "./examples/RedisEnterpriseSkusList.json" - } - }, - "responses": { - "200": { - "description": "The request succeeded, response body contains the requested details.", - "schema": { - "$ref": "#/definitions/RegionSkuDetails" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/checkNameAvailability": { "post": { "tags": [ @@ -1372,6 +1331,25 @@ "name" ] }, + "SkuName": { + "type": "string", + "enum": [ + "Enterprise_E5", + "Enterprise_E10", + "Enterprise_E20", + "Enterprise_E50", + "Enterprise_E100", + "Enterprise_E200", + "Enterprise_E400", + "EnterpriseFlash_F300", + "EnterpriseFlash_F700", + "EnterpriseFlash_F1500" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, "ProvisioningState": { "type": "string", "readOnly": true, @@ -1947,100 +1925,6 @@ } } }, - "RegionSkuDetails": { - "title": "Region Sku Details", - "description": "List of details about all the available SKUs", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RegionSkuDetail" - }, - "description": "List of Sku Detail", - "x-ms-identifiers": [] - } - } - }, - "LocationInfo": { - "type": "object", - "description": "Information about location (for example: features that it supports)", - "properties": { - "location": { - "type": "string", - "description": "Location name" - }, - "capabilities": { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - }, - "description": "List of capabilities", - "x-ms-identifiers": [] - } - } - }, - "SkuDetail": { - "type": "object", - "title": "Sku Detail", - "description": "Information about Sku", - "properties": { - "name": { - "$ref": "#/definitions/SkuName", - "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)" - } - } - }, - "SkuName": { - "type": "string", - "enum": [ - "Enterprise_E10", - "Enterprise_E20", - "Enterprise_E50", - "Enterprise_E100", - "EnterpriseFlash_F300", - "EnterpriseFlash_F700", - "EnterpriseFlash_F1500" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "Capability": { - "type": "object", - "title": "Capability", - "description": "Information about the features the location supports", - "properties": { - "name": { - "type": "string", - "description": "Feature name" - }, - "value": { - "type": "boolean", - "description": "Indicates whether feature is supported or not" - } - } - }, - "RegionSkuDetail": { - "title": "Region Sku Detail", - "description": "Details about the location requested and the available skus in the location", - "type": "object", - "properties": { - "resourceType": { - "type": "string", - "description": "Resource type which has the SKU, such as Microsoft.Cache/redisEnterprise" - }, - "locationInfo": { - "$ref": "#/definitions/LocationInfo", - "description": "Details about location and its capabilities" - }, - "skuDetails": { - "$ref": "#/definitions/SkuDetail", - "description": "Details about available skus" - } - } - }, "FlushParameters": { "title": "Flush all the keys from the current and all its linked databases.", "type": "object", diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/redisenterprise.json index dec23c66fff4..37a57f4ffec6 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-10-01-preview/redisenterprise.json @@ -1913,6 +1913,25 @@ } } }, + "SkuName": { + "type": "string", + "enum": [ + "Enterprise_E5", + "Enterprise_E10", + "Enterprise_E20", + "Enterprise_E50", + "Enterprise_E100", + "Enterprise_E200", + "Enterprise_E400", + "EnterpriseFlash_F300", + "EnterpriseFlash_F700", + "EnterpriseFlash_F1500" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, "FlushParameters": { "title": "Flush all the keys from the current and all its linked databases.", "type": "object", From bc6fb0f528a56b55384a328598636e9c21a84bae Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Wed, 25 Oct 2023 15:09:43 -0700 Subject: [PATCH 04/10] edit enum --- .../preview/2023-03-01-preview/redisenterprise.json | 3 --- .../preview/2023-08-01-preview/redisenterprise.json | 3 --- 2 files changed, 6 deletions(-) diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json index 3e6bb4bbcacd..08bbe600ebeb 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json @@ -1290,13 +1290,10 @@ "SkuName": { "type": "string", "enum": [ - "Enterprise_E5", "Enterprise_E10", "Enterprise_E20", "Enterprise_E50", "Enterprise_E100", - "Enterprise_E200", - "Enterprise_E400", "EnterpriseFlash_F300", "EnterpriseFlash_F700", "EnterpriseFlash_F1500" diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json index 13c3afe2df4d..0eb42af0bd40 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json @@ -1334,13 +1334,10 @@ "SkuName": { "type": "string", "enum": [ - "Enterprise_E5", "Enterprise_E10", "Enterprise_E20", "Enterprise_E50", "Enterprise_E100", - "Enterprise_E200", - "Enterprise_E400", "EnterpriseFlash_F300", "EnterpriseFlash_F700", "EnterpriseFlash_F1500" From 9e0652bb8906c84fffe845d1bd24b7505626ba49 Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Thu, 26 Oct 2023 15:00:50 -0700 Subject: [PATCH 05/10] updates --- .../2022-11-01-preview/redisenterprise.json | 43 ------------------- .../2023-03-01-preview/redisenterprise.json | 33 +++++++------- 2 files changed, 17 insertions(+), 59 deletions(-) diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json index 18e0f4af59a1..2bf24f166758 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json @@ -1199,49 +1199,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/skus": { - "get": { - "tags": [ - "SKU" - ], - "operationId": "Skus_List", - "description": "Gets information about skus in specified location for the given subscription id", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "SkusList": { - "$ref": "./examples/RedisEnterpriseSkusList.json" - } - }, - "responses": { - "200": { - "description": "The request succeeded, response body contains the requested details.", - "schema": { - "$ref": "#/definitions/RegionSkuDetails" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, "definitions": { "Sku": { "description": "SKU parameters supplied to the create RedisEnterprise operation.", diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json index 08bbe600ebeb..02a471312e2b 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json @@ -1908,22 +1908,23 @@ "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation." } }, - "parameters": { - "ClusterNameParameter": { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the RedisEnterprise cluster.", - "x-ms-parameter-location": "method" - }, - "DatabaseNameParameter": { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database.", - "x-ms-parameter-location": "method" + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the RedisEnterprise cluster.", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database.", + "x-ms-parameter-location": "method" + } } } } From 0514b6b48cb9283eaa2288ba79b13463b57a019e Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Sun, 29 Oct 2023 16:14:43 -0700 Subject: [PATCH 06/10] fix validation --- .../2022-11-01-preview/redisenterprise.json | 1181 +++++++++-------- .../2023-08-01-preview/redisenterprise.json | 1 - 2 files changed, 591 insertions(+), 591 deletions(-) diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json index 2bf24f166758..a86ddaf18b04 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json @@ -1199,645 +1199,646 @@ } } }, - "definitions": { - "Sku": { - "description": "SKU parameters supplied to the create RedisEnterprise operation.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)", - "enum": [ - "Enterprise_E10", - "Enterprise_E20", - "Enterprise_E50", - "Enterprise_E100", - "EnterpriseFlash_F300", - "EnterpriseFlash_F700", - "EnterpriseFlash_F1500" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true + "definitions": { + "Sku": { + "description": "SKU parameters supplied to the create RedisEnterprise operation.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)", + "enum": [ + "Enterprise_E10", + "Enterprise_E20", + "Enterprise_E50", + "Enterprise_E100", + "EnterpriseFlash_F300", + "EnterpriseFlash_F700", + "EnterpriseFlash_F1500" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "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." } }, - "capacity": { - "type": "integer", - "format": "int32", - "description": "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." - } + "required": [ + "name" + ] }, - "required": [ - "name" - ] - }, - "ProvisioningState": { - "type": "string", - "readOnly": true, - "description": "Current provisioning status", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Creating", - "Updating", - "Deleting" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "ResourceState": { - "type": "string", - "readOnly": true, - "description": "Current resource status", - "enum": [ - "Running", - "Creating", - "CreateFailed", - "Updating", - "UpdateFailed", - "Deleting", - "DeleteFailed", - "Enabling", - "EnableFailed", - "Disabling", - "DisableFailed", - "Disabled" - ], - "x-ms-enum": { - "name": "ResourceState", - "modelAsString": true - } - }, - "Cluster": { - "description": "Describes the RedisEnterprise cluster", - "type": "object", - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU to create, which affects price, performance, and features." - }, - "zones": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Availability Zones where this cluster will be deployed." - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The identity of the resource." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "Other properties of the cluster." + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "Current provisioning status", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true } }, - "required": [ - "sku" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "ResourceState": { + "type": "string", + "readOnly": true, + "description": "Current resource status", + "enum": [ + "Running", + "Creating", + "CreateFailed", + "Updating", + "UpdateFailed", + "Deleting", + "DeleteFailed", + "Enabling", + "EnableFailed", + "Disabling", + "DisableFailed", + "Disabled" + ], + "x-ms-enum": { + "name": "ResourceState", + "modelAsString": true } - ] - }, - "ClusterUpdate": { - "description": "A partial update to the RedisEnterprise cluster", - "type": "object", - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU to create, which affects price, performance, and features." - }, + }, + "Cluster": { + "description": "Describes the RedisEnterprise cluster", + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "Other properties of the cluster." - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The identity of the resource." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } - } - }, - "ClusterProperties": { - "title": "RedisEnterprise cluster properties", - "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags", - "type": "object", - "properties": { - "minimumTlsVersion": { - "type": "string", - "description": "The minimum TLS version for the cluster to support, e.g. '1.2'", - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "x-ms-enum": { - "name": "TlsVersion", - "modelAsString": true + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU to create, which affects price, performance, and features." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Availability Zones where this cluster will be deployed." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "Other properties of the cluster." } }, - "encryption": { - "type": "object", - "description": "Encryption-at-rest configuration for the cluster.", + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ClusterUpdate": { + "description": "A partial update to the RedisEnterprise cluster", + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU to create, which affects price, performance, and features." + }, "properties": { - "customerManagedKeyEncryption": { - "type": "object", - "description": "All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.", - "properties": { - "keyEncryptionKeyIdentity": { - "type": "object", - "description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.", - "properties": { - "userAssignedIdentityResourceId": { - "type": "string", - "description": "User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId." - }, - "identityType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity" - ], - "description": "Only userAssignedIdentity is supported in this API version; other types may be supported in the future", - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "Other properties of the cluster." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + } + }, + "ClusterProperties": { + "title": "RedisEnterprise cluster properties", + "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags", + "type": "object", + "properties": { + "minimumTlsVersion": { + "type": "string", + "description": "The minimum TLS version for the cluster to support, e.g. '1.2'", + "enum": [ + "1.0", + "1.1", + "1.2" + ], + "x-ms-enum": { + "name": "TlsVersion", + "modelAsString": true + } + }, + "encryption": { + "type": "object", + "description": "Encryption-at-rest configuration for the cluster.", + "properties": { + "customerManagedKeyEncryption": { + "type": "object", + "description": "All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.", + "properties": { + "keyEncryptionKeyIdentity": { + "type": "object", + "description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.", + "properties": { + "userAssignedIdentityResourceId": { + "type": "string", + "description": "User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId." + }, + "identityType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity" + ], + "description": "Only userAssignedIdentity is supported in this API version; other types may be supported in the future", + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } } } + }, + "keyEncryptionKeyUrl": { + "type": "string", + "description": "Key encryption key Url, versioned or unversioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek." } - }, - "keyEncryptionKeyUrl": { - "type": "string", - "description": "Key encryption key Url, versioned or unversioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek." } } } - } - }, - "hostName": { - "type": "string", - "readOnly": true, - "description": "DNS name of the cluster endpoint" - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "readOnly": true, - "description": "Current provisioning status of the cluster" - }, - "resourceState": { - "$ref": "#/definitions/ResourceState", - "readOnly": true, - "description": "Current resource status of the cluster" - }, - "redisVersion": { - "type": "string", - "readOnly": true, - "description": "Version of redis the cluster supports, e.g. '6'" - }, - "privateEndpointConnections": { - "type": "array", - "readOnly": true, - "description": "List of private endpoint connections associated with the specified RedisEnterprise cluster", - "items": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "hostName": { + "type": "string", + "readOnly": true, + "description": "DNS name of the cluster endpoint" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true, + "description": "Current provisioning status of the cluster" + }, + "resourceState": { + "$ref": "#/definitions/ResourceState", + "readOnly": true, + "description": "Current resource status of the cluster" + }, + "redisVersion": { + "type": "string", + "readOnly": true, + "description": "Version of redis the cluster supports, e.g. '6'" + }, + "privateEndpointConnections": { + "type": "array", + "readOnly": true, + "description": "List of private endpoint connections associated with the specified RedisEnterprise cluster", + "items": { + "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" + } } } - } - }, - "ClusterList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Cluster" - }, - "description": "List of clusters." - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URI to fetch the next page of results." - } }, - "description": "The response of a list-all operation." - }, - "Database": { - "description": "Describes a database on the RedisEnterprise cluster", - "type": "object", - "properties": { + "ClusterList": { + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DatabaseProperties", - "description": "Other properties of the database." - } + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Cluster" + }, + "description": "List of clusters." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URI to fetch the next page of results." + } + }, + "description": "The response of a list-all operation." }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, - "DatabaseUpdate": { - "description": "A partial update to the RedisEnterprise database", - "type": "object", - "properties": { + "Database": { + "description": "Describes a database on the RedisEnterprise cluster", + "type": "object", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DatabaseProperties", - "description": "Properties of the database." - } - } - }, - "DatabaseProperties": { - "title": "RedisEnterprise database properties", - "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags", - "type": "object", - "properties": { - "clientProtocol": { - "type": "string", - "description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.", - "enum": [ - "Encrypted", - "Plaintext" - ], - "x-ms-enum": { - "name": "Protocol", - "modelAsString": true + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DatabaseProperties", + "description": "Other properties of the database." } }, - "port": { - "type": "integer", - "format": "int32", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "TCP port of the database endpoint. Specified at create time. Defaults to an available port." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "readOnly": true, - "description": "Current provisioning status of the database" - }, - "resourceState": { - "$ref": "#/definitions/ResourceState", - "readOnly": true, - "description": "Current resource status of the database" - }, - "clusteringPolicy": { - "type": "string", - "description": "Clustering policy - default is OSSCluster. Specified at create time.", - "enum": [ - "EnterpriseCluster", - "OSSCluster" - ], - "x-ms-enum": { - "name": "ClusteringPolicy", - "modelAsString": true - }, - "x-ms-mutability": [ - "read", - "create" - ] - }, - "evictionPolicy": { - "type": "string", - "description": "Redis eviction policy - default is VolatileLRU", - "enum": [ - "AllKeysLFU", - "AllKeysLRU", - "AllKeysRandom", - "VolatileLRU", - "VolatileLFU", - "VolatileTTL", - "VolatileRandom", - "NoEviction" - ], - "x-ms-enum": { - "name": "EvictionPolicy", - "modelAsString": true + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - }, - "persistence": { - "$ref": "#/definitions/Persistence", - "description": "Persistence settings" - }, - "modules": { - "type": "array", - "description": "Optional set of redis modules to enable in this database - modules can only be added at creation time.", - "items": { - "$ref": "#/definitions/Module" - }, - "x-ms-mutability": [ - "read", - "create" - ], - "x-ms-identifiers": [ - "name" - ] - }, - "geoReplication": { - "type": "object", - "description": "Optional set of properties to configure geo replication for this database.", - "x-ms-mutability": [ - "read", - "create" - ], + ] + }, + "DatabaseUpdate": { + "description": "A partial update to the RedisEnterprise database", + "type": "object", + "properties": { "properties": { - "groupNickname": { - "type": "string", - "description": "Name for the group of linked database resources", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-client-flatten": true, + "$ref": "#/definitions/DatabaseProperties", + "description": "Properties of the database." + } + } + }, + "DatabaseProperties": { + "title": "RedisEnterprise database properties", + "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags", + "type": "object", + "properties": { + "clientProtocol": { + "type": "string", + "description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.", + "enum": [ + "Encrypted", + "Plaintext" + ], + "x-ms-enum": { + "name": "Protocol", + "modelAsString": true + } + }, + "port": { + "type": "integer", + "format": "int32", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "TCP port of the database endpoint. Specified at create time. Defaults to an available port." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true, + "description": "Current provisioning status of the database" + }, + "resourceState": { + "$ref": "#/definitions/ResourceState", + "readOnly": true, + "description": "Current resource status of the database" + }, + "clusteringPolicy": { + "type": "string", + "description": "Clustering policy - default is OSSCluster. Specified at create time.", + "enum": [ + "EnterpriseCluster", + "OSSCluster" + ], + "x-ms-enum": { + "name": "ClusteringPolicy", + "modelAsString": true + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "evictionPolicy": { + "type": "string", + "description": "Redis eviction policy - default is VolatileLRU", + "enum": [ + "AllKeysLFU", + "AllKeysLRU", + "AllKeysRandom", + "VolatileLRU", + "VolatileLFU", + "VolatileTTL", + "VolatileRandom", + "NoEviction" + ], + "x-ms-enum": { + "name": "EvictionPolicy", + "modelAsString": true + } + }, + "persistence": { + "$ref": "#/definitions/Persistence", + "description": "Persistence settings" + }, + "modules": { + "type": "array", + "description": "Optional set of redis modules to enable in this database - modules can only be added at creation time.", + "items": { + "$ref": "#/definitions/Module" }, - "linkedDatabases": { - "type": "array", - "description": "List of database resources to link with this database", - "items": { - "$ref": "#/definitions/LinkedDatabase" + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-identifiers": [ + "name" + ] + }, + "geoReplication": { + "type": "object", + "description": "Optional set of properties to configure geo replication for this database.", + "x-ms-mutability": [ + "read", + "create" + ], + "properties": { + "groupNickname": { + "type": "string", + "description": "Name for the group of linked database resources", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "linkedDatabases": { + "type": "array", + "description": "List of database resources to link with this database", + "items": { + "$ref": "#/definitions/LinkedDatabase" + } } } } } - } - }, - "DatabaseList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Database" - }, - "description": "List of databases" - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URI to fetch the next page of results." - } }, - "description": "The response of a list-all operation." - }, - "Persistence": { - "title": "Persistence settings", - "description": "Persistence-related configuration for the RedisEnterprise database", - "type": "object", - "properties": { - "aofEnabled": { - "type": "boolean", - "description": "Sets whether AOF is enabled." - }, - "rdbEnabled": { - "type": "boolean", - "description": "Sets whether RDB is enabled." - }, - "aofFrequency": { - "type": "string", - "description": "Sets the frequency at which data is written to disk.", - "enum": [ - "1s", - "always" - ], - "x-ms-enum": { - "name": "AofFrequency", - "modelAsString": true - } - }, - "rdbFrequency": { - "type": "string", - "description": "Sets the frequency at which a snapshot of the database is created.", - "enum": [ - "1h", - "6h", - "12h" - ], - "x-ms-enum": { - "name": "RdbFrequency", - "modelAsString": true + "DatabaseList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Database" + }, + "description": "List of databases" + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URI to fetch the next page of results." } - } - } - }, - "Module": { - "title": "Module settings", - "description": "Specifies configuration of a redis module", - "type": "object", - "properties": { - "name": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'" - }, - "args": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'." }, - "version": { - "type": "string", - "readOnly": true, - "description": "The version of the module, e.g. '1.0'." - } + "description": "The response of a list-all operation." }, - "required": [ - "name" - ] - }, - "LinkedDatabase": { - "title": "Linked Database", - "description": "Specifies details of a linked database resource.", - "type": "object", - "properties": { - "id": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Resource ID of a database resource to link with this database." - }, - "state": { - "type": "string", - "description": "State of the link between the database resources.", - "enum": [ - "Linked", - "Linking", - "Unlinking", - "LinkFailed", - "UnlinkFailed" - ], - "x-ms-enum": { - "name": "LinkState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "AccessKeys": { - "title": "Access keys", - "description": "The secret access keys used for authenticating connections to redis", - "type": "object", - "properties": { - "primaryKey": { - "readOnly": true, - "type": "string", - "description": "The current primary key that clients can use to authenticate" - }, - "secondaryKey": { - "readOnly": true, - "type": "string", - "description": "The current secondary key that clients can use to authenticate" - } - } - }, - "RegenerateKeyParameters": { - "title": "Regenerate access keys request", - "type": "object", - "properties": { - "keyType": { - "type": "string", - "description": "Which access key to regenerate.", - "enum": [ - "Primary", - "Secondary" - ], - "x-ms-enum": { - "name": "AccessKeyType", - "modelAsString": false + "Persistence": { + "title": "Persistence settings", + "description": "Persistence-related configuration for the RedisEnterprise database", + "type": "object", + "properties": { + "aofEnabled": { + "type": "boolean", + "description": "Sets whether AOF is enabled." + }, + "rdbEnabled": { + "type": "boolean", + "description": "Sets whether RDB is enabled." + }, + "aofFrequency": { + "type": "string", + "description": "Sets the frequency at which data is written to disk.", + "enum": [ + "1s", + "always" + ], + "x-ms-enum": { + "name": "AofFrequency", + "modelAsString": true + } + }, + "rdbFrequency": { + "type": "string", + "description": "Sets the frequency at which a snapshot of the database is created.", + "enum": [ + "1h", + "6h", + "12h" + ], + "x-ms-enum": { + "name": "RdbFrequency", + "modelAsString": true + } } } }, - "required": [ - "keyType" - ], - "description": "Specifies which access keys to reset to a new random value." - }, - "ImportClusterParameters": { - "title": "Import RDB files into a target database", - "type": "object", - "properties": { - "sasUris": { - "type": "array", - "items": { - "type": "string" - }, - "description": "SAS URIs for the target blobs to import from", - "x-ms-secret": true + "Module": { + "title": "Module settings", + "description": "Specifies configuration of a redis module", + "type": "object", + "properties": { + "name": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'" + }, + "args": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'." + }, + "version": { + "type": "string", + "readOnly": true, + "description": "The version of the module, e.g. '1.0'." + } + }, + "required": [ + "name" + ] + }, + "LinkedDatabase": { + "title": "Linked Database", + "description": "Specifies details of a linked database resource.", + "type": "object", + "properties": { + "id": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Resource ID of a database resource to link with this database." + }, + "state": { + "type": "string", + "description": "State of the link between the database resources.", + "enum": [ + "Linked", + "Linking", + "Unlinking", + "LinkFailed", + "UnlinkFailed" + ], + "x-ms-enum": { + "name": "LinkState", + "modelAsString": true + }, + "readOnly": true + } } }, - "required": [ - "sasUris" - ], - "description": "Parameters for a Redis Enterprise import operation." - }, - "ExportClusterParameters": { - "title": "Export an RDB file into a target database", - "type": "object", - "properties": { - "sasUri": { - "type": "string", - "description": "SAS URI for the target directory to export to", - "x-ms-secret": true + "AccessKeys": { + "title": "Access keys", + "description": "The secret access keys used for authenticating connections to redis", + "type": "object", + "properties": { + "primaryKey": { + "readOnly": true, + "type": "string", + "description": "The current primary key that clients can use to authenticate" + }, + "secondaryKey": { + "readOnly": true, + "type": "string", + "description": "The current secondary key that clients can use to authenticate" + } } }, - "required": [ - "sasUri" - ], - "description": "Parameters for a Redis Enterprise export operation." - }, - "OperationStatus": { - "description": "The status of a long-running operation.", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The operation's unique id." - }, - "name": { - "type": "string", - "description": "The operation's name." - }, - "startTime": { - "type": "string", - "description": "The start time of the operation." + "RegenerateKeyParameters": { + "title": "Regenerate access keys request", + "type": "object", + "properties": { + "keyType": { + "type": "string", + "description": "Which access key to regenerate.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "AccessKeyType", + "modelAsString": false + } + } }, - "endTime": { - "type": "string", - "description": "The end time of the operation." + "required": [ + "keyType" + ], + "description": "Specifies which access keys to reset to a new random value." + }, + "ImportClusterParameters": { + "title": "Import RDB files into a target database", + "type": "object", + "properties": { + "sasUris": { + "type": "array", + "items": { + "type": "string" + }, + "description": "SAS URIs for the target blobs to import from", + "x-ms-secret": true + } }, - "status": { - "type": "string", - "description": "The current status of the operation." + "required": [ + "sasUris" + ], + "description": "Parameters for a Redis Enterprise import operation." + }, + "ExportClusterParameters": { + "title": "Export an RDB file into a target database", + "type": "object", + "properties": { + "sasUri": { + "type": "string", + "description": "SAS URI for the target directory to export to", + "x-ms-secret": true + } }, - "error": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse", - "description": "Error response describing why the operation failed." + "required": [ + "sasUri" + ], + "description": "Parameters for a Redis Enterprise export operation." + }, + "OperationStatus": { + "description": "The status of a long-running operation.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The operation's unique id." + }, + "name": { + "type": "string", + "description": "The operation's name." + }, + "startTime": { + "type": "string", + "description": "The start time of the operation." + }, + "endTime": { + "type": "string", + "description": "The end time of the operation." + }, + "status": { + "type": "string", + "description": "The current status of the operation." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse", + "description": "Error response describing why the operation failed." + } } + }, + "ForceUnlinkParameters": { + "title": "Forcibly unlink another database from this database.", + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The resource IDs of the database resources to be unlinked." + } + }, + "required": [ + "ids" + ], + "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation." } }, - "ForceUnlinkParameters": { - "title": "Forcibly unlink another database from this database.", - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource IDs of the database resources to be unlinked." - } + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the RedisEnterprise cluster.", + "x-ms-parameter-location": "method" }, - "required": [ - "ids" - ], - "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation." - } - }, - "parameters": { - "ClusterNameParameter": { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the RedisEnterprise cluster.", - "x-ms-parameter-location": "method" - }, - "DatabaseNameParameter": { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database.", - "x-ms-parameter-location": "method" + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database.", + "x-ms-parameter-location": "method" + } } } } diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json index 0eb42af0bd40..cb397de84ee2 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json @@ -1268,7 +1268,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/checkNameAvailability": { "post": { "tags": [ From d23a06ffc6c6cbb9f04ce35393c52fdb0f15c297 Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Sun, 29 Oct 2023 16:35:50 -0700 Subject: [PATCH 07/10] updating redisenterprise --- .../2022-11-01-preview/redisenterprise.json | 1184 ++++++++--------- 1 file changed, 592 insertions(+), 592 deletions(-) diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json index a86ddaf18b04..690921f6ba5c 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2022-11-01-preview/redisenterprise.json @@ -1198,647 +1198,647 @@ } } } - }, - "definitions": { - "Sku": { - "description": "SKU parameters supplied to the create RedisEnterprise operation.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)", - "enum": [ - "Enterprise_E10", - "Enterprise_E20", - "Enterprise_E50", - "Enterprise_E100", - "EnterpriseFlash_F300", - "EnterpriseFlash_F700", - "EnterpriseFlash_F1500" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "capacity": { - "type": "integer", - "format": "int32", - "description": "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." + } + }, + "definitions": { + "Sku": { + "description": "SKU parameters supplied to the create RedisEnterprise operation.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)", + "enum": [ + "Enterprise_E10", + "Enterprise_E20", + "Enterprise_E50", + "Enterprise_E100", + "EnterpriseFlash_F300", + "EnterpriseFlash_F700", + "EnterpriseFlash_F1500" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true } }, - "required": [ - "name" - ] - }, - "ProvisioningState": { - "type": "string", - "readOnly": true, - "description": "Current provisioning status", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Creating", - "Updating", - "Deleting" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "ResourceState": { - "type": "string", - "readOnly": true, - "description": "Current resource status", - "enum": [ - "Running", - "Creating", - "CreateFailed", - "Updating", - "UpdateFailed", - "Deleting", - "DeleteFailed", - "Enabling", - "EnableFailed", - "Disabling", - "DisableFailed", - "Disabled" - ], - "x-ms-enum": { - "name": "ResourceState", - "modelAsString": true + "capacity": { + "type": "integer", + "format": "int32", + "description": "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." } }, - "Cluster": { - "description": "Describes the RedisEnterprise cluster", - "type": "object", - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU to create, which affects price, performance, and features." - }, - "zones": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Availability Zones where this cluster will be deployed." - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The identity of the resource." + "required": [ + "name" + ] + }, + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "Current provisioning status", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "ResourceState": { + "type": "string", + "readOnly": true, + "description": "Current resource status", + "enum": [ + "Running", + "Creating", + "CreateFailed", + "Updating", + "UpdateFailed", + "Deleting", + "DeleteFailed", + "Enabling", + "EnableFailed", + "Disabling", + "DisableFailed", + "Disabled" + ], + "x-ms-enum": { + "name": "ResourceState", + "modelAsString": true + } + }, + "Cluster": { + "description": "Describes the RedisEnterprise cluster", + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU to create, which affects price, performance, and features." + }, + "zones": { + "type": "array", + "items": { + "type": "string" }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "Other properties of the cluster." - } + "description": "The Availability Zones where this cluster will be deployed." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." }, - "required": [ - "sku" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "ClusterUpdate": { - "description": "A partial update to the RedisEnterprise cluster", - "type": "object", "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU to create, which affects price, performance, and features." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "Other properties of the cluster." - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The identity of the resource." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "Other properties of the cluster." } }, - "ClusterProperties": { - "title": "RedisEnterprise cluster properties", - "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags", - "type": "object", + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ClusterUpdate": { + "description": "A partial update to the RedisEnterprise cluster", + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU to create, which affects price, performance, and features." + }, "properties": { - "minimumTlsVersion": { - "type": "string", - "description": "The minimum TLS version for the cluster to support, e.g. '1.2'", - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "x-ms-enum": { - "name": "TlsVersion", - "modelAsString": true - } - }, - "encryption": { - "type": "object", - "description": "Encryption-at-rest configuration for the cluster.", - "properties": { - "customerManagedKeyEncryption": { - "type": "object", - "description": "All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.", - "properties": { - "keyEncryptionKeyIdentity": { - "type": "object", - "description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.", - "properties": { - "userAssignedIdentityResourceId": { - "type": "string", - "description": "User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId." - }, - "identityType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity" - ], - "description": "Only userAssignedIdentity is supported in this API version; other types may be supported in the future", - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "Other properties of the cluster." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + } + }, + "ClusterProperties": { + "title": "RedisEnterprise cluster properties", + "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags", + "type": "object", + "properties": { + "minimumTlsVersion": { + "type": "string", + "description": "The minimum TLS version for the cluster to support, e.g. '1.2'", + "enum": [ + "1.0", + "1.1", + "1.2" + ], + "x-ms-enum": { + "name": "TlsVersion", + "modelAsString": true + } + }, + "encryption": { + "type": "object", + "description": "Encryption-at-rest configuration for the cluster.", + "properties": { + "customerManagedKeyEncryption": { + "type": "object", + "description": "All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.", + "properties": { + "keyEncryptionKeyIdentity": { + "type": "object", + "description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.", + "properties": { + "userAssignedIdentityResourceId": { + "type": "string", + "description": "User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId." + }, + "identityType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity" + ], + "description": "Only userAssignedIdentity is supported in this API version; other types may be supported in the future", + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true } } - }, - "keyEncryptionKeyUrl": { - "type": "string", - "description": "Key encryption key Url, versioned or unversioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek." } + }, + "keyEncryptionKeyUrl": { + "type": "string", + "description": "Key encryption key Url, versioned or unversioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek." } } } - }, - "hostName": { - "type": "string", - "readOnly": true, - "description": "DNS name of the cluster endpoint" - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "readOnly": true, - "description": "Current provisioning status of the cluster" - }, - "resourceState": { - "$ref": "#/definitions/ResourceState", - "readOnly": true, - "description": "Current resource status of the cluster" - }, - "redisVersion": { - "type": "string", - "readOnly": true, - "description": "Version of redis the cluster supports, e.g. '6'" - }, - "privateEndpointConnections": { - "type": "array", - "readOnly": true, - "description": "List of private endpoint connections associated with the specified RedisEnterprise cluster", - "items": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" - } } + }, + "hostName": { + "type": "string", + "readOnly": true, + "description": "DNS name of the cluster endpoint" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true, + "description": "Current provisioning status of the cluster" + }, + "resourceState": { + "$ref": "#/definitions/ResourceState", + "readOnly": true, + "description": "Current resource status of the cluster" + }, + "redisVersion": { + "type": "string", + "readOnly": true, + "description": "Version of redis the cluster supports, e.g. '6'" + }, + "privateEndpointConnections": { + "type": "array", + "readOnly": true, + "description": "List of private endpoint connections associated with the specified RedisEnterprise cluster", + "items": { + "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" + } + } + } + }, + "ClusterList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Cluster" + }, + "description": "List of clusters." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URI to fetch the next page of results." } }, - "ClusterList": { - "type": "object", + "description": "The response of a list-all operation." + }, + "Database": { + "description": "Describes a database on the RedisEnterprise cluster", + "type": "object", + "properties": { "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Cluster" - }, - "description": "List of clusters." - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URI to fetch the next page of results." - } - }, - "description": "The response of a list-all operation." + "x-ms-client-flatten": true, + "$ref": "#/definitions/DatabaseProperties", + "description": "Other properties of the database." + } }, - "Database": { - "description": "Describes a database on the RedisEnterprise cluster", - "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "DatabaseUpdate": { + "description": "A partial update to the RedisEnterprise database", + "type": "object", + "properties": { "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DatabaseProperties", - "description": "Other properties of the database." + "x-ms-client-flatten": true, + "$ref": "#/definitions/DatabaseProperties", + "description": "Properties of the database." + } + } + }, + "DatabaseProperties": { + "title": "RedisEnterprise database properties", + "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags", + "type": "object", + "properties": { + "clientProtocol": { + "type": "string", + "description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.", + "enum": [ + "Encrypted", + "Plaintext" + ], + "x-ms-enum": { + "name": "Protocol", + "modelAsString": true } }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "port": { + "type": "integer", + "format": "int32", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "TCP port of the database endpoint. Specified at create time. Defaults to an available port." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true, + "description": "Current provisioning status of the database" + }, + "resourceState": { + "$ref": "#/definitions/ResourceState", + "readOnly": true, + "description": "Current resource status of the database" + }, + "clusteringPolicy": { + "type": "string", + "description": "Clustering policy - default is OSSCluster. Specified at create time.", + "enum": [ + "EnterpriseCluster", + "OSSCluster" + ], + "x-ms-enum": { + "name": "ClusteringPolicy", + "modelAsString": true + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "evictionPolicy": { + "type": "string", + "description": "Redis eviction policy - default is VolatileLRU", + "enum": [ + "AllKeysLFU", + "AllKeysLRU", + "AllKeysRandom", + "VolatileLRU", + "VolatileLFU", + "VolatileTTL", + "VolatileRandom", + "NoEviction" + ], + "x-ms-enum": { + "name": "EvictionPolicy", + "modelAsString": true } - ] - }, - "DatabaseUpdate": { - "description": "A partial update to the RedisEnterprise database", - "type": "object", - "properties": { + }, + "persistence": { + "$ref": "#/definitions/Persistence", + "description": "Persistence settings" + }, + "modules": { + "type": "array", + "description": "Optional set of redis modules to enable in this database - modules can only be added at creation time.", + "items": { + "$ref": "#/definitions/Module" + }, + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-identifiers": [ + "name" + ] + }, + "geoReplication": { + "type": "object", + "description": "Optional set of properties to configure geo replication for this database.", + "x-ms-mutability": [ + "read", + "create" + ], "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DatabaseProperties", - "description": "Properties of the database." - } - } - }, - "DatabaseProperties": { - "title": "RedisEnterprise database properties", - "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags", - "type": "object", - "properties": { - "clientProtocol": { - "type": "string", - "description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.", - "enum": [ - "Encrypted", - "Plaintext" - ], - "x-ms-enum": { - "name": "Protocol", - "modelAsString": true - } - }, - "port": { - "type": "integer", - "format": "int32", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "TCP port of the database endpoint. Specified at create time. Defaults to an available port." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "readOnly": true, - "description": "Current provisioning status of the database" - }, - "resourceState": { - "$ref": "#/definitions/ResourceState", - "readOnly": true, - "description": "Current resource status of the database" - }, - "clusteringPolicy": { - "type": "string", - "description": "Clustering policy - default is OSSCluster. Specified at create time.", - "enum": [ - "EnterpriseCluster", - "OSSCluster" - ], - "x-ms-enum": { - "name": "ClusteringPolicy", - "modelAsString": true + "groupNickname": { + "type": "string", + "description": "Name for the group of linked database resources", + "x-ms-mutability": [ + "read", + "create" + ] }, - "x-ms-mutability": [ - "read", - "create" - ] - }, - "evictionPolicy": { - "type": "string", - "description": "Redis eviction policy - default is VolatileLRU", - "enum": [ - "AllKeysLFU", - "AllKeysLRU", - "AllKeysRandom", - "VolatileLRU", - "VolatileLFU", - "VolatileTTL", - "VolatileRandom", - "NoEviction" - ], - "x-ms-enum": { - "name": "EvictionPolicy", - "modelAsString": true - } - }, - "persistence": { - "$ref": "#/definitions/Persistence", - "description": "Persistence settings" - }, - "modules": { - "type": "array", - "description": "Optional set of redis modules to enable in this database - modules can only be added at creation time.", - "items": { - "$ref": "#/definitions/Module" - }, - "x-ms-mutability": [ - "read", - "create" - ], - "x-ms-identifiers": [ - "name" - ] - }, - "geoReplication": { - "type": "object", - "description": "Optional set of properties to configure geo replication for this database.", - "x-ms-mutability": [ - "read", - "create" - ], - "properties": { - "groupNickname": { - "type": "string", - "description": "Name for the group of linked database resources", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "linkedDatabases": { - "type": "array", - "description": "List of database resources to link with this database", - "items": { - "$ref": "#/definitions/LinkedDatabase" - } + "linkedDatabases": { + "type": "array", + "description": "List of database resources to link with this database", + "items": { + "$ref": "#/definitions/LinkedDatabase" } } } } + } + }, + "DatabaseList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Database" + }, + "description": "List of databases" + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URI to fetch the next page of results." + } }, - "DatabaseList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Database" - }, - "description": "List of databases" - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URI to fetch the next page of results." + "description": "The response of a list-all operation." + }, + "Persistence": { + "title": "Persistence settings", + "description": "Persistence-related configuration for the RedisEnterprise database", + "type": "object", + "properties": { + "aofEnabled": { + "type": "boolean", + "description": "Sets whether AOF is enabled." + }, + "rdbEnabled": { + "type": "boolean", + "description": "Sets whether RDB is enabled." + }, + "aofFrequency": { + "type": "string", + "description": "Sets the frequency at which data is written to disk.", + "enum": [ + "1s", + "always" + ], + "x-ms-enum": { + "name": "AofFrequency", + "modelAsString": true } }, - "description": "The response of a list-all operation." - }, - "Persistence": { - "title": "Persistence settings", - "description": "Persistence-related configuration for the RedisEnterprise database", - "type": "object", - "properties": { - "aofEnabled": { - "type": "boolean", - "description": "Sets whether AOF is enabled." - }, - "rdbEnabled": { - "type": "boolean", - "description": "Sets whether RDB is enabled." - }, - "aofFrequency": { - "type": "string", - "description": "Sets the frequency at which data is written to disk.", - "enum": [ - "1s", - "always" - ], - "x-ms-enum": { - "name": "AofFrequency", - "modelAsString": true - } - }, - "rdbFrequency": { - "type": "string", - "description": "Sets the frequency at which a snapshot of the database is created.", - "enum": [ - "1h", - "6h", - "12h" - ], - "x-ms-enum": { - "name": "RdbFrequency", - "modelAsString": true - } + "rdbFrequency": { + "type": "string", + "description": "Sets the frequency at which a snapshot of the database is created.", + "enum": [ + "1h", + "6h", + "12h" + ], + "x-ms-enum": { + "name": "RdbFrequency", + "modelAsString": true } } - }, - "Module": { - "title": "Module settings", - "description": "Specifies configuration of a redis module", - "type": "object", - "properties": { - "name": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'" - }, - "args": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'." - }, - "version": { - "type": "string", - "readOnly": true, - "description": "The version of the module, e.g. '1.0'." - } - }, - "required": [ - "name" - ] - }, - "LinkedDatabase": { - "title": "Linked Database", - "description": "Specifies details of a linked database resource.", - "type": "object", - "properties": { - "id": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Resource ID of a database resource to link with this database." - }, - "state": { - "type": "string", - "description": "State of the link between the database resources.", - "enum": [ - "Linked", - "Linking", - "Unlinking", - "LinkFailed", - "UnlinkFailed" - ], - "x-ms-enum": { - "name": "LinkState", - "modelAsString": true - }, - "readOnly": true - } + } + }, + "Module": { + "title": "Module settings", + "description": "Specifies configuration of a redis module", + "type": "object", + "properties": { + "name": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'" + }, + "args": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'." + }, + "version": { + "type": "string", + "readOnly": true, + "description": "The version of the module, e.g. '1.0'." } }, - "AccessKeys": { - "title": "Access keys", - "description": "The secret access keys used for authenticating connections to redis", - "type": "object", - "properties": { - "primaryKey": { - "readOnly": true, - "type": "string", - "description": "The current primary key that clients can use to authenticate" - }, - "secondaryKey": { - "readOnly": true, - "type": "string", - "description": "The current secondary key that clients can use to authenticate" - } + "required": [ + "name" + ] + }, + "LinkedDatabase": { + "title": "Linked Database", + "description": "Specifies details of a linked database resource.", + "type": "object", + "properties": { + "id": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Resource ID of a database resource to link with this database." + }, + "state": { + "type": "string", + "description": "State of the link between the database resources.", + "enum": [ + "Linked", + "Linking", + "Unlinking", + "LinkFailed", + "UnlinkFailed" + ], + "x-ms-enum": { + "name": "LinkState", + "modelAsString": true + }, + "readOnly": true } - }, - "RegenerateKeyParameters": { - "title": "Regenerate access keys request", - "type": "object", - "properties": { - "keyType": { - "type": "string", - "description": "Which access key to regenerate.", - "enum": [ - "Primary", - "Secondary" - ], - "x-ms-enum": { - "name": "AccessKeyType", - "modelAsString": false - } - } + } + }, + "AccessKeys": { + "title": "Access keys", + "description": "The secret access keys used for authenticating connections to redis", + "type": "object", + "properties": { + "primaryKey": { + "readOnly": true, + "type": "string", + "description": "The current primary key that clients can use to authenticate" }, - "required": [ - "keyType" - ], - "description": "Specifies which access keys to reset to a new random value." - }, - "ImportClusterParameters": { - "title": "Import RDB files into a target database", - "type": "object", - "properties": { - "sasUris": { - "type": "array", - "items": { - "type": "string" - }, - "description": "SAS URIs for the target blobs to import from", - "x-ms-secret": true + "secondaryKey": { + "readOnly": true, + "type": "string", + "description": "The current secondary key that clients can use to authenticate" + } + } + }, + "RegenerateKeyParameters": { + "title": "Regenerate access keys request", + "type": "object", + "properties": { + "keyType": { + "type": "string", + "description": "Which access key to regenerate.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "AccessKeyType", + "modelAsString": false } - }, - "required": [ - "sasUris" - ], - "description": "Parameters for a Redis Enterprise import operation." + } }, - "ExportClusterParameters": { - "title": "Export an RDB file into a target database", - "type": "object", - "properties": { - "sasUri": { - "type": "string", - "description": "SAS URI for the target directory to export to", - "x-ms-secret": true - } - }, - "required": [ - "sasUri" - ], - "description": "Parameters for a Redis Enterprise export operation." + "required": [ + "keyType" + ], + "description": "Specifies which access keys to reset to a new random value." + }, + "ImportClusterParameters": { + "title": "Import RDB files into a target database", + "type": "object", + "properties": { + "sasUris": { + "type": "array", + "items": { + "type": "string" + }, + "description": "SAS URIs for the target blobs to import from", + "x-ms-secret": true + } }, - "OperationStatus": { - "description": "The status of a long-running operation.", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The operation's unique id." - }, - "name": { - "type": "string", - "description": "The operation's name." - }, - "startTime": { - "type": "string", - "description": "The start time of the operation." - }, - "endTime": { - "type": "string", - "description": "The end time of the operation." - }, - "status": { - "type": "string", - "description": "The current status of the operation." - }, - "error": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse", - "description": "Error response describing why the operation failed." - } + "required": [ + "sasUris" + ], + "description": "Parameters for a Redis Enterprise import operation." + }, + "ExportClusterParameters": { + "title": "Export an RDB file into a target database", + "type": "object", + "properties": { + "sasUri": { + "type": "string", + "description": "SAS URI for the target directory to export to", + "x-ms-secret": true } }, - "ForceUnlinkParameters": { - "title": "Forcibly unlink another database from this database.", - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource IDs of the database resources to be unlinked." - } + "required": [ + "sasUri" + ], + "description": "Parameters for a Redis Enterprise export operation." + }, + "OperationStatus": { + "description": "The status of a long-running operation.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The operation's unique id." }, - "required": [ - "ids" - ], - "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation." + "name": { + "type": "string", + "description": "The operation's name." + }, + "startTime": { + "type": "string", + "description": "The start time of the operation." + }, + "endTime": { + "type": "string", + "description": "The end time of the operation." + }, + "status": { + "type": "string", + "description": "The current status of the operation." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse", + "description": "Error response describing why the operation failed." + } } }, - "parameters": { - "ClusterNameParameter": { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the RedisEnterprise cluster.", - "x-ms-parameter-location": "method" + "ForceUnlinkParameters": { + "title": "Forcibly unlink another database from this database.", + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The resource IDs of the database resources to be unlinked." + } }, - "DatabaseNameParameter": { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database.", - "x-ms-parameter-location": "method" - } + "required": [ + "ids" + ], + "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation." + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the RedisEnterprise cluster.", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database.", + "x-ms-parameter-location": "method" } } } From e3528b42adc01d104a1e3785980360c78525dca1 Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Sun, 29 Oct 2023 17:24:25 -0700 Subject: [PATCH 08/10] missing bracket --- .../2023-03-01-preview/redisenterprise.json | 1218 ++++++++--------- 1 file changed, 609 insertions(+), 609 deletions(-) diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json index 02a471312e2b..280786cf6952 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json @@ -1267,664 +1267,664 @@ } } } - }, - "definitions": { - "Sku": { - "description": "SKU parameters supplied to the create RedisEnterprise operation.", - "type": "object", - "properties": { - "name": { - "$ref": "#/definitions/SkuName", - "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)" - }, - "capacity": { - "type": "integer", - "format": "int32", - "description": "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." - } + } + }, + "definitions": { + "Sku": { + "description": "SKU parameters supplied to the create RedisEnterprise operation.", + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)" }, - "required": [ - "name" - ] - }, - "SkuName": { - "type": "string", - "enum": [ - "Enterprise_E10", - "Enterprise_E20", - "Enterprise_E50", - "Enterprise_E100", - "EnterpriseFlash_F300", - "EnterpriseFlash_F700", - "EnterpriseFlash_F1500" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true + "capacity": { + "type": "integer", + "format": "int32", + "description": "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." } }, - "ProvisioningState": { - "type": "string", - "readOnly": true, - "description": "Current provisioning status", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Creating", - "Updating", - "Deleting" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true + "required": [ + "name" + ] + }, + "SkuName": { + "type": "string", + "enum": [ + "Enterprise_E10", + "Enterprise_E20", + "Enterprise_E50", + "Enterprise_E100", + "EnterpriseFlash_F300", + "EnterpriseFlash_F700", + "EnterpriseFlash_F1500" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "Current provisioning status", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "ResourceState": { + "type": "string", + "readOnly": true, + "description": "Current resource status", + "enum": [ + "Running", + "Creating", + "CreateFailed", + "Updating", + "UpdateFailed", + "Deleting", + "DeleteFailed", + "Enabling", + "EnableFailed", + "Disabling", + "DisableFailed", + "Disabled" + ], + "x-ms-enum": { + "name": "ResourceState", + "modelAsString": true + } + }, + "Cluster": { + "description": "Describes the RedisEnterprise cluster", + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU to create, which affects price, performance, and features." + }, + "zones": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The Availability Zones where this cluster will be deployed." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "Other properties of the cluster." } }, - "ResourceState": { - "type": "string", - "readOnly": true, - "description": "Current resource status", - "enum": [ - "Running", - "Creating", - "CreateFailed", - "Updating", - "UpdateFailed", - "Deleting", - "DeleteFailed", - "Enabling", - "EnableFailed", - "Disabling", - "DisableFailed", - "Disabled" - ], - "x-ms-enum": { - "name": "ResourceState", - "modelAsString": true + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } - }, - "Cluster": { - "description": "Describes the RedisEnterprise cluster", - "type": "object", + ] + }, + "ClusterUpdate": { + "description": "A partial update to the RedisEnterprise cluster", + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU to create, which affects price, performance, and features." + }, "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU to create, which affects price, performance, and features." - }, - "zones": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The Availability Zones where this cluster will be deployed." - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The identity of the resource." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "Other properties of the cluster." - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "Other properties of the cluster." }, - "required": [ - "sku" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + } + }, + "ClusterProperties": { + "title": "RedisEnterprise cluster properties", + "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags", + "type": "object", + "properties": { + "minimumTlsVersion": { + "type": "string", + "description": "The minimum TLS version for the cluster to support, e.g. '1.2'", + "enum": [ + "1.0", + "1.1", + "1.2" + ], + "x-ms-enum": { + "name": "TlsVersion", + "modelAsString": true } - ] - }, - "ClusterUpdate": { - "description": "A partial update to the RedisEnterprise cluster", - "type": "object", - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU to create, which affects price, performance, and features." - }, + }, + "encryption": { + "type": "object", + "description": "Encryption-at-rest configuration for the cluster.", "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "Other properties of the cluster." - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The identity of the resource." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } - } - }, - "ClusterProperties": { - "title": "RedisEnterprise cluster properties", - "description": "Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags", - "type": "object", - "properties": { - "minimumTlsVersion": { - "type": "string", - "description": "The minimum TLS version for the cluster to support, e.g. '1.2'", - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "x-ms-enum": { - "name": "TlsVersion", - "modelAsString": true - } - }, - "encryption": { - "type": "object", - "description": "Encryption-at-rest configuration for the cluster.", - "properties": { - "customerManagedKeyEncryption": { - "type": "object", - "description": "All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.", - "properties": { - "keyEncryptionKeyIdentity": { - "type": "object", - "description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.", - "properties": { - "userAssignedIdentityResourceId": { - "type": "string", - "description": "User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId." - }, - "identityType": { - "type": "string", - "enum": [ - "systemAssignedIdentity", - "userAssignedIdentity" - ], - "description": "Only userAssignedIdentity is supported in this API version; other types may be supported in the future", - "x-ms-enum": { - "name": "CmkIdentityType", - "modelAsString": true - } + "customerManagedKeyEncryption": { + "type": "object", + "description": "All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption.", + "properties": { + "keyEncryptionKeyIdentity": { + "type": "object", + "description": "All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.", + "properties": { + "userAssignedIdentityResourceId": { + "type": "string", + "description": "User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions//resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId." + }, + "identityType": { + "type": "string", + "enum": [ + "systemAssignedIdentity", + "userAssignedIdentity" + ], + "description": "Only userAssignedIdentity is supported in this API version; other types may be supported in the future", + "x-ms-enum": { + "name": "CmkIdentityType", + "modelAsString": true } } - }, - "keyEncryptionKeyUrl": { - "type": "string", - "description": "Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78" } + }, + "keyEncryptionKeyUrl": { + "type": "string", + "description": "Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78" } } } - }, - "hostName": { - "type": "string", - "readOnly": true, - "description": "DNS name of the cluster endpoint" - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "readOnly": true, - "description": "Current provisioning status of the cluster" - }, - "resourceState": { - "$ref": "#/definitions/ResourceState", - "readOnly": true, - "description": "Current resource status of the cluster" - }, - "redisVersion": { - "type": "string", - "readOnly": true, - "description": "Version of redis the cluster supports, e.g. '6'" - }, - "privateEndpointConnections": { - "type": "array", - "readOnly": true, - "description": "List of private endpoint connections associated with the specified RedisEnterprise cluster", - "items": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" - } + } + }, + "hostName": { + "type": "string", + "readOnly": true, + "description": "DNS name of the cluster endpoint" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true, + "description": "Current provisioning status of the cluster" + }, + "resourceState": { + "$ref": "#/definitions/ResourceState", + "readOnly": true, + "description": "Current resource status of the cluster" + }, + "redisVersion": { + "type": "string", + "readOnly": true, + "description": "Version of redis the cluster supports, e.g. '6'" + }, + "privateEndpointConnections": { + "type": "array", + "readOnly": true, + "description": "List of private endpoint connections associated with the specified RedisEnterprise cluster", + "items": { + "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" } } + } + }, + "ClusterList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Cluster" + }, + "description": "List of clusters." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URI to fetch the next page of results." + } }, - "ClusterList": { - "type": "object", + "description": "The response of a list-all operation." + }, + "Database": { + "description": "Describes a database on the RedisEnterprise cluster", + "type": "object", + "properties": { "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Cluster" - }, - "description": "List of clusters." - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URI to fetch the next page of results." - } - }, - "description": "The response of a list-all operation." + "x-ms-client-flatten": true, + "$ref": "#/definitions/DatabaseProperties", + "description": "Other properties of the database." + } }, - "Database": { - "description": "Describes a database on the RedisEnterprise cluster", - "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "DatabaseUpdate": { + "description": "A partial update to the RedisEnterprise database", + "type": "object", + "properties": { "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DatabaseProperties", - "description": "Other properties of the database." + "x-ms-client-flatten": true, + "$ref": "#/definitions/DatabaseProperties", + "description": "Properties of the database." + } + } + }, + "DatabaseProperties": { + "title": "RedisEnterprise database properties", + "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags", + "type": "object", + "properties": { + "clientProtocol": { + "type": "string", + "description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.", + "enum": [ + "Encrypted", + "Plaintext" + ], + "x-ms-enum": { + "name": "Protocol", + "modelAsString": true } }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + "port": { + "type": "integer", + "format": "int32", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "TCP port of the database endpoint. Specified at create time. Defaults to an available port." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "readOnly": true, + "description": "Current provisioning status of the database" + }, + "resourceState": { + "$ref": "#/definitions/ResourceState", + "readOnly": true, + "description": "Current resource status of the database" + }, + "clusteringPolicy": { + "type": "string", + "description": "Clustering policy - default is OSSCluster. Specified at create time.", + "enum": [ + "EnterpriseCluster", + "OSSCluster" + ], + "x-ms-enum": { + "name": "ClusteringPolicy", + "modelAsString": true + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "evictionPolicy": { + "type": "string", + "description": "Redis eviction policy - default is VolatileLRU", + "enum": [ + "AllKeysLFU", + "AllKeysLRU", + "AllKeysRandom", + "VolatileLRU", + "VolatileLFU", + "VolatileTTL", + "VolatileRandom", + "NoEviction" + ], + "x-ms-enum": { + "name": "EvictionPolicy", + "modelAsString": true } - ] - }, - "DatabaseUpdate": { - "description": "A partial update to the RedisEnterprise database", - "type": "object", - "properties": { + }, + "persistence": { + "$ref": "#/definitions/Persistence", + "description": "Persistence settings" + }, + "modules": { + "type": "array", + "description": "Optional set of redis modules to enable in this database - modules can only be added at creation time.", + "items": { + "$ref": "#/definitions/Module" + }, + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-identifiers": [ + "name" + ] + }, + "geoReplication": { + "type": "object", + "description": "Optional set of properties to configure geo replication for this database.", + "x-ms-mutability": [ + "read", + "create" + ], "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DatabaseProperties", - "description": "Properties of the database." - } - } - }, - "DatabaseProperties": { - "title": "RedisEnterprise database properties", - "description": "Properties of RedisEnterprise databases, as opposed to general resource properties like location, tags", - "type": "object", - "properties": { - "clientProtocol": { - "type": "string", - "description": "Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.", - "enum": [ - "Encrypted", - "Plaintext" - ], - "x-ms-enum": { - "name": "Protocol", - "modelAsString": true - } - }, - "port": { - "type": "integer", - "format": "int32", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "TCP port of the database endpoint. Specified at create time. Defaults to an available port." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "readOnly": true, - "description": "Current provisioning status of the database" - }, - "resourceState": { - "$ref": "#/definitions/ResourceState", - "readOnly": true, - "description": "Current resource status of the database" - }, - "clusteringPolicy": { - "type": "string", - "description": "Clustering policy - default is OSSCluster. Specified at create time.", - "enum": [ - "EnterpriseCluster", - "OSSCluster" - ], - "x-ms-enum": { - "name": "ClusteringPolicy", - "modelAsString": true - }, - "x-ms-mutability": [ - "read", - "create" - ] - }, - "evictionPolicy": { - "type": "string", - "description": "Redis eviction policy - default is VolatileLRU", - "enum": [ - "AllKeysLFU", - "AllKeysLRU", - "AllKeysRandom", - "VolatileLRU", - "VolatileLFU", - "VolatileTTL", - "VolatileRandom", - "NoEviction" - ], - "x-ms-enum": { - "name": "EvictionPolicy", - "modelAsString": true - } - }, - "persistence": { - "$ref": "#/definitions/Persistence", - "description": "Persistence settings" - }, - "modules": { - "type": "array", - "description": "Optional set of redis modules to enable in this database - modules can only be added at creation time.", - "items": { - "$ref": "#/definitions/Module" + "groupNickname": { + "type": "string", + "description": "Name for the group of linked database resources", + "x-ms-mutability": [ + "read", + "create" + ] }, - "x-ms-mutability": [ - "read", - "create" - ], - "x-ms-identifiers": [ - "name" - ] - }, - "geoReplication": { - "type": "object", - "description": "Optional set of properties to configure geo replication for this database.", - "x-ms-mutability": [ - "read", - "create" - ], - "properties": { - "groupNickname": { - "type": "string", - "description": "Name for the group of linked database resources", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "linkedDatabases": { - "type": "array", - "description": "List of database resources to link with this database", - "items": { - "$ref": "#/definitions/LinkedDatabase" - } + "linkedDatabases": { + "type": "array", + "description": "List of database resources to link with this database", + "items": { + "$ref": "#/definitions/LinkedDatabase" } } } } + } + }, + "DatabaseList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Database" + }, + "description": "List of databases" + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URI to fetch the next page of results." + } }, - "DatabaseList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Database" - }, - "description": "List of databases" - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URI to fetch the next page of results." + "description": "The response of a list-all operation." + }, + "Persistence": { + "title": "Persistence settings", + "description": "Persistence-related configuration for the RedisEnterprise database", + "type": "object", + "properties": { + "aofEnabled": { + "type": "boolean", + "description": "Sets whether AOF is enabled." + }, + "rdbEnabled": { + "type": "boolean", + "description": "Sets whether RDB is enabled." + }, + "aofFrequency": { + "type": "string", + "description": "Sets the frequency at which data is written to disk.", + "enum": [ + "1s", + "always" + ], + "x-ms-enum": { + "name": "AofFrequency", + "modelAsString": true } }, - "description": "The response of a list-all operation." - }, - "Persistence": { - "title": "Persistence settings", - "description": "Persistence-related configuration for the RedisEnterprise database", - "type": "object", - "properties": { - "aofEnabled": { - "type": "boolean", - "description": "Sets whether AOF is enabled." - }, - "rdbEnabled": { - "type": "boolean", - "description": "Sets whether RDB is enabled." - }, - "aofFrequency": { - "type": "string", - "description": "Sets the frequency at which data is written to disk.", - "enum": [ - "1s", - "always" - ], - "x-ms-enum": { - "name": "AofFrequency", - "modelAsString": true - } - }, - "rdbFrequency": { - "type": "string", - "description": "Sets the frequency at which a snapshot of the database is created.", - "enum": [ - "1h", - "6h", - "12h" - ], - "x-ms-enum": { - "name": "RdbFrequency", - "modelAsString": true - } + "rdbFrequency": { + "type": "string", + "description": "Sets the frequency at which a snapshot of the database is created.", + "enum": [ + "1h", + "6h", + "12h" + ], + "x-ms-enum": { + "name": "RdbFrequency", + "modelAsString": true } } - }, - "Module": { - "title": "Module settings", - "description": "Specifies configuration of a redis module", - "type": "object", - "properties": { - "name": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'" - }, - "args": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'." - }, - "version": { - "type": "string", - "readOnly": true, - "description": "The version of the module, e.g. '1.0'." - } - }, - "required": [ - "name" - ] - }, - "LinkedDatabase": { - "title": "Linked Database", - "description": "Specifies details of a linked database resource.", - "type": "object", - "properties": { - "id": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Resource ID of a database resource to link with this database." - }, - "state": { - "type": "string", - "description": "State of the link between the database resources.", - "enum": [ - "Linked", - "Linking", - "Unlinking", - "LinkFailed", - "UnlinkFailed" - ], - "x-ms-enum": { - "name": "LinkState", - "modelAsString": true - }, - "readOnly": true - } + } + }, + "Module": { + "title": "Module settings", + "description": "Specifies configuration of a redis module", + "type": "object", + "properties": { + "name": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'" + }, + "args": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Configuration options for the module, e.g. 'ERROR_RATE 0.01 INITIAL_SIZE 400'." + }, + "version": { + "type": "string", + "readOnly": true, + "description": "The version of the module, e.g. '1.0'." } }, - "AccessKeys": { - "title": "Access keys", - "description": "The secret access keys used for authenticating connections to redis", - "type": "object", - "properties": { - "primaryKey": { - "readOnly": true, - "type": "string", - "description": "The current primary key that clients can use to authenticate" - }, - "secondaryKey": { - "readOnly": true, - "type": "string", - "description": "The current secondary key that clients can use to authenticate" - } + "required": [ + "name" + ] + }, + "LinkedDatabase": { + "title": "Linked Database", + "description": "Specifies details of a linked database resource.", + "type": "object", + "properties": { + "id": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Resource ID of a database resource to link with this database." + }, + "state": { + "type": "string", + "description": "State of the link between the database resources.", + "enum": [ + "Linked", + "Linking", + "Unlinking", + "LinkFailed", + "UnlinkFailed" + ], + "x-ms-enum": { + "name": "LinkState", + "modelAsString": true + }, + "readOnly": true } - }, - "RegenerateKeyParameters": { - "title": "Regenerate access keys request", - "type": "object", - "properties": { - "keyType": { - "type": "string", - "description": "Which access key to regenerate.", - "enum": [ - "Primary", - "Secondary" - ], - "x-ms-enum": { - "name": "AccessKeyType", - "modelAsString": false - } - } + } + }, + "AccessKeys": { + "title": "Access keys", + "description": "The secret access keys used for authenticating connections to redis", + "type": "object", + "properties": { + "primaryKey": { + "readOnly": true, + "type": "string", + "description": "The current primary key that clients can use to authenticate" }, - "required": [ - "keyType" - ], - "description": "Specifies which access keys to reset to a new random value." - }, - "ImportClusterParameters": { - "title": "Import RDB files into a target database", - "type": "object", - "properties": { - "sasUris": { - "type": "array", - "items": { - "type": "string" - }, - "description": "SAS URIs for the target blobs to import from", - "x-ms-secret": true + "secondaryKey": { + "readOnly": true, + "type": "string", + "description": "The current secondary key that clients can use to authenticate" + } + } + }, + "RegenerateKeyParameters": { + "title": "Regenerate access keys request", + "type": "object", + "properties": { + "keyType": { + "type": "string", + "description": "Which access key to regenerate.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "AccessKeyType", + "modelAsString": false } - }, - "required": [ - "sasUris" - ], - "description": "Parameters for a Redis Enterprise import operation." + } }, - "ExportClusterParameters": { - "title": "Export an RDB file into a target database", - "type": "object", - "properties": { - "sasUri": { - "type": "string", - "description": "SAS URI for the target directory to export to", - "x-ms-secret": true - } - }, - "required": [ - "sasUri" - ], - "description": "Parameters for a Redis Enterprise export operation." + "required": [ + "keyType" + ], + "description": "Specifies which access keys to reset to a new random value." + }, + "ImportClusterParameters": { + "title": "Import RDB files into a target database", + "type": "object", + "properties": { + "sasUris": { + "type": "array", + "items": { + "type": "string" + }, + "description": "SAS URIs for the target blobs to import from", + "x-ms-secret": true + } }, - "OperationStatus": { - "description": "The status of a long-running operation.", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The operation's unique id." - }, - "name": { - "type": "string", - "description": "The operation's name." - }, - "startTime": { - "type": "string", - "description": "The start time of the operation." - }, - "endTime": { - "type": "string", - "description": "The end time of the operation." - }, - "status": { - "type": "string", - "description": "The current status of the operation." - }, - "error": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse", - "description": "Error response describing why the operation failed." - } + "required": [ + "sasUris" + ], + "description": "Parameters for a Redis Enterprise import operation." + }, + "ExportClusterParameters": { + "title": "Export an RDB file into a target database", + "type": "object", + "properties": { + "sasUri": { + "type": "string", + "description": "SAS URI for the target directory to export to", + "x-ms-secret": true } }, - "FlushParameters": { - "title": "Flush all the keys from the current and all its linked databases", - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource identifiers of all the other database resources in the georeplication group to be flushed" - } + "required": [ + "sasUri" + ], + "description": "Parameters for a Redis Enterprise export operation." + }, + "OperationStatus": { + "description": "The status of a long-running operation.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The operation's unique id." }, - "description": "Parameters for a Redis Enterprise active geo-replication flush operation." - }, - "ForceUnlinkParameters": { - "title": "Forcibly unlink another database from this database.", - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource IDs of the database resources to be unlinked." - } + "name": { + "type": "string", + "description": "The operation's name." }, - "required": [ - "ids" - ], - "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation." + "startTime": { + "type": "string", + "description": "The start time of the operation." + }, + "endTime": { + "type": "string", + "description": "The end time of the operation." + }, + "status": { + "type": "string", + "description": "The current status of the operation." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse", + "description": "Error response describing why the operation failed." + } } }, - "parameters": { - "ClusterNameParameter": { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the RedisEnterprise cluster.", - "x-ms-parameter-location": "method" + "FlushParameters": { + "title": "Flush all the keys from the current and all its linked databases", + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The resource identifiers of all the other database resources in the georeplication group to be flushed" + } }, - "DatabaseNameParameter": { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the database.", - "x-ms-parameter-location": "method" - } + "description": "Parameters for a Redis Enterprise active geo-replication flush operation." + }, + "ForceUnlinkParameters": { + "title": "Forcibly unlink another database from this database.", + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The resource IDs of the database resources to be unlinked." + } + }, + "required": [ + "ids" + ], + "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation." + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the RedisEnterprise cluster.", + "x-ms-parameter-location": "method" + }, + "DatabaseNameParameter": { + "name": "databaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the database.", + "x-ms-parameter-location": "method" } } -} +} } From 6e1a56f371390f128864dbc83eaae6b74eb01792 Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Sun, 29 Oct 2023 17:28:23 -0700 Subject: [PATCH 09/10] prettier fix --- .../preview/2023-03-01-preview/redisenterprise.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json index 280786cf6952..868b6d3aad9a 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json @@ -1927,4 +1927,4 @@ "x-ms-parameter-location": "method" } } -} } +} From 75f0a5c688f3afd133c79ca379ed771a606310b1 Mon Sep 17 00:00:00 2001 From: Riya Simon Date: Sun, 29 Oct 2023 23:00:42 -0700 Subject: [PATCH 10/10] changing order of skuname --- .../2023-03-01-preview/redisenterprise.json | 32 +++++++++---------- .../2023-08-01-preview/redisenterprise.json | 32 +++++++++---------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json index 868b6d3aad9a..6c4a98c9d970 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json @@ -1288,22 +1288,6 @@ "name" ] }, - "SkuName": { - "type": "string", - "enum": [ - "Enterprise_E10", - "Enterprise_E20", - "Enterprise_E50", - "Enterprise_E100", - "EnterpriseFlash_F300", - "EnterpriseFlash_F700", - "EnterpriseFlash_F1500" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, "ProvisioningState": { "type": "string", "readOnly": true, @@ -1877,6 +1861,22 @@ } } }, + "SkuName": { + "type": "string", + "enum": [ + "Enterprise_E10", + "Enterprise_E20", + "Enterprise_E50", + "Enterprise_E100", + "EnterpriseFlash_F300", + "EnterpriseFlash_F700", + "EnterpriseFlash_F1500" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, "FlushParameters": { "title": "Flush all the keys from the current and all its linked databases", "type": "object", diff --git a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json index cb397de84ee2..241e082a8230 100644 --- a/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json +++ b/specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-08-01-preview/redisenterprise.json @@ -1330,22 +1330,6 @@ "name" ] }, - "SkuName": { - "type": "string", - "enum": [ - "Enterprise_E10", - "Enterprise_E20", - "Enterprise_E50", - "Enterprise_E100", - "EnterpriseFlash_F300", - "EnterpriseFlash_F700", - "EnterpriseFlash_F1500" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, "ProvisioningState": { "type": "string", "readOnly": true, @@ -1921,6 +1905,22 @@ } } }, + "SkuName": { + "type": "string", + "enum": [ + "Enterprise_E10", + "Enterprise_E20", + "Enterprise_E50", + "Enterprise_E100", + "EnterpriseFlash_F300", + "EnterpriseFlash_F700", + "EnterpriseFlash_F1500" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, "FlushParameters": { "title": "Flush all the keys from the current and all its linked databases.", "type": "object",