|
1545 | 1545 | "description": "Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database will temporarily be unavailable while rejoining the replication group.", |
1546 | 1546 | "parameters": [ |
1547 | 1547 | { |
1548 | | - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" |
| 1548 | + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" |
1549 | 1549 | }, |
1550 | 1550 | { |
1551 | 1551 | "$ref": "#/parameters/ClusterNameParameter" |
|
1588 | 1588 | "default": { |
1589 | 1589 | "description": "Error response describing why the operation failed.", |
1590 | 1590 | "schema": { |
1591 | | - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
| 1591 | + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" |
1592 | 1592 | } |
1593 | 1593 | } |
1594 | 1594 | } |
|
2587 | 2587 | }, |
2588 | 2588 | "ForceUnlinkParameters": { |
2589 | 2589 | "title": "Forcibly unlink another database from this database.", |
2590 | | - "description": "Parameters for a redis enterprise active geo-replication force unlink operation.", |
| 2590 | + "description": "Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation.", |
2591 | 2591 | "type": "object", |
2592 | 2592 | "properties": { |
2593 | 2593 | "ids": { |
|
2636 | 2636 | "parameters": { |
2637 | 2637 | "ClusterNameParameter": { |
2638 | 2638 | "name": "clusterName", |
2639 | | - "pattern": "^[A-Za-z0-9]{1,60}$", |
| 2639 | + "pattern": "^(?=.{1,60}$)[A-Za-z0-9]+(-[A-Za-z0-9]+)*$", |
2640 | 2640 | "in": "path", |
2641 | 2641 | "required": true, |
2642 | 2642 | "type": "string", |
2643 | | - "description": "The name of the Redis Enterprise cluster.", |
| 2643 | + "description": "The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens", |
2644 | 2644 | "x-ms-parameter-location": "method" |
2645 | 2645 | }, |
2646 | 2646 | "DatabaseNameParameter": { |
2647 | 2647 | "name": "databaseName", |
2648 | | - "pattern": "^[A-Za-z0-9]{1,60}$", |
| 2648 | + "pattern": "^(?=.{1,60}$)[A-Za-z0-9]+(-[A-Za-z0-9]+)*$", |
2649 | 2649 | "in": "path", |
2650 | 2650 | "required": true, |
2651 | 2651 | "type": "string", |
|
0 commit comments