@azure/arm-redisenterprisecache 3.1.0-alpha.20241015.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.
- package/CHANGELOG.md +111 -9
- package/dist/index.js +1094 -162
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js +45 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js +41 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js +41 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js +56 -0
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js.map +1 -0
- package/dist-esm/samples-dev/databasesCreateSample.js +10 -6
- package/dist-esm/samples-dev/databasesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesDeleteSample.js +3 -2
- package/dist-esm/samples-dev/databasesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesExportSample.js +3 -2
- package/dist-esm/samples-dev/databasesExportSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesFlushSample.js +4 -3
- package/dist-esm/samples-dev/databasesFlushSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +1 -1
- package/dist-esm/samples-dev/databasesForceUnlinkSample.js +4 -3
- package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesGetSample.js +5 -4
- package/dist-esm/samples-dev/databasesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesImportSample.js +3 -2
- package/dist-esm/samples-dev/databasesImportSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesListByClusterSample.js +5 -4
- package/dist-esm/samples-dev/databasesListByClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesListKeysSample.js +5 -4
- package/dist-esm/samples-dev/databasesListKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesRegenerateKeySample.js +5 -4
- package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/databasesUpdateSample.js +4 -2
- package/dist-esm/samples-dev/databasesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +3 -2
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/operationsStatusGetSample.js +3 -2
- package/dist-esm/samples-dev/operationsStatusGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +5 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +5 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +5 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +5 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +5 -4
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +3 -2
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +5 -4
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseGetSample.js +5 -4
- package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +5 -4
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseListSample.js +5 -4
- package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +5 -4
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +423 -27
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +134 -2
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +16 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +372 -2
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +19 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts +94 -0
- package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/accessPolicyAssignmentOperations.js +403 -0
- package/dist-esm/src/operations/accessPolicyAssignmentOperations.js.map +1 -0
- package/dist-esm/src/operations/databases.d.ts +6 -6
- package/dist-esm/src/operations/databases.js +6 -6
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
- package/dist-esm/src/operations/privateEndpointConnections.js +7 -7
- package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
- package/dist-esm/src/operations/privateLinkResources.js +2 -2
- package/dist-esm/src/operations/redisEnterprise.d.ts +13 -13
- package/dist-esm/src/operations/redisEnterprise.js +13 -13
- package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +67 -0
- package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databases.d.ts +5 -5
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +11 -11
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts +2 -1
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -1
- package/dist-esm/src/redisEnterpriseManagementClient.js +4 -2
- package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-redisenterprisecache.api.md +239 -2
- package/src/models/index.ts +457 -26
- package/src/models/mappers.ts +400 -2
- package/src/models/parameters.ts +21 -1
- package/src/operations/accessPolicyAssignmentOperations.ts +569 -0
- package/src/operations/databases.ts +6 -6
- package/src/operations/index.ts +1 -0
- package/src/operations/privateEndpointConnections.ts +7 -7
- package/src/operations/privateLinkResources.ts +2 -2
- package/src/operations/redisEnterprise.ts +13 -13
- package/src/operationsInterfaces/accessPolicyAssignmentOperations.ts +132 -0
- package/src/operationsInterfaces/databases.ts +5 -5
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +6 -6
- package/src/operationsInterfaces/privateLinkResources.ts +1 -1
- package/src/operationsInterfaces/redisEnterprise.ts +11 -11
- package/src/redisEnterpriseManagementClient.ts +6 -1
- package/types/arm-redisenterprisecache.d.ts +544 -50
package/dist/index.js
CHANGED
|
@@ -85,6 +85,8 @@ exports.KnownActionType = void 0;
|
|
|
85
85
|
/** Known values of {@link SkuName} that the service accepts. */
|
|
86
86
|
exports.KnownSkuName = void 0;
|
|
87
87
|
(function (KnownSkuName) {
|
|
88
|
+
/** EnterpriseE1 */
|
|
89
|
+
KnownSkuName["EnterpriseE1"] = "Enterprise_E1";
|
|
88
90
|
/** EnterpriseE5 */
|
|
89
91
|
KnownSkuName["EnterpriseE5"] = "Enterprise_E5";
|
|
90
92
|
/** EnterpriseE10 */
|
|
@@ -95,12 +97,104 @@ exports.KnownSkuName = void 0;
|
|
|
95
97
|
KnownSkuName["EnterpriseE50"] = "Enterprise_E50";
|
|
96
98
|
/** EnterpriseE100 */
|
|
97
99
|
KnownSkuName["EnterpriseE100"] = "Enterprise_E100";
|
|
100
|
+
/** EnterpriseE200 */
|
|
101
|
+
KnownSkuName["EnterpriseE200"] = "Enterprise_E200";
|
|
102
|
+
/** EnterpriseE400 */
|
|
103
|
+
KnownSkuName["EnterpriseE400"] = "Enterprise_E400";
|
|
98
104
|
/** EnterpriseFlashF300 */
|
|
99
105
|
KnownSkuName["EnterpriseFlashF300"] = "EnterpriseFlash_F300";
|
|
100
106
|
/** EnterpriseFlashF700 */
|
|
101
107
|
KnownSkuName["EnterpriseFlashF700"] = "EnterpriseFlash_F700";
|
|
102
108
|
/** EnterpriseFlashF1500 */
|
|
103
109
|
KnownSkuName["EnterpriseFlashF1500"] = "EnterpriseFlash_F1500";
|
|
110
|
+
/** BalancedB0 */
|
|
111
|
+
KnownSkuName["BalancedB0"] = "Balanced_B0";
|
|
112
|
+
/** BalancedB1 */
|
|
113
|
+
KnownSkuName["BalancedB1"] = "Balanced_B1";
|
|
114
|
+
/** BalancedB3 */
|
|
115
|
+
KnownSkuName["BalancedB3"] = "Balanced_B3";
|
|
116
|
+
/** BalancedB5 */
|
|
117
|
+
KnownSkuName["BalancedB5"] = "Balanced_B5";
|
|
118
|
+
/** BalancedB10 */
|
|
119
|
+
KnownSkuName["BalancedB10"] = "Balanced_B10";
|
|
120
|
+
/** BalancedB20 */
|
|
121
|
+
KnownSkuName["BalancedB20"] = "Balanced_B20";
|
|
122
|
+
/** BalancedB50 */
|
|
123
|
+
KnownSkuName["BalancedB50"] = "Balanced_B50";
|
|
124
|
+
/** BalancedB100 */
|
|
125
|
+
KnownSkuName["BalancedB100"] = "Balanced_B100";
|
|
126
|
+
/** BalancedB150 */
|
|
127
|
+
KnownSkuName["BalancedB150"] = "Balanced_B150";
|
|
128
|
+
/** BalancedB250 */
|
|
129
|
+
KnownSkuName["BalancedB250"] = "Balanced_B250";
|
|
130
|
+
/** BalancedB350 */
|
|
131
|
+
KnownSkuName["BalancedB350"] = "Balanced_B350";
|
|
132
|
+
/** BalancedB500 */
|
|
133
|
+
KnownSkuName["BalancedB500"] = "Balanced_B500";
|
|
134
|
+
/** BalancedB700 */
|
|
135
|
+
KnownSkuName["BalancedB700"] = "Balanced_B700";
|
|
136
|
+
/** BalancedB1000 */
|
|
137
|
+
KnownSkuName["BalancedB1000"] = "Balanced_B1000";
|
|
138
|
+
/** MemoryOptimizedM10 */
|
|
139
|
+
KnownSkuName["MemoryOptimizedM10"] = "MemoryOptimized_M10";
|
|
140
|
+
/** MemoryOptimizedM20 */
|
|
141
|
+
KnownSkuName["MemoryOptimizedM20"] = "MemoryOptimized_M20";
|
|
142
|
+
/** MemoryOptimizedM50 */
|
|
143
|
+
KnownSkuName["MemoryOptimizedM50"] = "MemoryOptimized_M50";
|
|
144
|
+
/** MemoryOptimizedM100 */
|
|
145
|
+
KnownSkuName["MemoryOptimizedM100"] = "MemoryOptimized_M100";
|
|
146
|
+
/** MemoryOptimizedM150 */
|
|
147
|
+
KnownSkuName["MemoryOptimizedM150"] = "MemoryOptimized_M150";
|
|
148
|
+
/** MemoryOptimizedM250 */
|
|
149
|
+
KnownSkuName["MemoryOptimizedM250"] = "MemoryOptimized_M250";
|
|
150
|
+
/** MemoryOptimizedM350 */
|
|
151
|
+
KnownSkuName["MemoryOptimizedM350"] = "MemoryOptimized_M350";
|
|
152
|
+
/** MemoryOptimizedM500 */
|
|
153
|
+
KnownSkuName["MemoryOptimizedM500"] = "MemoryOptimized_M500";
|
|
154
|
+
/** MemoryOptimizedM700 */
|
|
155
|
+
KnownSkuName["MemoryOptimizedM700"] = "MemoryOptimized_M700";
|
|
156
|
+
/** MemoryOptimizedM1000 */
|
|
157
|
+
KnownSkuName["MemoryOptimizedM1000"] = "MemoryOptimized_M1000";
|
|
158
|
+
/** MemoryOptimizedM1500 */
|
|
159
|
+
KnownSkuName["MemoryOptimizedM1500"] = "MemoryOptimized_M1500";
|
|
160
|
+
/** MemoryOptimizedM2000 */
|
|
161
|
+
KnownSkuName["MemoryOptimizedM2000"] = "MemoryOptimized_M2000";
|
|
162
|
+
/** ComputeOptimizedX3 */
|
|
163
|
+
KnownSkuName["ComputeOptimizedX3"] = "ComputeOptimized_X3";
|
|
164
|
+
/** ComputeOptimizedX5 */
|
|
165
|
+
KnownSkuName["ComputeOptimizedX5"] = "ComputeOptimized_X5";
|
|
166
|
+
/** ComputeOptimizedX10 */
|
|
167
|
+
KnownSkuName["ComputeOptimizedX10"] = "ComputeOptimized_X10";
|
|
168
|
+
/** ComputeOptimizedX20 */
|
|
169
|
+
KnownSkuName["ComputeOptimizedX20"] = "ComputeOptimized_X20";
|
|
170
|
+
/** ComputeOptimizedX50 */
|
|
171
|
+
KnownSkuName["ComputeOptimizedX50"] = "ComputeOptimized_X50";
|
|
172
|
+
/** ComputeOptimizedX100 */
|
|
173
|
+
KnownSkuName["ComputeOptimizedX100"] = "ComputeOptimized_X100";
|
|
174
|
+
/** ComputeOptimizedX150 */
|
|
175
|
+
KnownSkuName["ComputeOptimizedX150"] = "ComputeOptimized_X150";
|
|
176
|
+
/** ComputeOptimizedX250 */
|
|
177
|
+
KnownSkuName["ComputeOptimizedX250"] = "ComputeOptimized_X250";
|
|
178
|
+
/** ComputeOptimizedX350 */
|
|
179
|
+
KnownSkuName["ComputeOptimizedX350"] = "ComputeOptimized_X350";
|
|
180
|
+
/** ComputeOptimizedX500 */
|
|
181
|
+
KnownSkuName["ComputeOptimizedX500"] = "ComputeOptimized_X500";
|
|
182
|
+
/** ComputeOptimizedX700 */
|
|
183
|
+
KnownSkuName["ComputeOptimizedX700"] = "ComputeOptimized_X700";
|
|
184
|
+
/** FlashOptimizedA250 */
|
|
185
|
+
KnownSkuName["FlashOptimizedA250"] = "FlashOptimized_A250";
|
|
186
|
+
/** FlashOptimizedA500 */
|
|
187
|
+
KnownSkuName["FlashOptimizedA500"] = "FlashOptimized_A500";
|
|
188
|
+
/** FlashOptimizedA700 */
|
|
189
|
+
KnownSkuName["FlashOptimizedA700"] = "FlashOptimized_A700";
|
|
190
|
+
/** FlashOptimizedA1000 */
|
|
191
|
+
KnownSkuName["FlashOptimizedA1000"] = "FlashOptimized_A1000";
|
|
192
|
+
/** FlashOptimizedA1500 */
|
|
193
|
+
KnownSkuName["FlashOptimizedA1500"] = "FlashOptimized_A1500";
|
|
194
|
+
/** FlashOptimizedA2000 */
|
|
195
|
+
KnownSkuName["FlashOptimizedA2000"] = "FlashOptimized_A2000";
|
|
196
|
+
/** FlashOptimizedA4500 */
|
|
197
|
+
KnownSkuName["FlashOptimizedA4500"] = "FlashOptimized_A4500";
|
|
104
198
|
})(exports.KnownSkuName || (exports.KnownSkuName = {}));
|
|
105
199
|
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
106
200
|
exports.KnownManagedServiceIdentityType = void 0;
|
|
@@ -114,6 +208,14 @@ exports.KnownManagedServiceIdentityType = void 0;
|
|
|
114
208
|
/** SystemAssignedUserAssigned */
|
|
115
209
|
KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned, UserAssigned";
|
|
116
210
|
})(exports.KnownManagedServiceIdentityType || (exports.KnownManagedServiceIdentityType = {}));
|
|
211
|
+
/** Known values of {@link HighAvailability} that the service accepts. */
|
|
212
|
+
exports.KnownHighAvailability = void 0;
|
|
213
|
+
(function (KnownHighAvailability) {
|
|
214
|
+
/** Enabled */
|
|
215
|
+
KnownHighAvailability["Enabled"] = "Enabled";
|
|
216
|
+
/** Disabled */
|
|
217
|
+
KnownHighAvailability["Disabled"] = "Disabled";
|
|
218
|
+
})(exports.KnownHighAvailability || (exports.KnownHighAvailability = {}));
|
|
117
219
|
/** Known values of {@link TlsVersion} that the service accepts. */
|
|
118
220
|
exports.KnownTlsVersion = void 0;
|
|
119
221
|
(function (KnownTlsVersion) {
|
|
@@ -148,6 +250,16 @@ exports.KnownProvisioningState = void 0;
|
|
|
148
250
|
/** Deleting */
|
|
149
251
|
KnownProvisioningState["Deleting"] = "Deleting";
|
|
150
252
|
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
253
|
+
/** Known values of {@link RedundancyMode} that the service accepts. */
|
|
254
|
+
exports.KnownRedundancyMode = void 0;
|
|
255
|
+
(function (KnownRedundancyMode) {
|
|
256
|
+
/** No redundancy. Availability loss will occur. */
|
|
257
|
+
KnownRedundancyMode["None"] = "None";
|
|
258
|
+
/** Local redundancy with high availability. */
|
|
259
|
+
KnownRedundancyMode["LR"] = "LR";
|
|
260
|
+
/** Zone redundant. Higher availability. */
|
|
261
|
+
KnownRedundancyMode["ZR"] = "ZR";
|
|
262
|
+
})(exports.KnownRedundancyMode || (exports.KnownRedundancyMode = {}));
|
|
151
263
|
/** Known values of {@link ResourceState} that the service accepts. */
|
|
152
264
|
exports.KnownResourceState = void 0;
|
|
153
265
|
(function (KnownResourceState) {
|
|
@@ -213,9 +325,9 @@ exports.KnownProtocol = void 0;
|
|
|
213
325
|
/** Known values of {@link ClusteringPolicy} that the service accepts. */
|
|
214
326
|
exports.KnownClusteringPolicy = void 0;
|
|
215
327
|
(function (KnownClusteringPolicy) {
|
|
216
|
-
/**
|
|
328
|
+
/** Enterprise clustering policy uses only the classic redis protocol, which does not support redis cluster commands. */
|
|
217
329
|
KnownClusteringPolicy["EnterpriseCluster"] = "EnterpriseCluster";
|
|
218
|
-
/**
|
|
330
|
+
/** OSS clustering policy follows the redis cluster specification, and requires all clients to support redis clustering. */
|
|
219
331
|
KnownClusteringPolicy["OSSCluster"] = "OSSCluster";
|
|
220
332
|
})(exports.KnownClusteringPolicy || (exports.KnownClusteringPolicy = {}));
|
|
221
333
|
/** Known values of {@link EvictionPolicy} that the service accepts. */
|
|
@@ -278,6 +390,26 @@ exports.KnownDeferUpgradeSetting = void 0;
|
|
|
278
390
|
/** NotDeferred */
|
|
279
391
|
KnownDeferUpgradeSetting["NotDeferred"] = "NotDeferred";
|
|
280
392
|
})(exports.KnownDeferUpgradeSetting || (exports.KnownDeferUpgradeSetting = {}));
|
|
393
|
+
/** Known values of {@link AccessKeysAuthentication} that the service accepts. */
|
|
394
|
+
exports.KnownAccessKeysAuthentication = void 0;
|
|
395
|
+
(function (KnownAccessKeysAuthentication) {
|
|
396
|
+
/** Disabled */
|
|
397
|
+
KnownAccessKeysAuthentication["Disabled"] = "Disabled";
|
|
398
|
+
/** Enabled */
|
|
399
|
+
KnownAccessKeysAuthentication["Enabled"] = "Enabled";
|
|
400
|
+
})(exports.KnownAccessKeysAuthentication || (exports.KnownAccessKeysAuthentication = {}));
|
|
401
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
402
|
+
exports.KnownCreatedByType = void 0;
|
|
403
|
+
(function (KnownCreatedByType) {
|
|
404
|
+
/** User */
|
|
405
|
+
KnownCreatedByType["User"] = "User";
|
|
406
|
+
/** Application */
|
|
407
|
+
KnownCreatedByType["Application"] = "Application";
|
|
408
|
+
/** ManagedIdentity */
|
|
409
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
410
|
+
/** Key */
|
|
411
|
+
KnownCreatedByType["Key"] = "Key";
|
|
412
|
+
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
281
413
|
|
|
282
414
|
/*
|
|
283
415
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -764,6 +896,12 @@ const ClusterUpdate = {
|
|
|
764
896
|
value: { type: { name: "String" } },
|
|
765
897
|
},
|
|
766
898
|
},
|
|
899
|
+
highAvailability: {
|
|
900
|
+
serializedName: "properties.highAvailability",
|
|
901
|
+
type: {
|
|
902
|
+
name: "String",
|
|
903
|
+
},
|
|
904
|
+
},
|
|
767
905
|
minimumTlsVersion: {
|
|
768
906
|
serializedName: "properties.minimumTlsVersion",
|
|
769
907
|
type: {
|
|
@@ -791,6 +929,13 @@ const ClusterUpdate = {
|
|
|
791
929
|
name: "String",
|
|
792
930
|
},
|
|
793
931
|
},
|
|
932
|
+
redundancyMode: {
|
|
933
|
+
serializedName: "properties.redundancyMode",
|
|
934
|
+
readOnly: true,
|
|
935
|
+
type: {
|
|
936
|
+
name: "String",
|
|
937
|
+
},
|
|
938
|
+
},
|
|
794
939
|
resourceState: {
|
|
795
940
|
serializedName: "properties.resourceState",
|
|
796
941
|
readOnly: true,
|
|
@@ -982,6 +1127,86 @@ const LinkedDatabase = {
|
|
|
982
1127
|
},
|
|
983
1128
|
},
|
|
984
1129
|
};
|
|
1130
|
+
const ResourceAutoGenerated = {
|
|
1131
|
+
type: {
|
|
1132
|
+
name: "Composite",
|
|
1133
|
+
className: "ResourceAutoGenerated",
|
|
1134
|
+
modelProperties: {
|
|
1135
|
+
id: {
|
|
1136
|
+
serializedName: "id",
|
|
1137
|
+
readOnly: true,
|
|
1138
|
+
type: {
|
|
1139
|
+
name: "String",
|
|
1140
|
+
},
|
|
1141
|
+
},
|
|
1142
|
+
name: {
|
|
1143
|
+
serializedName: "name",
|
|
1144
|
+
readOnly: true,
|
|
1145
|
+
type: {
|
|
1146
|
+
name: "String",
|
|
1147
|
+
},
|
|
1148
|
+
},
|
|
1149
|
+
type: {
|
|
1150
|
+
serializedName: "type",
|
|
1151
|
+
readOnly: true,
|
|
1152
|
+
type: {
|
|
1153
|
+
name: "String",
|
|
1154
|
+
},
|
|
1155
|
+
},
|
|
1156
|
+
systemData: {
|
|
1157
|
+
serializedName: "systemData",
|
|
1158
|
+
type: {
|
|
1159
|
+
name: "Composite",
|
|
1160
|
+
className: "SystemData",
|
|
1161
|
+
},
|
|
1162
|
+
},
|
|
1163
|
+
},
|
|
1164
|
+
},
|
|
1165
|
+
};
|
|
1166
|
+
const SystemData = {
|
|
1167
|
+
type: {
|
|
1168
|
+
name: "Composite",
|
|
1169
|
+
className: "SystemData",
|
|
1170
|
+
modelProperties: {
|
|
1171
|
+
createdBy: {
|
|
1172
|
+
serializedName: "createdBy",
|
|
1173
|
+
type: {
|
|
1174
|
+
name: "String",
|
|
1175
|
+
},
|
|
1176
|
+
},
|
|
1177
|
+
createdByType: {
|
|
1178
|
+
serializedName: "createdByType",
|
|
1179
|
+
type: {
|
|
1180
|
+
name: "String",
|
|
1181
|
+
},
|
|
1182
|
+
},
|
|
1183
|
+
createdAt: {
|
|
1184
|
+
serializedName: "createdAt",
|
|
1185
|
+
type: {
|
|
1186
|
+
name: "DateTime",
|
|
1187
|
+
},
|
|
1188
|
+
},
|
|
1189
|
+
lastModifiedBy: {
|
|
1190
|
+
serializedName: "lastModifiedBy",
|
|
1191
|
+
type: {
|
|
1192
|
+
name: "String",
|
|
1193
|
+
},
|
|
1194
|
+
},
|
|
1195
|
+
lastModifiedByType: {
|
|
1196
|
+
serializedName: "lastModifiedByType",
|
|
1197
|
+
type: {
|
|
1198
|
+
name: "String",
|
|
1199
|
+
},
|
|
1200
|
+
},
|
|
1201
|
+
lastModifiedAt: {
|
|
1202
|
+
serializedName: "lastModifiedAt",
|
|
1203
|
+
type: {
|
|
1204
|
+
name: "DateTime",
|
|
1205
|
+
},
|
|
1206
|
+
},
|
|
1207
|
+
},
|
|
1208
|
+
},
|
|
1209
|
+
};
|
|
985
1210
|
const DatabaseUpdate = {
|
|
986
1211
|
type: {
|
|
987
1212
|
name: "Composite",
|
|
@@ -1064,6 +1289,12 @@ const DatabaseUpdate = {
|
|
|
1064
1289
|
name: "String",
|
|
1065
1290
|
},
|
|
1066
1291
|
},
|
|
1292
|
+
accessKeysAuthentication: {
|
|
1293
|
+
serializedName: "properties.accessKeysAuthentication",
|
|
1294
|
+
type: {
|
|
1295
|
+
name: "String",
|
|
1296
|
+
},
|
|
1297
|
+
},
|
|
1067
1298
|
},
|
|
1068
1299
|
},
|
|
1069
1300
|
};
|
|
@@ -1140,6 +1371,47 @@ const ExportClusterParameters = {
|
|
|
1140
1371
|
},
|
|
1141
1372
|
},
|
|
1142
1373
|
};
|
|
1374
|
+
const AccessPolicyAssignmentPropertiesUser = {
|
|
1375
|
+
type: {
|
|
1376
|
+
name: "Composite",
|
|
1377
|
+
className: "AccessPolicyAssignmentPropertiesUser",
|
|
1378
|
+
modelProperties: {
|
|
1379
|
+
objectId: {
|
|
1380
|
+
serializedName: "objectId",
|
|
1381
|
+
type: {
|
|
1382
|
+
name: "String",
|
|
1383
|
+
},
|
|
1384
|
+
},
|
|
1385
|
+
},
|
|
1386
|
+
},
|
|
1387
|
+
};
|
|
1388
|
+
const AccessPolicyAssignmentList = {
|
|
1389
|
+
type: {
|
|
1390
|
+
name: "Composite",
|
|
1391
|
+
className: "AccessPolicyAssignmentList",
|
|
1392
|
+
modelProperties: {
|
|
1393
|
+
value: {
|
|
1394
|
+
serializedName: "value",
|
|
1395
|
+
type: {
|
|
1396
|
+
name: "Sequence",
|
|
1397
|
+
element: {
|
|
1398
|
+
type: {
|
|
1399
|
+
name: "Composite",
|
|
1400
|
+
className: "AccessPolicyAssignment",
|
|
1401
|
+
},
|
|
1402
|
+
},
|
|
1403
|
+
},
|
|
1404
|
+
},
|
|
1405
|
+
nextLink: {
|
|
1406
|
+
serializedName: "nextLink",
|
|
1407
|
+
readOnly: true,
|
|
1408
|
+
type: {
|
|
1409
|
+
name: "String",
|
|
1410
|
+
},
|
|
1411
|
+
},
|
|
1412
|
+
},
|
|
1413
|
+
},
|
|
1414
|
+
};
|
|
1143
1415
|
const PrivateEndpointConnectionListResult = {
|
|
1144
1416
|
type: {
|
|
1145
1417
|
name: "Composite",
|
|
@@ -1291,10 +1563,10 @@ const TrackedResource = {
|
|
|
1291
1563
|
} }),
|
|
1292
1564
|
},
|
|
1293
1565
|
};
|
|
1294
|
-
const
|
|
1566
|
+
const ProxyResourceAutoGenerated = {
|
|
1295
1567
|
type: {
|
|
1296
1568
|
name: "Composite",
|
|
1297
|
-
className: "
|
|
1569
|
+
className: "ProxyResourceAutoGenerated",
|
|
1298
1570
|
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
1299
1571
|
},
|
|
1300
1572
|
};
|
|
@@ -1332,6 +1604,13 @@ const PrivateLinkResource = {
|
|
|
1332
1604
|
} }),
|
|
1333
1605
|
},
|
|
1334
1606
|
};
|
|
1607
|
+
const ProxyResource = {
|
|
1608
|
+
type: {
|
|
1609
|
+
name: "Composite",
|
|
1610
|
+
className: "ProxyResource",
|
|
1611
|
+
modelProperties: Object.assign({}, ResourceAutoGenerated.type.modelProperties),
|
|
1612
|
+
},
|
|
1613
|
+
};
|
|
1335
1614
|
const Cluster = {
|
|
1336
1615
|
type: {
|
|
1337
1616
|
name: "Composite",
|
|
@@ -1358,6 +1637,11 @@ const Cluster = {
|
|
|
1358
1637
|
name: "Composite",
|
|
1359
1638
|
className: "ManagedServiceIdentity",
|
|
1360
1639
|
},
|
|
1640
|
+
}, highAvailability: {
|
|
1641
|
+
serializedName: "properties.highAvailability",
|
|
1642
|
+
type: {
|
|
1643
|
+
name: "String",
|
|
1644
|
+
},
|
|
1361
1645
|
}, minimumTlsVersion: {
|
|
1362
1646
|
serializedName: "properties.minimumTlsVersion",
|
|
1363
1647
|
type: {
|
|
@@ -1381,6 +1665,12 @@ const Cluster = {
|
|
|
1381
1665
|
type: {
|
|
1382
1666
|
name: "String",
|
|
1383
1667
|
},
|
|
1668
|
+
}, redundancyMode: {
|
|
1669
|
+
serializedName: "properties.redundancyMode",
|
|
1670
|
+
readOnly: true,
|
|
1671
|
+
type: {
|
|
1672
|
+
name: "String",
|
|
1673
|
+
},
|
|
1384
1674
|
}, resourceState: {
|
|
1385
1675
|
serializedName: "properties.resourceState",
|
|
1386
1676
|
readOnly: true,
|
|
@@ -1408,6 +1698,33 @@ const Cluster = {
|
|
|
1408
1698
|
} }),
|
|
1409
1699
|
},
|
|
1410
1700
|
};
|
|
1701
|
+
const AccessPolicyAssignment = {
|
|
1702
|
+
type: {
|
|
1703
|
+
name: "Composite",
|
|
1704
|
+
className: "AccessPolicyAssignment",
|
|
1705
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResourceAutoGenerated.type.modelProperties), { provisioningState: {
|
|
1706
|
+
serializedName: "properties.provisioningState",
|
|
1707
|
+
readOnly: true,
|
|
1708
|
+
type: {
|
|
1709
|
+
name: "String",
|
|
1710
|
+
},
|
|
1711
|
+
}, accessPolicyName: {
|
|
1712
|
+
constraints: {
|
|
1713
|
+
Pattern: new RegExp("^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$"),
|
|
1714
|
+
},
|
|
1715
|
+
serializedName: "properties.accessPolicyName",
|
|
1716
|
+
type: {
|
|
1717
|
+
name: "String",
|
|
1718
|
+
},
|
|
1719
|
+
}, user: {
|
|
1720
|
+
serializedName: "properties.user",
|
|
1721
|
+
type: {
|
|
1722
|
+
name: "Composite",
|
|
1723
|
+
className: "AccessPolicyAssignmentPropertiesUser",
|
|
1724
|
+
},
|
|
1725
|
+
} }),
|
|
1726
|
+
},
|
|
1727
|
+
};
|
|
1411
1728
|
const Database = {
|
|
1412
1729
|
type: {
|
|
1413
1730
|
name: "Composite",
|
|
@@ -1478,13 +1795,18 @@ const Database = {
|
|
|
1478
1795
|
type: {
|
|
1479
1796
|
name: "String",
|
|
1480
1797
|
},
|
|
1798
|
+
}, accessKeysAuthentication: {
|
|
1799
|
+
serializedName: "properties.accessKeysAuthentication",
|
|
1800
|
+
type: {
|
|
1801
|
+
name: "String",
|
|
1802
|
+
},
|
|
1481
1803
|
} }),
|
|
1482
1804
|
},
|
|
1483
1805
|
};
|
|
1484
|
-
const
|
|
1806
|
+
const RedisEnterpriseUpdateHeaders = {
|
|
1485
1807
|
type: {
|
|
1486
1808
|
name: "Composite",
|
|
1487
|
-
className: "
|
|
1809
|
+
className: "RedisEnterpriseUpdateHeaders",
|
|
1488
1810
|
modelProperties: {
|
|
1489
1811
|
location: {
|
|
1490
1812
|
serializedName: "location",
|
|
@@ -1501,10 +1823,10 @@ const DatabasesForceLinkToReplicationGroupHeaders = {
|
|
|
1501
1823
|
},
|
|
1502
1824
|
},
|
|
1503
1825
|
};
|
|
1504
|
-
const
|
|
1826
|
+
const RedisEnterpriseDeleteHeaders = {
|
|
1505
1827
|
type: {
|
|
1506
1828
|
name: "Composite",
|
|
1507
|
-
className: "
|
|
1829
|
+
className: "RedisEnterpriseDeleteHeaders",
|
|
1508
1830
|
modelProperties: {
|
|
1509
1831
|
location: {
|
|
1510
1832
|
serializedName: "location",
|
|
@@ -1521,10 +1843,10 @@ const DatabasesFlushHeaders = {
|
|
|
1521
1843
|
},
|
|
1522
1844
|
},
|
|
1523
1845
|
};
|
|
1524
|
-
const
|
|
1846
|
+
const DatabasesUpdateHeaders = {
|
|
1525
1847
|
type: {
|
|
1526
1848
|
name: "Composite",
|
|
1527
|
-
className: "
|
|
1849
|
+
className: "DatabasesUpdateHeaders",
|
|
1528
1850
|
modelProperties: {
|
|
1529
1851
|
location: {
|
|
1530
1852
|
serializedName: "location",
|
|
@@ -1541,10 +1863,10 @@ const DatabasesUpgradeDBRedisVersionHeaders = {
|
|
|
1541
1863
|
},
|
|
1542
1864
|
},
|
|
1543
1865
|
};
|
|
1544
|
-
const
|
|
1866
|
+
const DatabasesDeleteHeaders = {
|
|
1545
1867
|
type: {
|
|
1546
1868
|
name: "Composite",
|
|
1547
|
-
className: "
|
|
1869
|
+
className: "DatabasesDeleteHeaders",
|
|
1548
1870
|
modelProperties: {
|
|
1549
1871
|
location: {
|
|
1550
1872
|
serializedName: "location",
|
|
@@ -1561,87 +1883,282 @@ const PrivateEndpointConnectionsDeleteHeaders = {
|
|
|
1561
1883
|
},
|
|
1562
1884
|
},
|
|
1563
1885
|
};
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1582
|
-
ErrorDetail: ErrorDetail,
|
|
1583
|
-
ErrorResponse: ErrorResponse,
|
|
1584
|
-
ExportClusterParameters: ExportClusterParameters,
|
|
1585
|
-
FlushParameters: FlushParameters,
|
|
1586
|
-
ForceLinkParameters: ForceLinkParameters,
|
|
1587
|
-
ForceUnlinkParameters: ForceUnlinkParameters,
|
|
1588
|
-
ImportClusterParameters: ImportClusterParameters,
|
|
1589
|
-
LinkedDatabase: LinkedDatabase,
|
|
1590
|
-
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
1591
|
-
Module: Module,
|
|
1592
|
-
Operation: Operation,
|
|
1593
|
-
OperationDisplay: OperationDisplay,
|
|
1594
|
-
OperationListResult: OperationListResult,
|
|
1595
|
-
OperationStatus: OperationStatus,
|
|
1596
|
-
Persistence: Persistence,
|
|
1597
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
1598
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1599
|
-
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
1600
|
-
PrivateEndpointConnectionsDeleteHeaders: PrivateEndpointConnectionsDeleteHeaders,
|
|
1601
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
1602
|
-
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
1603
|
-
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
1604
|
-
ProxyResource: ProxyResource,
|
|
1605
|
-
RegenerateKeyParameters: RegenerateKeyParameters,
|
|
1606
|
-
Resource: Resource,
|
|
1607
|
-
Sku: Sku,
|
|
1608
|
-
TrackedResource: TrackedResource,
|
|
1609
|
-
UserAssignedIdentity: UserAssignedIdentity
|
|
1610
|
-
});
|
|
1611
|
-
|
|
1612
|
-
/*
|
|
1613
|
-
* Copyright (c) Microsoft Corporation.
|
|
1614
|
-
* Licensed under the MIT License.
|
|
1615
|
-
*
|
|
1616
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1617
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1618
|
-
*/
|
|
1619
|
-
const accept = {
|
|
1620
|
-
parameterPath: "accept",
|
|
1621
|
-
mapper: {
|
|
1622
|
-
defaultValue: "application/json",
|
|
1623
|
-
isConstant: true,
|
|
1624
|
-
serializedName: "Accept",
|
|
1625
|
-
type: {
|
|
1626
|
-
name: "String",
|
|
1886
|
+
const DatabasesRegenerateKeyHeaders = {
|
|
1887
|
+
type: {
|
|
1888
|
+
name: "Composite",
|
|
1889
|
+
className: "DatabasesRegenerateKeyHeaders",
|
|
1890
|
+
modelProperties: {
|
|
1891
|
+
location: {
|
|
1892
|
+
serializedName: "location",
|
|
1893
|
+
type: {
|
|
1894
|
+
name: "String",
|
|
1895
|
+
},
|
|
1896
|
+
},
|
|
1897
|
+
azureAsyncOperation: {
|
|
1898
|
+
serializedName: "azure-asyncoperation",
|
|
1899
|
+
type: {
|
|
1900
|
+
name: "String",
|
|
1901
|
+
},
|
|
1902
|
+
},
|
|
1627
1903
|
},
|
|
1628
1904
|
},
|
|
1629
1905
|
};
|
|
1630
|
-
const
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1906
|
+
const DatabasesImportHeaders = {
|
|
1907
|
+
type: {
|
|
1908
|
+
name: "Composite",
|
|
1909
|
+
className: "DatabasesImportHeaders",
|
|
1910
|
+
modelProperties: {
|
|
1911
|
+
location: {
|
|
1912
|
+
serializedName: "location",
|
|
1913
|
+
type: {
|
|
1914
|
+
name: "String",
|
|
1915
|
+
},
|
|
1916
|
+
},
|
|
1917
|
+
azureAsyncOperation: {
|
|
1918
|
+
serializedName: "azure-asyncoperation",
|
|
1919
|
+
type: {
|
|
1920
|
+
name: "String",
|
|
1921
|
+
},
|
|
1922
|
+
},
|
|
1637
1923
|
},
|
|
1638
1924
|
},
|
|
1639
|
-
skipEncoding: true,
|
|
1640
1925
|
};
|
|
1641
|
-
const
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1926
|
+
const DatabasesExportHeaders = {
|
|
1927
|
+
type: {
|
|
1928
|
+
name: "Composite",
|
|
1929
|
+
className: "DatabasesExportHeaders",
|
|
1930
|
+
modelProperties: {
|
|
1931
|
+
location: {
|
|
1932
|
+
serializedName: "location",
|
|
1933
|
+
type: {
|
|
1934
|
+
name: "String",
|
|
1935
|
+
},
|
|
1936
|
+
},
|
|
1937
|
+
azureAsyncOperation: {
|
|
1938
|
+
serializedName: "azure-asyncoperation",
|
|
1939
|
+
type: {
|
|
1940
|
+
name: "String",
|
|
1941
|
+
},
|
|
1942
|
+
},
|
|
1943
|
+
},
|
|
1944
|
+
},
|
|
1945
|
+
};
|
|
1946
|
+
const DatabasesForceUnlinkHeaders = {
|
|
1947
|
+
type: {
|
|
1948
|
+
name: "Composite",
|
|
1949
|
+
className: "DatabasesForceUnlinkHeaders",
|
|
1950
|
+
modelProperties: {
|
|
1951
|
+
location: {
|
|
1952
|
+
serializedName: "location",
|
|
1953
|
+
type: {
|
|
1954
|
+
name: "String",
|
|
1955
|
+
},
|
|
1956
|
+
},
|
|
1957
|
+
azureAsyncOperation: {
|
|
1958
|
+
serializedName: "azure-asyncoperation",
|
|
1959
|
+
type: {
|
|
1960
|
+
name: "String",
|
|
1961
|
+
},
|
|
1962
|
+
},
|
|
1963
|
+
},
|
|
1964
|
+
},
|
|
1965
|
+
};
|
|
1966
|
+
const DatabasesForceLinkToReplicationGroupHeaders = {
|
|
1967
|
+
type: {
|
|
1968
|
+
name: "Composite",
|
|
1969
|
+
className: "DatabasesForceLinkToReplicationGroupHeaders",
|
|
1970
|
+
modelProperties: {
|
|
1971
|
+
location: {
|
|
1972
|
+
serializedName: "location",
|
|
1973
|
+
type: {
|
|
1974
|
+
name: "String",
|
|
1975
|
+
},
|
|
1976
|
+
},
|
|
1977
|
+
azureAsyncOperation: {
|
|
1978
|
+
serializedName: "azure-asyncoperation",
|
|
1979
|
+
type: {
|
|
1980
|
+
name: "String",
|
|
1981
|
+
},
|
|
1982
|
+
},
|
|
1983
|
+
},
|
|
1984
|
+
},
|
|
1985
|
+
};
|
|
1986
|
+
const DatabasesFlushHeaders = {
|
|
1987
|
+
type: {
|
|
1988
|
+
name: "Composite",
|
|
1989
|
+
className: "DatabasesFlushHeaders",
|
|
1990
|
+
modelProperties: {
|
|
1991
|
+
location: {
|
|
1992
|
+
serializedName: "location",
|
|
1993
|
+
type: {
|
|
1994
|
+
name: "String",
|
|
1995
|
+
},
|
|
1996
|
+
},
|
|
1997
|
+
azureAsyncOperation: {
|
|
1998
|
+
serializedName: "azure-asyncoperation",
|
|
1999
|
+
type: {
|
|
2000
|
+
name: "String",
|
|
2001
|
+
},
|
|
2002
|
+
},
|
|
2003
|
+
},
|
|
2004
|
+
},
|
|
2005
|
+
};
|
|
2006
|
+
const DatabasesUpgradeDBRedisVersionHeaders = {
|
|
2007
|
+
type: {
|
|
2008
|
+
name: "Composite",
|
|
2009
|
+
className: "DatabasesUpgradeDBRedisVersionHeaders",
|
|
2010
|
+
modelProperties: {
|
|
2011
|
+
location: {
|
|
2012
|
+
serializedName: "location",
|
|
2013
|
+
type: {
|
|
2014
|
+
name: "String",
|
|
2015
|
+
},
|
|
2016
|
+
},
|
|
2017
|
+
azureAsyncOperation: {
|
|
2018
|
+
serializedName: "azure-asyncoperation",
|
|
2019
|
+
type: {
|
|
2020
|
+
name: "String",
|
|
2021
|
+
},
|
|
2022
|
+
},
|
|
2023
|
+
},
|
|
2024
|
+
},
|
|
2025
|
+
};
|
|
2026
|
+
const AccessPolicyAssignmentDeleteHeaders = {
|
|
2027
|
+
type: {
|
|
2028
|
+
name: "Composite",
|
|
2029
|
+
className: "AccessPolicyAssignmentDeleteHeaders",
|
|
2030
|
+
modelProperties: {
|
|
2031
|
+
location: {
|
|
2032
|
+
serializedName: "location",
|
|
2033
|
+
type: {
|
|
2034
|
+
name: "String",
|
|
2035
|
+
},
|
|
2036
|
+
},
|
|
2037
|
+
azureAsyncOperation: {
|
|
2038
|
+
serializedName: "azure-asyncoperation",
|
|
2039
|
+
type: {
|
|
2040
|
+
name: "String",
|
|
2041
|
+
},
|
|
2042
|
+
},
|
|
2043
|
+
},
|
|
2044
|
+
},
|
|
2045
|
+
};
|
|
2046
|
+
const PrivateEndpointConnectionsDeleteHeaders = {
|
|
2047
|
+
type: {
|
|
2048
|
+
name: "Composite",
|
|
2049
|
+
className: "PrivateEndpointConnectionsDeleteHeaders",
|
|
2050
|
+
modelProperties: {
|
|
2051
|
+
location: {
|
|
2052
|
+
serializedName: "location",
|
|
2053
|
+
type: {
|
|
2054
|
+
name: "String",
|
|
2055
|
+
},
|
|
2056
|
+
},
|
|
2057
|
+
azureAsyncOperation: {
|
|
2058
|
+
serializedName: "azure-asyncoperation",
|
|
2059
|
+
type: {
|
|
2060
|
+
name: "String",
|
|
2061
|
+
},
|
|
2062
|
+
},
|
|
2063
|
+
},
|
|
2064
|
+
},
|
|
2065
|
+
};
|
|
2066
|
+
|
|
2067
|
+
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2068
|
+
__proto__: null,
|
|
2069
|
+
AccessKeys: AccessKeys,
|
|
2070
|
+
AccessPolicyAssignment: AccessPolicyAssignment,
|
|
2071
|
+
AccessPolicyAssignmentDeleteHeaders: AccessPolicyAssignmentDeleteHeaders,
|
|
2072
|
+
AccessPolicyAssignmentList: AccessPolicyAssignmentList,
|
|
2073
|
+
AccessPolicyAssignmentPropertiesUser: AccessPolicyAssignmentPropertiesUser,
|
|
2074
|
+
Cluster: Cluster,
|
|
2075
|
+
ClusterList: ClusterList,
|
|
2076
|
+
ClusterPropertiesEncryption: ClusterPropertiesEncryption,
|
|
2077
|
+
ClusterPropertiesEncryptionCustomerManagedKeyEncryption: ClusterPropertiesEncryptionCustomerManagedKeyEncryption,
|
|
2078
|
+
ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity: ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity,
|
|
2079
|
+
ClusterUpdate: ClusterUpdate,
|
|
2080
|
+
Database: Database,
|
|
2081
|
+
DatabaseList: DatabaseList,
|
|
2082
|
+
DatabasePropertiesGeoReplication: DatabasePropertiesGeoReplication,
|
|
2083
|
+
DatabaseUpdate: DatabaseUpdate,
|
|
2084
|
+
DatabasesDeleteHeaders: DatabasesDeleteHeaders,
|
|
2085
|
+
DatabasesExportHeaders: DatabasesExportHeaders,
|
|
2086
|
+
DatabasesFlushHeaders: DatabasesFlushHeaders,
|
|
2087
|
+
DatabasesForceLinkToReplicationGroupHeaders: DatabasesForceLinkToReplicationGroupHeaders,
|
|
2088
|
+
DatabasesForceUnlinkHeaders: DatabasesForceUnlinkHeaders,
|
|
2089
|
+
DatabasesImportHeaders: DatabasesImportHeaders,
|
|
2090
|
+
DatabasesRegenerateKeyHeaders: DatabasesRegenerateKeyHeaders,
|
|
2091
|
+
DatabasesUpdateHeaders: DatabasesUpdateHeaders,
|
|
2092
|
+
DatabasesUpgradeDBRedisVersionHeaders: DatabasesUpgradeDBRedisVersionHeaders,
|
|
2093
|
+
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2094
|
+
ErrorDetail: ErrorDetail,
|
|
2095
|
+
ErrorResponse: ErrorResponse,
|
|
2096
|
+
ExportClusterParameters: ExportClusterParameters,
|
|
2097
|
+
FlushParameters: FlushParameters,
|
|
2098
|
+
ForceLinkParameters: ForceLinkParameters,
|
|
2099
|
+
ForceUnlinkParameters: ForceUnlinkParameters,
|
|
2100
|
+
ImportClusterParameters: ImportClusterParameters,
|
|
2101
|
+
LinkedDatabase: LinkedDatabase,
|
|
2102
|
+
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
2103
|
+
Module: Module,
|
|
2104
|
+
Operation: Operation,
|
|
2105
|
+
OperationDisplay: OperationDisplay,
|
|
2106
|
+
OperationListResult: OperationListResult,
|
|
2107
|
+
OperationStatus: OperationStatus,
|
|
2108
|
+
Persistence: Persistence,
|
|
2109
|
+
PrivateEndpoint: PrivateEndpoint,
|
|
2110
|
+
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2111
|
+
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
2112
|
+
PrivateEndpointConnectionsDeleteHeaders: PrivateEndpointConnectionsDeleteHeaders,
|
|
2113
|
+
PrivateLinkResource: PrivateLinkResource,
|
|
2114
|
+
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
2115
|
+
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
2116
|
+
ProxyResource: ProxyResource,
|
|
2117
|
+
ProxyResourceAutoGenerated: ProxyResourceAutoGenerated,
|
|
2118
|
+
RedisEnterpriseDeleteHeaders: RedisEnterpriseDeleteHeaders,
|
|
2119
|
+
RedisEnterpriseUpdateHeaders: RedisEnterpriseUpdateHeaders,
|
|
2120
|
+
RegenerateKeyParameters: RegenerateKeyParameters,
|
|
2121
|
+
Resource: Resource,
|
|
2122
|
+
ResourceAutoGenerated: ResourceAutoGenerated,
|
|
2123
|
+
Sku: Sku,
|
|
2124
|
+
SystemData: SystemData,
|
|
2125
|
+
TrackedResource: TrackedResource,
|
|
2126
|
+
UserAssignedIdentity: UserAssignedIdentity
|
|
2127
|
+
});
|
|
2128
|
+
|
|
2129
|
+
/*
|
|
2130
|
+
* Copyright (c) Microsoft Corporation.
|
|
2131
|
+
* Licensed under the MIT License.
|
|
2132
|
+
*
|
|
2133
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2134
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2135
|
+
*/
|
|
2136
|
+
const accept = {
|
|
2137
|
+
parameterPath: "accept",
|
|
2138
|
+
mapper: {
|
|
2139
|
+
defaultValue: "application/json",
|
|
2140
|
+
isConstant: true,
|
|
2141
|
+
serializedName: "Accept",
|
|
2142
|
+
type: {
|
|
2143
|
+
name: "String",
|
|
2144
|
+
},
|
|
2145
|
+
},
|
|
2146
|
+
};
|
|
2147
|
+
const $host = {
|
|
2148
|
+
parameterPath: "$host",
|
|
2149
|
+
mapper: {
|
|
2150
|
+
serializedName: "$host",
|
|
2151
|
+
required: true,
|
|
2152
|
+
type: {
|
|
2153
|
+
name: "String",
|
|
2154
|
+
},
|
|
2155
|
+
},
|
|
2156
|
+
skipEncoding: true,
|
|
2157
|
+
};
|
|
2158
|
+
const apiVersion = {
|
|
2159
|
+
parameterPath: "apiVersion",
|
|
2160
|
+
mapper: {
|
|
2161
|
+
defaultValue: "2024-09-01-preview",
|
|
1645
2162
|
isConstant: true,
|
|
1646
2163
|
serializedName: "api-version",
|
|
1647
2164
|
type: {
|
|
@@ -1790,6 +2307,23 @@ const parameters9 = {
|
|
|
1790
2307
|
parameterPath: "parameters",
|
|
1791
2308
|
mapper: FlushParameters,
|
|
1792
2309
|
};
|
|
2310
|
+
const parameters10 = {
|
|
2311
|
+
parameterPath: "parameters",
|
|
2312
|
+
mapper: AccessPolicyAssignment,
|
|
2313
|
+
};
|
|
2314
|
+
const accessPolicyAssignmentName = {
|
|
2315
|
+
parameterPath: "accessPolicyAssignmentName",
|
|
2316
|
+
mapper: {
|
|
2317
|
+
constraints: {
|
|
2318
|
+
Pattern: new RegExp("^[A-Za-z0-9]{1,60}$"),
|
|
2319
|
+
},
|
|
2320
|
+
serializedName: "accessPolicyAssignmentName",
|
|
2321
|
+
required: true,
|
|
2322
|
+
type: {
|
|
2323
|
+
name: "String",
|
|
2324
|
+
},
|
|
2325
|
+
},
|
|
2326
|
+
};
|
|
1793
2327
|
const privateEndpointConnectionName = {
|
|
1794
2328
|
parameterPath: "privateEndpointConnectionName",
|
|
1795
2329
|
mapper: {
|
|
@@ -1888,7 +2422,7 @@ class OperationsImpl {
|
|
|
1888
2422
|
* @param options The options parameters.
|
|
1889
2423
|
*/
|
|
1890
2424
|
_list(options) {
|
|
1891
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
2425
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$3);
|
|
1892
2426
|
}
|
|
1893
2427
|
/**
|
|
1894
2428
|
* ListNext
|
|
@@ -1896,12 +2430,12 @@ class OperationsImpl {
|
|
|
1896
2430
|
* @param options The options parameters.
|
|
1897
2431
|
*/
|
|
1898
2432
|
_listNext(nextLink, options) {
|
|
1899
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$
|
|
2433
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$2);
|
|
1900
2434
|
}
|
|
1901
2435
|
}
|
|
1902
2436
|
// Operation Specifications
|
|
1903
|
-
const serializer$
|
|
1904
|
-
const listOperationSpec$
|
|
2437
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2438
|
+
const listOperationSpec$3 = {
|
|
1905
2439
|
path: "/providers/Microsoft.Cache/operations",
|
|
1906
2440
|
httpMethod: "GET",
|
|
1907
2441
|
responses: {
|
|
@@ -1915,9 +2449,9 @@ const listOperationSpec$2 = {
|
|
|
1915
2449
|
queryParameters: [apiVersion],
|
|
1916
2450
|
urlParameters: [$host],
|
|
1917
2451
|
headerParameters: [accept],
|
|
1918
|
-
serializer: serializer$
|
|
2452
|
+
serializer: serializer$6,
|
|
1919
2453
|
};
|
|
1920
|
-
const listNextOperationSpec$
|
|
2454
|
+
const listNextOperationSpec$2 = {
|
|
1921
2455
|
path: "{nextLink}",
|
|
1922
2456
|
httpMethod: "GET",
|
|
1923
2457
|
responses: {
|
|
@@ -1930,7 +2464,7 @@ const listNextOperationSpec$1 = {
|
|
|
1930
2464
|
},
|
|
1931
2465
|
urlParameters: [$host, nextLink],
|
|
1932
2466
|
headerParameters: [accept],
|
|
1933
|
-
serializer: serializer$
|
|
2467
|
+
serializer: serializer$6,
|
|
1934
2468
|
};
|
|
1935
2469
|
|
|
1936
2470
|
/*
|
|
@@ -1956,12 +2490,12 @@ class OperationsStatusImpl {
|
|
|
1956
2490
|
* @param options The options parameters.
|
|
1957
2491
|
*/
|
|
1958
2492
|
get(location, operationId, options) {
|
|
1959
|
-
return this.client.sendOperationRequest({ location, operationId, options }, getOperationSpec$
|
|
2493
|
+
return this.client.sendOperationRequest({ location, operationId, options }, getOperationSpec$4);
|
|
1960
2494
|
}
|
|
1961
2495
|
}
|
|
1962
2496
|
// Operation Specifications
|
|
1963
|
-
const serializer$
|
|
1964
|
-
const getOperationSpec$
|
|
2497
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2498
|
+
const getOperationSpec$4 = {
|
|
1965
2499
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/operationsStatus/{operationId}",
|
|
1966
2500
|
httpMethod: "GET",
|
|
1967
2501
|
responses: {
|
|
@@ -1980,7 +2514,7 @@ const getOperationSpec$3 = {
|
|
|
1980
2514
|
subscriptionId,
|
|
1981
2515
|
],
|
|
1982
2516
|
headerParameters: [accept],
|
|
1983
|
-
serializer: serializer$
|
|
2517
|
+
serializer: serializer$5,
|
|
1984
2518
|
};
|
|
1985
2519
|
|
|
1986
2520
|
/*
|
|
@@ -2021,7 +2555,7 @@ class RedisEnterpriseImpl {
|
|
|
2021
2555
|
this.client = client;
|
|
2022
2556
|
}
|
|
2023
2557
|
/**
|
|
2024
|
-
* Lists all
|
|
2558
|
+
* Lists all Redis Enterprise clusters in a resource group.
|
|
2025
2559
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2026
2560
|
* @param options The options parameters.
|
|
2027
2561
|
*/
|
|
@@ -2083,7 +2617,7 @@ class RedisEnterpriseImpl {
|
|
|
2083
2617
|
});
|
|
2084
2618
|
}
|
|
2085
2619
|
/**
|
|
2086
|
-
*
|
|
2620
|
+
* Lists all Redis Enterprise clusters in the specified subscription.
|
|
2087
2621
|
* @param options The options parameters.
|
|
2088
2622
|
*/
|
|
2089
2623
|
list(options) {
|
|
@@ -2147,7 +2681,7 @@ class RedisEnterpriseImpl {
|
|
|
2147
2681
|
* Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
|
|
2148
2682
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2149
2683
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2150
|
-
* @param parameters Parameters supplied to the Create
|
|
2684
|
+
* @param parameters Parameters supplied to the Create Redis Enterprise operation.
|
|
2151
2685
|
* @param options The options parameters.
|
|
2152
2686
|
*/
|
|
2153
2687
|
beginCreate(resourceGroupName, clusterName, parameters, options) {
|
|
@@ -2192,7 +2726,7 @@ class RedisEnterpriseImpl {
|
|
|
2192
2726
|
* Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
|
|
2193
2727
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2194
2728
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2195
|
-
* @param parameters Parameters supplied to the Create
|
|
2729
|
+
* @param parameters Parameters supplied to the Create Redis Enterprise operation.
|
|
2196
2730
|
* @param options The options parameters.
|
|
2197
2731
|
*/
|
|
2198
2732
|
beginCreateAndWait(resourceGroupName, clusterName, parameters, options) {
|
|
@@ -2202,10 +2736,10 @@ class RedisEnterpriseImpl {
|
|
|
2202
2736
|
});
|
|
2203
2737
|
}
|
|
2204
2738
|
/**
|
|
2205
|
-
* Updates an existing
|
|
2739
|
+
* Updates an existing Redis Enterprise cluster
|
|
2206
2740
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2207
2741
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2208
|
-
* @param parameters Parameters supplied to the Update
|
|
2742
|
+
* @param parameters Parameters supplied to the Update Redis Enterprise operation.
|
|
2209
2743
|
* @param options The options parameters.
|
|
2210
2744
|
*/
|
|
2211
2745
|
beginUpdate(resourceGroupName, clusterName, parameters, options) {
|
|
@@ -2247,10 +2781,10 @@ class RedisEnterpriseImpl {
|
|
|
2247
2781
|
});
|
|
2248
2782
|
}
|
|
2249
2783
|
/**
|
|
2250
|
-
* Updates an existing
|
|
2784
|
+
* Updates an existing Redis Enterprise cluster
|
|
2251
2785
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2252
2786
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2253
|
-
* @param parameters Parameters supplied to the Update
|
|
2787
|
+
* @param parameters Parameters supplied to the Update Redis Enterprise operation.
|
|
2254
2788
|
* @param options The options parameters.
|
|
2255
2789
|
*/
|
|
2256
2790
|
beginUpdateAndWait(resourceGroupName, clusterName, parameters, options) {
|
|
@@ -2260,7 +2794,7 @@ class RedisEnterpriseImpl {
|
|
|
2260
2794
|
});
|
|
2261
2795
|
}
|
|
2262
2796
|
/**
|
|
2263
|
-
* Deletes a
|
|
2797
|
+
* Deletes a Redis Enterprise cache cluster.
|
|
2264
2798
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2265
2799
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2266
2800
|
* @param options The options parameters.
|
|
@@ -2292,7 +2826,7 @@ class RedisEnterpriseImpl {
|
|
|
2292
2826
|
const lro = createLroSpec({
|
|
2293
2827
|
sendOperationFn,
|
|
2294
2828
|
args: { resourceGroupName, clusterName, options },
|
|
2295
|
-
spec: deleteOperationSpec$
|
|
2829
|
+
spec: deleteOperationSpec$3,
|
|
2296
2830
|
});
|
|
2297
2831
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2298
2832
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
@@ -2304,7 +2838,7 @@ class RedisEnterpriseImpl {
|
|
|
2304
2838
|
});
|
|
2305
2839
|
}
|
|
2306
2840
|
/**
|
|
2307
|
-
* Deletes a
|
|
2841
|
+
* Deletes a Redis Enterprise cache cluster.
|
|
2308
2842
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2309
2843
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2310
2844
|
* @param options The options parameters.
|
|
@@ -2316,16 +2850,16 @@ class RedisEnterpriseImpl {
|
|
|
2316
2850
|
});
|
|
2317
2851
|
}
|
|
2318
2852
|
/**
|
|
2319
|
-
* Gets information about a
|
|
2853
|
+
* Gets information about a Redis Enterprise cluster
|
|
2320
2854
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2321
2855
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2322
2856
|
* @param options The options parameters.
|
|
2323
2857
|
*/
|
|
2324
2858
|
get(resourceGroupName, clusterName, options) {
|
|
2325
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec$
|
|
2859
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec$3);
|
|
2326
2860
|
}
|
|
2327
2861
|
/**
|
|
2328
|
-
* Lists all
|
|
2862
|
+
* Lists all Redis Enterprise clusters in a resource group.
|
|
2329
2863
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2330
2864
|
* @param options The options parameters.
|
|
2331
2865
|
*/
|
|
@@ -2333,11 +2867,11 @@ class RedisEnterpriseImpl {
|
|
|
2333
2867
|
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
2334
2868
|
}
|
|
2335
2869
|
/**
|
|
2336
|
-
*
|
|
2870
|
+
* Lists all Redis Enterprise clusters in the specified subscription.
|
|
2337
2871
|
* @param options The options parameters.
|
|
2338
2872
|
*/
|
|
2339
2873
|
_list(options) {
|
|
2340
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
2874
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
|
2341
2875
|
}
|
|
2342
2876
|
/**
|
|
2343
2877
|
* ListByResourceGroupNext
|
|
@@ -2354,11 +2888,11 @@ class RedisEnterpriseImpl {
|
|
|
2354
2888
|
* @param options The options parameters.
|
|
2355
2889
|
*/
|
|
2356
2890
|
_listNext(nextLink, options) {
|
|
2357
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
2891
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
|
|
2358
2892
|
}
|
|
2359
2893
|
}
|
|
2360
2894
|
// Operation Specifications
|
|
2361
|
-
const serializer$
|
|
2895
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2362
2896
|
const createOperationSpec$1 = {
|
|
2363
2897
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
2364
2898
|
httpMethod: "PUT",
|
|
@@ -2389,7 +2923,7 @@ const createOperationSpec$1 = {
|
|
|
2389
2923
|
],
|
|
2390
2924
|
headerParameters: [accept, contentType],
|
|
2391
2925
|
mediaType: "json",
|
|
2392
|
-
serializer: serializer$
|
|
2926
|
+
serializer: serializer$4,
|
|
2393
2927
|
};
|
|
2394
2928
|
const updateOperationSpec$1 = {
|
|
2395
2929
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
@@ -2421,9 +2955,9 @@ const updateOperationSpec$1 = {
|
|
|
2421
2955
|
],
|
|
2422
2956
|
headerParameters: [accept, contentType],
|
|
2423
2957
|
mediaType: "json",
|
|
2424
|
-
serializer: serializer$
|
|
2958
|
+
serializer: serializer$4,
|
|
2425
2959
|
};
|
|
2426
|
-
const deleteOperationSpec$
|
|
2960
|
+
const deleteOperationSpec$3 = {
|
|
2427
2961
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
2428
2962
|
httpMethod: "DELETE",
|
|
2429
2963
|
responses: {
|
|
@@ -2443,9 +2977,9 @@ const deleteOperationSpec$2 = {
|
|
|
2443
2977
|
clusterName,
|
|
2444
2978
|
],
|
|
2445
2979
|
headerParameters: [accept],
|
|
2446
|
-
serializer: serializer$
|
|
2980
|
+
serializer: serializer$4,
|
|
2447
2981
|
};
|
|
2448
|
-
const getOperationSpec$
|
|
2982
|
+
const getOperationSpec$3 = {
|
|
2449
2983
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
2450
2984
|
httpMethod: "GET",
|
|
2451
2985
|
responses: {
|
|
@@ -2464,7 +2998,7 @@ const getOperationSpec$2 = {
|
|
|
2464
2998
|
clusterName,
|
|
2465
2999
|
],
|
|
2466
3000
|
headerParameters: [accept],
|
|
2467
|
-
serializer: serializer$
|
|
3001
|
+
serializer: serializer$4,
|
|
2468
3002
|
};
|
|
2469
3003
|
const listByResourceGroupOperationSpec = {
|
|
2470
3004
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise",
|
|
@@ -2484,9 +3018,9 @@ const listByResourceGroupOperationSpec = {
|
|
|
2484
3018
|
resourceGroupName,
|
|
2485
3019
|
],
|
|
2486
3020
|
headerParameters: [accept],
|
|
2487
|
-
serializer: serializer$
|
|
3021
|
+
serializer: serializer$4,
|
|
2488
3022
|
};
|
|
2489
|
-
const listOperationSpec$
|
|
3023
|
+
const listOperationSpec$2 = {
|
|
2490
3024
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise",
|
|
2491
3025
|
httpMethod: "GET",
|
|
2492
3026
|
responses: {
|
|
@@ -2500,7 +3034,7 @@ const listOperationSpec$1 = {
|
|
|
2500
3034
|
queryParameters: [apiVersion],
|
|
2501
3035
|
urlParameters: [$host, subscriptionId],
|
|
2502
3036
|
headerParameters: [accept],
|
|
2503
|
-
serializer: serializer$
|
|
3037
|
+
serializer: serializer$4,
|
|
2504
3038
|
};
|
|
2505
3039
|
const listByResourceGroupNextOperationSpec = {
|
|
2506
3040
|
path: "{nextLink}",
|
|
@@ -2520,9 +3054,9 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
2520
3054
|
resourceGroupName,
|
|
2521
3055
|
],
|
|
2522
3056
|
headerParameters: [accept],
|
|
2523
|
-
serializer: serializer$
|
|
3057
|
+
serializer: serializer$4,
|
|
2524
3058
|
};
|
|
2525
|
-
const listNextOperationSpec = {
|
|
3059
|
+
const listNextOperationSpec$1 = {
|
|
2526
3060
|
path: "{nextLink}",
|
|
2527
3061
|
httpMethod: "GET",
|
|
2528
3062
|
responses: {
|
|
@@ -2539,7 +3073,7 @@ const listNextOperationSpec = {
|
|
|
2539
3073
|
subscriptionId,
|
|
2540
3074
|
],
|
|
2541
3075
|
headerParameters: [accept],
|
|
2542
|
-
serializer: serializer$
|
|
3076
|
+
serializer: serializer$4,
|
|
2543
3077
|
};
|
|
2544
3078
|
|
|
2545
3079
|
/*
|
|
@@ -2560,7 +3094,7 @@ class DatabasesImpl {
|
|
|
2560
3094
|
this.client = client;
|
|
2561
3095
|
}
|
|
2562
3096
|
/**
|
|
2563
|
-
* Gets all databases in the specified
|
|
3097
|
+
* Gets all databases in the specified Redis Enterprise cluster.
|
|
2564
3098
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2565
3099
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2566
3100
|
* @param options The options parameters.
|
|
@@ -2623,7 +3157,7 @@ class DatabasesImpl {
|
|
|
2623
3157
|
});
|
|
2624
3158
|
}
|
|
2625
3159
|
/**
|
|
2626
|
-
* Gets all databases in the specified
|
|
3160
|
+
* Gets all databases in the specified Redis Enterprise cluster.
|
|
2627
3161
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2628
3162
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2629
3163
|
* @param options The options parameters.
|
|
@@ -2764,14 +3298,14 @@ class DatabasesImpl {
|
|
|
2764
3298
|
});
|
|
2765
3299
|
}
|
|
2766
3300
|
/**
|
|
2767
|
-
* Gets information about a database in a
|
|
3301
|
+
* Gets information about a database in a Redis Enterprise cluster.
|
|
2768
3302
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2769
3303
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2770
3304
|
* @param databaseName The name of the Redis Enterprise database.
|
|
2771
3305
|
* @param options The options parameters.
|
|
2772
3306
|
*/
|
|
2773
3307
|
get(resourceGroupName, clusterName, databaseName, options) {
|
|
2774
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, getOperationSpec$
|
|
3308
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, getOperationSpec$2);
|
|
2775
3309
|
}
|
|
2776
3310
|
/**
|
|
2777
3311
|
* Deletes a single database
|
|
@@ -2807,7 +3341,7 @@ class DatabasesImpl {
|
|
|
2807
3341
|
const lro = createLroSpec({
|
|
2808
3342
|
sendOperationFn,
|
|
2809
3343
|
args: { resourceGroupName, clusterName, databaseName, options },
|
|
2810
|
-
spec: deleteOperationSpec$
|
|
3344
|
+
spec: deleteOperationSpec$2,
|
|
2811
3345
|
});
|
|
2812
3346
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2813
3347
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
@@ -2832,7 +3366,7 @@ class DatabasesImpl {
|
|
|
2832
3366
|
});
|
|
2833
3367
|
}
|
|
2834
3368
|
/**
|
|
2835
|
-
* Retrieves the access keys for the
|
|
3369
|
+
* Retrieves the access keys for the Redis Enterprise database.
|
|
2836
3370
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2837
3371
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2838
3372
|
* @param databaseName The name of the Redis Enterprise database.
|
|
@@ -2842,7 +3376,7 @@ class DatabasesImpl {
|
|
|
2842
3376
|
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, listKeysOperationSpec);
|
|
2843
3377
|
}
|
|
2844
3378
|
/**
|
|
2845
|
-
* Regenerates the
|
|
3379
|
+
* Regenerates the Redis Enterprise database's access keys.
|
|
2846
3380
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2847
3381
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2848
3382
|
* @param databaseName The name of the Redis Enterprise database.
|
|
@@ -2894,7 +3428,7 @@ class DatabasesImpl {
|
|
|
2894
3428
|
});
|
|
2895
3429
|
}
|
|
2896
3430
|
/**
|
|
2897
|
-
* Regenerates the
|
|
3431
|
+
* Regenerates the Redis Enterprise database's access keys.
|
|
2898
3432
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2899
3433
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
2900
3434
|
* @param databaseName The name of the Redis Enterprise database.
|
|
@@ -3311,7 +3845,7 @@ class DatabasesImpl {
|
|
|
3311
3845
|
}
|
|
3312
3846
|
}
|
|
3313
3847
|
// Operation Specifications
|
|
3314
|
-
const serializer$
|
|
3848
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3315
3849
|
const listByClusterOperationSpec$1 = {
|
|
3316
3850
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases",
|
|
3317
3851
|
httpMethod: "GET",
|
|
@@ -3331,7 +3865,7 @@ const listByClusterOperationSpec$1 = {
|
|
|
3331
3865
|
clusterName,
|
|
3332
3866
|
],
|
|
3333
3867
|
headerParameters: [accept],
|
|
3334
|
-
serializer: serializer$
|
|
3868
|
+
serializer: serializer$3,
|
|
3335
3869
|
};
|
|
3336
3870
|
const createOperationSpec = {
|
|
3337
3871
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3364,7 +3898,7 @@ const createOperationSpec = {
|
|
|
3364
3898
|
],
|
|
3365
3899
|
headerParameters: [accept, contentType],
|
|
3366
3900
|
mediaType: "json",
|
|
3367
|
-
serializer: serializer$
|
|
3901
|
+
serializer: serializer$3,
|
|
3368
3902
|
};
|
|
3369
3903
|
const updateOperationSpec = {
|
|
3370
3904
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3397,9 +3931,9 @@ const updateOperationSpec = {
|
|
|
3397
3931
|
],
|
|
3398
3932
|
headerParameters: [accept, contentType],
|
|
3399
3933
|
mediaType: "json",
|
|
3400
|
-
serializer: serializer$
|
|
3934
|
+
serializer: serializer$3,
|
|
3401
3935
|
};
|
|
3402
|
-
const getOperationSpec$
|
|
3936
|
+
const getOperationSpec$2 = {
|
|
3403
3937
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
3404
3938
|
httpMethod: "GET",
|
|
3405
3939
|
responses: {
|
|
@@ -3419,9 +3953,9 @@ const getOperationSpec$1 = {
|
|
|
3419
3953
|
databaseName,
|
|
3420
3954
|
],
|
|
3421
3955
|
headerParameters: [accept],
|
|
3422
|
-
serializer: serializer$
|
|
3956
|
+
serializer: serializer$3,
|
|
3423
3957
|
};
|
|
3424
|
-
const deleteOperationSpec$
|
|
3958
|
+
const deleteOperationSpec$2 = {
|
|
3425
3959
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
3426
3960
|
httpMethod: "DELETE",
|
|
3427
3961
|
responses: {
|
|
@@ -3442,7 +3976,7 @@ const deleteOperationSpec$1 = {
|
|
|
3442
3976
|
databaseName,
|
|
3443
3977
|
],
|
|
3444
3978
|
headerParameters: [accept],
|
|
3445
|
-
serializer: serializer$
|
|
3979
|
+
serializer: serializer$3,
|
|
3446
3980
|
};
|
|
3447
3981
|
const listKeysOperationSpec = {
|
|
3448
3982
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/listKeys",
|
|
@@ -3464,7 +3998,7 @@ const listKeysOperationSpec = {
|
|
|
3464
3998
|
databaseName,
|
|
3465
3999
|
],
|
|
3466
4000
|
headerParameters: [accept],
|
|
3467
|
-
serializer: serializer$
|
|
4001
|
+
serializer: serializer$3,
|
|
3468
4002
|
};
|
|
3469
4003
|
const regenerateKeyOperationSpec = {
|
|
3470
4004
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/regenerateKey",
|
|
@@ -3497,7 +4031,7 @@ const regenerateKeyOperationSpec = {
|
|
|
3497
4031
|
],
|
|
3498
4032
|
headerParameters: [accept, contentType],
|
|
3499
4033
|
mediaType: "json",
|
|
3500
|
-
serializer: serializer$
|
|
4034
|
+
serializer: serializer$3,
|
|
3501
4035
|
};
|
|
3502
4036
|
const importOperationSpec = {
|
|
3503
4037
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/import",
|
|
@@ -3522,7 +4056,7 @@ const importOperationSpec = {
|
|
|
3522
4056
|
],
|
|
3523
4057
|
headerParameters: [accept, contentType],
|
|
3524
4058
|
mediaType: "json",
|
|
3525
|
-
serializer: serializer$
|
|
4059
|
+
serializer: serializer$3,
|
|
3526
4060
|
};
|
|
3527
4061
|
const exportOperationSpec = {
|
|
3528
4062
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/export",
|
|
@@ -3547,7 +4081,7 @@ const exportOperationSpec = {
|
|
|
3547
4081
|
],
|
|
3548
4082
|
headerParameters: [accept, contentType],
|
|
3549
4083
|
mediaType: "json",
|
|
3550
|
-
serializer: serializer$
|
|
4084
|
+
serializer: serializer$3,
|
|
3551
4085
|
};
|
|
3552
4086
|
const forceUnlinkOperationSpec = {
|
|
3553
4087
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceUnlink",
|
|
@@ -3572,7 +4106,7 @@ const forceUnlinkOperationSpec = {
|
|
|
3572
4106
|
],
|
|
3573
4107
|
headerParameters: [accept, contentType],
|
|
3574
4108
|
mediaType: "json",
|
|
3575
|
-
serializer: serializer$
|
|
4109
|
+
serializer: serializer$3,
|
|
3576
4110
|
};
|
|
3577
4111
|
const forceLinkToReplicationGroupOperationSpec = {
|
|
3578
4112
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceLinkToReplicationGroup",
|
|
@@ -3605,7 +4139,7 @@ const forceLinkToReplicationGroupOperationSpec = {
|
|
|
3605
4139
|
],
|
|
3606
4140
|
headerParameters: [accept, contentType],
|
|
3607
4141
|
mediaType: "json",
|
|
3608
|
-
serializer: serializer$
|
|
4142
|
+
serializer: serializer$3,
|
|
3609
4143
|
};
|
|
3610
4144
|
const flushOperationSpec = {
|
|
3611
4145
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/flush",
|
|
@@ -3630,7 +4164,7 @@ const flushOperationSpec = {
|
|
|
3630
4164
|
],
|
|
3631
4165
|
headerParameters: [accept, contentType],
|
|
3632
4166
|
mediaType: "json",
|
|
3633
|
-
serializer: serializer$
|
|
4167
|
+
serializer: serializer$3,
|
|
3634
4168
|
};
|
|
3635
4169
|
const upgradeDBRedisVersionOperationSpec = {
|
|
3636
4170
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/upgradeDBRedisVersion",
|
|
@@ -3661,7 +4195,7 @@ const upgradeDBRedisVersionOperationSpec = {
|
|
|
3661
4195
|
databaseName,
|
|
3662
4196
|
],
|
|
3663
4197
|
headerParameters: [accept],
|
|
3664
|
-
serializer: serializer$
|
|
4198
|
+
serializer: serializer$3,
|
|
3665
4199
|
};
|
|
3666
4200
|
const listByClusterNextOperationSpec = {
|
|
3667
4201
|
path: "{nextLink}",
|
|
@@ -3682,6 +4216,402 @@ const listByClusterNextOperationSpec = {
|
|
|
3682
4216
|
clusterName,
|
|
3683
4217
|
],
|
|
3684
4218
|
headerParameters: [accept],
|
|
4219
|
+
serializer: serializer$3,
|
|
4220
|
+
};
|
|
4221
|
+
|
|
4222
|
+
/*
|
|
4223
|
+
* Copyright (c) Microsoft Corporation.
|
|
4224
|
+
* Licensed under the MIT License.
|
|
4225
|
+
*
|
|
4226
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4227
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4228
|
+
*/
|
|
4229
|
+
/// <reference lib="esnext.asynciterable" />
|
|
4230
|
+
/** Class containing AccessPolicyAssignmentOperations operations. */
|
|
4231
|
+
class AccessPolicyAssignmentOperationsImpl {
|
|
4232
|
+
/**
|
|
4233
|
+
* Initialize a new instance of the class AccessPolicyAssignmentOperations class.
|
|
4234
|
+
* @param client Reference to the service client
|
|
4235
|
+
*/
|
|
4236
|
+
constructor(client) {
|
|
4237
|
+
this.client = client;
|
|
4238
|
+
}
|
|
4239
|
+
/**
|
|
4240
|
+
* Gets all access policy assignments..
|
|
4241
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4242
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4243
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
4244
|
+
* @param options The options parameters.
|
|
4245
|
+
*/
|
|
4246
|
+
list(resourceGroupName, clusterName, databaseName, options) {
|
|
4247
|
+
const iter = this.listPagingAll(resourceGroupName, clusterName, databaseName, options);
|
|
4248
|
+
return {
|
|
4249
|
+
next() {
|
|
4250
|
+
return iter.next();
|
|
4251
|
+
},
|
|
4252
|
+
[Symbol.asyncIterator]() {
|
|
4253
|
+
return this;
|
|
4254
|
+
},
|
|
4255
|
+
byPage: (settings) => {
|
|
4256
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4257
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4258
|
+
}
|
|
4259
|
+
return this.listPagingPage(resourceGroupName, clusterName, databaseName, options, settings);
|
|
4260
|
+
},
|
|
4261
|
+
};
|
|
4262
|
+
}
|
|
4263
|
+
listPagingPage(resourceGroupName, clusterName, databaseName, options, settings) {
|
|
4264
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
4265
|
+
let result;
|
|
4266
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4267
|
+
if (!continuationToken) {
|
|
4268
|
+
result = yield tslib.__await(this._list(resourceGroupName, clusterName, databaseName, options));
|
|
4269
|
+
let page = result.value || [];
|
|
4270
|
+
continuationToken = result.nextLink;
|
|
4271
|
+
setContinuationToken(page, continuationToken);
|
|
4272
|
+
yield yield tslib.__await(page);
|
|
4273
|
+
}
|
|
4274
|
+
while (continuationToken) {
|
|
4275
|
+
result = yield tslib.__await(this._listNext(resourceGroupName, clusterName, databaseName, continuationToken, options));
|
|
4276
|
+
continuationToken = result.nextLink;
|
|
4277
|
+
let page = result.value || [];
|
|
4278
|
+
setContinuationToken(page, continuationToken);
|
|
4279
|
+
yield yield tslib.__await(page);
|
|
4280
|
+
}
|
|
4281
|
+
});
|
|
4282
|
+
}
|
|
4283
|
+
listPagingAll(resourceGroupName, clusterName, databaseName, options) {
|
|
4284
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
4285
|
+
var _a, e_1, _b, _c;
|
|
4286
|
+
try {
|
|
4287
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, clusterName, databaseName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4288
|
+
_c = _f.value;
|
|
4289
|
+
_d = false;
|
|
4290
|
+
const page = _c;
|
|
4291
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4292
|
+
}
|
|
4293
|
+
}
|
|
4294
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4295
|
+
finally {
|
|
4296
|
+
try {
|
|
4297
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4298
|
+
}
|
|
4299
|
+
finally { if (e_1) throw e_1.error; }
|
|
4300
|
+
}
|
|
4301
|
+
});
|
|
4302
|
+
}
|
|
4303
|
+
/**
|
|
4304
|
+
* Creates/Updates a particular access policy assignment for a database
|
|
4305
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4306
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4307
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
4308
|
+
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
4309
|
+
* assignment.
|
|
4310
|
+
* @param parameters Parameters supplied to the create access policy assignment for database.
|
|
4311
|
+
* @param options The options parameters.
|
|
4312
|
+
*/
|
|
4313
|
+
beginCreateUpdate(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options) {
|
|
4314
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4315
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4316
|
+
return this.client.sendOperationRequest(args, spec);
|
|
4317
|
+
});
|
|
4318
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4319
|
+
var _a;
|
|
4320
|
+
let currentRawResponse = undefined;
|
|
4321
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
4322
|
+
const callback = (rawResponse, flatResponse) => {
|
|
4323
|
+
currentRawResponse = rawResponse;
|
|
4324
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
4325
|
+
};
|
|
4326
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
4327
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
4328
|
+
return {
|
|
4329
|
+
flatResponse,
|
|
4330
|
+
rawResponse: {
|
|
4331
|
+
statusCode: currentRawResponse.status,
|
|
4332
|
+
body: currentRawResponse.parsedBody,
|
|
4333
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4334
|
+
},
|
|
4335
|
+
};
|
|
4336
|
+
});
|
|
4337
|
+
const lro = createLroSpec({
|
|
4338
|
+
sendOperationFn,
|
|
4339
|
+
args: {
|
|
4340
|
+
resourceGroupName,
|
|
4341
|
+
clusterName,
|
|
4342
|
+
databaseName,
|
|
4343
|
+
accessPolicyAssignmentName,
|
|
4344
|
+
parameters,
|
|
4345
|
+
options,
|
|
4346
|
+
},
|
|
4347
|
+
spec: createUpdateOperationSpec,
|
|
4348
|
+
});
|
|
4349
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4350
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4351
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4352
|
+
resourceLocationConfig: "original-uri",
|
|
4353
|
+
});
|
|
4354
|
+
yield poller.poll();
|
|
4355
|
+
return poller;
|
|
4356
|
+
});
|
|
4357
|
+
}
|
|
4358
|
+
/**
|
|
4359
|
+
* Creates/Updates a particular access policy assignment for a database
|
|
4360
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4361
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4362
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
4363
|
+
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
4364
|
+
* assignment.
|
|
4365
|
+
* @param parameters Parameters supplied to the create access policy assignment for database.
|
|
4366
|
+
* @param options The options parameters.
|
|
4367
|
+
*/
|
|
4368
|
+
beginCreateUpdateAndWait(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options) {
|
|
4369
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4370
|
+
const poller = yield this.beginCreateUpdate(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, parameters, options);
|
|
4371
|
+
return poller.pollUntilDone();
|
|
4372
|
+
});
|
|
4373
|
+
}
|
|
4374
|
+
/**
|
|
4375
|
+
* Gets information about access policy assignment for database.
|
|
4376
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4377
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4378
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
4379
|
+
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
4380
|
+
* assignment.
|
|
4381
|
+
* @param options The options parameters.
|
|
4382
|
+
*/
|
|
4383
|
+
get(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
|
|
4384
|
+
return this.client.sendOperationRequest({
|
|
4385
|
+
resourceGroupName,
|
|
4386
|
+
clusterName,
|
|
4387
|
+
databaseName,
|
|
4388
|
+
accessPolicyAssignmentName,
|
|
4389
|
+
options,
|
|
4390
|
+
}, getOperationSpec$1);
|
|
4391
|
+
}
|
|
4392
|
+
/**
|
|
4393
|
+
* Deletes a single access policy assignment.
|
|
4394
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4395
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4396
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
4397
|
+
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
4398
|
+
* assignment.
|
|
4399
|
+
* @param options The options parameters.
|
|
4400
|
+
*/
|
|
4401
|
+
beginDelete(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
|
|
4402
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4403
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4404
|
+
return this.client.sendOperationRequest(args, spec);
|
|
4405
|
+
});
|
|
4406
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4407
|
+
var _a;
|
|
4408
|
+
let currentRawResponse = undefined;
|
|
4409
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
4410
|
+
const callback = (rawResponse, flatResponse) => {
|
|
4411
|
+
currentRawResponse = rawResponse;
|
|
4412
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
4413
|
+
};
|
|
4414
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
4415
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
4416
|
+
return {
|
|
4417
|
+
flatResponse,
|
|
4418
|
+
rawResponse: {
|
|
4419
|
+
statusCode: currentRawResponse.status,
|
|
4420
|
+
body: currentRawResponse.parsedBody,
|
|
4421
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4422
|
+
},
|
|
4423
|
+
};
|
|
4424
|
+
});
|
|
4425
|
+
const lro = createLroSpec({
|
|
4426
|
+
sendOperationFn,
|
|
4427
|
+
args: {
|
|
4428
|
+
resourceGroupName,
|
|
4429
|
+
clusterName,
|
|
4430
|
+
databaseName,
|
|
4431
|
+
accessPolicyAssignmentName,
|
|
4432
|
+
options,
|
|
4433
|
+
},
|
|
4434
|
+
spec: deleteOperationSpec$1,
|
|
4435
|
+
});
|
|
4436
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4437
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4438
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4439
|
+
resourceLocationConfig: "azure-async-operation",
|
|
4440
|
+
});
|
|
4441
|
+
yield poller.poll();
|
|
4442
|
+
return poller;
|
|
4443
|
+
});
|
|
4444
|
+
}
|
|
4445
|
+
/**
|
|
4446
|
+
* Deletes a single access policy assignment.
|
|
4447
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4448
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4449
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
4450
|
+
* @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
|
|
4451
|
+
* assignment.
|
|
4452
|
+
* @param options The options parameters.
|
|
4453
|
+
*/
|
|
4454
|
+
beginDeleteAndWait(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options) {
|
|
4455
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4456
|
+
const poller = yield this.beginDelete(resourceGroupName, clusterName, databaseName, accessPolicyAssignmentName, options);
|
|
4457
|
+
return poller.pollUntilDone();
|
|
4458
|
+
});
|
|
4459
|
+
}
|
|
4460
|
+
/**
|
|
4461
|
+
* Gets all access policy assignments..
|
|
4462
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4463
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4464
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
4465
|
+
* @param options The options parameters.
|
|
4466
|
+
*/
|
|
4467
|
+
_list(resourceGroupName, clusterName, databaseName, options) {
|
|
4468
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, options }, listOperationSpec$1);
|
|
4469
|
+
}
|
|
4470
|
+
/**
|
|
4471
|
+
* ListNext
|
|
4472
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4473
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4474
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
4475
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
4476
|
+
* @param options The options parameters.
|
|
4477
|
+
*/
|
|
4478
|
+
_listNext(resourceGroupName, clusterName, databaseName, nextLink, options) {
|
|
4479
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, databaseName, nextLink, options }, listNextOperationSpec);
|
|
4480
|
+
}
|
|
4481
|
+
}
|
|
4482
|
+
// Operation Specifications
|
|
4483
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4484
|
+
const createUpdateOperationSpec = {
|
|
4485
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}",
|
|
4486
|
+
httpMethod: "PUT",
|
|
4487
|
+
responses: {
|
|
4488
|
+
200: {
|
|
4489
|
+
bodyMapper: AccessPolicyAssignment,
|
|
4490
|
+
},
|
|
4491
|
+
201: {
|
|
4492
|
+
bodyMapper: AccessPolicyAssignment,
|
|
4493
|
+
},
|
|
4494
|
+
202: {
|
|
4495
|
+
bodyMapper: AccessPolicyAssignment,
|
|
4496
|
+
},
|
|
4497
|
+
204: {
|
|
4498
|
+
bodyMapper: AccessPolicyAssignment,
|
|
4499
|
+
},
|
|
4500
|
+
default: {
|
|
4501
|
+
bodyMapper: ErrorResponse,
|
|
4502
|
+
},
|
|
4503
|
+
},
|
|
4504
|
+
requestBody: parameters10,
|
|
4505
|
+
queryParameters: [apiVersion],
|
|
4506
|
+
urlParameters: [
|
|
4507
|
+
$host,
|
|
4508
|
+
subscriptionId,
|
|
4509
|
+
resourceGroupName,
|
|
4510
|
+
clusterName,
|
|
4511
|
+
databaseName,
|
|
4512
|
+
accessPolicyAssignmentName,
|
|
4513
|
+
],
|
|
4514
|
+
headerParameters: [accept, contentType],
|
|
4515
|
+
mediaType: "json",
|
|
4516
|
+
serializer: serializer$2,
|
|
4517
|
+
};
|
|
4518
|
+
const getOperationSpec$1 = {
|
|
4519
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}",
|
|
4520
|
+
httpMethod: "GET",
|
|
4521
|
+
responses: {
|
|
4522
|
+
200: {
|
|
4523
|
+
bodyMapper: AccessPolicyAssignment,
|
|
4524
|
+
},
|
|
4525
|
+
default: {
|
|
4526
|
+
bodyMapper: ErrorResponse,
|
|
4527
|
+
},
|
|
4528
|
+
},
|
|
4529
|
+
queryParameters: [apiVersion],
|
|
4530
|
+
urlParameters: [
|
|
4531
|
+
$host,
|
|
4532
|
+
subscriptionId,
|
|
4533
|
+
resourceGroupName,
|
|
4534
|
+
clusterName,
|
|
4535
|
+
databaseName,
|
|
4536
|
+
accessPolicyAssignmentName,
|
|
4537
|
+
],
|
|
4538
|
+
headerParameters: [accept],
|
|
4539
|
+
serializer: serializer$2,
|
|
4540
|
+
};
|
|
4541
|
+
const deleteOperationSpec$1 = {
|
|
4542
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments/{accessPolicyAssignmentName}",
|
|
4543
|
+
httpMethod: "DELETE",
|
|
4544
|
+
responses: {
|
|
4545
|
+
200: {
|
|
4546
|
+
headersMapper: AccessPolicyAssignmentDeleteHeaders,
|
|
4547
|
+
},
|
|
4548
|
+
201: {
|
|
4549
|
+
headersMapper: AccessPolicyAssignmentDeleteHeaders,
|
|
4550
|
+
},
|
|
4551
|
+
202: {
|
|
4552
|
+
headersMapper: AccessPolicyAssignmentDeleteHeaders,
|
|
4553
|
+
},
|
|
4554
|
+
204: {
|
|
4555
|
+
headersMapper: AccessPolicyAssignmentDeleteHeaders,
|
|
4556
|
+
},
|
|
4557
|
+
default: {
|
|
4558
|
+
bodyMapper: ErrorResponse,
|
|
4559
|
+
},
|
|
4560
|
+
},
|
|
4561
|
+
queryParameters: [apiVersion],
|
|
4562
|
+
urlParameters: [
|
|
4563
|
+
$host,
|
|
4564
|
+
subscriptionId,
|
|
4565
|
+
resourceGroupName,
|
|
4566
|
+
clusterName,
|
|
4567
|
+
databaseName,
|
|
4568
|
+
accessPolicyAssignmentName,
|
|
4569
|
+
],
|
|
4570
|
+
headerParameters: [accept],
|
|
4571
|
+
serializer: serializer$2,
|
|
4572
|
+
};
|
|
4573
|
+
const listOperationSpec$1 = {
|
|
4574
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/accessPolicyAssignments",
|
|
4575
|
+
httpMethod: "GET",
|
|
4576
|
+
responses: {
|
|
4577
|
+
200: {
|
|
4578
|
+
bodyMapper: AccessPolicyAssignmentList,
|
|
4579
|
+
},
|
|
4580
|
+
default: {
|
|
4581
|
+
bodyMapper: ErrorResponse,
|
|
4582
|
+
},
|
|
4583
|
+
},
|
|
4584
|
+
queryParameters: [apiVersion],
|
|
4585
|
+
urlParameters: [
|
|
4586
|
+
$host,
|
|
4587
|
+
subscriptionId,
|
|
4588
|
+
resourceGroupName,
|
|
4589
|
+
clusterName,
|
|
4590
|
+
databaseName,
|
|
4591
|
+
],
|
|
4592
|
+
headerParameters: [accept],
|
|
4593
|
+
serializer: serializer$2,
|
|
4594
|
+
};
|
|
4595
|
+
const listNextOperationSpec = {
|
|
4596
|
+
path: "{nextLink}",
|
|
4597
|
+
httpMethod: "GET",
|
|
4598
|
+
responses: {
|
|
4599
|
+
200: {
|
|
4600
|
+
bodyMapper: AccessPolicyAssignmentList,
|
|
4601
|
+
},
|
|
4602
|
+
default: {
|
|
4603
|
+
bodyMapper: ErrorResponse,
|
|
4604
|
+
},
|
|
4605
|
+
},
|
|
4606
|
+
urlParameters: [
|
|
4607
|
+
$host,
|
|
4608
|
+
nextLink,
|
|
4609
|
+
subscriptionId,
|
|
4610
|
+
resourceGroupName,
|
|
4611
|
+
clusterName,
|
|
4612
|
+
databaseName,
|
|
4613
|
+
],
|
|
4614
|
+
headerParameters: [accept],
|
|
3685
4615
|
serializer: serializer$2,
|
|
3686
4616
|
};
|
|
3687
4617
|
|
|
@@ -3703,7 +4633,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3703
4633
|
this.client = client;
|
|
3704
4634
|
}
|
|
3705
4635
|
/**
|
|
3706
|
-
* Lists all the private endpoint connections associated with the
|
|
4636
|
+
* Lists all the private endpoint connections associated with the Redis Enterprise cluster.
|
|
3707
4637
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3708
4638
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
3709
4639
|
* @param options The options parameters.
|
|
@@ -3753,7 +4683,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3753
4683
|
});
|
|
3754
4684
|
}
|
|
3755
4685
|
/**
|
|
3756
|
-
* Lists all the private endpoint connections associated with the
|
|
4686
|
+
* Lists all the private endpoint connections associated with the Redis Enterprise cluster.
|
|
3757
4687
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3758
4688
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
3759
4689
|
* @param options The options parameters.
|
|
@@ -3762,7 +4692,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3762
4692
|
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec);
|
|
3763
4693
|
}
|
|
3764
4694
|
/**
|
|
3765
|
-
* Gets the specified private endpoint connection associated with the
|
|
4695
|
+
* Gets the specified private endpoint connection associated with the Redis Enterprise cluster.
|
|
3766
4696
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3767
4697
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
3768
4698
|
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
@@ -3778,7 +4708,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3778
4708
|
}, getOperationSpec);
|
|
3779
4709
|
}
|
|
3780
4710
|
/**
|
|
3781
|
-
* Updates the state of the specified private endpoint connection associated with the
|
|
4711
|
+
* Updates the state of the specified private endpoint connection associated with the Redis Enterprise
|
|
3782
4712
|
* cluster.
|
|
3783
4713
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3784
4714
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
@@ -3831,7 +4761,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3831
4761
|
});
|
|
3832
4762
|
}
|
|
3833
4763
|
/**
|
|
3834
|
-
* Updates the state of the specified private endpoint connection associated with the
|
|
4764
|
+
* Updates the state of the specified private endpoint connection associated with the Redis Enterprise
|
|
3835
4765
|
* cluster.
|
|
3836
4766
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3837
4767
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
@@ -3847,7 +4777,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3847
4777
|
});
|
|
3848
4778
|
}
|
|
3849
4779
|
/**
|
|
3850
|
-
* Deletes the specified private endpoint connection associated with the
|
|
4780
|
+
* Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
|
|
3851
4781
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3852
4782
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
3853
4783
|
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
@@ -3898,7 +4828,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3898
4828
|
});
|
|
3899
4829
|
}
|
|
3900
4830
|
/**
|
|
3901
|
-
* Deletes the specified private endpoint connection associated with the
|
|
4831
|
+
* Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
|
|
3902
4832
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3903
4833
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
3904
4834
|
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
@@ -4032,7 +4962,7 @@ class PrivateLinkResourcesImpl {
|
|
|
4032
4962
|
this.client = client;
|
|
4033
4963
|
}
|
|
4034
4964
|
/**
|
|
4035
|
-
* Gets the private link resources that need to be created for a
|
|
4965
|
+
* Gets the private link resources that need to be created for a Redis Enterprise cluster.
|
|
4036
4966
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4037
4967
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4038
4968
|
* @param options The options parameters.
|
|
@@ -4082,7 +5012,7 @@ class PrivateLinkResourcesImpl {
|
|
|
4082
5012
|
});
|
|
4083
5013
|
}
|
|
4084
5014
|
/**
|
|
4085
|
-
* Gets the private link resources that need to be created for a
|
|
5015
|
+
* Gets the private link resources that need to be created for a Redis Enterprise cluster.
|
|
4086
5016
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4087
5017
|
* @param clusterName The name of the Redis Enterprise cluster.
|
|
4088
5018
|
* @param options The options parameters.
|
|
@@ -4178,11 +5108,13 @@ class RedisEnterpriseManagementClient extends coreClient__namespace.ServiceClien
|
|
|
4178
5108
|
this.subscriptionId = subscriptionId;
|
|
4179
5109
|
// Assigning values to Constant parameters
|
|
4180
5110
|
this.$host = options.$host || "https://management.azure.com";
|
|
4181
|
-
this.apiVersion = options.apiVersion || "2024-
|
|
5111
|
+
this.apiVersion = options.apiVersion || "2024-09-01-preview";
|
|
4182
5112
|
this.operations = new OperationsImpl(this);
|
|
4183
5113
|
this.operationsStatus = new OperationsStatusImpl(this);
|
|
4184
5114
|
this.redisEnterprise = new RedisEnterpriseImpl(this);
|
|
4185
5115
|
this.databases = new DatabasesImpl(this);
|
|
5116
|
+
this.accessPolicyAssignmentOperations =
|
|
5117
|
+
new AccessPolicyAssignmentOperationsImpl(this);
|
|
4186
5118
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
4187
5119
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
4188
5120
|
this.addCustomApiVersionPolicy(options.apiVersion);
|