@azure/arm-redisenterprisecache 3.1.0-beta.1 → 3.1.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/CHANGELOG.md +112 -0
  2. package/dist/index.js +1095 -163
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js +45 -0
  9. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js.map +1 -0
  10. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js +41 -0
  13. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js.map +1 -0
  14. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js +41 -0
  17. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js.map +1 -0
  18. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js +56 -0
  21. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js.map +1 -0
  22. package/dist-esm/samples-dev/databasesCreateSample.js +10 -6
  23. package/dist-esm/samples-dev/databasesCreateSample.js.map +1 -1
  24. package/dist-esm/samples-dev/databasesDeleteSample.js +3 -2
  25. package/dist-esm/samples-dev/databasesDeleteSample.js.map +1 -1
  26. package/dist-esm/samples-dev/databasesExportSample.js +3 -2
  27. package/dist-esm/samples-dev/databasesExportSample.js.map +1 -1
  28. package/dist-esm/samples-dev/databasesFlushSample.js +4 -3
  29. package/dist-esm/samples-dev/databasesFlushSample.js.map +1 -1
  30. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +1 -1
  31. package/dist-esm/samples-dev/databasesForceUnlinkSample.js +4 -3
  32. package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +1 -1
  33. package/dist-esm/samples-dev/databasesGetSample.js +5 -4
  34. package/dist-esm/samples-dev/databasesGetSample.js.map +1 -1
  35. package/dist-esm/samples-dev/databasesImportSample.js +3 -2
  36. package/dist-esm/samples-dev/databasesImportSample.js.map +1 -1
  37. package/dist-esm/samples-dev/databasesListByClusterSample.js +5 -4
  38. package/dist-esm/samples-dev/databasesListByClusterSample.js.map +1 -1
  39. package/dist-esm/samples-dev/databasesListKeysSample.js +5 -4
  40. package/dist-esm/samples-dev/databasesListKeysSample.js.map +1 -1
  41. package/dist-esm/samples-dev/databasesRegenerateKeySample.js +5 -4
  42. package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +1 -1
  43. package/dist-esm/samples-dev/databasesUpdateSample.js +4 -2
  44. package/dist-esm/samples-dev/databasesUpdateSample.js.map +1 -1
  45. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +3 -2
  46. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +1 -1
  47. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  48. package/dist-esm/samples-dev/operationsStatusGetSample.js +3 -2
  49. package/dist-esm/samples-dev/operationsStatusGetSample.js.map +1 -1
  50. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +5 -4
  51. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +5 -4
  53. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +5 -4
  55. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  56. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +5 -4
  57. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
  58. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +5 -4
  59. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +1 -1
  60. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +3 -2
  61. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +5 -4
  63. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +1 -1
  64. package/dist-esm/samples-dev/redisEnterpriseGetSample.js +5 -4
  65. package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +1 -1
  66. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +5 -4
  67. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +1 -1
  68. package/dist-esm/samples-dev/redisEnterpriseListSample.js +5 -4
  69. package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +1 -1
  70. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +5 -4
  71. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +1 -1
  72. package/dist-esm/src/models/index.d.ts +423 -27
  73. package/dist-esm/src/models/index.d.ts.map +1 -1
  74. package/dist-esm/src/models/index.js +134 -2
  75. package/dist-esm/src/models/index.js.map +1 -1
  76. package/dist-esm/src/models/mappers.d.ts +16 -1
  77. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  78. package/dist-esm/src/models/mappers.js +372 -2
  79. package/dist-esm/src/models/mappers.js.map +1 -1
  80. package/dist-esm/src/models/parameters.d.ts +2 -0
  81. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  82. package/dist-esm/src/models/parameters.js +19 -2
  83. package/dist-esm/src/models/parameters.js.map +1 -1
  84. package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts +94 -0
  85. package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/accessPolicyAssignmentOperations.js +403 -0
  87. package/dist-esm/src/operations/accessPolicyAssignmentOperations.js.map +1 -0
  88. package/dist-esm/src/operations/databases.d.ts +6 -6
  89. package/dist-esm/src/operations/databases.js +6 -6
  90. package/dist-esm/src/operations/index.d.ts +1 -0
  91. package/dist-esm/src/operations/index.d.ts.map +1 -1
  92. package/dist-esm/src/operations/index.js +1 -0
  93. package/dist-esm/src/operations/index.js.map +1 -1
  94. package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
  95. package/dist-esm/src/operations/privateEndpointConnections.js +7 -7
  96. package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
  97. package/dist-esm/src/operations/privateLinkResources.js +2 -2
  98. package/dist-esm/src/operations/redisEnterprise.d.ts +13 -13
  99. package/dist-esm/src/operations/redisEnterprise.js +13 -13
  100. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +67 -0
  101. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/databases.d.ts +5 -5
  105. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  107. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  108. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +6 -6
  110. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +1 -1
  111. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +11 -11
  112. package/dist-esm/src/redisEnterpriseManagementClient.d.ts +2 -1
  113. package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -1
  114. package/dist-esm/src/redisEnterpriseManagementClient.js +5 -3
  115. package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
  116. package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +1 -1
  117. package/dist-esm/test/redisenterprisecache_test.spec.js +5 -1
  118. package/dist-esm/test/redisenterprisecache_test.spec.js.map +1 -1
  119. package/package.json +31 -30
  120. package/review/arm-redisenterprisecache.api.md +239 -2
  121. package/src/lroImpl.ts +1 -1
  122. package/src/models/index.ts +457 -26
  123. package/src/models/mappers.ts +400 -2
  124. package/src/models/parameters.ts +21 -1
  125. package/src/operations/accessPolicyAssignmentOperations.ts +569 -0
  126. package/src/operations/databases.ts +6 -6
  127. package/src/operations/index.ts +1 -0
  128. package/src/operations/privateEndpointConnections.ts +7 -7
  129. package/src/operations/privateLinkResources.ts +2 -2
  130. package/src/operations/redisEnterprise.ts +13 -13
  131. package/src/operationsInterfaces/accessPolicyAssignmentOperations.ts +132 -0
  132. package/src/operationsInterfaces/databases.ts +5 -5
  133. package/src/operationsInterfaces/index.ts +1 -0
  134. package/src/operationsInterfaces/privateEndpointConnections.ts +6 -6
  135. package/src/operationsInterfaces/privateLinkResources.ts +1 -1
  136. package/src/operationsInterfaces/redisEnterprise.ts +11 -11
  137. package/src/redisEnterpriseManagementClient.ts +7 -2
  138. package/types/arm-redisenterprisecache.d.ts +544 -50
  139. package/types/tsdoc-metadata.json +1 -1
@@ -32,7 +32,7 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources {
32
32
  }
33
33
 
34
34
  /**
35
- * Gets the private link resources that need to be created for a RedisEnterprise cluster.
35
+ * Gets the private link resources that need to be created for a Redis Enterprise cluster.
36
36
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
37
  * @param clusterName The name of the Redis Enterprise cluster.
38
38
  * @param options The options parameters.
@@ -94,7 +94,7 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources {
94
94
  }
95
95
 
96
96
  /**
97
- * Gets the private link resources that need to be created for a RedisEnterprise cluster.
97
+ * Gets the private link resources that need to be created for a Redis Enterprise cluster.
98
98
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
99
  * @param clusterName The name of the Redis Enterprise cluster.
100
100
  * @param options The options parameters.
@@ -53,7 +53,7 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
53
53
  }
54
54
 
55
55
  /**
56
- * Lists all RedisEnterprise clusters in a resource group.
56
+ * Lists all Redis Enterprise clusters in a resource group.
57
57
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
58
  * @param options The options parameters.
59
59
  */
@@ -122,7 +122,7 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
122
122
  }
123
123
 
124
124
  /**
125
- * Gets all RedisEnterprise clusters in the specified subscription.
125
+ * Lists all Redis Enterprise clusters in the specified subscription.
126
126
  * @param options The options parameters.
127
127
  */
128
128
  public list(
@@ -179,7 +179,7 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
179
179
  * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
180
180
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
181
181
  * @param clusterName The name of the Redis Enterprise cluster.
182
- * @param parameters Parameters supplied to the Create RedisEnterprise operation.
182
+ * @param parameters Parameters supplied to the Create Redis Enterprise operation.
183
183
  * @param options The options parameters.
184
184
  */
185
185
  async beginCreate(
@@ -252,7 +252,7 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
252
252
  * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
253
253
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
254
254
  * @param clusterName The name of the Redis Enterprise cluster.
255
- * @param parameters Parameters supplied to the Create RedisEnterprise operation.
255
+ * @param parameters Parameters supplied to the Create Redis Enterprise operation.
256
256
  * @param options The options parameters.
257
257
  */
258
258
  async beginCreateAndWait(
@@ -271,10 +271,10 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
271
271
  }
272
272
 
273
273
  /**
274
- * Updates an existing RedisEnterprise cluster
274
+ * Updates an existing Redis Enterprise cluster
275
275
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
276
276
  * @param clusterName The name of the Redis Enterprise cluster.
277
- * @param parameters Parameters supplied to the Update RedisEnterprise operation.
277
+ * @param parameters Parameters supplied to the Update Redis Enterprise operation.
278
278
  * @param options The options parameters.
279
279
  */
280
280
  async beginUpdate(
@@ -344,10 +344,10 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
344
344
  }
345
345
 
346
346
  /**
347
- * Updates an existing RedisEnterprise cluster
347
+ * Updates an existing Redis Enterprise cluster
348
348
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
349
349
  * @param clusterName The name of the Redis Enterprise cluster.
350
- * @param parameters Parameters supplied to the Update RedisEnterprise operation.
350
+ * @param parameters Parameters supplied to the Update Redis Enterprise operation.
351
351
  * @param options The options parameters.
352
352
  */
353
353
  async beginUpdateAndWait(
@@ -366,7 +366,7 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
366
366
  }
367
367
 
368
368
  /**
369
- * Deletes a RedisEnterprise cache cluster.
369
+ * Deletes a Redis Enterprise cache cluster.
370
370
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
371
371
  * @param clusterName The name of the Redis Enterprise cluster.
372
372
  * @param options The options parameters.
@@ -429,7 +429,7 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
429
429
  }
430
430
 
431
431
  /**
432
- * Deletes a RedisEnterprise cache cluster.
432
+ * Deletes a Redis Enterprise cache cluster.
433
433
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
434
434
  * @param clusterName The name of the Redis Enterprise cluster.
435
435
  * @param options The options parameters.
@@ -448,7 +448,7 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
448
448
  }
449
449
 
450
450
  /**
451
- * Gets information about a RedisEnterprise cluster
451
+ * Gets information about a Redis Enterprise cluster
452
452
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
453
453
  * @param clusterName The name of the Redis Enterprise cluster.
454
454
  * @param options The options parameters.
@@ -465,7 +465,7 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
465
465
  }
466
466
 
467
467
  /**
468
- * Lists all RedisEnterprise clusters in a resource group.
468
+ * Lists all Redis Enterprise clusters in a resource group.
469
469
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
470
470
  * @param options The options parameters.
471
471
  */
@@ -480,7 +480,7 @@ export class RedisEnterpriseImpl implements RedisEnterprise {
480
480
  }
481
481
 
482
482
  /**
483
- * Gets all RedisEnterprise clusters in the specified subscription.
483
+ * Lists all Redis Enterprise clusters in the specified subscription.
484
484
  * @param options The options parameters.
485
485
  */
486
486
  private _list(
@@ -0,0 +1,132 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ AccessPolicyAssignment,
13
+ AccessPolicyAssignmentListOptionalParams,
14
+ AccessPolicyAssignmentCreateUpdateOptionalParams,
15
+ AccessPolicyAssignmentCreateUpdateResponse,
16
+ AccessPolicyAssignmentGetOptionalParams,
17
+ AccessPolicyAssignmentGetResponse,
18
+ AccessPolicyAssignmentDeleteOptionalParams,
19
+ AccessPolicyAssignmentDeleteResponse,
20
+ } from "../models";
21
+
22
+ /// <reference lib="esnext.asynciterable" />
23
+ /** Interface representing a AccessPolicyAssignmentOperations. */
24
+ export interface AccessPolicyAssignmentOperations {
25
+ /**
26
+ * Gets all access policy assignments..
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param clusterName The name of the Redis Enterprise cluster.
29
+ * @param databaseName The name of the Redis Enterprise database.
30
+ * @param options The options parameters.
31
+ */
32
+ list(
33
+ resourceGroupName: string,
34
+ clusterName: string,
35
+ databaseName: string,
36
+ options?: AccessPolicyAssignmentListOptionalParams,
37
+ ): PagedAsyncIterableIterator<AccessPolicyAssignment>;
38
+ /**
39
+ * Creates/Updates a particular access policy assignment for a database
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param clusterName The name of the Redis Enterprise cluster.
42
+ * @param databaseName The name of the Redis Enterprise database.
43
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
44
+ * assignment.
45
+ * @param parameters Parameters supplied to the create access policy assignment for database.
46
+ * @param options The options parameters.
47
+ */
48
+ beginCreateUpdate(
49
+ resourceGroupName: string,
50
+ clusterName: string,
51
+ databaseName: string,
52
+ accessPolicyAssignmentName: string,
53
+ parameters: AccessPolicyAssignment,
54
+ options?: AccessPolicyAssignmentCreateUpdateOptionalParams,
55
+ ): Promise<
56
+ SimplePollerLike<
57
+ OperationState<AccessPolicyAssignmentCreateUpdateResponse>,
58
+ AccessPolicyAssignmentCreateUpdateResponse
59
+ >
60
+ >;
61
+ /**
62
+ * Creates/Updates a particular access policy assignment for a database
63
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
64
+ * @param clusterName The name of the Redis Enterprise cluster.
65
+ * @param databaseName The name of the Redis Enterprise database.
66
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
67
+ * assignment.
68
+ * @param parameters Parameters supplied to the create access policy assignment for database.
69
+ * @param options The options parameters.
70
+ */
71
+ beginCreateUpdateAndWait(
72
+ resourceGroupName: string,
73
+ clusterName: string,
74
+ databaseName: string,
75
+ accessPolicyAssignmentName: string,
76
+ parameters: AccessPolicyAssignment,
77
+ options?: AccessPolicyAssignmentCreateUpdateOptionalParams,
78
+ ): Promise<AccessPolicyAssignmentCreateUpdateResponse>;
79
+ /**
80
+ * Gets information about access policy assignment for database.
81
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
+ * @param clusterName The name of the Redis Enterprise cluster.
83
+ * @param databaseName The name of the Redis Enterprise database.
84
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
85
+ * assignment.
86
+ * @param options The options parameters.
87
+ */
88
+ get(
89
+ resourceGroupName: string,
90
+ clusterName: string,
91
+ databaseName: string,
92
+ accessPolicyAssignmentName: string,
93
+ options?: AccessPolicyAssignmentGetOptionalParams,
94
+ ): Promise<AccessPolicyAssignmentGetResponse>;
95
+ /**
96
+ * Deletes a single access policy assignment.
97
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
98
+ * @param clusterName The name of the Redis Enterprise cluster.
99
+ * @param databaseName The name of the Redis Enterprise database.
100
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
101
+ * assignment.
102
+ * @param options The options parameters.
103
+ */
104
+ beginDelete(
105
+ resourceGroupName: string,
106
+ clusterName: string,
107
+ databaseName: string,
108
+ accessPolicyAssignmentName: string,
109
+ options?: AccessPolicyAssignmentDeleteOptionalParams,
110
+ ): Promise<
111
+ SimplePollerLike<
112
+ OperationState<AccessPolicyAssignmentDeleteResponse>,
113
+ AccessPolicyAssignmentDeleteResponse
114
+ >
115
+ >;
116
+ /**
117
+ * Deletes a single access policy assignment.
118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
+ * @param clusterName The name of the Redis Enterprise cluster.
120
+ * @param databaseName The name of the Redis Enterprise database.
121
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
122
+ * assignment.
123
+ * @param options The options parameters.
124
+ */
125
+ beginDeleteAndWait(
126
+ resourceGroupName: string,
127
+ clusterName: string,
128
+ databaseName: string,
129
+ accessPolicyAssignmentName: string,
130
+ options?: AccessPolicyAssignmentDeleteOptionalParams,
131
+ ): Promise<AccessPolicyAssignmentDeleteResponse>;
132
+ }
@@ -43,7 +43,7 @@ import {
43
43
  /** Interface representing a Databases. */
44
44
  export interface Databases {
45
45
  /**
46
- * Gets all databases in the specified RedisEnterprise cluster.
46
+ * Gets all databases in the specified Redis Enterprise cluster.
47
47
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
48
48
  * @param clusterName The name of the Redis Enterprise cluster.
49
49
  * @param options The options parameters.
@@ -124,7 +124,7 @@ export interface Databases {
124
124
  options?: DatabasesUpdateOptionalParams,
125
125
  ): Promise<DatabasesUpdateResponse>;
126
126
  /**
127
- * Gets information about a database in a RedisEnterprise cluster.
127
+ * Gets information about a database in a Redis Enterprise cluster.
128
128
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
129
129
  * @param clusterName The name of the Redis Enterprise cluster.
130
130
  * @param databaseName The name of the Redis Enterprise database.
@@ -163,7 +163,7 @@ export interface Databases {
163
163
  options?: DatabasesDeleteOptionalParams,
164
164
  ): Promise<void>;
165
165
  /**
166
- * Retrieves the access keys for the RedisEnterprise database.
166
+ * Retrieves the access keys for the Redis Enterprise database.
167
167
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
168
168
  * @param clusterName The name of the Redis Enterprise cluster.
169
169
  * @param databaseName The name of the Redis Enterprise database.
@@ -176,7 +176,7 @@ export interface Databases {
176
176
  options?: DatabasesListKeysOptionalParams,
177
177
  ): Promise<DatabasesListKeysResponse>;
178
178
  /**
179
- * Regenerates the RedisEnterprise database's access keys.
179
+ * Regenerates the Redis Enterprise database's access keys.
180
180
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
181
181
  * @param clusterName The name of the Redis Enterprise cluster.
182
182
  * @param databaseName The name of the Redis Enterprise database.
@@ -196,7 +196,7 @@ export interface Databases {
196
196
  >
197
197
  >;
198
198
  /**
199
- * Regenerates the RedisEnterprise database's access keys.
199
+ * Regenerates the Redis Enterprise database's access keys.
200
200
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
201
201
  * @param clusterName The name of the Redis Enterprise cluster.
202
202
  * @param databaseName The name of the Redis Enterprise database.
@@ -10,5 +10,6 @@ export * from "./operations";
10
10
  export * from "./operationsStatus";
11
11
  export * from "./redisEnterprise";
12
12
  export * from "./databases";
13
+ export * from "./accessPolicyAssignmentOperations";
13
14
  export * from "./privateEndpointConnections";
14
15
  export * from "./privateLinkResources";
@@ -22,7 +22,7 @@ import {
22
22
  /** Interface representing a PrivateEndpointConnections. */
23
23
  export interface PrivateEndpointConnections {
24
24
  /**
25
- * Lists all the private endpoint connections associated with the RedisEnterprise cluster.
25
+ * Lists all the private endpoint connections associated with the Redis Enterprise cluster.
26
26
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
27
  * @param clusterName The name of the Redis Enterprise cluster.
28
28
  * @param options The options parameters.
@@ -33,7 +33,7 @@ export interface PrivateEndpointConnections {
33
33
  options?: PrivateEndpointConnectionsListOptionalParams,
34
34
  ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
35
35
  /**
36
- * Gets the specified private endpoint connection associated with the RedisEnterprise cluster.
36
+ * Gets the specified private endpoint connection associated with the Redis Enterprise cluster.
37
37
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
38
  * @param clusterName The name of the Redis Enterprise cluster.
39
39
  * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
@@ -47,7 +47,7 @@ export interface PrivateEndpointConnections {
47
47
  options?: PrivateEndpointConnectionsGetOptionalParams,
48
48
  ): Promise<PrivateEndpointConnectionsGetResponse>;
49
49
  /**
50
- * Updates the state of the specified private endpoint connection associated with the RedisEnterprise
50
+ * Updates the state of the specified private endpoint connection associated with the Redis Enterprise
51
51
  * cluster.
52
52
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
53
  * @param clusterName The name of the Redis Enterprise cluster.
@@ -69,7 +69,7 @@ export interface PrivateEndpointConnections {
69
69
  >
70
70
  >;
71
71
  /**
72
- * Updates the state of the specified private endpoint connection associated with the RedisEnterprise
72
+ * Updates the state of the specified private endpoint connection associated with the Redis Enterprise
73
73
  * cluster.
74
74
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
75
  * @param clusterName The name of the Redis Enterprise cluster.
@@ -86,7 +86,7 @@ export interface PrivateEndpointConnections {
86
86
  options?: PrivateEndpointConnectionsPutOptionalParams,
87
87
  ): Promise<PrivateEndpointConnectionsPutResponse>;
88
88
  /**
89
- * Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
89
+ * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
90
90
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
91
  * @param clusterName The name of the Redis Enterprise cluster.
92
92
  * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
@@ -100,7 +100,7 @@ export interface PrivateEndpointConnections {
100
100
  options?: PrivateEndpointConnectionsDeleteOptionalParams,
101
101
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
102
102
  /**
103
- * Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
103
+ * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
104
104
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
105
  * @param clusterName The name of the Redis Enterprise cluster.
106
106
  * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
@@ -16,7 +16,7 @@ import {
16
16
  /** Interface representing a PrivateLinkResources. */
17
17
  export interface PrivateLinkResources {
18
18
  /**
19
- * Gets the private link resources that need to be created for a RedisEnterprise cluster.
19
+ * Gets the private link resources that need to be created for a Redis Enterprise cluster.
20
20
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
21
21
  * @param clusterName The name of the Redis Enterprise cluster.
22
22
  * @param options The options parameters.
@@ -26,7 +26,7 @@ import {
26
26
  /** Interface representing a RedisEnterprise. */
27
27
  export interface RedisEnterprise {
28
28
  /**
29
- * Lists all RedisEnterprise clusters in a resource group.
29
+ * Lists all Redis Enterprise clusters in a resource group.
30
30
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
31
  * @param options The options parameters.
32
32
  */
@@ -35,7 +35,7 @@ export interface RedisEnterprise {
35
35
  options?: RedisEnterpriseListByResourceGroupOptionalParams,
36
36
  ): PagedAsyncIterableIterator<Cluster>;
37
37
  /**
38
- * Gets all RedisEnterprise clusters in the specified subscription.
38
+ * Lists all Redis Enterprise clusters in the specified subscription.
39
39
  * @param options The options parameters.
40
40
  */
41
41
  list(
@@ -45,7 +45,7 @@ export interface RedisEnterprise {
45
45
  * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
46
46
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
47
  * @param clusterName The name of the Redis Enterprise cluster.
48
- * @param parameters Parameters supplied to the Create RedisEnterprise operation.
48
+ * @param parameters Parameters supplied to the Create Redis Enterprise operation.
49
49
  * @param options The options parameters.
50
50
  */
51
51
  beginCreate(
@@ -63,7 +63,7 @@ export interface RedisEnterprise {
63
63
  * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
64
64
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
65
  * @param clusterName The name of the Redis Enterprise cluster.
66
- * @param parameters Parameters supplied to the Create RedisEnterprise operation.
66
+ * @param parameters Parameters supplied to the Create Redis Enterprise operation.
67
67
  * @param options The options parameters.
68
68
  */
69
69
  beginCreateAndWait(
@@ -73,10 +73,10 @@ export interface RedisEnterprise {
73
73
  options?: RedisEnterpriseCreateOptionalParams,
74
74
  ): Promise<RedisEnterpriseCreateResponse>;
75
75
  /**
76
- * Updates an existing RedisEnterprise cluster
76
+ * Updates an existing Redis Enterprise cluster
77
77
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
78
  * @param clusterName The name of the Redis Enterprise cluster.
79
- * @param parameters Parameters supplied to the Update RedisEnterprise operation.
79
+ * @param parameters Parameters supplied to the Update Redis Enterprise operation.
80
80
  * @param options The options parameters.
81
81
  */
82
82
  beginUpdate(
@@ -91,10 +91,10 @@ export interface RedisEnterprise {
91
91
  >
92
92
  >;
93
93
  /**
94
- * Updates an existing RedisEnterprise cluster
94
+ * Updates an existing Redis Enterprise cluster
95
95
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
96
96
  * @param clusterName The name of the Redis Enterprise cluster.
97
- * @param parameters Parameters supplied to the Update RedisEnterprise operation.
97
+ * @param parameters Parameters supplied to the Update Redis Enterprise operation.
98
98
  * @param options The options parameters.
99
99
  */
100
100
  beginUpdateAndWait(
@@ -104,7 +104,7 @@ export interface RedisEnterprise {
104
104
  options?: RedisEnterpriseUpdateOptionalParams,
105
105
  ): Promise<RedisEnterpriseUpdateResponse>;
106
106
  /**
107
- * Deletes a RedisEnterprise cache cluster.
107
+ * Deletes a Redis Enterprise cache cluster.
108
108
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
109
  * @param clusterName The name of the Redis Enterprise cluster.
110
110
  * @param options The options parameters.
@@ -115,7 +115,7 @@ export interface RedisEnterprise {
115
115
  options?: RedisEnterpriseDeleteOptionalParams,
116
116
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
117
117
  /**
118
- * Deletes a RedisEnterprise cache cluster.
118
+ * Deletes a Redis Enterprise cache cluster.
119
119
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
120
  * @param clusterName The name of the Redis Enterprise cluster.
121
121
  * @param options The options parameters.
@@ -126,7 +126,7 @@ export interface RedisEnterprise {
126
126
  options?: RedisEnterpriseDeleteOptionalParams,
127
127
  ): Promise<void>;
128
128
  /**
129
- * Gets information about a RedisEnterprise cluster
129
+ * Gets information about a Redis Enterprise cluster
130
130
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
131
131
  * @param clusterName The name of the Redis Enterprise cluster.
132
132
  * @param options The options parameters.
@@ -19,6 +19,7 @@ import {
19
19
  OperationsStatusImpl,
20
20
  RedisEnterpriseImpl,
21
21
  DatabasesImpl,
22
+ AccessPolicyAssignmentOperationsImpl,
22
23
  PrivateEndpointConnectionsImpl,
23
24
  PrivateLinkResourcesImpl,
24
25
  } from "./operations";
@@ -27,6 +28,7 @@ import {
27
28
  OperationsStatus,
28
29
  RedisEnterprise,
29
30
  Databases,
31
+ AccessPolicyAssignmentOperations,
30
32
  PrivateEndpointConnections,
31
33
  PrivateLinkResources,
32
34
  } from "./operationsInterfaces";
@@ -64,7 +66,7 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
64
66
  credential: credentials,
65
67
  };
66
68
 
67
- const packageDetails = `azsdk-js-arm-redisenterprisecache/3.1.0-beta.1`;
69
+ const packageDetails = `azsdk-js-arm-redisenterprisecache/3.1.0-beta.2`;
68
70
  const userAgentPrefix =
69
71
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
70
72
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -118,11 +120,13 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
118
120
 
119
121
  // Assigning values to Constant parameters
120
122
  this.$host = options.$host || "https://management.azure.com";
121
- this.apiVersion = options.apiVersion || "2024-03-01-preview";
123
+ this.apiVersion = options.apiVersion || "2024-09-01-preview";
122
124
  this.operations = new OperationsImpl(this);
123
125
  this.operationsStatus = new OperationsStatusImpl(this);
124
126
  this.redisEnterprise = new RedisEnterpriseImpl(this);
125
127
  this.databases = new DatabasesImpl(this);
128
+ this.accessPolicyAssignmentOperations =
129
+ new AccessPolicyAssignmentOperationsImpl(this);
126
130
  this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
127
131
  this.privateLinkResources = new PrivateLinkResourcesImpl(this);
128
132
  this.addCustomApiVersionPolicy(options.apiVersion);
@@ -160,6 +164,7 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
160
164
  operationsStatus: OperationsStatus;
161
165
  redisEnterprise: RedisEnterprise;
162
166
  databases: Databases;
167
+ accessPolicyAssignmentOperations: AccessPolicyAssignmentOperations;
163
168
  privateEndpointConnections: PrivateEndpointConnections;
164
169
  privateLinkResources: PrivateLinkResources;
165
170
  }