@azure/arm-cosmosdbforpostgresql 1.0.1-alpha.20240312.1 → 1.1.0-beta.1
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 +24 -10
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +1060 -948
- 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/clustersCheckNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/clustersCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/clustersCreateSample.js +13 -13
- package/dist-esm/samples-dev/clustersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/clustersGetSample.js +1 -1
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/clustersListSample.js +1 -1
- package/dist-esm/samples-dev/clustersPromoteReadReplicaSample.js +1 -1
- package/dist-esm/samples-dev/clustersRestartSample.js +1 -1
- package/dist-esm/samples-dev/clustersStartSample.js +1 -1
- package/dist-esm/samples-dev/clustersStopSample.js +1 -1
- package/dist-esm/samples-dev/clustersUpdateSample.js +9 -9
- package/dist-esm/samples-dev/clustersUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsGetCoordinatorSample.js +1 -1
- package/dist-esm/samples-dev/configurationsGetNodeSample.js +1 -1
- package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/configurationsListByServerSample.js +1 -1
- package/dist-esm/samples-dev/configurationsUpdateOnCoordinatorSample.js +2 -2
- package/dist-esm/samples-dev/configurationsUpdateOnCoordinatorSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsUpdateOnNodeSample.js +2 -2
- package/dist-esm/samples-dev/configurationsUpdateOnNodeSample.js.map +1 -1
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/rolesCreateSample.js +1 -1
- package/dist-esm/samples-dev/rolesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/rolesGetSample.js +1 -1
- package/dist-esm/samples-dev/rolesListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/serversGetSample.js +1 -1
- package/dist-esm/samples-dev/serversListByClusterSample.js +1 -1
- package/dist-esm/src/cosmosDBForPostgreSQL.d.ts.map +1 -1
- package/dist-esm/src/cosmosDBForPostgreSQL.js +9 -9
- package/dist-esm/src/cosmosDBForPostgreSQL.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +91 -2
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +34 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +2 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +649 -579
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +63 -59
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/clusters.d.ts.map +1 -1
- package/dist-esm/src/operations/clusters.js +106 -104
- package/dist-esm/src/operations/clusters.js.map +1 -1
- package/dist-esm/src/operations/configurations.d.ts.map +1 -1
- package/dist-esm/src/operations/configurations.js +64 -64
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -1
- package/dist-esm/src/operations/firewallRules.js +37 -37
- package/dist-esm/src/operations/firewallRules.js.map +1 -1
- package/dist-esm/src/operations/operations.js +5 -5
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +39 -39
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +11 -11
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/roles.d.ts.map +1 -1
- package/dist-esm/src/operations/roles.js +36 -36
- package/dist-esm/src/operations/roles.js.map +1 -1
- package/dist-esm/src/operations/servers.js +11 -11
- package/dist-esm/src/operations/servers.js.map +1 -1
- package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.js +2 -2
- package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.js.map +1 -1
- package/package.json +9 -9
- package/review/arm-cosmosdbforpostgresql.api.md +63 -1
- package/src/cosmosDBForPostgreSQL.ts +18 -17
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +124 -17
- package/src/models/mappers.ts +710 -628
- package/src/models/parameters.ts +66 -60
- package/src/operations/clusters.ts +208 -224
- package/src/operations/configurations.ts +122 -131
- package/src/operations/firewallRules.ts +72 -78
- package/src/operations/operations.ts +10 -10
- package/src/operations/privateEndpointConnections.ts +76 -81
- package/src/operations/privateLinkResources.ts +24 -26
- package/src/operations/roles.ts +71 -77
- package/src/operations/servers.ts +24 -26
- package/src/operationsInterfaces/clusters.ts +19 -19
- package/src/operationsInterfaces/configurations.ts +10 -10
- package/src/operationsInterfaces/firewallRules.ts +7 -7
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/privateLinkResources.ts +3 -3
- package/src/operationsInterfaces/roles.ts +7 -7
- package/src/operationsInterfaces/servers.ts +3 -3
- package/src/pagingHelper.ts +1 -1
- package/types/arm-cosmosdbforpostgresql.d.ts +101 -2
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -88,6 +88,22 @@ exports.KnownCreatedByType = void 0;
|
|
|
88
88
|
/** Key */
|
|
89
89
|
KnownCreatedByType["Key"] = "Key";
|
|
90
90
|
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
91
|
+
/** Known values of {@link ActiveDirectoryAuth} that the service accepts. */
|
|
92
|
+
exports.KnownActiveDirectoryAuth = void 0;
|
|
93
|
+
(function (KnownActiveDirectoryAuth) {
|
|
94
|
+
/** Enabled */
|
|
95
|
+
KnownActiveDirectoryAuth["Enabled"] = "enabled";
|
|
96
|
+
/** Disabled */
|
|
97
|
+
KnownActiveDirectoryAuth["Disabled"] = "disabled";
|
|
98
|
+
})(exports.KnownActiveDirectoryAuth || (exports.KnownActiveDirectoryAuth = {}));
|
|
99
|
+
/** Known values of {@link PasswordAuth} that the service accepts. */
|
|
100
|
+
exports.KnownPasswordAuth = void 0;
|
|
101
|
+
(function (KnownPasswordAuth) {
|
|
102
|
+
/** Enabled */
|
|
103
|
+
KnownPasswordAuth["Enabled"] = "enabled";
|
|
104
|
+
/** Disabled */
|
|
105
|
+
KnownPasswordAuth["Disabled"] = "disabled";
|
|
106
|
+
})(exports.KnownPasswordAuth || (exports.KnownPasswordAuth = {}));
|
|
91
107
|
/** Known values of {@link ServerRole} that the service accepts. */
|
|
92
108
|
exports.KnownServerRole = void 0;
|
|
93
109
|
(function (KnownServerRole) {
|
|
@@ -120,6 +136,24 @@ exports.KnownProvisioningState = void 0;
|
|
|
120
136
|
/** Failed */
|
|
121
137
|
KnownProvisioningState["Failed"] = "Failed";
|
|
122
138
|
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
139
|
+
/** Known values of {@link RoleType} that the service accepts. */
|
|
140
|
+
exports.KnownRoleType = void 0;
|
|
141
|
+
(function (KnownRoleType) {
|
|
142
|
+
/** User */
|
|
143
|
+
KnownRoleType["User"] = "user";
|
|
144
|
+
/** Admin */
|
|
145
|
+
KnownRoleType["Admin"] = "admin";
|
|
146
|
+
})(exports.KnownRoleType || (exports.KnownRoleType = {}));
|
|
147
|
+
/** Known values of {@link PrincipalType} that the service accepts. */
|
|
148
|
+
exports.KnownPrincipalType = void 0;
|
|
149
|
+
(function (KnownPrincipalType) {
|
|
150
|
+
/** User */
|
|
151
|
+
KnownPrincipalType["User"] = "user";
|
|
152
|
+
/** ServicePrincipal */
|
|
153
|
+
KnownPrincipalType["ServicePrincipal"] = "servicePrincipal";
|
|
154
|
+
/** Group */
|
|
155
|
+
KnownPrincipalType["Group"] = "group";
|
|
156
|
+
})(exports.KnownPrincipalType || (exports.KnownPrincipalType = {}));
|
|
123
157
|
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
124
158
|
exports.KnownOperationOrigin = void 0;
|
|
125
159
|
(function (KnownOperationOrigin) {
|
|
@@ -162,20 +196,20 @@ const ClusterListResult = {
|
|
|
162
196
|
element: {
|
|
163
197
|
type: {
|
|
164
198
|
name: "Composite",
|
|
165
|
-
className: "Cluster"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
199
|
+
className: "Cluster",
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
},
|
|
169
203
|
},
|
|
170
204
|
nextLink: {
|
|
171
205
|
serializedName: "nextLink",
|
|
172
206
|
readOnly: true,
|
|
173
207
|
type: {
|
|
174
|
-
name: "String"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
208
|
+
name: "String",
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
},
|
|
179
213
|
};
|
|
180
214
|
const MaintenanceWindow = {
|
|
181
215
|
type: {
|
|
@@ -185,29 +219,29 @@ const MaintenanceWindow = {
|
|
|
185
219
|
customWindow: {
|
|
186
220
|
serializedName: "customWindow",
|
|
187
221
|
type: {
|
|
188
|
-
name: "String"
|
|
189
|
-
}
|
|
222
|
+
name: "String",
|
|
223
|
+
},
|
|
190
224
|
},
|
|
191
225
|
startHour: {
|
|
192
226
|
serializedName: "startHour",
|
|
193
227
|
type: {
|
|
194
|
-
name: "Number"
|
|
195
|
-
}
|
|
228
|
+
name: "Number",
|
|
229
|
+
},
|
|
196
230
|
},
|
|
197
231
|
startMinute: {
|
|
198
232
|
serializedName: "startMinute",
|
|
199
233
|
type: {
|
|
200
|
-
name: "Number"
|
|
201
|
-
}
|
|
234
|
+
name: "Number",
|
|
235
|
+
},
|
|
202
236
|
},
|
|
203
237
|
dayOfWeek: {
|
|
204
238
|
serializedName: "dayOfWeek",
|
|
205
239
|
type: {
|
|
206
|
-
name: "Number"
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
240
|
+
name: "Number",
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
},
|
|
211
245
|
};
|
|
212
246
|
const ServerNameItem = {
|
|
213
247
|
type: {
|
|
@@ -217,18 +251,18 @@ const ServerNameItem = {
|
|
|
217
251
|
name: {
|
|
218
252
|
serializedName: "name",
|
|
219
253
|
type: {
|
|
220
|
-
name: "String"
|
|
221
|
-
}
|
|
254
|
+
name: "String",
|
|
255
|
+
},
|
|
222
256
|
},
|
|
223
257
|
fullyQualifiedDomainName: {
|
|
224
258
|
serializedName: "fullyQualifiedDomainName",
|
|
225
259
|
readOnly: true,
|
|
226
260
|
type: {
|
|
227
|
-
name: "String"
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
}
|
|
261
|
+
name: "String",
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
},
|
|
232
266
|
};
|
|
233
267
|
const PrivateEndpointProperty = {
|
|
234
268
|
type: {
|
|
@@ -238,11 +272,11 @@ const PrivateEndpointProperty = {
|
|
|
238
272
|
id: {
|
|
239
273
|
serializedName: "id",
|
|
240
274
|
type: {
|
|
241
|
-
name: "String"
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
275
|
+
name: "String",
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
},
|
|
246
280
|
};
|
|
247
281
|
const PrivateLinkServiceConnectionState = {
|
|
248
282
|
type: {
|
|
@@ -252,23 +286,23 @@ const PrivateLinkServiceConnectionState = {
|
|
|
252
286
|
status: {
|
|
253
287
|
serializedName: "status",
|
|
254
288
|
type: {
|
|
255
|
-
name: "String"
|
|
256
|
-
}
|
|
289
|
+
name: "String",
|
|
290
|
+
},
|
|
257
291
|
},
|
|
258
292
|
description: {
|
|
259
293
|
serializedName: "description",
|
|
260
294
|
type: {
|
|
261
|
-
name: "String"
|
|
262
|
-
}
|
|
295
|
+
name: "String",
|
|
296
|
+
},
|
|
263
297
|
},
|
|
264
298
|
actionsRequired: {
|
|
265
299
|
serializedName: "actionsRequired",
|
|
266
300
|
type: {
|
|
267
|
-
name: "String"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
301
|
+
name: "String",
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
},
|
|
305
|
+
},
|
|
272
306
|
};
|
|
273
307
|
const Resource = {
|
|
274
308
|
type: {
|
|
@@ -279,32 +313,32 @@ const Resource = {
|
|
|
279
313
|
serializedName: "id",
|
|
280
314
|
readOnly: true,
|
|
281
315
|
type: {
|
|
282
|
-
name: "String"
|
|
283
|
-
}
|
|
316
|
+
name: "String",
|
|
317
|
+
},
|
|
284
318
|
},
|
|
285
319
|
name: {
|
|
286
320
|
serializedName: "name",
|
|
287
321
|
readOnly: true,
|
|
288
322
|
type: {
|
|
289
|
-
name: "String"
|
|
290
|
-
}
|
|
323
|
+
name: "String",
|
|
324
|
+
},
|
|
291
325
|
},
|
|
292
326
|
type: {
|
|
293
327
|
serializedName: "type",
|
|
294
328
|
readOnly: true,
|
|
295
329
|
type: {
|
|
296
|
-
name: "String"
|
|
297
|
-
}
|
|
330
|
+
name: "String",
|
|
331
|
+
},
|
|
298
332
|
},
|
|
299
333
|
systemData: {
|
|
300
334
|
serializedName: "systemData",
|
|
301
335
|
type: {
|
|
302
336
|
name: "Composite",
|
|
303
|
-
className: "SystemData"
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
337
|
+
className: "SystemData",
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
},
|
|
308
342
|
};
|
|
309
343
|
const SystemData = {
|
|
310
344
|
type: {
|
|
@@ -314,41 +348,61 @@ const SystemData = {
|
|
|
314
348
|
createdBy: {
|
|
315
349
|
serializedName: "createdBy",
|
|
316
350
|
type: {
|
|
317
|
-
name: "String"
|
|
318
|
-
}
|
|
351
|
+
name: "String",
|
|
352
|
+
},
|
|
319
353
|
},
|
|
320
354
|
createdByType: {
|
|
321
355
|
serializedName: "createdByType",
|
|
322
356
|
type: {
|
|
323
|
-
name: "String"
|
|
324
|
-
}
|
|
357
|
+
name: "String",
|
|
358
|
+
},
|
|
325
359
|
},
|
|
326
360
|
createdAt: {
|
|
327
361
|
serializedName: "createdAt",
|
|
328
362
|
type: {
|
|
329
|
-
name: "DateTime"
|
|
330
|
-
}
|
|
363
|
+
name: "DateTime",
|
|
364
|
+
},
|
|
331
365
|
},
|
|
332
366
|
lastModifiedBy: {
|
|
333
367
|
serializedName: "lastModifiedBy",
|
|
334
368
|
type: {
|
|
335
|
-
name: "String"
|
|
336
|
-
}
|
|
369
|
+
name: "String",
|
|
370
|
+
},
|
|
337
371
|
},
|
|
338
372
|
lastModifiedByType: {
|
|
339
373
|
serializedName: "lastModifiedByType",
|
|
340
374
|
type: {
|
|
341
|
-
name: "String"
|
|
342
|
-
}
|
|
375
|
+
name: "String",
|
|
376
|
+
},
|
|
343
377
|
},
|
|
344
378
|
lastModifiedAt: {
|
|
345
379
|
serializedName: "lastModifiedAt",
|
|
346
380
|
type: {
|
|
347
|
-
name: "DateTime"
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
381
|
+
name: "DateTime",
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
};
|
|
387
|
+
const AuthConfig = {
|
|
388
|
+
type: {
|
|
389
|
+
name: "Composite",
|
|
390
|
+
className: "AuthConfig",
|
|
391
|
+
modelProperties: {
|
|
392
|
+
activeDirectoryAuth: {
|
|
393
|
+
serializedName: "activeDirectoryAuth",
|
|
394
|
+
type: {
|
|
395
|
+
name: "String",
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
passwordAuth: {
|
|
399
|
+
serializedName: "passwordAuth",
|
|
400
|
+
type: {
|
|
401
|
+
name: "String",
|
|
402
|
+
},
|
|
403
|
+
},
|
|
404
|
+
},
|
|
405
|
+
},
|
|
352
406
|
};
|
|
353
407
|
const ErrorResponse = {
|
|
354
408
|
type: {
|
|
@@ -359,11 +413,11 @@ const ErrorResponse = {
|
|
|
359
413
|
serializedName: "error",
|
|
360
414
|
type: {
|
|
361
415
|
name: "Composite",
|
|
362
|
-
className: "ErrorDetail"
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
416
|
+
className: "ErrorDetail",
|
|
417
|
+
},
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
},
|
|
367
421
|
};
|
|
368
422
|
const ErrorDetail = {
|
|
369
423
|
type: {
|
|
@@ -374,22 +428,22 @@ const ErrorDetail = {
|
|
|
374
428
|
serializedName: "code",
|
|
375
429
|
readOnly: true,
|
|
376
430
|
type: {
|
|
377
|
-
name: "String"
|
|
378
|
-
}
|
|
431
|
+
name: "String",
|
|
432
|
+
},
|
|
379
433
|
},
|
|
380
434
|
message: {
|
|
381
435
|
serializedName: "message",
|
|
382
436
|
readOnly: true,
|
|
383
437
|
type: {
|
|
384
|
-
name: "String"
|
|
385
|
-
}
|
|
438
|
+
name: "String",
|
|
439
|
+
},
|
|
386
440
|
},
|
|
387
441
|
target: {
|
|
388
442
|
serializedName: "target",
|
|
389
443
|
readOnly: true,
|
|
390
444
|
type: {
|
|
391
|
-
name: "String"
|
|
392
|
-
}
|
|
445
|
+
name: "String",
|
|
446
|
+
},
|
|
393
447
|
},
|
|
394
448
|
details: {
|
|
395
449
|
serializedName: "details",
|
|
@@ -399,10 +453,10 @@ const ErrorDetail = {
|
|
|
399
453
|
element: {
|
|
400
454
|
type: {
|
|
401
455
|
name: "Composite",
|
|
402
|
-
className: "ErrorDetail"
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
}
|
|
456
|
+
className: "ErrorDetail",
|
|
457
|
+
},
|
|
458
|
+
},
|
|
459
|
+
},
|
|
406
460
|
},
|
|
407
461
|
additionalInfo: {
|
|
408
462
|
serializedName: "additionalInfo",
|
|
@@ -412,13 +466,13 @@ const ErrorDetail = {
|
|
|
412
466
|
element: {
|
|
413
467
|
type: {
|
|
414
468
|
name: "Composite",
|
|
415
|
-
className: "ErrorAdditionalInfo"
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
}
|
|
469
|
+
className: "ErrorAdditionalInfo",
|
|
470
|
+
},
|
|
471
|
+
},
|
|
472
|
+
},
|
|
473
|
+
},
|
|
474
|
+
},
|
|
475
|
+
},
|
|
422
476
|
};
|
|
423
477
|
const ErrorAdditionalInfo = {
|
|
424
478
|
type: {
|
|
@@ -429,19 +483,19 @@ const ErrorAdditionalInfo = {
|
|
|
429
483
|
serializedName: "type",
|
|
430
484
|
readOnly: true,
|
|
431
485
|
type: {
|
|
432
|
-
name: "String"
|
|
433
|
-
}
|
|
486
|
+
name: "String",
|
|
487
|
+
},
|
|
434
488
|
},
|
|
435
489
|
info: {
|
|
436
490
|
serializedName: "info",
|
|
437
491
|
readOnly: true,
|
|
438
492
|
type: {
|
|
439
493
|
name: "Dictionary",
|
|
440
|
-
value: { type: { name: "any" } }
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
}
|
|
494
|
+
value: { type: { name: "any" } },
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
},
|
|
498
|
+
},
|
|
445
499
|
};
|
|
446
500
|
const ClusterForUpdate = {
|
|
447
501
|
type: {
|
|
@@ -452,109 +506,109 @@ const ClusterForUpdate = {
|
|
|
452
506
|
serializedName: "tags",
|
|
453
507
|
type: {
|
|
454
508
|
name: "Dictionary",
|
|
455
|
-
value: { type: { name: "String" } }
|
|
456
|
-
}
|
|
509
|
+
value: { type: { name: "String" } },
|
|
510
|
+
},
|
|
457
511
|
},
|
|
458
512
|
administratorLoginPassword: {
|
|
459
513
|
serializedName: "properties.administratorLoginPassword",
|
|
460
514
|
type: {
|
|
461
|
-
name: "String"
|
|
462
|
-
}
|
|
515
|
+
name: "String",
|
|
516
|
+
},
|
|
463
517
|
},
|
|
464
518
|
postgresqlVersion: {
|
|
465
519
|
serializedName: "properties.postgresqlVersion",
|
|
466
520
|
type: {
|
|
467
|
-
name: "String"
|
|
468
|
-
}
|
|
521
|
+
name: "String",
|
|
522
|
+
},
|
|
469
523
|
},
|
|
470
524
|
citusVersion: {
|
|
471
525
|
serializedName: "properties.citusVersion",
|
|
472
526
|
type: {
|
|
473
|
-
name: "String"
|
|
474
|
-
}
|
|
527
|
+
name: "String",
|
|
528
|
+
},
|
|
475
529
|
},
|
|
476
530
|
enableShardsOnCoordinator: {
|
|
477
531
|
serializedName: "properties.enableShardsOnCoordinator",
|
|
478
532
|
type: {
|
|
479
|
-
name: "Boolean"
|
|
480
|
-
}
|
|
533
|
+
name: "Boolean",
|
|
534
|
+
},
|
|
481
535
|
},
|
|
482
536
|
enableHa: {
|
|
483
537
|
serializedName: "properties.enableHa",
|
|
484
538
|
type: {
|
|
485
|
-
name: "Boolean"
|
|
486
|
-
}
|
|
539
|
+
name: "Boolean",
|
|
540
|
+
},
|
|
487
541
|
},
|
|
488
542
|
preferredPrimaryZone: {
|
|
489
543
|
serializedName: "properties.preferredPrimaryZone",
|
|
490
544
|
type: {
|
|
491
|
-
name: "String"
|
|
492
|
-
}
|
|
545
|
+
name: "String",
|
|
546
|
+
},
|
|
493
547
|
},
|
|
494
548
|
coordinatorServerEdition: {
|
|
495
549
|
serializedName: "properties.coordinatorServerEdition",
|
|
496
550
|
type: {
|
|
497
|
-
name: "String"
|
|
498
|
-
}
|
|
551
|
+
name: "String",
|
|
552
|
+
},
|
|
499
553
|
},
|
|
500
554
|
coordinatorStorageQuotaInMb: {
|
|
501
555
|
serializedName: "properties.coordinatorStorageQuotaInMb",
|
|
502
556
|
type: {
|
|
503
|
-
name: "Number"
|
|
504
|
-
}
|
|
557
|
+
name: "Number",
|
|
558
|
+
},
|
|
505
559
|
},
|
|
506
560
|
coordinatorVCores: {
|
|
507
561
|
serializedName: "properties.coordinatorVCores",
|
|
508
562
|
type: {
|
|
509
|
-
name: "Number"
|
|
510
|
-
}
|
|
563
|
+
name: "Number",
|
|
564
|
+
},
|
|
511
565
|
},
|
|
512
566
|
coordinatorEnablePublicIpAccess: {
|
|
513
567
|
serializedName: "properties.coordinatorEnablePublicIpAccess",
|
|
514
568
|
type: {
|
|
515
|
-
name: "Boolean"
|
|
516
|
-
}
|
|
569
|
+
name: "Boolean",
|
|
570
|
+
},
|
|
517
571
|
},
|
|
518
572
|
nodeServerEdition: {
|
|
519
573
|
serializedName: "properties.nodeServerEdition",
|
|
520
574
|
type: {
|
|
521
|
-
name: "String"
|
|
522
|
-
}
|
|
575
|
+
name: "String",
|
|
576
|
+
},
|
|
523
577
|
},
|
|
524
578
|
nodeCount: {
|
|
525
579
|
serializedName: "properties.nodeCount",
|
|
526
580
|
type: {
|
|
527
|
-
name: "Number"
|
|
528
|
-
}
|
|
581
|
+
name: "Number",
|
|
582
|
+
},
|
|
529
583
|
},
|
|
530
584
|
nodeStorageQuotaInMb: {
|
|
531
585
|
serializedName: "properties.nodeStorageQuotaInMb",
|
|
532
586
|
type: {
|
|
533
|
-
name: "Number"
|
|
534
|
-
}
|
|
587
|
+
name: "Number",
|
|
588
|
+
},
|
|
535
589
|
},
|
|
536
590
|
nodeVCores: {
|
|
537
591
|
serializedName: "properties.nodeVCores",
|
|
538
592
|
type: {
|
|
539
|
-
name: "Number"
|
|
540
|
-
}
|
|
593
|
+
name: "Number",
|
|
594
|
+
},
|
|
541
595
|
},
|
|
542
596
|
nodeEnablePublicIpAccess: {
|
|
543
597
|
serializedName: "properties.nodeEnablePublicIpAccess",
|
|
544
598
|
readOnly: true,
|
|
545
599
|
type: {
|
|
546
|
-
name: "Boolean"
|
|
547
|
-
}
|
|
600
|
+
name: "Boolean",
|
|
601
|
+
},
|
|
548
602
|
},
|
|
549
603
|
maintenanceWindow: {
|
|
550
604
|
serializedName: "properties.maintenanceWindow",
|
|
551
605
|
type: {
|
|
552
606
|
name: "Composite",
|
|
553
|
-
className: "MaintenanceWindow"
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
607
|
+
className: "MaintenanceWindow",
|
|
608
|
+
},
|
|
609
|
+
},
|
|
610
|
+
},
|
|
611
|
+
},
|
|
558
612
|
};
|
|
559
613
|
const ClusterServerListResult = {
|
|
560
614
|
type: {
|
|
@@ -568,13 +622,13 @@ const ClusterServerListResult = {
|
|
|
568
622
|
element: {
|
|
569
623
|
type: {
|
|
570
624
|
name: "Composite",
|
|
571
|
-
className: "ClusterServer"
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
625
|
+
className: "ClusterServer",
|
|
626
|
+
},
|
|
627
|
+
},
|
|
628
|
+
},
|
|
629
|
+
},
|
|
630
|
+
},
|
|
631
|
+
},
|
|
578
632
|
};
|
|
579
633
|
const ServerProperties = {
|
|
580
634
|
type: {
|
|
@@ -584,50 +638,50 @@ const ServerProperties = {
|
|
|
584
638
|
serverEdition: {
|
|
585
639
|
serializedName: "serverEdition",
|
|
586
640
|
type: {
|
|
587
|
-
name: "String"
|
|
588
|
-
}
|
|
641
|
+
name: "String",
|
|
642
|
+
},
|
|
589
643
|
},
|
|
590
644
|
storageQuotaInMb: {
|
|
591
645
|
serializedName: "storageQuotaInMb",
|
|
592
646
|
type: {
|
|
593
|
-
name: "Number"
|
|
594
|
-
}
|
|
647
|
+
name: "Number",
|
|
648
|
+
},
|
|
595
649
|
},
|
|
596
650
|
vCores: {
|
|
597
651
|
serializedName: "vCores",
|
|
598
652
|
type: {
|
|
599
|
-
name: "Number"
|
|
600
|
-
}
|
|
653
|
+
name: "Number",
|
|
654
|
+
},
|
|
601
655
|
},
|
|
602
656
|
enableHa: {
|
|
603
657
|
serializedName: "enableHa",
|
|
604
658
|
type: {
|
|
605
|
-
name: "Boolean"
|
|
606
|
-
}
|
|
659
|
+
name: "Boolean",
|
|
660
|
+
},
|
|
607
661
|
},
|
|
608
662
|
enablePublicIpAccess: {
|
|
609
663
|
serializedName: "enablePublicIpAccess",
|
|
610
664
|
readOnly: true,
|
|
611
665
|
type: {
|
|
612
|
-
name: "Boolean"
|
|
613
|
-
}
|
|
666
|
+
name: "Boolean",
|
|
667
|
+
},
|
|
614
668
|
},
|
|
615
669
|
isReadOnly: {
|
|
616
670
|
serializedName: "isReadOnly",
|
|
617
671
|
readOnly: true,
|
|
618
672
|
type: {
|
|
619
|
-
name: "Boolean"
|
|
620
|
-
}
|
|
673
|
+
name: "Boolean",
|
|
674
|
+
},
|
|
621
675
|
},
|
|
622
676
|
administratorLogin: {
|
|
623
677
|
serializedName: "administratorLogin",
|
|
624
678
|
readOnly: true,
|
|
625
679
|
type: {
|
|
626
|
-
name: "String"
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
}
|
|
680
|
+
name: "String",
|
|
681
|
+
},
|
|
682
|
+
},
|
|
683
|
+
},
|
|
684
|
+
},
|
|
631
685
|
};
|
|
632
686
|
const ServerConfigurationListResult = {
|
|
633
687
|
type: {
|
|
@@ -641,20 +695,20 @@ const ServerConfigurationListResult = {
|
|
|
641
695
|
element: {
|
|
642
696
|
type: {
|
|
643
697
|
name: "Composite",
|
|
644
|
-
className: "ServerConfiguration"
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
}
|
|
698
|
+
className: "ServerConfiguration",
|
|
699
|
+
},
|
|
700
|
+
},
|
|
701
|
+
},
|
|
648
702
|
},
|
|
649
703
|
nextLink: {
|
|
650
704
|
serializedName: "nextLink",
|
|
651
705
|
readOnly: true,
|
|
652
706
|
type: {
|
|
653
|
-
name: "String"
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
707
|
+
name: "String",
|
|
708
|
+
},
|
|
709
|
+
},
|
|
710
|
+
},
|
|
711
|
+
},
|
|
658
712
|
};
|
|
659
713
|
const ClusterConfigurationListResult = {
|
|
660
714
|
type: {
|
|
@@ -668,20 +722,20 @@ const ClusterConfigurationListResult = {
|
|
|
668
722
|
element: {
|
|
669
723
|
type: {
|
|
670
724
|
name: "Composite",
|
|
671
|
-
className: "Configuration"
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
}
|
|
725
|
+
className: "Configuration",
|
|
726
|
+
},
|
|
727
|
+
},
|
|
728
|
+
},
|
|
675
729
|
},
|
|
676
730
|
nextLink: {
|
|
677
731
|
serializedName: "nextLink",
|
|
678
732
|
readOnly: true,
|
|
679
733
|
type: {
|
|
680
|
-
name: "String"
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}
|
|
734
|
+
name: "String",
|
|
735
|
+
},
|
|
736
|
+
},
|
|
737
|
+
},
|
|
738
|
+
},
|
|
685
739
|
};
|
|
686
740
|
const ServerRoleGroupConfiguration = {
|
|
687
741
|
type: {
|
|
@@ -692,32 +746,32 @@ const ServerRoleGroupConfiguration = {
|
|
|
692
746
|
serializedName: "role",
|
|
693
747
|
required: true,
|
|
694
748
|
type: {
|
|
695
|
-
name: "String"
|
|
696
|
-
}
|
|
749
|
+
name: "String",
|
|
750
|
+
},
|
|
697
751
|
},
|
|
698
752
|
value: {
|
|
699
753
|
serializedName: "value",
|
|
700
754
|
required: true,
|
|
701
755
|
type: {
|
|
702
|
-
name: "String"
|
|
703
|
-
}
|
|
756
|
+
name: "String",
|
|
757
|
+
},
|
|
704
758
|
},
|
|
705
759
|
defaultValue: {
|
|
706
760
|
serializedName: "defaultValue",
|
|
707
761
|
readOnly: true,
|
|
708
762
|
type: {
|
|
709
|
-
name: "String"
|
|
710
|
-
}
|
|
763
|
+
name: "String",
|
|
764
|
+
},
|
|
711
765
|
},
|
|
712
766
|
source: {
|
|
713
767
|
serializedName: "source",
|
|
714
768
|
readOnly: true,
|
|
715
769
|
type: {
|
|
716
|
-
name: "String"
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
}
|
|
770
|
+
name: "String",
|
|
771
|
+
},
|
|
772
|
+
},
|
|
773
|
+
},
|
|
774
|
+
},
|
|
721
775
|
};
|
|
722
776
|
const FirewallRuleListResult = {
|
|
723
777
|
type: {
|
|
@@ -731,13 +785,13 @@ const FirewallRuleListResult = {
|
|
|
731
785
|
element: {
|
|
732
786
|
type: {
|
|
733
787
|
name: "Composite",
|
|
734
|
-
className: "FirewallRule"
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
}
|
|
788
|
+
className: "FirewallRule",
|
|
789
|
+
},
|
|
790
|
+
},
|
|
791
|
+
},
|
|
792
|
+
},
|
|
793
|
+
},
|
|
794
|
+
},
|
|
741
795
|
};
|
|
742
796
|
const RoleListResult = {
|
|
743
797
|
type: {
|
|
@@ -751,13 +805,27 @@ const RoleListResult = {
|
|
|
751
805
|
element: {
|
|
752
806
|
type: {
|
|
753
807
|
name: "Composite",
|
|
754
|
-
className: "Role"
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
}
|
|
808
|
+
className: "Role",
|
|
809
|
+
},
|
|
810
|
+
},
|
|
811
|
+
},
|
|
812
|
+
},
|
|
813
|
+
},
|
|
814
|
+
},
|
|
815
|
+
};
|
|
816
|
+
const PromoteRequest = {
|
|
817
|
+
type: {
|
|
818
|
+
name: "Composite",
|
|
819
|
+
className: "PromoteRequest",
|
|
820
|
+
modelProperties: {
|
|
821
|
+
enableGeoBackup: {
|
|
822
|
+
serializedName: "enableGeoBackup",
|
|
823
|
+
type: {
|
|
824
|
+
name: "Boolean",
|
|
825
|
+
},
|
|
826
|
+
},
|
|
827
|
+
},
|
|
828
|
+
},
|
|
761
829
|
};
|
|
762
830
|
const NameAvailabilityRequest = {
|
|
763
831
|
type: {
|
|
@@ -768,19 +836,19 @@ const NameAvailabilityRequest = {
|
|
|
768
836
|
serializedName: "name",
|
|
769
837
|
required: true,
|
|
770
838
|
type: {
|
|
771
|
-
name: "String"
|
|
772
|
-
}
|
|
839
|
+
name: "String",
|
|
840
|
+
},
|
|
773
841
|
},
|
|
774
842
|
type: {
|
|
775
843
|
defaultValue: "Microsoft.DBforPostgreSQL/serverGroupsv2",
|
|
776
844
|
isConstant: true,
|
|
777
845
|
serializedName: "type",
|
|
778
846
|
type: {
|
|
779
|
-
name: "String"
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
}
|
|
847
|
+
name: "String",
|
|
848
|
+
},
|
|
849
|
+
},
|
|
850
|
+
},
|
|
851
|
+
},
|
|
784
852
|
};
|
|
785
853
|
const NameAvailability = {
|
|
786
854
|
type: {
|
|
@@ -790,29 +858,29 @@ const NameAvailability = {
|
|
|
790
858
|
message: {
|
|
791
859
|
serializedName: "message",
|
|
792
860
|
type: {
|
|
793
|
-
name: "String"
|
|
794
|
-
}
|
|
861
|
+
name: "String",
|
|
862
|
+
},
|
|
795
863
|
},
|
|
796
864
|
nameAvailable: {
|
|
797
865
|
serializedName: "nameAvailable",
|
|
798
866
|
type: {
|
|
799
|
-
name: "Boolean"
|
|
800
|
-
}
|
|
867
|
+
name: "Boolean",
|
|
868
|
+
},
|
|
801
869
|
},
|
|
802
870
|
name: {
|
|
803
871
|
serializedName: "name",
|
|
804
872
|
type: {
|
|
805
|
-
name: "String"
|
|
806
|
-
}
|
|
873
|
+
name: "String",
|
|
874
|
+
},
|
|
807
875
|
},
|
|
808
876
|
type: {
|
|
809
877
|
serializedName: "type",
|
|
810
878
|
type: {
|
|
811
|
-
name: "String"
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
}
|
|
879
|
+
name: "String",
|
|
880
|
+
},
|
|
881
|
+
},
|
|
882
|
+
},
|
|
883
|
+
},
|
|
816
884
|
};
|
|
817
885
|
const OperationListResult = {
|
|
818
886
|
type: {
|
|
@@ -826,20 +894,20 @@ const OperationListResult = {
|
|
|
826
894
|
element: {
|
|
827
895
|
type: {
|
|
828
896
|
name: "Composite",
|
|
829
|
-
className: "Operation"
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
}
|
|
897
|
+
className: "Operation",
|
|
898
|
+
},
|
|
899
|
+
},
|
|
900
|
+
},
|
|
833
901
|
},
|
|
834
902
|
nextLink: {
|
|
835
903
|
serializedName: "nextLink",
|
|
836
904
|
readOnly: true,
|
|
837
905
|
type: {
|
|
838
|
-
name: "String"
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
}
|
|
906
|
+
name: "String",
|
|
907
|
+
},
|
|
908
|
+
},
|
|
909
|
+
},
|
|
910
|
+
},
|
|
843
911
|
};
|
|
844
912
|
const Operation = {
|
|
845
913
|
type: {
|
|
@@ -850,28 +918,28 @@ const Operation = {
|
|
|
850
918
|
serializedName: "name",
|
|
851
919
|
readOnly: true,
|
|
852
920
|
type: {
|
|
853
|
-
name: "String"
|
|
854
|
-
}
|
|
921
|
+
name: "String",
|
|
922
|
+
},
|
|
855
923
|
},
|
|
856
924
|
display: {
|
|
857
925
|
serializedName: "display",
|
|
858
926
|
type: {
|
|
859
927
|
name: "Composite",
|
|
860
|
-
className: "OperationDisplay"
|
|
861
|
-
}
|
|
928
|
+
className: "OperationDisplay",
|
|
929
|
+
},
|
|
862
930
|
},
|
|
863
931
|
isDataAction: {
|
|
864
932
|
serializedName: "isDataAction",
|
|
865
933
|
type: {
|
|
866
|
-
name: "Boolean"
|
|
867
|
-
}
|
|
934
|
+
name: "Boolean",
|
|
935
|
+
},
|
|
868
936
|
},
|
|
869
937
|
origin: {
|
|
870
938
|
serializedName: "origin",
|
|
871
939
|
readOnly: true,
|
|
872
940
|
type: {
|
|
873
|
-
name: "String"
|
|
874
|
-
}
|
|
941
|
+
name: "String",
|
|
942
|
+
},
|
|
875
943
|
},
|
|
876
944
|
properties: {
|
|
877
945
|
serializedName: "properties",
|
|
@@ -879,12 +947,12 @@ const Operation = {
|
|
|
879
947
|
type: {
|
|
880
948
|
name: "Dictionary",
|
|
881
949
|
value: {
|
|
882
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
}
|
|
950
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
951
|
+
},
|
|
952
|
+
},
|
|
953
|
+
},
|
|
954
|
+
},
|
|
955
|
+
},
|
|
888
956
|
};
|
|
889
957
|
const OperationDisplay = {
|
|
890
958
|
type: {
|
|
@@ -895,32 +963,32 @@ const OperationDisplay = {
|
|
|
895
963
|
serializedName: "provider",
|
|
896
964
|
readOnly: true,
|
|
897
965
|
type: {
|
|
898
|
-
name: "String"
|
|
899
|
-
}
|
|
966
|
+
name: "String",
|
|
967
|
+
},
|
|
900
968
|
},
|
|
901
969
|
resource: {
|
|
902
970
|
serializedName: "resource",
|
|
903
971
|
readOnly: true,
|
|
904
972
|
type: {
|
|
905
|
-
name: "String"
|
|
906
|
-
}
|
|
973
|
+
name: "String",
|
|
974
|
+
},
|
|
907
975
|
},
|
|
908
976
|
operation: {
|
|
909
977
|
serializedName: "operation",
|
|
910
978
|
readOnly: true,
|
|
911
979
|
type: {
|
|
912
|
-
name: "String"
|
|
913
|
-
}
|
|
980
|
+
name: "String",
|
|
981
|
+
},
|
|
914
982
|
},
|
|
915
983
|
description: {
|
|
916
984
|
serializedName: "description",
|
|
917
985
|
readOnly: true,
|
|
918
986
|
type: {
|
|
919
|
-
name: "String"
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
}
|
|
987
|
+
name: "String",
|
|
988
|
+
},
|
|
989
|
+
},
|
|
990
|
+
},
|
|
991
|
+
},
|
|
924
992
|
};
|
|
925
993
|
const PrivateEndpointConnectionListResult = {
|
|
926
994
|
type: {
|
|
@@ -934,13 +1002,13 @@ const PrivateEndpointConnectionListResult = {
|
|
|
934
1002
|
element: {
|
|
935
1003
|
type: {
|
|
936
1004
|
name: "Composite",
|
|
937
|
-
className: "PrivateEndpointConnection"
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
}
|
|
1005
|
+
className: "PrivateEndpointConnection",
|
|
1006
|
+
},
|
|
1007
|
+
},
|
|
1008
|
+
},
|
|
1009
|
+
},
|
|
1010
|
+
},
|
|
1011
|
+
},
|
|
944
1012
|
};
|
|
945
1013
|
const PrivateEndpoint = {
|
|
946
1014
|
type: {
|
|
@@ -951,11 +1019,11 @@ const PrivateEndpoint = {
|
|
|
951
1019
|
serializedName: "id",
|
|
952
1020
|
readOnly: true,
|
|
953
1021
|
type: {
|
|
954
|
-
name: "String"
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
}
|
|
1022
|
+
name: "String",
|
|
1023
|
+
},
|
|
1024
|
+
},
|
|
1025
|
+
},
|
|
1026
|
+
},
|
|
959
1027
|
};
|
|
960
1028
|
const PrivateLinkResourceListResult = {
|
|
961
1029
|
type: {
|
|
@@ -969,20 +1037,20 @@ const PrivateLinkResourceListResult = {
|
|
|
969
1037
|
element: {
|
|
970
1038
|
type: {
|
|
971
1039
|
name: "Composite",
|
|
972
|
-
className: "PrivateLinkResource"
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
}
|
|
1040
|
+
className: "PrivateLinkResource",
|
|
1041
|
+
},
|
|
1042
|
+
},
|
|
1043
|
+
},
|
|
1044
|
+
},
|
|
1045
|
+
},
|
|
1046
|
+
},
|
|
979
1047
|
};
|
|
980
1048
|
const ProxyResource = {
|
|
981
1049
|
type: {
|
|
982
1050
|
name: "Composite",
|
|
983
1051
|
className: "ProxyResource",
|
|
984
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties)
|
|
985
|
-
}
|
|
1052
|
+
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
1053
|
+
},
|
|
986
1054
|
};
|
|
987
1055
|
const TrackedResource = {
|
|
988
1056
|
type: {
|
|
@@ -992,16 +1060,16 @@ const TrackedResource = {
|
|
|
992
1060
|
serializedName: "tags",
|
|
993
1061
|
type: {
|
|
994
1062
|
name: "Dictionary",
|
|
995
|
-
value: { type: { name: "String" } }
|
|
996
|
-
}
|
|
1063
|
+
value: { type: { name: "String" } },
|
|
1064
|
+
},
|
|
997
1065
|
}, location: {
|
|
998
1066
|
serializedName: "location",
|
|
999
1067
|
required: true,
|
|
1000
1068
|
type: {
|
|
1001
|
-
name: "String"
|
|
1002
|
-
}
|
|
1003
|
-
} })
|
|
1004
|
-
}
|
|
1069
|
+
name: "String",
|
|
1070
|
+
},
|
|
1071
|
+
} }),
|
|
1072
|
+
},
|
|
1005
1073
|
};
|
|
1006
1074
|
const PrivateEndpointConnection = {
|
|
1007
1075
|
type: {
|
|
@@ -1014,30 +1082,30 @@ const PrivateEndpointConnection = {
|
|
|
1014
1082
|
name: "Sequence",
|
|
1015
1083
|
element: {
|
|
1016
1084
|
type: {
|
|
1017
|
-
name: "String"
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1085
|
+
name: "String",
|
|
1086
|
+
},
|
|
1087
|
+
},
|
|
1088
|
+
},
|
|
1021
1089
|
}, privateEndpoint: {
|
|
1022
1090
|
serializedName: "properties.privateEndpoint",
|
|
1023
1091
|
type: {
|
|
1024
1092
|
name: "Composite",
|
|
1025
|
-
className: "PrivateEndpoint"
|
|
1026
|
-
}
|
|
1093
|
+
className: "PrivateEndpoint",
|
|
1094
|
+
},
|
|
1027
1095
|
}, privateLinkServiceConnectionState: {
|
|
1028
1096
|
serializedName: "properties.privateLinkServiceConnectionState",
|
|
1029
1097
|
type: {
|
|
1030
1098
|
name: "Composite",
|
|
1031
|
-
className: "PrivateLinkServiceConnectionState"
|
|
1032
|
-
}
|
|
1099
|
+
className: "PrivateLinkServiceConnectionState",
|
|
1100
|
+
},
|
|
1033
1101
|
}, provisioningState: {
|
|
1034
1102
|
serializedName: "properties.provisioningState",
|
|
1035
1103
|
readOnly: true,
|
|
1036
1104
|
type: {
|
|
1037
|
-
name: "String"
|
|
1038
|
-
}
|
|
1039
|
-
} })
|
|
1040
|
-
}
|
|
1105
|
+
name: "String",
|
|
1106
|
+
},
|
|
1107
|
+
} }),
|
|
1108
|
+
},
|
|
1041
1109
|
};
|
|
1042
1110
|
const PrivateLinkResource = {
|
|
1043
1111
|
type: {
|
|
@@ -1047,8 +1115,8 @@ const PrivateLinkResource = {
|
|
|
1047
1115
|
serializedName: "properties.groupId",
|
|
1048
1116
|
readOnly: true,
|
|
1049
1117
|
type: {
|
|
1050
|
-
name: "String"
|
|
1051
|
-
}
|
|
1118
|
+
name: "String",
|
|
1119
|
+
},
|
|
1052
1120
|
}, requiredMembers: {
|
|
1053
1121
|
serializedName: "properties.requiredMembers",
|
|
1054
1122
|
readOnly: true,
|
|
@@ -1056,22 +1124,22 @@ const PrivateLinkResource = {
|
|
|
1056
1124
|
name: "Sequence",
|
|
1057
1125
|
element: {
|
|
1058
1126
|
type: {
|
|
1059
|
-
name: "String"
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1127
|
+
name: "String",
|
|
1128
|
+
},
|
|
1129
|
+
},
|
|
1130
|
+
},
|
|
1063
1131
|
}, requiredZoneNames: {
|
|
1064
1132
|
serializedName: "properties.requiredZoneNames",
|
|
1065
1133
|
type: {
|
|
1066
1134
|
name: "Sequence",
|
|
1067
1135
|
element: {
|
|
1068
1136
|
type: {
|
|
1069
|
-
name: "String"
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
}
|
|
1073
|
-
} })
|
|
1074
|
-
}
|
|
1137
|
+
name: "String",
|
|
1138
|
+
},
|
|
1139
|
+
},
|
|
1140
|
+
},
|
|
1141
|
+
} }),
|
|
1142
|
+
},
|
|
1075
1143
|
};
|
|
1076
1144
|
const ClusterServerProperties = {
|
|
1077
1145
|
type: {
|
|
@@ -1081,42 +1149,42 @@ const ClusterServerProperties = {
|
|
|
1081
1149
|
serializedName: "fullyQualifiedDomainName",
|
|
1082
1150
|
readOnly: true,
|
|
1083
1151
|
type: {
|
|
1084
|
-
name: "String"
|
|
1085
|
-
}
|
|
1152
|
+
name: "String",
|
|
1153
|
+
},
|
|
1086
1154
|
}, role: {
|
|
1087
1155
|
serializedName: "role",
|
|
1088
1156
|
type: {
|
|
1089
|
-
name: "String"
|
|
1090
|
-
}
|
|
1157
|
+
name: "String",
|
|
1158
|
+
},
|
|
1091
1159
|
}, state: {
|
|
1092
1160
|
serializedName: "state",
|
|
1093
1161
|
readOnly: true,
|
|
1094
1162
|
type: {
|
|
1095
|
-
name: "String"
|
|
1096
|
-
}
|
|
1163
|
+
name: "String",
|
|
1164
|
+
},
|
|
1097
1165
|
}, haState: {
|
|
1098
1166
|
serializedName: "haState",
|
|
1099
1167
|
readOnly: true,
|
|
1100
1168
|
type: {
|
|
1101
|
-
name: "String"
|
|
1102
|
-
}
|
|
1169
|
+
name: "String",
|
|
1170
|
+
},
|
|
1103
1171
|
}, availabilityZone: {
|
|
1104
1172
|
serializedName: "availabilityZone",
|
|
1105
1173
|
type: {
|
|
1106
|
-
name: "String"
|
|
1107
|
-
}
|
|
1174
|
+
name: "String",
|
|
1175
|
+
},
|
|
1108
1176
|
}, postgresqlVersion: {
|
|
1109
1177
|
serializedName: "postgresqlVersion",
|
|
1110
1178
|
type: {
|
|
1111
|
-
name: "String"
|
|
1112
|
-
}
|
|
1179
|
+
name: "String",
|
|
1180
|
+
},
|
|
1113
1181
|
}, citusVersion: {
|
|
1114
1182
|
serializedName: "citusVersion",
|
|
1115
1183
|
type: {
|
|
1116
|
-
name: "String"
|
|
1117
|
-
}
|
|
1118
|
-
} })
|
|
1119
|
-
}
|
|
1184
|
+
name: "String",
|
|
1185
|
+
},
|
|
1186
|
+
} }),
|
|
1187
|
+
},
|
|
1120
1188
|
};
|
|
1121
1189
|
const SimplePrivateEndpointConnection = {
|
|
1122
1190
|
type: {
|
|
@@ -1126,26 +1194,26 @@ const SimplePrivateEndpointConnection = {
|
|
|
1126
1194
|
serializedName: "properties.privateEndpoint",
|
|
1127
1195
|
type: {
|
|
1128
1196
|
name: "Composite",
|
|
1129
|
-
className: "PrivateEndpointProperty"
|
|
1130
|
-
}
|
|
1197
|
+
className: "PrivateEndpointProperty",
|
|
1198
|
+
},
|
|
1131
1199
|
}, groupIds: {
|
|
1132
1200
|
serializedName: "properties.groupIds",
|
|
1133
1201
|
type: {
|
|
1134
1202
|
name: "Sequence",
|
|
1135
1203
|
element: {
|
|
1136
1204
|
type: {
|
|
1137
|
-
name: "String"
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1205
|
+
name: "String",
|
|
1206
|
+
},
|
|
1207
|
+
},
|
|
1208
|
+
},
|
|
1141
1209
|
}, privateLinkServiceConnectionState: {
|
|
1142
1210
|
serializedName: "properties.privateLinkServiceConnectionState",
|
|
1143
1211
|
type: {
|
|
1144
1212
|
name: "Composite",
|
|
1145
|
-
className: "PrivateLinkServiceConnectionState"
|
|
1146
|
-
}
|
|
1147
|
-
} })
|
|
1148
|
-
}
|
|
1213
|
+
className: "PrivateLinkServiceConnectionState",
|
|
1214
|
+
},
|
|
1215
|
+
} }),
|
|
1216
|
+
},
|
|
1149
1217
|
};
|
|
1150
1218
|
const ClusterServer = {
|
|
1151
1219
|
type: {
|
|
@@ -1154,81 +1222,81 @@ const ClusterServer = {
|
|
|
1154
1222
|
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { serverEdition: {
|
|
1155
1223
|
serializedName: "properties.serverEdition",
|
|
1156
1224
|
type: {
|
|
1157
|
-
name: "String"
|
|
1158
|
-
}
|
|
1225
|
+
name: "String",
|
|
1226
|
+
},
|
|
1159
1227
|
}, storageQuotaInMb: {
|
|
1160
1228
|
serializedName: "properties.storageQuotaInMb",
|
|
1161
1229
|
type: {
|
|
1162
|
-
name: "Number"
|
|
1163
|
-
}
|
|
1230
|
+
name: "Number",
|
|
1231
|
+
},
|
|
1164
1232
|
}, vCores: {
|
|
1165
1233
|
serializedName: "properties.vCores",
|
|
1166
1234
|
type: {
|
|
1167
|
-
name: "Number"
|
|
1168
|
-
}
|
|
1235
|
+
name: "Number",
|
|
1236
|
+
},
|
|
1169
1237
|
}, enableHa: {
|
|
1170
1238
|
serializedName: "properties.enableHa",
|
|
1171
1239
|
type: {
|
|
1172
|
-
name: "Boolean"
|
|
1173
|
-
}
|
|
1240
|
+
name: "Boolean",
|
|
1241
|
+
},
|
|
1174
1242
|
}, enablePublicIpAccess: {
|
|
1175
1243
|
serializedName: "properties.enablePublicIpAccess",
|
|
1176
1244
|
readOnly: true,
|
|
1177
1245
|
type: {
|
|
1178
|
-
name: "Boolean"
|
|
1179
|
-
}
|
|
1246
|
+
name: "Boolean",
|
|
1247
|
+
},
|
|
1180
1248
|
}, isReadOnly: {
|
|
1181
1249
|
serializedName: "properties.isReadOnly",
|
|
1182
1250
|
readOnly: true,
|
|
1183
1251
|
type: {
|
|
1184
|
-
name: "Boolean"
|
|
1185
|
-
}
|
|
1252
|
+
name: "Boolean",
|
|
1253
|
+
},
|
|
1186
1254
|
}, administratorLogin: {
|
|
1187
1255
|
serializedName: "properties.administratorLogin",
|
|
1188
1256
|
readOnly: true,
|
|
1189
1257
|
type: {
|
|
1190
|
-
name: "String"
|
|
1191
|
-
}
|
|
1258
|
+
name: "String",
|
|
1259
|
+
},
|
|
1192
1260
|
}, fullyQualifiedDomainName: {
|
|
1193
1261
|
serializedName: "properties.fullyQualifiedDomainName",
|
|
1194
1262
|
readOnly: true,
|
|
1195
1263
|
type: {
|
|
1196
|
-
name: "String"
|
|
1197
|
-
}
|
|
1264
|
+
name: "String",
|
|
1265
|
+
},
|
|
1198
1266
|
}, role: {
|
|
1199
1267
|
serializedName: "properties.role",
|
|
1200
1268
|
type: {
|
|
1201
|
-
name: "String"
|
|
1202
|
-
}
|
|
1269
|
+
name: "String",
|
|
1270
|
+
},
|
|
1203
1271
|
}, state: {
|
|
1204
1272
|
serializedName: "properties.state",
|
|
1205
1273
|
readOnly: true,
|
|
1206
1274
|
type: {
|
|
1207
|
-
name: "String"
|
|
1208
|
-
}
|
|
1275
|
+
name: "String",
|
|
1276
|
+
},
|
|
1209
1277
|
}, haState: {
|
|
1210
1278
|
serializedName: "properties.haState",
|
|
1211
1279
|
readOnly: true,
|
|
1212
1280
|
type: {
|
|
1213
|
-
name: "String"
|
|
1214
|
-
}
|
|
1281
|
+
name: "String",
|
|
1282
|
+
},
|
|
1215
1283
|
}, availabilityZone: {
|
|
1216
1284
|
serializedName: "properties.availabilityZone",
|
|
1217
1285
|
type: {
|
|
1218
|
-
name: "String"
|
|
1219
|
-
}
|
|
1286
|
+
name: "String",
|
|
1287
|
+
},
|
|
1220
1288
|
}, postgresqlVersion: {
|
|
1221
1289
|
serializedName: "properties.postgresqlVersion",
|
|
1222
1290
|
type: {
|
|
1223
|
-
name: "String"
|
|
1224
|
-
}
|
|
1291
|
+
name: "String",
|
|
1292
|
+
},
|
|
1225
1293
|
}, citusVersion: {
|
|
1226
1294
|
serializedName: "properties.citusVersion",
|
|
1227
1295
|
type: {
|
|
1228
|
-
name: "String"
|
|
1229
|
-
}
|
|
1230
|
-
} })
|
|
1231
|
-
}
|
|
1296
|
+
name: "String",
|
|
1297
|
+
},
|
|
1298
|
+
} }),
|
|
1299
|
+
},
|
|
1232
1300
|
};
|
|
1233
1301
|
const ServerConfiguration = {
|
|
1234
1302
|
type: {
|
|
@@ -1237,52 +1305,52 @@ const ServerConfiguration = {
|
|
|
1237
1305
|
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { value: {
|
|
1238
1306
|
serializedName: "properties.value",
|
|
1239
1307
|
type: {
|
|
1240
|
-
name: "String"
|
|
1241
|
-
}
|
|
1308
|
+
name: "String",
|
|
1309
|
+
},
|
|
1242
1310
|
}, source: {
|
|
1243
1311
|
serializedName: "properties.source",
|
|
1244
1312
|
readOnly: true,
|
|
1245
1313
|
type: {
|
|
1246
|
-
name: "String"
|
|
1247
|
-
}
|
|
1314
|
+
name: "String",
|
|
1315
|
+
},
|
|
1248
1316
|
}, description: {
|
|
1249
1317
|
serializedName: "properties.description",
|
|
1250
1318
|
readOnly: true,
|
|
1251
1319
|
type: {
|
|
1252
|
-
name: "String"
|
|
1253
|
-
}
|
|
1320
|
+
name: "String",
|
|
1321
|
+
},
|
|
1254
1322
|
}, defaultValue: {
|
|
1255
1323
|
serializedName: "properties.defaultValue",
|
|
1256
1324
|
readOnly: true,
|
|
1257
1325
|
type: {
|
|
1258
|
-
name: "String"
|
|
1259
|
-
}
|
|
1326
|
+
name: "String",
|
|
1327
|
+
},
|
|
1260
1328
|
}, dataType: {
|
|
1261
1329
|
serializedName: "properties.dataType",
|
|
1262
1330
|
readOnly: true,
|
|
1263
1331
|
type: {
|
|
1264
|
-
name: "String"
|
|
1265
|
-
}
|
|
1332
|
+
name: "String",
|
|
1333
|
+
},
|
|
1266
1334
|
}, allowedValues: {
|
|
1267
1335
|
serializedName: "properties.allowedValues",
|
|
1268
1336
|
readOnly: true,
|
|
1269
1337
|
type: {
|
|
1270
|
-
name: "String"
|
|
1271
|
-
}
|
|
1338
|
+
name: "String",
|
|
1339
|
+
},
|
|
1272
1340
|
}, requiresRestart: {
|
|
1273
1341
|
serializedName: "properties.requiresRestart",
|
|
1274
1342
|
readOnly: true,
|
|
1275
1343
|
type: {
|
|
1276
|
-
name: "Boolean"
|
|
1277
|
-
}
|
|
1344
|
+
name: "Boolean",
|
|
1345
|
+
},
|
|
1278
1346
|
}, provisioningState: {
|
|
1279
1347
|
serializedName: "properties.provisioningState",
|
|
1280
1348
|
readOnly: true,
|
|
1281
1349
|
type: {
|
|
1282
|
-
name: "String"
|
|
1283
|
-
}
|
|
1284
|
-
} })
|
|
1285
|
-
}
|
|
1350
|
+
name: "String",
|
|
1351
|
+
},
|
|
1352
|
+
} }),
|
|
1353
|
+
},
|
|
1286
1354
|
};
|
|
1287
1355
|
const Configuration = {
|
|
1288
1356
|
type: {
|
|
@@ -1292,28 +1360,28 @@ const Configuration = {
|
|
|
1292
1360
|
serializedName: "properties.description",
|
|
1293
1361
|
readOnly: true,
|
|
1294
1362
|
type: {
|
|
1295
|
-
name: "String"
|
|
1296
|
-
}
|
|
1363
|
+
name: "String",
|
|
1364
|
+
},
|
|
1297
1365
|
}, dataType: {
|
|
1298
1366
|
serializedName: "properties.dataType",
|
|
1299
1367
|
readOnly: true,
|
|
1300
1368
|
type: {
|
|
1301
|
-
name: "String"
|
|
1302
|
-
}
|
|
1369
|
+
name: "String",
|
|
1370
|
+
},
|
|
1303
1371
|
}, allowedValues: {
|
|
1304
1372
|
serializedName: "properties.allowedValues",
|
|
1305
1373
|
readOnly: true,
|
|
1306
1374
|
type: {
|
|
1307
|
-
name: "String"
|
|
1308
|
-
}
|
|
1375
|
+
name: "String",
|
|
1376
|
+
},
|
|
1309
1377
|
}, requiresRestart: {
|
|
1310
1378
|
serializedName: "properties.requiresRestart",
|
|
1311
1379
|
type: {
|
|
1312
|
-
name: "Boolean"
|
|
1313
|
-
}
|
|
1380
|
+
name: "Boolean",
|
|
1381
|
+
},
|
|
1314
1382
|
}, serverRoleGroupConfigurations: {
|
|
1315
1383
|
constraints: {
|
|
1316
|
-
UniqueItems: true
|
|
1384
|
+
UniqueItems: true,
|
|
1317
1385
|
},
|
|
1318
1386
|
serializedName: "properties.serverRoleGroupConfigurations",
|
|
1319
1387
|
type: {
|
|
@@ -1321,18 +1389,18 @@ const Configuration = {
|
|
|
1321
1389
|
element: {
|
|
1322
1390
|
type: {
|
|
1323
1391
|
name: "Composite",
|
|
1324
|
-
className: "ServerRoleGroupConfiguration"
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1392
|
+
className: "ServerRoleGroupConfiguration",
|
|
1393
|
+
},
|
|
1394
|
+
},
|
|
1395
|
+
},
|
|
1328
1396
|
}, provisioningState: {
|
|
1329
1397
|
serializedName: "properties.provisioningState",
|
|
1330
1398
|
readOnly: true,
|
|
1331
1399
|
type: {
|
|
1332
|
-
name: "String"
|
|
1333
|
-
}
|
|
1334
|
-
} })
|
|
1335
|
-
}
|
|
1400
|
+
name: "String",
|
|
1401
|
+
},
|
|
1402
|
+
} }),
|
|
1403
|
+
},
|
|
1336
1404
|
};
|
|
1337
1405
|
const FirewallRule = {
|
|
1338
1406
|
type: {
|
|
@@ -1340,49 +1408,69 @@ const FirewallRule = {
|
|
|
1340
1408
|
className: "FirewallRule",
|
|
1341
1409
|
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { startIpAddress: {
|
|
1342
1410
|
constraints: {
|
|
1343
|
-
Pattern: new RegExp("^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$")
|
|
1411
|
+
Pattern: new RegExp("^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"),
|
|
1344
1412
|
},
|
|
1345
1413
|
serializedName: "properties.startIpAddress",
|
|
1346
1414
|
required: true,
|
|
1347
1415
|
type: {
|
|
1348
|
-
name: "String"
|
|
1349
|
-
}
|
|
1416
|
+
name: "String",
|
|
1417
|
+
},
|
|
1350
1418
|
}, endIpAddress: {
|
|
1351
1419
|
constraints: {
|
|
1352
|
-
Pattern: new RegExp("^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$")
|
|
1420
|
+
Pattern: new RegExp("^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"),
|
|
1353
1421
|
},
|
|
1354
1422
|
serializedName: "properties.endIpAddress",
|
|
1355
1423
|
required: true,
|
|
1356
1424
|
type: {
|
|
1357
|
-
name: "String"
|
|
1358
|
-
}
|
|
1425
|
+
name: "String",
|
|
1426
|
+
},
|
|
1359
1427
|
}, provisioningState: {
|
|
1360
1428
|
serializedName: "properties.provisioningState",
|
|
1361
1429
|
readOnly: true,
|
|
1362
1430
|
type: {
|
|
1363
|
-
name: "String"
|
|
1364
|
-
}
|
|
1365
|
-
} })
|
|
1366
|
-
}
|
|
1431
|
+
name: "String",
|
|
1432
|
+
},
|
|
1433
|
+
} }),
|
|
1434
|
+
},
|
|
1367
1435
|
};
|
|
1368
1436
|
const Role = {
|
|
1369
1437
|
type: {
|
|
1370
1438
|
name: "Composite",
|
|
1371
1439
|
className: "Role",
|
|
1372
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), {
|
|
1440
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { roleType: {
|
|
1441
|
+
defaultValue: "user",
|
|
1442
|
+
serializedName: "properties.roleType",
|
|
1443
|
+
type: {
|
|
1444
|
+
name: "String",
|
|
1445
|
+
},
|
|
1446
|
+
}, password: {
|
|
1373
1447
|
serializedName: "properties.password",
|
|
1374
|
-
required: true,
|
|
1375
1448
|
type: {
|
|
1376
|
-
name: "String"
|
|
1377
|
-
}
|
|
1449
|
+
name: "String",
|
|
1450
|
+
},
|
|
1378
1451
|
}, provisioningState: {
|
|
1379
1452
|
serializedName: "properties.provisioningState",
|
|
1380
1453
|
readOnly: true,
|
|
1381
1454
|
type: {
|
|
1382
|
-
name: "String"
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1455
|
+
name: "String",
|
|
1456
|
+
},
|
|
1457
|
+
}, objectId: {
|
|
1458
|
+
serializedName: "properties.externalIdentity.objectId",
|
|
1459
|
+
type: {
|
|
1460
|
+
name: "String",
|
|
1461
|
+
},
|
|
1462
|
+
}, principalType: {
|
|
1463
|
+
serializedName: "properties.externalIdentity.principalType",
|
|
1464
|
+
type: {
|
|
1465
|
+
name: "String",
|
|
1466
|
+
},
|
|
1467
|
+
}, tenantId: {
|
|
1468
|
+
serializedName: "properties.externalIdentity.tenantId",
|
|
1469
|
+
type: {
|
|
1470
|
+
name: "String",
|
|
1471
|
+
},
|
|
1472
|
+
} }),
|
|
1473
|
+
},
|
|
1386
1474
|
};
|
|
1387
1475
|
const Cluster = {
|
|
1388
1476
|
type: {
|
|
@@ -1392,104 +1480,104 @@ const Cluster = {
|
|
|
1392
1480
|
serializedName: "properties.administratorLogin",
|
|
1393
1481
|
readOnly: true,
|
|
1394
1482
|
type: {
|
|
1395
|
-
name: "String"
|
|
1396
|
-
}
|
|
1483
|
+
name: "String",
|
|
1484
|
+
},
|
|
1397
1485
|
}, administratorLoginPassword: {
|
|
1398
1486
|
serializedName: "properties.administratorLoginPassword",
|
|
1399
1487
|
type: {
|
|
1400
|
-
name: "String"
|
|
1401
|
-
}
|
|
1488
|
+
name: "String",
|
|
1489
|
+
},
|
|
1402
1490
|
}, provisioningState: {
|
|
1403
1491
|
serializedName: "properties.provisioningState",
|
|
1404
1492
|
readOnly: true,
|
|
1405
1493
|
type: {
|
|
1406
|
-
name: "String"
|
|
1407
|
-
}
|
|
1494
|
+
name: "String",
|
|
1495
|
+
},
|
|
1408
1496
|
}, state: {
|
|
1409
1497
|
serializedName: "properties.state",
|
|
1410
1498
|
readOnly: true,
|
|
1411
1499
|
type: {
|
|
1412
|
-
name: "String"
|
|
1413
|
-
}
|
|
1500
|
+
name: "String",
|
|
1501
|
+
},
|
|
1414
1502
|
}, postgresqlVersion: {
|
|
1415
1503
|
serializedName: "properties.postgresqlVersion",
|
|
1416
1504
|
type: {
|
|
1417
|
-
name: "String"
|
|
1418
|
-
}
|
|
1505
|
+
name: "String",
|
|
1506
|
+
},
|
|
1419
1507
|
}, citusVersion: {
|
|
1420
1508
|
serializedName: "properties.citusVersion",
|
|
1421
1509
|
type: {
|
|
1422
|
-
name: "String"
|
|
1423
|
-
}
|
|
1510
|
+
name: "String",
|
|
1511
|
+
},
|
|
1424
1512
|
}, maintenanceWindow: {
|
|
1425
1513
|
serializedName: "properties.maintenanceWindow",
|
|
1426
1514
|
type: {
|
|
1427
1515
|
name: "Composite",
|
|
1428
|
-
className: "MaintenanceWindow"
|
|
1429
|
-
}
|
|
1516
|
+
className: "MaintenanceWindow",
|
|
1517
|
+
},
|
|
1430
1518
|
}, preferredPrimaryZone: {
|
|
1431
1519
|
serializedName: "properties.preferredPrimaryZone",
|
|
1432
1520
|
type: {
|
|
1433
|
-
name: "String"
|
|
1434
|
-
}
|
|
1521
|
+
name: "String",
|
|
1522
|
+
},
|
|
1435
1523
|
}, enableShardsOnCoordinator: {
|
|
1436
1524
|
serializedName: "properties.enableShardsOnCoordinator",
|
|
1437
1525
|
type: {
|
|
1438
|
-
name: "Boolean"
|
|
1439
|
-
}
|
|
1526
|
+
name: "Boolean",
|
|
1527
|
+
},
|
|
1440
1528
|
}, enableHa: {
|
|
1441
1529
|
serializedName: "properties.enableHa",
|
|
1442
1530
|
type: {
|
|
1443
|
-
name: "Boolean"
|
|
1444
|
-
}
|
|
1531
|
+
name: "Boolean",
|
|
1532
|
+
},
|
|
1445
1533
|
}, coordinatorServerEdition: {
|
|
1446
1534
|
serializedName: "properties.coordinatorServerEdition",
|
|
1447
1535
|
type: {
|
|
1448
|
-
name: "String"
|
|
1449
|
-
}
|
|
1536
|
+
name: "String",
|
|
1537
|
+
},
|
|
1450
1538
|
}, coordinatorStorageQuotaInMb: {
|
|
1451
1539
|
serializedName: "properties.coordinatorStorageQuotaInMb",
|
|
1452
1540
|
type: {
|
|
1453
|
-
name: "Number"
|
|
1454
|
-
}
|
|
1541
|
+
name: "Number",
|
|
1542
|
+
},
|
|
1455
1543
|
}, coordinatorVCores: {
|
|
1456
1544
|
serializedName: "properties.coordinatorVCores",
|
|
1457
1545
|
type: {
|
|
1458
|
-
name: "Number"
|
|
1459
|
-
}
|
|
1546
|
+
name: "Number",
|
|
1547
|
+
},
|
|
1460
1548
|
}, coordinatorEnablePublicIpAccess: {
|
|
1461
1549
|
serializedName: "properties.coordinatorEnablePublicIpAccess",
|
|
1462
1550
|
type: {
|
|
1463
|
-
name: "Boolean"
|
|
1464
|
-
}
|
|
1551
|
+
name: "Boolean",
|
|
1552
|
+
},
|
|
1465
1553
|
}, nodeServerEdition: {
|
|
1466
1554
|
serializedName: "properties.nodeServerEdition",
|
|
1467
1555
|
type: {
|
|
1468
|
-
name: "String"
|
|
1469
|
-
}
|
|
1556
|
+
name: "String",
|
|
1557
|
+
},
|
|
1470
1558
|
}, nodeCount: {
|
|
1471
1559
|
serializedName: "properties.nodeCount",
|
|
1472
1560
|
type: {
|
|
1473
|
-
name: "Number"
|
|
1474
|
-
}
|
|
1561
|
+
name: "Number",
|
|
1562
|
+
},
|
|
1475
1563
|
}, nodeStorageQuotaInMb: {
|
|
1476
1564
|
serializedName: "properties.nodeStorageQuotaInMb",
|
|
1477
1565
|
type: {
|
|
1478
|
-
name: "Number"
|
|
1479
|
-
}
|
|
1566
|
+
name: "Number",
|
|
1567
|
+
},
|
|
1480
1568
|
}, nodeVCores: {
|
|
1481
1569
|
serializedName: "properties.nodeVCores",
|
|
1482
1570
|
type: {
|
|
1483
|
-
name: "Number"
|
|
1484
|
-
}
|
|
1571
|
+
name: "Number",
|
|
1572
|
+
},
|
|
1485
1573
|
}, nodeEnablePublicIpAccess: {
|
|
1486
1574
|
serializedName: "properties.nodeEnablePublicIpAccess",
|
|
1487
1575
|
type: {
|
|
1488
|
-
name: "Boolean"
|
|
1489
|
-
}
|
|
1576
|
+
name: "Boolean",
|
|
1577
|
+
},
|
|
1490
1578
|
}, serverNames: {
|
|
1491
1579
|
constraints: {
|
|
1492
|
-
UniqueItems: true
|
|
1580
|
+
UniqueItems: true,
|
|
1493
1581
|
},
|
|
1494
1582
|
serializedName: "properties.serverNames",
|
|
1495
1583
|
readOnly: true,
|
|
@@ -1498,28 +1586,28 @@ const Cluster = {
|
|
|
1498
1586
|
element: {
|
|
1499
1587
|
type: {
|
|
1500
1588
|
name: "Composite",
|
|
1501
|
-
className: "ServerNameItem"
|
|
1502
|
-
}
|
|
1503
|
-
}
|
|
1504
|
-
}
|
|
1589
|
+
className: "ServerNameItem",
|
|
1590
|
+
},
|
|
1591
|
+
},
|
|
1592
|
+
},
|
|
1505
1593
|
}, sourceResourceId: {
|
|
1506
1594
|
serializedName: "properties.sourceResourceId",
|
|
1507
1595
|
type: {
|
|
1508
|
-
name: "String"
|
|
1509
|
-
}
|
|
1596
|
+
name: "String",
|
|
1597
|
+
},
|
|
1510
1598
|
}, sourceLocation: {
|
|
1511
1599
|
serializedName: "properties.sourceLocation",
|
|
1512
1600
|
type: {
|
|
1513
|
-
name: "String"
|
|
1514
|
-
}
|
|
1601
|
+
name: "String",
|
|
1602
|
+
},
|
|
1515
1603
|
}, pointInTimeUTC: {
|
|
1516
1604
|
serializedName: "properties.pointInTimeUTC",
|
|
1517
1605
|
type: {
|
|
1518
|
-
name: "DateTime"
|
|
1519
|
-
}
|
|
1606
|
+
name: "DateTime",
|
|
1607
|
+
},
|
|
1520
1608
|
}, readReplicas: {
|
|
1521
1609
|
constraints: {
|
|
1522
|
-
UniqueItems: true
|
|
1610
|
+
UniqueItems: true,
|
|
1523
1611
|
},
|
|
1524
1612
|
serializedName: "properties.readReplicas",
|
|
1525
1613
|
readOnly: true,
|
|
@@ -1527,16 +1615,16 @@ const Cluster = {
|
|
|
1527
1615
|
name: "Sequence",
|
|
1528
1616
|
element: {
|
|
1529
1617
|
type: {
|
|
1530
|
-
name: "String"
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1618
|
+
name: "String",
|
|
1619
|
+
},
|
|
1620
|
+
},
|
|
1621
|
+
},
|
|
1534
1622
|
}, earliestRestoreTime: {
|
|
1535
1623
|
serializedName: "properties.earliestRestoreTime",
|
|
1536
1624
|
readOnly: true,
|
|
1537
1625
|
type: {
|
|
1538
|
-
name: "DateTime"
|
|
1539
|
-
}
|
|
1626
|
+
name: "DateTime",
|
|
1627
|
+
},
|
|
1540
1628
|
}, privateEndpointConnections: {
|
|
1541
1629
|
serializedName: "properties.privateEndpointConnections",
|
|
1542
1630
|
readOnly: true,
|
|
@@ -1545,12 +1633,28 @@ const Cluster = {
|
|
|
1545
1633
|
element: {
|
|
1546
1634
|
type: {
|
|
1547
1635
|
name: "Composite",
|
|
1548
|
-
className: "SimplePrivateEndpointConnection"
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1636
|
+
className: "SimplePrivateEndpointConnection",
|
|
1637
|
+
},
|
|
1638
|
+
},
|
|
1639
|
+
},
|
|
1640
|
+
}, databaseName: {
|
|
1641
|
+
serializedName: "properties.databaseName",
|
|
1642
|
+
type: {
|
|
1643
|
+
name: "String",
|
|
1644
|
+
},
|
|
1645
|
+
}, enableGeoBackup: {
|
|
1646
|
+
serializedName: "properties.enableGeoBackup",
|
|
1647
|
+
type: {
|
|
1648
|
+
name: "Boolean",
|
|
1649
|
+
},
|
|
1650
|
+
}, authConfig: {
|
|
1651
|
+
serializedName: "properties.authConfig",
|
|
1652
|
+
type: {
|
|
1653
|
+
name: "Composite",
|
|
1654
|
+
className: "AuthConfig",
|
|
1655
|
+
},
|
|
1656
|
+
} }),
|
|
1657
|
+
},
|
|
1554
1658
|
};
|
|
1555
1659
|
const ClustersCreateHeaders = {
|
|
1556
1660
|
type: {
|
|
@@ -1560,17 +1664,17 @@ const ClustersCreateHeaders = {
|
|
|
1560
1664
|
location: {
|
|
1561
1665
|
serializedName: "location",
|
|
1562
1666
|
type: {
|
|
1563
|
-
name: "String"
|
|
1564
|
-
}
|
|
1667
|
+
name: "String",
|
|
1668
|
+
},
|
|
1565
1669
|
},
|
|
1566
1670
|
azureAsyncOperation: {
|
|
1567
1671
|
serializedName: "azure-async-operation",
|
|
1568
1672
|
type: {
|
|
1569
|
-
name: "String"
|
|
1570
|
-
}
|
|
1571
|
-
}
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1673
|
+
name: "String",
|
|
1674
|
+
},
|
|
1675
|
+
},
|
|
1676
|
+
},
|
|
1677
|
+
},
|
|
1574
1678
|
};
|
|
1575
1679
|
const ClustersDeleteHeaders = {
|
|
1576
1680
|
type: {
|
|
@@ -1580,17 +1684,17 @@ const ClustersDeleteHeaders = {
|
|
|
1580
1684
|
location: {
|
|
1581
1685
|
serializedName: "location",
|
|
1582
1686
|
type: {
|
|
1583
|
-
name: "String"
|
|
1584
|
-
}
|
|
1687
|
+
name: "String",
|
|
1688
|
+
},
|
|
1585
1689
|
},
|
|
1586
1690
|
azureAsyncOperation: {
|
|
1587
1691
|
serializedName: "azure-async-operation",
|
|
1588
1692
|
type: {
|
|
1589
|
-
name: "String"
|
|
1590
|
-
}
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
}
|
|
1693
|
+
name: "String",
|
|
1694
|
+
},
|
|
1695
|
+
},
|
|
1696
|
+
},
|
|
1697
|
+
},
|
|
1594
1698
|
};
|
|
1595
1699
|
const ClustersUpdateHeaders = {
|
|
1596
1700
|
type: {
|
|
@@ -1600,17 +1704,17 @@ const ClustersUpdateHeaders = {
|
|
|
1600
1704
|
location: {
|
|
1601
1705
|
serializedName: "location",
|
|
1602
1706
|
type: {
|
|
1603
|
-
name: "String"
|
|
1604
|
-
}
|
|
1707
|
+
name: "String",
|
|
1708
|
+
},
|
|
1605
1709
|
},
|
|
1606
1710
|
azureAsyncOperation: {
|
|
1607
1711
|
serializedName: "azure-async-operation",
|
|
1608
1712
|
type: {
|
|
1609
|
-
name: "String"
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1713
|
+
name: "String",
|
|
1714
|
+
},
|
|
1715
|
+
},
|
|
1716
|
+
},
|
|
1717
|
+
},
|
|
1614
1718
|
};
|
|
1615
1719
|
const ClustersRestartHeaders = {
|
|
1616
1720
|
type: {
|
|
@@ -1620,17 +1724,17 @@ const ClustersRestartHeaders = {
|
|
|
1620
1724
|
location: {
|
|
1621
1725
|
serializedName: "location",
|
|
1622
1726
|
type: {
|
|
1623
|
-
name: "String"
|
|
1624
|
-
}
|
|
1727
|
+
name: "String",
|
|
1728
|
+
},
|
|
1625
1729
|
},
|
|
1626
1730
|
azureAsyncOperation: {
|
|
1627
1731
|
serializedName: "azure-async-operation",
|
|
1628
1732
|
type: {
|
|
1629
|
-
name: "String"
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1733
|
+
name: "String",
|
|
1734
|
+
},
|
|
1735
|
+
},
|
|
1736
|
+
},
|
|
1737
|
+
},
|
|
1634
1738
|
};
|
|
1635
1739
|
const ClustersStartHeaders = {
|
|
1636
1740
|
type: {
|
|
@@ -1640,17 +1744,17 @@ const ClustersStartHeaders = {
|
|
|
1640
1744
|
location: {
|
|
1641
1745
|
serializedName: "location",
|
|
1642
1746
|
type: {
|
|
1643
|
-
name: "String"
|
|
1644
|
-
}
|
|
1747
|
+
name: "String",
|
|
1748
|
+
},
|
|
1645
1749
|
},
|
|
1646
1750
|
azureAsyncOperation: {
|
|
1647
1751
|
serializedName: "azure-async-operation",
|
|
1648
1752
|
type: {
|
|
1649
|
-
name: "String"
|
|
1650
|
-
}
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
}
|
|
1753
|
+
name: "String",
|
|
1754
|
+
},
|
|
1755
|
+
},
|
|
1756
|
+
},
|
|
1757
|
+
},
|
|
1654
1758
|
};
|
|
1655
1759
|
const ClustersStopHeaders = {
|
|
1656
1760
|
type: {
|
|
@@ -1660,17 +1764,17 @@ const ClustersStopHeaders = {
|
|
|
1660
1764
|
location: {
|
|
1661
1765
|
serializedName: "location",
|
|
1662
1766
|
type: {
|
|
1663
|
-
name: "String"
|
|
1664
|
-
}
|
|
1767
|
+
name: "String",
|
|
1768
|
+
},
|
|
1665
1769
|
},
|
|
1666
1770
|
azureAsyncOperation: {
|
|
1667
1771
|
serializedName: "azure-async-operation",
|
|
1668
1772
|
type: {
|
|
1669
|
-
name: "String"
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
}
|
|
1673
|
-
}
|
|
1773
|
+
name: "String",
|
|
1774
|
+
},
|
|
1775
|
+
},
|
|
1776
|
+
},
|
|
1777
|
+
},
|
|
1674
1778
|
};
|
|
1675
1779
|
const ClustersPromoteReadReplicaHeaders = {
|
|
1676
1780
|
type: {
|
|
@@ -1680,17 +1784,17 @@ const ClustersPromoteReadReplicaHeaders = {
|
|
|
1680
1784
|
location: {
|
|
1681
1785
|
serializedName: "location",
|
|
1682
1786
|
type: {
|
|
1683
|
-
name: "String"
|
|
1684
|
-
}
|
|
1787
|
+
name: "String",
|
|
1788
|
+
},
|
|
1685
1789
|
},
|
|
1686
1790
|
azureAsyncOperation: {
|
|
1687
1791
|
serializedName: "azure-async-operation",
|
|
1688
1792
|
type: {
|
|
1689
|
-
name: "String"
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1793
|
+
name: "String",
|
|
1794
|
+
},
|
|
1795
|
+
},
|
|
1796
|
+
},
|
|
1797
|
+
},
|
|
1694
1798
|
};
|
|
1695
1799
|
const ConfigurationsUpdateOnCoordinatorHeaders = {
|
|
1696
1800
|
type: {
|
|
@@ -1700,17 +1804,17 @@ const ConfigurationsUpdateOnCoordinatorHeaders = {
|
|
|
1700
1804
|
location: {
|
|
1701
1805
|
serializedName: "location",
|
|
1702
1806
|
type: {
|
|
1703
|
-
name: "String"
|
|
1704
|
-
}
|
|
1807
|
+
name: "String",
|
|
1808
|
+
},
|
|
1705
1809
|
},
|
|
1706
1810
|
azureAsyncOperation: {
|
|
1707
1811
|
serializedName: "azure-async-operation",
|
|
1708
1812
|
type: {
|
|
1709
|
-
name: "String"
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1713
|
-
}
|
|
1813
|
+
name: "String",
|
|
1814
|
+
},
|
|
1815
|
+
},
|
|
1816
|
+
},
|
|
1817
|
+
},
|
|
1714
1818
|
};
|
|
1715
1819
|
const ConfigurationsUpdateOnNodeHeaders = {
|
|
1716
1820
|
type: {
|
|
@@ -1720,17 +1824,17 @@ const ConfigurationsUpdateOnNodeHeaders = {
|
|
|
1720
1824
|
location: {
|
|
1721
1825
|
serializedName: "location",
|
|
1722
1826
|
type: {
|
|
1723
|
-
name: "String"
|
|
1724
|
-
}
|
|
1827
|
+
name: "String",
|
|
1828
|
+
},
|
|
1725
1829
|
},
|
|
1726
1830
|
azureAsyncOperation: {
|
|
1727
1831
|
serializedName: "azure-async-operation",
|
|
1728
1832
|
type: {
|
|
1729
|
-
name: "String"
|
|
1730
|
-
}
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1833
|
+
name: "String",
|
|
1834
|
+
},
|
|
1835
|
+
},
|
|
1836
|
+
},
|
|
1837
|
+
},
|
|
1734
1838
|
};
|
|
1735
1839
|
const FirewallRulesCreateOrUpdateHeaders = {
|
|
1736
1840
|
type: {
|
|
@@ -1740,17 +1844,17 @@ const FirewallRulesCreateOrUpdateHeaders = {
|
|
|
1740
1844
|
location: {
|
|
1741
1845
|
serializedName: "location",
|
|
1742
1846
|
type: {
|
|
1743
|
-
name: "String"
|
|
1744
|
-
}
|
|
1847
|
+
name: "String",
|
|
1848
|
+
},
|
|
1745
1849
|
},
|
|
1746
1850
|
azureAsyncOperation: {
|
|
1747
1851
|
serializedName: "azure-async-operation",
|
|
1748
1852
|
type: {
|
|
1749
|
-
name: "String"
|
|
1750
|
-
}
|
|
1751
|
-
}
|
|
1752
|
-
}
|
|
1753
|
-
}
|
|
1853
|
+
name: "String",
|
|
1854
|
+
},
|
|
1855
|
+
},
|
|
1856
|
+
},
|
|
1857
|
+
},
|
|
1754
1858
|
};
|
|
1755
1859
|
const FirewallRulesDeleteHeaders = {
|
|
1756
1860
|
type: {
|
|
@@ -1760,17 +1864,17 @@ const FirewallRulesDeleteHeaders = {
|
|
|
1760
1864
|
location: {
|
|
1761
1865
|
serializedName: "location",
|
|
1762
1866
|
type: {
|
|
1763
|
-
name: "String"
|
|
1764
|
-
}
|
|
1867
|
+
name: "String",
|
|
1868
|
+
},
|
|
1765
1869
|
},
|
|
1766
1870
|
azureAsyncOperation: {
|
|
1767
1871
|
serializedName: "azure-async-operation",
|
|
1768
1872
|
type: {
|
|
1769
|
-
name: "String"
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
}
|
|
1773
|
-
}
|
|
1873
|
+
name: "String",
|
|
1874
|
+
},
|
|
1875
|
+
},
|
|
1876
|
+
},
|
|
1877
|
+
},
|
|
1774
1878
|
};
|
|
1775
1879
|
const RolesCreateHeaders = {
|
|
1776
1880
|
type: {
|
|
@@ -1780,17 +1884,17 @@ const RolesCreateHeaders = {
|
|
|
1780
1884
|
location: {
|
|
1781
1885
|
serializedName: "location",
|
|
1782
1886
|
type: {
|
|
1783
|
-
name: "String"
|
|
1784
|
-
}
|
|
1887
|
+
name: "String",
|
|
1888
|
+
},
|
|
1785
1889
|
},
|
|
1786
1890
|
azureAsyncOperation: {
|
|
1787
1891
|
serializedName: "azure-async-operation",
|
|
1788
1892
|
type: {
|
|
1789
|
-
name: "String"
|
|
1790
|
-
}
|
|
1791
|
-
}
|
|
1792
|
-
}
|
|
1793
|
-
}
|
|
1893
|
+
name: "String",
|
|
1894
|
+
},
|
|
1895
|
+
},
|
|
1896
|
+
},
|
|
1897
|
+
},
|
|
1794
1898
|
};
|
|
1795
1899
|
const RolesDeleteHeaders = {
|
|
1796
1900
|
type: {
|
|
@@ -1800,17 +1904,17 @@ const RolesDeleteHeaders = {
|
|
|
1800
1904
|
location: {
|
|
1801
1905
|
serializedName: "location",
|
|
1802
1906
|
type: {
|
|
1803
|
-
name: "String"
|
|
1804
|
-
}
|
|
1907
|
+
name: "String",
|
|
1908
|
+
},
|
|
1805
1909
|
},
|
|
1806
1910
|
azureAsyncOperation: {
|
|
1807
1911
|
serializedName: "azure-async-operation",
|
|
1808
1912
|
type: {
|
|
1809
|
-
name: "String"
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
}
|
|
1813
|
-
}
|
|
1913
|
+
name: "String",
|
|
1914
|
+
},
|
|
1915
|
+
},
|
|
1916
|
+
},
|
|
1917
|
+
},
|
|
1814
1918
|
};
|
|
1815
1919
|
const PrivateEndpointConnectionsCreateOrUpdateHeaders = {
|
|
1816
1920
|
type: {
|
|
@@ -1820,17 +1924,17 @@ const PrivateEndpointConnectionsCreateOrUpdateHeaders = {
|
|
|
1820
1924
|
location: {
|
|
1821
1925
|
serializedName: "location",
|
|
1822
1926
|
type: {
|
|
1823
|
-
name: "String"
|
|
1824
|
-
}
|
|
1927
|
+
name: "String",
|
|
1928
|
+
},
|
|
1825
1929
|
},
|
|
1826
1930
|
azureAsyncOperation: {
|
|
1827
1931
|
serializedName: "azure-async-operation",
|
|
1828
1932
|
type: {
|
|
1829
|
-
name: "String"
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
}
|
|
1833
|
-
}
|
|
1933
|
+
name: "String",
|
|
1934
|
+
},
|
|
1935
|
+
},
|
|
1936
|
+
},
|
|
1937
|
+
},
|
|
1834
1938
|
};
|
|
1835
1939
|
const PrivateEndpointConnectionsDeleteHeaders = {
|
|
1836
1940
|
type: {
|
|
@@ -1840,21 +1944,22 @@ const PrivateEndpointConnectionsDeleteHeaders = {
|
|
|
1840
1944
|
location: {
|
|
1841
1945
|
serializedName: "location",
|
|
1842
1946
|
type: {
|
|
1843
|
-
name: "String"
|
|
1844
|
-
}
|
|
1947
|
+
name: "String",
|
|
1948
|
+
},
|
|
1845
1949
|
},
|
|
1846
1950
|
azureAsyncOperation: {
|
|
1847
1951
|
serializedName: "azure-async-operation",
|
|
1848
1952
|
type: {
|
|
1849
|
-
name: "String"
|
|
1850
|
-
}
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
}
|
|
1953
|
+
name: "String",
|
|
1954
|
+
},
|
|
1955
|
+
},
|
|
1956
|
+
},
|
|
1957
|
+
},
|
|
1854
1958
|
};
|
|
1855
1959
|
|
|
1856
1960
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1857
1961
|
__proto__: null,
|
|
1962
|
+
AuthConfig: AuthConfig,
|
|
1858
1963
|
Cluster: Cluster,
|
|
1859
1964
|
ClusterConfigurationListResult: ClusterConfigurationListResult,
|
|
1860
1965
|
ClusterForUpdate: ClusterForUpdate,
|
|
@@ -1894,6 +1999,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1894
1999
|
PrivateLinkResource: PrivateLinkResource,
|
|
1895
2000
|
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
1896
2001
|
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
2002
|
+
PromoteRequest: PromoteRequest,
|
|
1897
2003
|
ProxyResource: ProxyResource,
|
|
1898
2004
|
Resource: Resource,
|
|
1899
2005
|
Role: Role,
|
|
@@ -1924,9 +2030,9 @@ const accept = {
|
|
|
1924
2030
|
isConstant: true,
|
|
1925
2031
|
serializedName: "Accept",
|
|
1926
2032
|
type: {
|
|
1927
|
-
name: "String"
|
|
1928
|
-
}
|
|
1929
|
-
}
|
|
2033
|
+
name: "String",
|
|
2034
|
+
},
|
|
2035
|
+
},
|
|
1930
2036
|
};
|
|
1931
2037
|
const $host = {
|
|
1932
2038
|
parameterPath: "$host",
|
|
@@ -1934,21 +2040,21 @@ const $host = {
|
|
|
1934
2040
|
serializedName: "$host",
|
|
1935
2041
|
required: true,
|
|
1936
2042
|
type: {
|
|
1937
|
-
name: "String"
|
|
1938
|
-
}
|
|
2043
|
+
name: "String",
|
|
2044
|
+
},
|
|
1939
2045
|
},
|
|
1940
|
-
skipEncoding: true
|
|
2046
|
+
skipEncoding: true,
|
|
1941
2047
|
};
|
|
1942
2048
|
const apiVersion = {
|
|
1943
2049
|
parameterPath: "apiVersion",
|
|
1944
2050
|
mapper: {
|
|
1945
|
-
defaultValue: "
|
|
2051
|
+
defaultValue: "2023-03-02-preview",
|
|
1946
2052
|
isConstant: true,
|
|
1947
2053
|
serializedName: "api-version",
|
|
1948
2054
|
type: {
|
|
1949
|
-
name: "String"
|
|
1950
|
-
}
|
|
1951
|
-
}
|
|
2055
|
+
name: "String",
|
|
2056
|
+
},
|
|
2057
|
+
},
|
|
1952
2058
|
};
|
|
1953
2059
|
const subscriptionId = {
|
|
1954
2060
|
parameterPath: "subscriptionId",
|
|
@@ -1956,23 +2062,23 @@ const subscriptionId = {
|
|
|
1956
2062
|
serializedName: "subscriptionId",
|
|
1957
2063
|
required: true,
|
|
1958
2064
|
type: {
|
|
1959
|
-
name: "Uuid"
|
|
1960
|
-
}
|
|
1961
|
-
}
|
|
2065
|
+
name: "Uuid",
|
|
2066
|
+
},
|
|
2067
|
+
},
|
|
1962
2068
|
};
|
|
1963
2069
|
const resourceGroupName = {
|
|
1964
2070
|
parameterPath: "resourceGroupName",
|
|
1965
2071
|
mapper: {
|
|
1966
2072
|
constraints: {
|
|
1967
2073
|
MaxLength: 90,
|
|
1968
|
-
MinLength: 1
|
|
2074
|
+
MinLength: 1,
|
|
1969
2075
|
},
|
|
1970
2076
|
serializedName: "resourceGroupName",
|
|
1971
2077
|
required: true,
|
|
1972
2078
|
type: {
|
|
1973
|
-
name: "String"
|
|
1974
|
-
}
|
|
1975
|
-
}
|
|
2079
|
+
name: "String",
|
|
2080
|
+
},
|
|
2081
|
+
},
|
|
1976
2082
|
};
|
|
1977
2083
|
const contentType = {
|
|
1978
2084
|
parameterPath: ["options", "contentType"],
|
|
@@ -1981,13 +2087,13 @@ const contentType = {
|
|
|
1981
2087
|
isConstant: true,
|
|
1982
2088
|
serializedName: "Content-Type",
|
|
1983
2089
|
type: {
|
|
1984
|
-
name: "String"
|
|
1985
|
-
}
|
|
1986
|
-
}
|
|
2090
|
+
name: "String",
|
|
2091
|
+
},
|
|
2092
|
+
},
|
|
1987
2093
|
};
|
|
1988
2094
|
const parameters = {
|
|
1989
2095
|
parameterPath: "parameters",
|
|
1990
|
-
mapper: Cluster
|
|
2096
|
+
mapper: Cluster,
|
|
1991
2097
|
};
|
|
1992
2098
|
const clusterName = {
|
|
1993
2099
|
parameterPath: "clusterName",
|
|
@@ -1995,22 +2101,26 @@ const clusterName = {
|
|
|
1995
2101
|
constraints: {
|
|
1996
2102
|
Pattern: new RegExp("^(?![0-9]+$)(?!-)[a-z0-9-]{3,40}(?<!-)$"),
|
|
1997
2103
|
MaxLength: 40,
|
|
1998
|
-
MinLength: 3
|
|
2104
|
+
MinLength: 3,
|
|
1999
2105
|
},
|
|
2000
2106
|
serializedName: "clusterName",
|
|
2001
2107
|
required: true,
|
|
2002
2108
|
type: {
|
|
2003
|
-
name: "String"
|
|
2004
|
-
}
|
|
2005
|
-
}
|
|
2109
|
+
name: "String",
|
|
2110
|
+
},
|
|
2111
|
+
},
|
|
2006
2112
|
};
|
|
2007
2113
|
const parameters1 = {
|
|
2008
2114
|
parameterPath: "parameters",
|
|
2009
|
-
mapper: ClusterForUpdate
|
|
2115
|
+
mapper: ClusterForUpdate,
|
|
2116
|
+
};
|
|
2117
|
+
const promoteRequest = {
|
|
2118
|
+
parameterPath: ["options", "promoteRequest"],
|
|
2119
|
+
mapper: PromoteRequest,
|
|
2010
2120
|
};
|
|
2011
2121
|
const nameAvailabilityRequest = {
|
|
2012
2122
|
parameterPath: "nameAvailabilityRequest",
|
|
2013
|
-
mapper: NameAvailabilityRequest
|
|
2123
|
+
mapper: NameAvailabilityRequest,
|
|
2014
2124
|
};
|
|
2015
2125
|
const nextLink = {
|
|
2016
2126
|
parameterPath: "nextLink",
|
|
@@ -2018,10 +2128,10 @@ const nextLink = {
|
|
|
2018
2128
|
serializedName: "nextLink",
|
|
2019
2129
|
required: true,
|
|
2020
2130
|
type: {
|
|
2021
|
-
name: "String"
|
|
2022
|
-
}
|
|
2131
|
+
name: "String",
|
|
2132
|
+
},
|
|
2023
2133
|
},
|
|
2024
|
-
skipEncoding: true
|
|
2134
|
+
skipEncoding: true,
|
|
2025
2135
|
};
|
|
2026
2136
|
const serverName = {
|
|
2027
2137
|
parameterPath: "serverName",
|
|
@@ -2029,14 +2139,14 @@ const serverName = {
|
|
|
2029
2139
|
constraints: {
|
|
2030
2140
|
Pattern: new RegExp("^[-\\w\\._]+$"),
|
|
2031
2141
|
MaxLength: 90,
|
|
2032
|
-
MinLength: 1
|
|
2142
|
+
MinLength: 1,
|
|
2033
2143
|
},
|
|
2034
2144
|
serializedName: "serverName",
|
|
2035
2145
|
required: true,
|
|
2036
2146
|
type: {
|
|
2037
|
-
name: "String"
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2147
|
+
name: "String",
|
|
2148
|
+
},
|
|
2149
|
+
},
|
|
2040
2150
|
};
|
|
2041
2151
|
const configurationName = {
|
|
2042
2152
|
parameterPath: "configurationName",
|
|
@@ -2044,82 +2154,82 @@ const configurationName = {
|
|
|
2044
2154
|
constraints: {
|
|
2045
2155
|
Pattern: new RegExp("^[-\\w\\._]+$"),
|
|
2046
2156
|
MaxLength: 90,
|
|
2047
|
-
MinLength: 1
|
|
2157
|
+
MinLength: 1,
|
|
2048
2158
|
},
|
|
2049
2159
|
serializedName: "configurationName",
|
|
2050
2160
|
required: true,
|
|
2051
2161
|
type: {
|
|
2052
|
-
name: "String"
|
|
2053
|
-
}
|
|
2054
|
-
}
|
|
2162
|
+
name: "String",
|
|
2163
|
+
},
|
|
2164
|
+
},
|
|
2055
2165
|
};
|
|
2056
2166
|
const parameters2 = {
|
|
2057
2167
|
parameterPath: "parameters",
|
|
2058
|
-
mapper: ServerConfiguration
|
|
2168
|
+
mapper: ServerConfiguration,
|
|
2059
2169
|
};
|
|
2060
2170
|
const parameters3 = {
|
|
2061
2171
|
parameterPath: "parameters",
|
|
2062
|
-
mapper: FirewallRule
|
|
2172
|
+
mapper: FirewallRule,
|
|
2063
2173
|
};
|
|
2064
2174
|
const firewallRuleName = {
|
|
2065
2175
|
parameterPath: "firewallRuleName",
|
|
2066
2176
|
mapper: {
|
|
2067
2177
|
constraints: {
|
|
2068
|
-
Pattern: new RegExp("^[-\\w\\._]+$")
|
|
2178
|
+
Pattern: new RegExp("^[-\\w\\._]+$"),
|
|
2069
2179
|
},
|
|
2070
2180
|
serializedName: "firewallRuleName",
|
|
2071
2181
|
required: true,
|
|
2072
2182
|
type: {
|
|
2073
|
-
name: "String"
|
|
2074
|
-
}
|
|
2075
|
-
}
|
|
2183
|
+
name: "String",
|
|
2184
|
+
},
|
|
2185
|
+
},
|
|
2076
2186
|
};
|
|
2077
2187
|
const roleName = {
|
|
2078
2188
|
parameterPath: "roleName",
|
|
2079
2189
|
mapper: {
|
|
2080
2190
|
constraints: {
|
|
2081
|
-
Pattern: new RegExp("^[-\\w\\._]+$")
|
|
2191
|
+
Pattern: new RegExp("^[-\\w\\._]+$"),
|
|
2082
2192
|
},
|
|
2083
2193
|
serializedName: "roleName",
|
|
2084
2194
|
required: true,
|
|
2085
2195
|
type: {
|
|
2086
|
-
name: "String"
|
|
2087
|
-
}
|
|
2088
|
-
}
|
|
2196
|
+
name: "String",
|
|
2197
|
+
},
|
|
2198
|
+
},
|
|
2089
2199
|
};
|
|
2090
2200
|
const parameters4 = {
|
|
2091
2201
|
parameterPath: "parameters",
|
|
2092
|
-
mapper: Role
|
|
2202
|
+
mapper: Role,
|
|
2093
2203
|
};
|
|
2094
2204
|
const privateEndpointConnectionName = {
|
|
2095
2205
|
parameterPath: "privateEndpointConnectionName",
|
|
2096
2206
|
mapper: {
|
|
2097
2207
|
constraints: {
|
|
2098
|
-
Pattern: new RegExp("^[-\\w\\._]+$")
|
|
2208
|
+
Pattern: new RegExp("^[-\\w\\._]+$"),
|
|
2099
2209
|
},
|
|
2100
2210
|
serializedName: "privateEndpointConnectionName",
|
|
2101
2211
|
required: true,
|
|
2102
2212
|
type: {
|
|
2103
|
-
name: "String"
|
|
2104
|
-
}
|
|
2105
|
-
}
|
|
2213
|
+
name: "String",
|
|
2214
|
+
},
|
|
2215
|
+
},
|
|
2106
2216
|
};
|
|
2107
2217
|
const parameters5 = {
|
|
2108
2218
|
parameterPath: "parameters",
|
|
2109
|
-
mapper: PrivateEndpointConnection
|
|
2219
|
+
mapper: PrivateEndpointConnection,
|
|
2110
2220
|
};
|
|
2111
2221
|
const privateLinkResourceName = {
|
|
2112
2222
|
parameterPath: "privateLinkResourceName",
|
|
2113
2223
|
mapper: {
|
|
2114
2224
|
constraints: {
|
|
2115
|
-
Pattern: new RegExp("^[-\\w\\._]+$")
|
|
2225
|
+
Pattern: new RegExp("^[-\\w\\._]+$"),
|
|
2116
2226
|
},
|
|
2117
2227
|
serializedName: "privateLinkResourceName",
|
|
2118
2228
|
required: true,
|
|
2119
2229
|
type: {
|
|
2120
|
-
name: "String"
|
|
2121
|
-
}
|
|
2122
|
-
}
|
|
2230
|
+
name: "String",
|
|
2231
|
+
},
|
|
2232
|
+
},
|
|
2123
2233
|
};
|
|
2124
2234
|
|
|
2125
2235
|
/*
|
|
@@ -2138,7 +2248,7 @@ function createLroSpec(inputs) {
|
|
|
2138
2248
|
sendPollRequest: (path, options) => {
|
|
2139
2249
|
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2140
2250
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2141
|
-
}
|
|
2251
|
+
},
|
|
2142
2252
|
};
|
|
2143
2253
|
}
|
|
2144
2254
|
|
|
@@ -2177,7 +2287,7 @@ class ClustersImpl {
|
|
|
2177
2287
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2178
2288
|
}
|
|
2179
2289
|
return this.listPagingPage(options, settings);
|
|
2180
|
-
}
|
|
2290
|
+
},
|
|
2181
2291
|
};
|
|
2182
2292
|
}
|
|
2183
2293
|
listPagingPage(options, settings) {
|
|
@@ -2239,7 +2349,7 @@ class ClustersImpl {
|
|
|
2239
2349
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2240
2350
|
}
|
|
2241
2351
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
2242
|
-
}
|
|
2352
|
+
},
|
|
2243
2353
|
};
|
|
2244
2354
|
}
|
|
2245
2355
|
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
@@ -2324,19 +2434,19 @@ class ClustersImpl {
|
|
|
2324
2434
|
rawResponse: {
|
|
2325
2435
|
statusCode: currentRawResponse.status,
|
|
2326
2436
|
body: currentRawResponse.parsedBody,
|
|
2327
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2328
|
-
}
|
|
2437
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2438
|
+
},
|
|
2329
2439
|
};
|
|
2330
2440
|
});
|
|
2331
2441
|
const lro = createLroSpec({
|
|
2332
2442
|
sendOperationFn,
|
|
2333
2443
|
args: { resourceGroupName, clusterName, parameters, options },
|
|
2334
|
-
spec: createOperationSpec$1
|
|
2444
|
+
spec: createOperationSpec$1,
|
|
2335
2445
|
});
|
|
2336
2446
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2337
2447
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2338
2448
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2339
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2449
|
+
resourceLocationConfig: "azure-async-operation",
|
|
2340
2450
|
});
|
|
2341
2451
|
yield poller.poll();
|
|
2342
2452
|
return poller;
|
|
@@ -2391,19 +2501,19 @@ class ClustersImpl {
|
|
|
2391
2501
|
rawResponse: {
|
|
2392
2502
|
statusCode: currentRawResponse.status,
|
|
2393
2503
|
body: currentRawResponse.parsedBody,
|
|
2394
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2395
|
-
}
|
|
2504
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2505
|
+
},
|
|
2396
2506
|
};
|
|
2397
2507
|
});
|
|
2398
2508
|
const lro = createLroSpec({
|
|
2399
2509
|
sendOperationFn,
|
|
2400
2510
|
args: { resourceGroupName, clusterName, options },
|
|
2401
|
-
spec: deleteOperationSpec$3
|
|
2511
|
+
spec: deleteOperationSpec$3,
|
|
2402
2512
|
});
|
|
2403
2513
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2404
2514
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2405
2515
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2406
|
-
resourceLocationConfig: "location"
|
|
2516
|
+
resourceLocationConfig: "location",
|
|
2407
2517
|
});
|
|
2408
2518
|
yield poller.poll();
|
|
2409
2519
|
return poller;
|
|
@@ -2449,19 +2559,19 @@ class ClustersImpl {
|
|
|
2449
2559
|
rawResponse: {
|
|
2450
2560
|
statusCode: currentRawResponse.status,
|
|
2451
2561
|
body: currentRawResponse.parsedBody,
|
|
2452
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2453
|
-
}
|
|
2562
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2563
|
+
},
|
|
2454
2564
|
};
|
|
2455
2565
|
});
|
|
2456
2566
|
const lro = createLroSpec({
|
|
2457
2567
|
sendOperationFn,
|
|
2458
2568
|
args: { resourceGroupName, clusterName, parameters, options },
|
|
2459
|
-
spec: updateOperationSpec
|
|
2569
|
+
spec: updateOperationSpec,
|
|
2460
2570
|
});
|
|
2461
2571
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2462
2572
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2463
2573
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2464
|
-
resourceLocationConfig: "location"
|
|
2574
|
+
resourceLocationConfig: "location",
|
|
2465
2575
|
});
|
|
2466
2576
|
yield poller.poll();
|
|
2467
2577
|
return poller;
|
|
@@ -2507,19 +2617,19 @@ class ClustersImpl {
|
|
|
2507
2617
|
rawResponse: {
|
|
2508
2618
|
statusCode: currentRawResponse.status,
|
|
2509
2619
|
body: currentRawResponse.parsedBody,
|
|
2510
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2511
|
-
}
|
|
2620
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2621
|
+
},
|
|
2512
2622
|
};
|
|
2513
2623
|
});
|
|
2514
2624
|
const lro = createLroSpec({
|
|
2515
2625
|
sendOperationFn,
|
|
2516
2626
|
args: { resourceGroupName, clusterName, options },
|
|
2517
|
-
spec: restartOperationSpec
|
|
2627
|
+
spec: restartOperationSpec,
|
|
2518
2628
|
});
|
|
2519
2629
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2520
2630
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2521
2631
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2522
|
-
resourceLocationConfig: "location"
|
|
2632
|
+
resourceLocationConfig: "location",
|
|
2523
2633
|
});
|
|
2524
2634
|
yield poller.poll();
|
|
2525
2635
|
return poller;
|
|
@@ -2563,19 +2673,19 @@ class ClustersImpl {
|
|
|
2563
2673
|
rawResponse: {
|
|
2564
2674
|
statusCode: currentRawResponse.status,
|
|
2565
2675
|
body: currentRawResponse.parsedBody,
|
|
2566
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2567
|
-
}
|
|
2676
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2677
|
+
},
|
|
2568
2678
|
};
|
|
2569
2679
|
});
|
|
2570
2680
|
const lro = createLroSpec({
|
|
2571
2681
|
sendOperationFn,
|
|
2572
2682
|
args: { resourceGroupName, clusterName, options },
|
|
2573
|
-
spec: startOperationSpec
|
|
2683
|
+
spec: startOperationSpec,
|
|
2574
2684
|
});
|
|
2575
2685
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2576
2686
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2577
2687
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2578
|
-
resourceLocationConfig: "location"
|
|
2688
|
+
resourceLocationConfig: "location",
|
|
2579
2689
|
});
|
|
2580
2690
|
yield poller.poll();
|
|
2581
2691
|
return poller;
|
|
@@ -2619,19 +2729,19 @@ class ClustersImpl {
|
|
|
2619
2729
|
rawResponse: {
|
|
2620
2730
|
statusCode: currentRawResponse.status,
|
|
2621
2731
|
body: currentRawResponse.parsedBody,
|
|
2622
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2623
|
-
}
|
|
2732
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2733
|
+
},
|
|
2624
2734
|
};
|
|
2625
2735
|
});
|
|
2626
2736
|
const lro = createLroSpec({
|
|
2627
2737
|
sendOperationFn,
|
|
2628
2738
|
args: { resourceGroupName, clusterName, options },
|
|
2629
|
-
spec: stopOperationSpec
|
|
2739
|
+
spec: stopOperationSpec,
|
|
2630
2740
|
});
|
|
2631
2741
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2632
2742
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2633
2743
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2634
|
-
resourceLocationConfig: "location"
|
|
2744
|
+
resourceLocationConfig: "location",
|
|
2635
2745
|
});
|
|
2636
2746
|
yield poller.poll();
|
|
2637
2747
|
return poller;
|
|
@@ -2675,19 +2785,19 @@ class ClustersImpl {
|
|
|
2675
2785
|
rawResponse: {
|
|
2676
2786
|
statusCode: currentRawResponse.status,
|
|
2677
2787
|
body: currentRawResponse.parsedBody,
|
|
2678
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2679
|
-
}
|
|
2788
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2789
|
+
},
|
|
2680
2790
|
};
|
|
2681
2791
|
});
|
|
2682
2792
|
const lro = createLroSpec({
|
|
2683
2793
|
sendOperationFn,
|
|
2684
2794
|
args: { resourceGroupName, clusterName, options },
|
|
2685
|
-
spec: promoteReadReplicaOperationSpec
|
|
2795
|
+
spec: promoteReadReplicaOperationSpec,
|
|
2686
2796
|
});
|
|
2687
2797
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2688
2798
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2689
2799
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2690
|
-
resourceLocationConfig: "location"
|
|
2800
|
+
resourceLocationConfig: "location",
|
|
2691
2801
|
});
|
|
2692
2802
|
yield poller.poll();
|
|
2693
2803
|
return poller;
|
|
@@ -2740,56 +2850,56 @@ const listOperationSpec$1 = {
|
|
|
2740
2850
|
httpMethod: "GET",
|
|
2741
2851
|
responses: {
|
|
2742
2852
|
200: {
|
|
2743
|
-
bodyMapper: ClusterListResult
|
|
2853
|
+
bodyMapper: ClusterListResult,
|
|
2744
2854
|
},
|
|
2745
2855
|
default: {
|
|
2746
|
-
bodyMapper: ErrorResponse
|
|
2747
|
-
}
|
|
2856
|
+
bodyMapper: ErrorResponse,
|
|
2857
|
+
},
|
|
2748
2858
|
},
|
|
2749
2859
|
queryParameters: [apiVersion],
|
|
2750
2860
|
urlParameters: [$host, subscriptionId],
|
|
2751
2861
|
headerParameters: [accept],
|
|
2752
|
-
serializer: serializer$7
|
|
2862
|
+
serializer: serializer$7,
|
|
2753
2863
|
};
|
|
2754
2864
|
const listByResourceGroupOperationSpec = {
|
|
2755
2865
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2",
|
|
2756
2866
|
httpMethod: "GET",
|
|
2757
2867
|
responses: {
|
|
2758
2868
|
200: {
|
|
2759
|
-
bodyMapper: ClusterListResult
|
|
2869
|
+
bodyMapper: ClusterListResult,
|
|
2760
2870
|
},
|
|
2761
2871
|
default: {
|
|
2762
|
-
bodyMapper: ErrorResponse
|
|
2763
|
-
}
|
|
2872
|
+
bodyMapper: ErrorResponse,
|
|
2873
|
+
},
|
|
2764
2874
|
},
|
|
2765
2875
|
queryParameters: [apiVersion],
|
|
2766
2876
|
urlParameters: [
|
|
2767
2877
|
$host,
|
|
2768
2878
|
subscriptionId,
|
|
2769
|
-
resourceGroupName
|
|
2879
|
+
resourceGroupName,
|
|
2770
2880
|
],
|
|
2771
2881
|
headerParameters: [accept],
|
|
2772
|
-
serializer: serializer$7
|
|
2882
|
+
serializer: serializer$7,
|
|
2773
2883
|
};
|
|
2774
2884
|
const createOperationSpec$1 = {
|
|
2775
2885
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}",
|
|
2776
2886
|
httpMethod: "PUT",
|
|
2777
2887
|
responses: {
|
|
2778
2888
|
200: {
|
|
2779
|
-
bodyMapper: Cluster
|
|
2889
|
+
bodyMapper: Cluster,
|
|
2780
2890
|
},
|
|
2781
2891
|
201: {
|
|
2782
|
-
bodyMapper: Cluster
|
|
2892
|
+
bodyMapper: Cluster,
|
|
2783
2893
|
},
|
|
2784
2894
|
202: {
|
|
2785
|
-
bodyMapper: Cluster
|
|
2895
|
+
bodyMapper: Cluster,
|
|
2786
2896
|
},
|
|
2787
2897
|
204: {
|
|
2788
|
-
bodyMapper: Cluster
|
|
2898
|
+
bodyMapper: Cluster,
|
|
2789
2899
|
},
|
|
2790
2900
|
default: {
|
|
2791
|
-
bodyMapper: ErrorResponse
|
|
2792
|
-
}
|
|
2901
|
+
bodyMapper: ErrorResponse,
|
|
2902
|
+
},
|
|
2793
2903
|
},
|
|
2794
2904
|
requestBody: parameters,
|
|
2795
2905
|
queryParameters: [apiVersion],
|
|
@@ -2797,32 +2907,32 @@ const createOperationSpec$1 = {
|
|
|
2797
2907
|
$host,
|
|
2798
2908
|
subscriptionId,
|
|
2799
2909
|
resourceGroupName,
|
|
2800
|
-
clusterName
|
|
2910
|
+
clusterName,
|
|
2801
2911
|
],
|
|
2802
2912
|
headerParameters: [accept, contentType],
|
|
2803
2913
|
mediaType: "json",
|
|
2804
|
-
serializer: serializer$7
|
|
2914
|
+
serializer: serializer$7,
|
|
2805
2915
|
};
|
|
2806
2916
|
const getOperationSpec$6 = {
|
|
2807
2917
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}",
|
|
2808
2918
|
httpMethod: "GET",
|
|
2809
2919
|
responses: {
|
|
2810
2920
|
200: {
|
|
2811
|
-
bodyMapper: Cluster
|
|
2921
|
+
bodyMapper: Cluster,
|
|
2812
2922
|
},
|
|
2813
2923
|
default: {
|
|
2814
|
-
bodyMapper: ErrorResponse
|
|
2815
|
-
}
|
|
2924
|
+
bodyMapper: ErrorResponse,
|
|
2925
|
+
},
|
|
2816
2926
|
},
|
|
2817
2927
|
queryParameters: [apiVersion],
|
|
2818
2928
|
urlParameters: [
|
|
2819
2929
|
$host,
|
|
2820
2930
|
subscriptionId,
|
|
2821
2931
|
resourceGroupName,
|
|
2822
|
-
clusterName
|
|
2932
|
+
clusterName,
|
|
2823
2933
|
],
|
|
2824
2934
|
headerParameters: [accept],
|
|
2825
|
-
serializer: serializer$7
|
|
2935
|
+
serializer: serializer$7,
|
|
2826
2936
|
};
|
|
2827
2937
|
const deleteOperationSpec$3 = {
|
|
2828
2938
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}",
|
|
@@ -2833,38 +2943,38 @@ const deleteOperationSpec$3 = {
|
|
|
2833
2943
|
202: {},
|
|
2834
2944
|
204: {},
|
|
2835
2945
|
default: {
|
|
2836
|
-
bodyMapper: ErrorResponse
|
|
2837
|
-
}
|
|
2946
|
+
bodyMapper: ErrorResponse,
|
|
2947
|
+
},
|
|
2838
2948
|
},
|
|
2839
2949
|
queryParameters: [apiVersion],
|
|
2840
2950
|
urlParameters: [
|
|
2841
2951
|
$host,
|
|
2842
2952
|
subscriptionId,
|
|
2843
2953
|
resourceGroupName,
|
|
2844
|
-
clusterName
|
|
2954
|
+
clusterName,
|
|
2845
2955
|
],
|
|
2846
2956
|
headerParameters: [accept],
|
|
2847
|
-
serializer: serializer$7
|
|
2957
|
+
serializer: serializer$7,
|
|
2848
2958
|
};
|
|
2849
2959
|
const updateOperationSpec = {
|
|
2850
2960
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}",
|
|
2851
2961
|
httpMethod: "PATCH",
|
|
2852
2962
|
responses: {
|
|
2853
2963
|
200: {
|
|
2854
|
-
bodyMapper: Cluster
|
|
2964
|
+
bodyMapper: Cluster,
|
|
2855
2965
|
},
|
|
2856
2966
|
201: {
|
|
2857
|
-
bodyMapper: Cluster
|
|
2967
|
+
bodyMapper: Cluster,
|
|
2858
2968
|
},
|
|
2859
2969
|
202: {
|
|
2860
|
-
bodyMapper: Cluster
|
|
2970
|
+
bodyMapper: Cluster,
|
|
2861
2971
|
},
|
|
2862
2972
|
204: {
|
|
2863
|
-
bodyMapper: Cluster
|
|
2973
|
+
bodyMapper: Cluster,
|
|
2864
2974
|
},
|
|
2865
2975
|
default: {
|
|
2866
|
-
bodyMapper: ErrorResponse
|
|
2867
|
-
}
|
|
2976
|
+
bodyMapper: ErrorResponse,
|
|
2977
|
+
},
|
|
2868
2978
|
},
|
|
2869
2979
|
requestBody: parameters1,
|
|
2870
2980
|
queryParameters: [apiVersion],
|
|
@@ -2872,41 +2982,41 @@ const updateOperationSpec = {
|
|
|
2872
2982
|
$host,
|
|
2873
2983
|
subscriptionId,
|
|
2874
2984
|
resourceGroupName,
|
|
2875
|
-
clusterName
|
|
2985
|
+
clusterName,
|
|
2876
2986
|
],
|
|
2877
2987
|
headerParameters: [accept, contentType],
|
|
2878
2988
|
mediaType: "json",
|
|
2879
|
-
serializer: serializer$7
|
|
2989
|
+
serializer: serializer$7,
|
|
2880
2990
|
};
|
|
2881
2991
|
const restartOperationSpec = {
|
|
2882
2992
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/restart",
|
|
2883
2993
|
httpMethod: "POST",
|
|
2884
2994
|
responses: {
|
|
2885
2995
|
200: {
|
|
2886
|
-
headersMapper: ClustersRestartHeaders
|
|
2996
|
+
headersMapper: ClustersRestartHeaders,
|
|
2887
2997
|
},
|
|
2888
2998
|
201: {
|
|
2889
|
-
headersMapper: ClustersRestartHeaders
|
|
2999
|
+
headersMapper: ClustersRestartHeaders,
|
|
2890
3000
|
},
|
|
2891
3001
|
202: {
|
|
2892
|
-
headersMapper: ClustersRestartHeaders
|
|
3002
|
+
headersMapper: ClustersRestartHeaders,
|
|
2893
3003
|
},
|
|
2894
3004
|
204: {
|
|
2895
|
-
headersMapper: ClustersRestartHeaders
|
|
3005
|
+
headersMapper: ClustersRestartHeaders,
|
|
2896
3006
|
},
|
|
2897
3007
|
default: {
|
|
2898
|
-
bodyMapper: ErrorResponse
|
|
2899
|
-
}
|
|
3008
|
+
bodyMapper: ErrorResponse,
|
|
3009
|
+
},
|
|
2900
3010
|
},
|
|
2901
3011
|
queryParameters: [apiVersion],
|
|
2902
3012
|
urlParameters: [
|
|
2903
3013
|
$host,
|
|
2904
3014
|
subscriptionId,
|
|
2905
3015
|
resourceGroupName,
|
|
2906
|
-
clusterName
|
|
3016
|
+
clusterName,
|
|
2907
3017
|
],
|
|
2908
3018
|
headerParameters: [accept],
|
|
2909
|
-
serializer: serializer$7
|
|
3019
|
+
serializer: serializer$7,
|
|
2910
3020
|
};
|
|
2911
3021
|
const startOperationSpec = {
|
|
2912
3022
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/start",
|
|
@@ -2917,18 +3027,18 @@ const startOperationSpec = {
|
|
|
2917
3027
|
202: {},
|
|
2918
3028
|
204: {},
|
|
2919
3029
|
default: {
|
|
2920
|
-
bodyMapper: ErrorResponse
|
|
2921
|
-
}
|
|
3030
|
+
bodyMapper: ErrorResponse,
|
|
3031
|
+
},
|
|
2922
3032
|
},
|
|
2923
3033
|
queryParameters: [apiVersion],
|
|
2924
3034
|
urlParameters: [
|
|
2925
3035
|
$host,
|
|
2926
3036
|
subscriptionId,
|
|
2927
3037
|
resourceGroupName,
|
|
2928
|
-
clusterName
|
|
3038
|
+
clusterName,
|
|
2929
3039
|
],
|
|
2930
3040
|
headerParameters: [accept],
|
|
2931
|
-
serializer: serializer$7
|
|
3041
|
+
serializer: serializer$7,
|
|
2932
3042
|
};
|
|
2933
3043
|
const stopOperationSpec = {
|
|
2934
3044
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/stop",
|
|
@@ -2939,105 +3049,107 @@ const stopOperationSpec = {
|
|
|
2939
3049
|
202: {},
|
|
2940
3050
|
204: {},
|
|
2941
3051
|
default: {
|
|
2942
|
-
bodyMapper: ErrorResponse
|
|
2943
|
-
}
|
|
3052
|
+
bodyMapper: ErrorResponse,
|
|
3053
|
+
},
|
|
2944
3054
|
},
|
|
2945
3055
|
queryParameters: [apiVersion],
|
|
2946
3056
|
urlParameters: [
|
|
2947
3057
|
$host,
|
|
2948
3058
|
subscriptionId,
|
|
2949
3059
|
resourceGroupName,
|
|
2950
|
-
clusterName
|
|
3060
|
+
clusterName,
|
|
2951
3061
|
],
|
|
2952
3062
|
headerParameters: [accept],
|
|
2953
|
-
serializer: serializer$7
|
|
3063
|
+
serializer: serializer$7,
|
|
2954
3064
|
};
|
|
2955
3065
|
const promoteReadReplicaOperationSpec = {
|
|
2956
3066
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/promote",
|
|
2957
3067
|
httpMethod: "POST",
|
|
2958
3068
|
responses: {
|
|
2959
3069
|
200: {
|
|
2960
|
-
headersMapper: ClustersPromoteReadReplicaHeaders
|
|
3070
|
+
headersMapper: ClustersPromoteReadReplicaHeaders,
|
|
2961
3071
|
},
|
|
2962
3072
|
201: {
|
|
2963
|
-
headersMapper: ClustersPromoteReadReplicaHeaders
|
|
3073
|
+
headersMapper: ClustersPromoteReadReplicaHeaders,
|
|
2964
3074
|
},
|
|
2965
3075
|
202: {
|
|
2966
|
-
headersMapper: ClustersPromoteReadReplicaHeaders
|
|
3076
|
+
headersMapper: ClustersPromoteReadReplicaHeaders,
|
|
2967
3077
|
},
|
|
2968
3078
|
204: {
|
|
2969
|
-
headersMapper: ClustersPromoteReadReplicaHeaders
|
|
3079
|
+
headersMapper: ClustersPromoteReadReplicaHeaders,
|
|
2970
3080
|
},
|
|
2971
3081
|
default: {
|
|
2972
|
-
bodyMapper: ErrorResponse
|
|
2973
|
-
}
|
|
3082
|
+
bodyMapper: ErrorResponse,
|
|
3083
|
+
},
|
|
2974
3084
|
},
|
|
3085
|
+
requestBody: promoteRequest,
|
|
2975
3086
|
queryParameters: [apiVersion],
|
|
2976
3087
|
urlParameters: [
|
|
2977
3088
|
$host,
|
|
2978
3089
|
subscriptionId,
|
|
2979
3090
|
resourceGroupName,
|
|
2980
|
-
clusterName
|
|
3091
|
+
clusterName,
|
|
2981
3092
|
],
|
|
2982
|
-
headerParameters: [accept],
|
|
2983
|
-
|
|
3093
|
+
headerParameters: [accept, contentType],
|
|
3094
|
+
mediaType: "json",
|
|
3095
|
+
serializer: serializer$7,
|
|
2984
3096
|
};
|
|
2985
3097
|
const checkNameAvailabilityOperationSpec = {
|
|
2986
3098
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability",
|
|
2987
3099
|
httpMethod: "POST",
|
|
2988
3100
|
responses: {
|
|
2989
3101
|
200: {
|
|
2990
|
-
bodyMapper: NameAvailability
|
|
3102
|
+
bodyMapper: NameAvailability,
|
|
2991
3103
|
},
|
|
2992
3104
|
default: {
|
|
2993
|
-
bodyMapper: ErrorResponse
|
|
2994
|
-
}
|
|
3105
|
+
bodyMapper: ErrorResponse,
|
|
3106
|
+
},
|
|
2995
3107
|
},
|
|
2996
3108
|
requestBody: nameAvailabilityRequest,
|
|
2997
3109
|
queryParameters: [apiVersion],
|
|
2998
3110
|
urlParameters: [$host, subscriptionId],
|
|
2999
3111
|
headerParameters: [accept, contentType],
|
|
3000
3112
|
mediaType: "json",
|
|
3001
|
-
serializer: serializer$7
|
|
3113
|
+
serializer: serializer$7,
|
|
3002
3114
|
};
|
|
3003
3115
|
const listNextOperationSpec = {
|
|
3004
3116
|
path: "{nextLink}",
|
|
3005
3117
|
httpMethod: "GET",
|
|
3006
3118
|
responses: {
|
|
3007
3119
|
200: {
|
|
3008
|
-
bodyMapper: ClusterListResult
|
|
3120
|
+
bodyMapper: ClusterListResult,
|
|
3009
3121
|
},
|
|
3010
3122
|
default: {
|
|
3011
|
-
bodyMapper: ErrorResponse
|
|
3012
|
-
}
|
|
3123
|
+
bodyMapper: ErrorResponse,
|
|
3124
|
+
},
|
|
3013
3125
|
},
|
|
3014
3126
|
urlParameters: [
|
|
3015
3127
|
$host,
|
|
3016
3128
|
subscriptionId,
|
|
3017
|
-
nextLink
|
|
3129
|
+
nextLink,
|
|
3018
3130
|
],
|
|
3019
3131
|
headerParameters: [accept],
|
|
3020
|
-
serializer: serializer$7
|
|
3132
|
+
serializer: serializer$7,
|
|
3021
3133
|
};
|
|
3022
3134
|
const listByResourceGroupNextOperationSpec = {
|
|
3023
3135
|
path: "{nextLink}",
|
|
3024
3136
|
httpMethod: "GET",
|
|
3025
3137
|
responses: {
|
|
3026
3138
|
200: {
|
|
3027
|
-
bodyMapper: ClusterListResult
|
|
3139
|
+
bodyMapper: ClusterListResult,
|
|
3028
3140
|
},
|
|
3029
3141
|
default: {
|
|
3030
|
-
bodyMapper: ErrorResponse
|
|
3031
|
-
}
|
|
3142
|
+
bodyMapper: ErrorResponse,
|
|
3143
|
+
},
|
|
3032
3144
|
},
|
|
3033
3145
|
urlParameters: [
|
|
3034
3146
|
$host,
|
|
3035
3147
|
subscriptionId,
|
|
3036
3148
|
resourceGroupName,
|
|
3037
|
-
nextLink
|
|
3149
|
+
nextLink,
|
|
3038
3150
|
],
|
|
3039
3151
|
headerParameters: [accept],
|
|
3040
|
-
serializer: serializer$7
|
|
3152
|
+
serializer: serializer$7,
|
|
3041
3153
|
};
|
|
3042
3154
|
|
|
3043
3155
|
/*
|
|
@@ -3077,7 +3189,7 @@ class ServersImpl {
|
|
|
3077
3189
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
3078
3190
|
}
|
|
3079
3191
|
return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
|
|
3080
|
-
}
|
|
3192
|
+
},
|
|
3081
3193
|
};
|
|
3082
3194
|
}
|
|
3083
3195
|
listByClusterPagingPage(resourceGroupName, clusterName, options, _settings) {
|
|
@@ -3134,32 +3246,32 @@ const listByClusterOperationSpec$5 = {
|
|
|
3134
3246
|
httpMethod: "GET",
|
|
3135
3247
|
responses: {
|
|
3136
3248
|
200: {
|
|
3137
|
-
bodyMapper: ClusterServerListResult
|
|
3249
|
+
bodyMapper: ClusterServerListResult,
|
|
3138
3250
|
},
|
|
3139
3251
|
default: {
|
|
3140
|
-
bodyMapper: ErrorResponse
|
|
3141
|
-
}
|
|
3252
|
+
bodyMapper: ErrorResponse,
|
|
3253
|
+
},
|
|
3142
3254
|
},
|
|
3143
3255
|
queryParameters: [apiVersion],
|
|
3144
3256
|
urlParameters: [
|
|
3145
3257
|
$host,
|
|
3146
3258
|
subscriptionId,
|
|
3147
3259
|
resourceGroupName,
|
|
3148
|
-
clusterName
|
|
3260
|
+
clusterName,
|
|
3149
3261
|
],
|
|
3150
3262
|
headerParameters: [accept],
|
|
3151
|
-
serializer: serializer$6
|
|
3263
|
+
serializer: serializer$6,
|
|
3152
3264
|
};
|
|
3153
3265
|
const getOperationSpec$5 = {
|
|
3154
3266
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/servers/{serverName}",
|
|
3155
3267
|
httpMethod: "GET",
|
|
3156
3268
|
responses: {
|
|
3157
3269
|
200: {
|
|
3158
|
-
bodyMapper: ClusterServer
|
|
3270
|
+
bodyMapper: ClusterServer,
|
|
3159
3271
|
},
|
|
3160
3272
|
default: {
|
|
3161
|
-
bodyMapper: ErrorResponse
|
|
3162
|
-
}
|
|
3273
|
+
bodyMapper: ErrorResponse,
|
|
3274
|
+
},
|
|
3163
3275
|
},
|
|
3164
3276
|
queryParameters: [apiVersion],
|
|
3165
3277
|
urlParameters: [
|
|
@@ -3167,10 +3279,10 @@ const getOperationSpec$5 = {
|
|
|
3167
3279
|
subscriptionId,
|
|
3168
3280
|
resourceGroupName,
|
|
3169
3281
|
clusterName,
|
|
3170
|
-
serverName
|
|
3282
|
+
serverName,
|
|
3171
3283
|
],
|
|
3172
3284
|
headerParameters: [accept],
|
|
3173
|
-
serializer: serializer$6
|
|
3285
|
+
serializer: serializer$6,
|
|
3174
3286
|
};
|
|
3175
3287
|
|
|
3176
3288
|
/*
|
|
@@ -3211,7 +3323,7 @@ class ConfigurationsImpl {
|
|
|
3211
3323
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
3212
3324
|
}
|
|
3213
3325
|
return this.listByServerPagingPage(resourceGroupName, clusterName, serverName, options, settings);
|
|
3214
|
-
}
|
|
3326
|
+
},
|
|
3215
3327
|
};
|
|
3216
3328
|
}
|
|
3217
3329
|
listByServerPagingPage(resourceGroupName, clusterName, serverName, options, settings) {
|
|
@@ -3274,7 +3386,7 @@ class ConfigurationsImpl {
|
|
|
3274
3386
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
3275
3387
|
}
|
|
3276
3388
|
return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
|
|
3277
|
-
}
|
|
3389
|
+
},
|
|
3278
3390
|
};
|
|
3279
3391
|
}
|
|
3280
3392
|
listByClusterPagingPage(resourceGroupName, clusterName, options, settings) {
|
|
@@ -3384,8 +3496,8 @@ class ConfigurationsImpl {
|
|
|
3384
3496
|
rawResponse: {
|
|
3385
3497
|
statusCode: currentRawResponse.status,
|
|
3386
3498
|
body: currentRawResponse.parsedBody,
|
|
3387
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3388
|
-
}
|
|
3499
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3500
|
+
},
|
|
3389
3501
|
};
|
|
3390
3502
|
});
|
|
3391
3503
|
const lro = createLroSpec({
|
|
@@ -3395,14 +3507,14 @@ class ConfigurationsImpl {
|
|
|
3395
3507
|
clusterName,
|
|
3396
3508
|
configurationName,
|
|
3397
3509
|
parameters,
|
|
3398
|
-
options
|
|
3510
|
+
options,
|
|
3399
3511
|
},
|
|
3400
|
-
spec: updateOnCoordinatorOperationSpec
|
|
3512
|
+
spec: updateOnCoordinatorOperationSpec,
|
|
3401
3513
|
});
|
|
3402
3514
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3403
3515
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3404
3516
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3405
|
-
resourceLocationConfig: "azure-async-operation"
|
|
3517
|
+
resourceLocationConfig: "azure-async-operation",
|
|
3406
3518
|
});
|
|
3407
3519
|
yield poller.poll();
|
|
3408
3520
|
return poller;
|
|
@@ -3460,8 +3572,8 @@ class ConfigurationsImpl {
|
|
|
3460
3572
|
rawResponse: {
|
|
3461
3573
|
statusCode: currentRawResponse.status,
|
|
3462
3574
|
body: currentRawResponse.parsedBody,
|
|
3463
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3464
|
-
}
|
|
3575
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3576
|
+
},
|
|
3465
3577
|
};
|
|
3466
3578
|
});
|
|
3467
3579
|
const lro = createLroSpec({
|
|
@@ -3471,14 +3583,14 @@ class ConfigurationsImpl {
|
|
|
3471
3583
|
clusterName,
|
|
3472
3584
|
configurationName,
|
|
3473
3585
|
parameters,
|
|
3474
|
-
options
|
|
3586
|
+
options,
|
|
3475
3587
|
},
|
|
3476
|
-
spec: updateOnNodeOperationSpec
|
|
3588
|
+
spec: updateOnNodeOperationSpec,
|
|
3477
3589
|
});
|
|
3478
3590
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3479
3591
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3480
3592
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3481
|
-
resourceLocationConfig: "azure-async-operation"
|
|
3593
|
+
resourceLocationConfig: "azure-async-operation",
|
|
3482
3594
|
});
|
|
3483
3595
|
yield poller.poll();
|
|
3484
3596
|
return poller;
|
|
@@ -3527,11 +3639,11 @@ const listByServerOperationSpec = {
|
|
|
3527
3639
|
httpMethod: "GET",
|
|
3528
3640
|
responses: {
|
|
3529
3641
|
200: {
|
|
3530
|
-
bodyMapper: ServerConfigurationListResult
|
|
3642
|
+
bodyMapper: ServerConfigurationListResult,
|
|
3531
3643
|
},
|
|
3532
3644
|
default: {
|
|
3533
|
-
bodyMapper: ErrorResponse
|
|
3534
|
-
}
|
|
3645
|
+
bodyMapper: ErrorResponse,
|
|
3646
|
+
},
|
|
3535
3647
|
},
|
|
3536
3648
|
queryParameters: [apiVersion],
|
|
3537
3649
|
urlParameters: [
|
|
@@ -3539,42 +3651,42 @@ const listByServerOperationSpec = {
|
|
|
3539
3651
|
subscriptionId,
|
|
3540
3652
|
resourceGroupName,
|
|
3541
3653
|
clusterName,
|
|
3542
|
-
serverName
|
|
3654
|
+
serverName,
|
|
3543
3655
|
],
|
|
3544
3656
|
headerParameters: [accept],
|
|
3545
|
-
serializer: serializer$5
|
|
3657
|
+
serializer: serializer$5,
|
|
3546
3658
|
};
|
|
3547
3659
|
const listByClusterOperationSpec$4 = {
|
|
3548
3660
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/configurations",
|
|
3549
3661
|
httpMethod: "GET",
|
|
3550
3662
|
responses: {
|
|
3551
3663
|
200: {
|
|
3552
|
-
bodyMapper: ClusterConfigurationListResult
|
|
3664
|
+
bodyMapper: ClusterConfigurationListResult,
|
|
3553
3665
|
},
|
|
3554
3666
|
default: {
|
|
3555
|
-
bodyMapper: ErrorResponse
|
|
3556
|
-
}
|
|
3667
|
+
bodyMapper: ErrorResponse,
|
|
3668
|
+
},
|
|
3557
3669
|
},
|
|
3558
3670
|
queryParameters: [apiVersion],
|
|
3559
3671
|
urlParameters: [
|
|
3560
3672
|
$host,
|
|
3561
3673
|
subscriptionId,
|
|
3562
3674
|
resourceGroupName,
|
|
3563
|
-
clusterName
|
|
3675
|
+
clusterName,
|
|
3564
3676
|
],
|
|
3565
3677
|
headerParameters: [accept],
|
|
3566
|
-
serializer: serializer$5
|
|
3678
|
+
serializer: serializer$5,
|
|
3567
3679
|
};
|
|
3568
3680
|
const getOperationSpec$4 = {
|
|
3569
3681
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/configurations/{configurationName}",
|
|
3570
3682
|
httpMethod: "GET",
|
|
3571
3683
|
responses: {
|
|
3572
3684
|
200: {
|
|
3573
|
-
bodyMapper: Configuration
|
|
3685
|
+
bodyMapper: Configuration,
|
|
3574
3686
|
},
|
|
3575
3687
|
default: {
|
|
3576
|
-
bodyMapper: ErrorResponse
|
|
3577
|
-
}
|
|
3688
|
+
bodyMapper: ErrorResponse,
|
|
3689
|
+
},
|
|
3578
3690
|
},
|
|
3579
3691
|
queryParameters: [apiVersion],
|
|
3580
3692
|
urlParameters: [
|
|
@@ -3582,21 +3694,21 @@ const getOperationSpec$4 = {
|
|
|
3582
3694
|
subscriptionId,
|
|
3583
3695
|
resourceGroupName,
|
|
3584
3696
|
clusterName,
|
|
3585
|
-
configurationName
|
|
3697
|
+
configurationName,
|
|
3586
3698
|
],
|
|
3587
3699
|
headerParameters: [accept],
|
|
3588
|
-
serializer: serializer$5
|
|
3700
|
+
serializer: serializer$5,
|
|
3589
3701
|
};
|
|
3590
3702
|
const getCoordinatorOperationSpec = {
|
|
3591
3703
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/coordinatorConfigurations/{configurationName}",
|
|
3592
3704
|
httpMethod: "GET",
|
|
3593
3705
|
responses: {
|
|
3594
3706
|
200: {
|
|
3595
|
-
bodyMapper: ServerConfiguration
|
|
3707
|
+
bodyMapper: ServerConfiguration,
|
|
3596
3708
|
},
|
|
3597
3709
|
default: {
|
|
3598
|
-
bodyMapper: ErrorResponse
|
|
3599
|
-
}
|
|
3710
|
+
bodyMapper: ErrorResponse,
|
|
3711
|
+
},
|
|
3600
3712
|
},
|
|
3601
3713
|
queryParameters: [apiVersion],
|
|
3602
3714
|
urlParameters: [
|
|
@@ -3604,30 +3716,30 @@ const getCoordinatorOperationSpec = {
|
|
|
3604
3716
|
subscriptionId,
|
|
3605
3717
|
resourceGroupName,
|
|
3606
3718
|
clusterName,
|
|
3607
|
-
configurationName
|
|
3719
|
+
configurationName,
|
|
3608
3720
|
],
|
|
3609
3721
|
headerParameters: [accept],
|
|
3610
|
-
serializer: serializer$5
|
|
3722
|
+
serializer: serializer$5,
|
|
3611
3723
|
};
|
|
3612
3724
|
const updateOnCoordinatorOperationSpec = {
|
|
3613
3725
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/coordinatorConfigurations/{configurationName}",
|
|
3614
3726
|
httpMethod: "PUT",
|
|
3615
3727
|
responses: {
|
|
3616
3728
|
200: {
|
|
3617
|
-
bodyMapper: ServerConfiguration
|
|
3729
|
+
bodyMapper: ServerConfiguration,
|
|
3618
3730
|
},
|
|
3619
3731
|
201: {
|
|
3620
|
-
bodyMapper: ServerConfiguration
|
|
3732
|
+
bodyMapper: ServerConfiguration,
|
|
3621
3733
|
},
|
|
3622
3734
|
202: {
|
|
3623
|
-
bodyMapper: ServerConfiguration
|
|
3735
|
+
bodyMapper: ServerConfiguration,
|
|
3624
3736
|
},
|
|
3625
3737
|
204: {
|
|
3626
|
-
bodyMapper: ServerConfiguration
|
|
3738
|
+
bodyMapper: ServerConfiguration,
|
|
3627
3739
|
},
|
|
3628
3740
|
default: {
|
|
3629
|
-
bodyMapper: ErrorResponse
|
|
3630
|
-
}
|
|
3741
|
+
bodyMapper: ErrorResponse,
|
|
3742
|
+
},
|
|
3631
3743
|
},
|
|
3632
3744
|
requestBody: parameters2,
|
|
3633
3745
|
queryParameters: [apiVersion],
|
|
@@ -3636,22 +3748,22 @@ const updateOnCoordinatorOperationSpec = {
|
|
|
3636
3748
|
subscriptionId,
|
|
3637
3749
|
resourceGroupName,
|
|
3638
3750
|
clusterName,
|
|
3639
|
-
configurationName
|
|
3751
|
+
configurationName,
|
|
3640
3752
|
],
|
|
3641
3753
|
headerParameters: [accept, contentType],
|
|
3642
3754
|
mediaType: "json",
|
|
3643
|
-
serializer: serializer$5
|
|
3755
|
+
serializer: serializer$5,
|
|
3644
3756
|
};
|
|
3645
3757
|
const getNodeOperationSpec = {
|
|
3646
3758
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/nodeConfigurations/{configurationName}",
|
|
3647
3759
|
httpMethod: "GET",
|
|
3648
3760
|
responses: {
|
|
3649
3761
|
200: {
|
|
3650
|
-
bodyMapper: ServerConfiguration
|
|
3762
|
+
bodyMapper: ServerConfiguration,
|
|
3651
3763
|
},
|
|
3652
3764
|
default: {
|
|
3653
|
-
bodyMapper: ErrorResponse
|
|
3654
|
-
}
|
|
3765
|
+
bodyMapper: ErrorResponse,
|
|
3766
|
+
},
|
|
3655
3767
|
},
|
|
3656
3768
|
queryParameters: [apiVersion],
|
|
3657
3769
|
urlParameters: [
|
|
@@ -3659,30 +3771,30 @@ const getNodeOperationSpec = {
|
|
|
3659
3771
|
subscriptionId,
|
|
3660
3772
|
resourceGroupName,
|
|
3661
3773
|
clusterName,
|
|
3662
|
-
configurationName
|
|
3774
|
+
configurationName,
|
|
3663
3775
|
],
|
|
3664
3776
|
headerParameters: [accept],
|
|
3665
|
-
serializer: serializer$5
|
|
3777
|
+
serializer: serializer$5,
|
|
3666
3778
|
};
|
|
3667
3779
|
const updateOnNodeOperationSpec = {
|
|
3668
3780
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/nodeConfigurations/{configurationName}",
|
|
3669
3781
|
httpMethod: "PUT",
|
|
3670
3782
|
responses: {
|
|
3671
3783
|
200: {
|
|
3672
|
-
bodyMapper: ServerConfiguration
|
|
3784
|
+
bodyMapper: ServerConfiguration,
|
|
3673
3785
|
},
|
|
3674
3786
|
201: {
|
|
3675
|
-
bodyMapper: ServerConfiguration
|
|
3787
|
+
bodyMapper: ServerConfiguration,
|
|
3676
3788
|
},
|
|
3677
3789
|
202: {
|
|
3678
|
-
bodyMapper: ServerConfiguration
|
|
3790
|
+
bodyMapper: ServerConfiguration,
|
|
3679
3791
|
},
|
|
3680
3792
|
204: {
|
|
3681
|
-
bodyMapper: ServerConfiguration
|
|
3793
|
+
bodyMapper: ServerConfiguration,
|
|
3682
3794
|
},
|
|
3683
3795
|
default: {
|
|
3684
|
-
bodyMapper: ErrorResponse
|
|
3685
|
-
}
|
|
3796
|
+
bodyMapper: ErrorResponse,
|
|
3797
|
+
},
|
|
3686
3798
|
},
|
|
3687
3799
|
requestBody: parameters2,
|
|
3688
3800
|
queryParameters: [apiVersion],
|
|
@@ -3691,22 +3803,22 @@ const updateOnNodeOperationSpec = {
|
|
|
3691
3803
|
subscriptionId,
|
|
3692
3804
|
resourceGroupName,
|
|
3693
3805
|
clusterName,
|
|
3694
|
-
configurationName
|
|
3806
|
+
configurationName,
|
|
3695
3807
|
],
|
|
3696
3808
|
headerParameters: [accept, contentType],
|
|
3697
3809
|
mediaType: "json",
|
|
3698
|
-
serializer: serializer$5
|
|
3810
|
+
serializer: serializer$5,
|
|
3699
3811
|
};
|
|
3700
3812
|
const listByServerNextOperationSpec = {
|
|
3701
3813
|
path: "{nextLink}",
|
|
3702
3814
|
httpMethod: "GET",
|
|
3703
3815
|
responses: {
|
|
3704
3816
|
200: {
|
|
3705
|
-
bodyMapper: ServerConfigurationListResult
|
|
3817
|
+
bodyMapper: ServerConfigurationListResult,
|
|
3706
3818
|
},
|
|
3707
3819
|
default: {
|
|
3708
|
-
bodyMapper: ErrorResponse
|
|
3709
|
-
}
|
|
3820
|
+
bodyMapper: ErrorResponse,
|
|
3821
|
+
},
|
|
3710
3822
|
},
|
|
3711
3823
|
urlParameters: [
|
|
3712
3824
|
$host,
|
|
@@ -3714,31 +3826,31 @@ const listByServerNextOperationSpec = {
|
|
|
3714
3826
|
resourceGroupName,
|
|
3715
3827
|
clusterName,
|
|
3716
3828
|
nextLink,
|
|
3717
|
-
serverName
|
|
3829
|
+
serverName,
|
|
3718
3830
|
],
|
|
3719
3831
|
headerParameters: [accept],
|
|
3720
|
-
serializer: serializer$5
|
|
3832
|
+
serializer: serializer$5,
|
|
3721
3833
|
};
|
|
3722
3834
|
const listByClusterNextOperationSpec = {
|
|
3723
3835
|
path: "{nextLink}",
|
|
3724
3836
|
httpMethod: "GET",
|
|
3725
3837
|
responses: {
|
|
3726
3838
|
200: {
|
|
3727
|
-
bodyMapper: ClusterConfigurationListResult
|
|
3839
|
+
bodyMapper: ClusterConfigurationListResult,
|
|
3728
3840
|
},
|
|
3729
3841
|
default: {
|
|
3730
|
-
bodyMapper: ErrorResponse
|
|
3731
|
-
}
|
|
3842
|
+
bodyMapper: ErrorResponse,
|
|
3843
|
+
},
|
|
3732
3844
|
},
|
|
3733
3845
|
urlParameters: [
|
|
3734
3846
|
$host,
|
|
3735
3847
|
subscriptionId,
|
|
3736
3848
|
resourceGroupName,
|
|
3737
3849
|
clusterName,
|
|
3738
|
-
nextLink
|
|
3850
|
+
nextLink,
|
|
3739
3851
|
],
|
|
3740
3852
|
headerParameters: [accept],
|
|
3741
|
-
serializer: serializer$5
|
|
3853
|
+
serializer: serializer$5,
|
|
3742
3854
|
};
|
|
3743
3855
|
|
|
3744
3856
|
/*
|
|
@@ -3778,7 +3890,7 @@ class FirewallRulesImpl {
|
|
|
3778
3890
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
3779
3891
|
}
|
|
3780
3892
|
return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
|
|
3781
|
-
}
|
|
3893
|
+
},
|
|
3782
3894
|
};
|
|
3783
3895
|
}
|
|
3784
3896
|
listByClusterPagingPage(resourceGroupName, clusterName, options, _settings) {
|
|
@@ -3836,8 +3948,8 @@ class FirewallRulesImpl {
|
|
|
3836
3948
|
rawResponse: {
|
|
3837
3949
|
statusCode: currentRawResponse.status,
|
|
3838
3950
|
body: currentRawResponse.parsedBody,
|
|
3839
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3840
|
-
}
|
|
3951
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3952
|
+
},
|
|
3841
3953
|
};
|
|
3842
3954
|
});
|
|
3843
3955
|
const lro = createLroSpec({
|
|
@@ -3847,14 +3959,14 @@ class FirewallRulesImpl {
|
|
|
3847
3959
|
clusterName,
|
|
3848
3960
|
firewallRuleName,
|
|
3849
3961
|
parameters,
|
|
3850
|
-
options
|
|
3962
|
+
options,
|
|
3851
3963
|
},
|
|
3852
|
-
spec: createOrUpdateOperationSpec$1
|
|
3964
|
+
spec: createOrUpdateOperationSpec$1,
|
|
3853
3965
|
});
|
|
3854
3966
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3855
3967
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3856
3968
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3857
|
-
resourceLocationConfig: "azure-async-operation"
|
|
3969
|
+
resourceLocationConfig: "azure-async-operation",
|
|
3858
3970
|
});
|
|
3859
3971
|
yield poller.poll();
|
|
3860
3972
|
return poller;
|
|
@@ -3901,19 +4013,19 @@ class FirewallRulesImpl {
|
|
|
3901
4013
|
rawResponse: {
|
|
3902
4014
|
statusCode: currentRawResponse.status,
|
|
3903
4015
|
body: currentRawResponse.parsedBody,
|
|
3904
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3905
|
-
}
|
|
4016
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4017
|
+
},
|
|
3906
4018
|
};
|
|
3907
4019
|
});
|
|
3908
4020
|
const lro = createLroSpec({
|
|
3909
4021
|
sendOperationFn,
|
|
3910
4022
|
args: { resourceGroupName, clusterName, firewallRuleName, options },
|
|
3911
|
-
spec: deleteOperationSpec$2
|
|
4023
|
+
spec: deleteOperationSpec$2,
|
|
3912
4024
|
});
|
|
3913
4025
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3914
4026
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3915
4027
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3916
|
-
resourceLocationConfig: "location"
|
|
4028
|
+
resourceLocationConfig: "location",
|
|
3917
4029
|
});
|
|
3918
4030
|
yield poller.poll();
|
|
3919
4031
|
return poller;
|
|
@@ -3959,20 +4071,20 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
3959
4071
|
httpMethod: "PUT",
|
|
3960
4072
|
responses: {
|
|
3961
4073
|
200: {
|
|
3962
|
-
bodyMapper: FirewallRule
|
|
4074
|
+
bodyMapper: FirewallRule,
|
|
3963
4075
|
},
|
|
3964
4076
|
201: {
|
|
3965
|
-
bodyMapper: FirewallRule
|
|
4077
|
+
bodyMapper: FirewallRule,
|
|
3966
4078
|
},
|
|
3967
4079
|
202: {
|
|
3968
|
-
bodyMapper: FirewallRule
|
|
4080
|
+
bodyMapper: FirewallRule,
|
|
3969
4081
|
},
|
|
3970
4082
|
204: {
|
|
3971
|
-
bodyMapper: FirewallRule
|
|
4083
|
+
bodyMapper: FirewallRule,
|
|
3972
4084
|
},
|
|
3973
4085
|
default: {
|
|
3974
|
-
bodyMapper: ErrorResponse
|
|
3975
|
-
}
|
|
4086
|
+
bodyMapper: ErrorResponse,
|
|
4087
|
+
},
|
|
3976
4088
|
},
|
|
3977
4089
|
requestBody: parameters3,
|
|
3978
4090
|
queryParameters: [apiVersion],
|
|
@@ -3981,31 +4093,31 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
3981
4093
|
subscriptionId,
|
|
3982
4094
|
resourceGroupName,
|
|
3983
4095
|
clusterName,
|
|
3984
|
-
firewallRuleName
|
|
4096
|
+
firewallRuleName,
|
|
3985
4097
|
],
|
|
3986
4098
|
headerParameters: [accept, contentType],
|
|
3987
4099
|
mediaType: "json",
|
|
3988
|
-
serializer: serializer$4
|
|
4100
|
+
serializer: serializer$4,
|
|
3989
4101
|
};
|
|
3990
4102
|
const deleteOperationSpec$2 = {
|
|
3991
4103
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules/{firewallRuleName}",
|
|
3992
4104
|
httpMethod: "DELETE",
|
|
3993
4105
|
responses: {
|
|
3994
4106
|
200: {
|
|
3995
|
-
headersMapper: FirewallRulesDeleteHeaders
|
|
4107
|
+
headersMapper: FirewallRulesDeleteHeaders,
|
|
3996
4108
|
},
|
|
3997
4109
|
201: {
|
|
3998
|
-
headersMapper: FirewallRulesDeleteHeaders
|
|
4110
|
+
headersMapper: FirewallRulesDeleteHeaders,
|
|
3999
4111
|
},
|
|
4000
4112
|
202: {
|
|
4001
|
-
headersMapper: FirewallRulesDeleteHeaders
|
|
4113
|
+
headersMapper: FirewallRulesDeleteHeaders,
|
|
4002
4114
|
},
|
|
4003
4115
|
204: {
|
|
4004
|
-
headersMapper: FirewallRulesDeleteHeaders
|
|
4116
|
+
headersMapper: FirewallRulesDeleteHeaders,
|
|
4005
4117
|
},
|
|
4006
4118
|
default: {
|
|
4007
|
-
bodyMapper: ErrorResponse
|
|
4008
|
-
}
|
|
4119
|
+
bodyMapper: ErrorResponse,
|
|
4120
|
+
},
|
|
4009
4121
|
},
|
|
4010
4122
|
queryParameters: [apiVersion],
|
|
4011
4123
|
urlParameters: [
|
|
@@ -4013,21 +4125,21 @@ const deleteOperationSpec$2 = {
|
|
|
4013
4125
|
subscriptionId,
|
|
4014
4126
|
resourceGroupName,
|
|
4015
4127
|
clusterName,
|
|
4016
|
-
firewallRuleName
|
|
4128
|
+
firewallRuleName,
|
|
4017
4129
|
],
|
|
4018
4130
|
headerParameters: [accept],
|
|
4019
|
-
serializer: serializer$4
|
|
4131
|
+
serializer: serializer$4,
|
|
4020
4132
|
};
|
|
4021
4133
|
const getOperationSpec$3 = {
|
|
4022
4134
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules/{firewallRuleName}",
|
|
4023
4135
|
httpMethod: "GET",
|
|
4024
4136
|
responses: {
|
|
4025
4137
|
200: {
|
|
4026
|
-
bodyMapper: FirewallRule
|
|
4138
|
+
bodyMapper: FirewallRule,
|
|
4027
4139
|
},
|
|
4028
4140
|
default: {
|
|
4029
|
-
bodyMapper: ErrorResponse
|
|
4030
|
-
}
|
|
4141
|
+
bodyMapper: ErrorResponse,
|
|
4142
|
+
},
|
|
4031
4143
|
},
|
|
4032
4144
|
queryParameters: [apiVersion],
|
|
4033
4145
|
urlParameters: [
|
|
@@ -4035,31 +4147,31 @@ const getOperationSpec$3 = {
|
|
|
4035
4147
|
subscriptionId,
|
|
4036
4148
|
resourceGroupName,
|
|
4037
4149
|
clusterName,
|
|
4038
|
-
firewallRuleName
|
|
4150
|
+
firewallRuleName,
|
|
4039
4151
|
],
|
|
4040
4152
|
headerParameters: [accept],
|
|
4041
|
-
serializer: serializer$4
|
|
4153
|
+
serializer: serializer$4,
|
|
4042
4154
|
};
|
|
4043
4155
|
const listByClusterOperationSpec$3 = {
|
|
4044
4156
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules",
|
|
4045
4157
|
httpMethod: "GET",
|
|
4046
4158
|
responses: {
|
|
4047
4159
|
200: {
|
|
4048
|
-
bodyMapper: FirewallRuleListResult
|
|
4160
|
+
bodyMapper: FirewallRuleListResult,
|
|
4049
4161
|
},
|
|
4050
4162
|
default: {
|
|
4051
|
-
bodyMapper: ErrorResponse
|
|
4052
|
-
}
|
|
4163
|
+
bodyMapper: ErrorResponse,
|
|
4164
|
+
},
|
|
4053
4165
|
},
|
|
4054
4166
|
queryParameters: [apiVersion],
|
|
4055
4167
|
urlParameters: [
|
|
4056
4168
|
$host,
|
|
4057
4169
|
subscriptionId,
|
|
4058
4170
|
resourceGroupName,
|
|
4059
|
-
clusterName
|
|
4171
|
+
clusterName,
|
|
4060
4172
|
],
|
|
4061
4173
|
headerParameters: [accept],
|
|
4062
|
-
serializer: serializer$4
|
|
4174
|
+
serializer: serializer$4,
|
|
4063
4175
|
};
|
|
4064
4176
|
|
|
4065
4177
|
/*
|
|
@@ -4099,7 +4211,7 @@ class RolesImpl {
|
|
|
4099
4211
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
4100
4212
|
}
|
|
4101
4213
|
return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
|
|
4102
|
-
}
|
|
4214
|
+
},
|
|
4103
4215
|
};
|
|
4104
4216
|
}
|
|
4105
4217
|
listByClusterPagingPage(resourceGroupName, clusterName, options, _settings) {
|
|
@@ -4167,19 +4279,19 @@ class RolesImpl {
|
|
|
4167
4279
|
rawResponse: {
|
|
4168
4280
|
statusCode: currentRawResponse.status,
|
|
4169
4281
|
body: currentRawResponse.parsedBody,
|
|
4170
|
-
headers: currentRawResponse.headers.toJSON()
|
|
4171
|
-
}
|
|
4282
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4283
|
+
},
|
|
4172
4284
|
};
|
|
4173
4285
|
});
|
|
4174
4286
|
const lro = createLroSpec({
|
|
4175
4287
|
sendOperationFn,
|
|
4176
4288
|
args: { resourceGroupName, clusterName, roleName, parameters, options },
|
|
4177
|
-
spec: createOperationSpec
|
|
4289
|
+
spec: createOperationSpec,
|
|
4178
4290
|
});
|
|
4179
4291
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4180
4292
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4181
4293
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4182
|
-
resourceLocationConfig: "azure-async-operation"
|
|
4294
|
+
resourceLocationConfig: "azure-async-operation",
|
|
4183
4295
|
});
|
|
4184
4296
|
yield poller.poll();
|
|
4185
4297
|
return poller;
|
|
@@ -4226,19 +4338,19 @@ class RolesImpl {
|
|
|
4226
4338
|
rawResponse: {
|
|
4227
4339
|
statusCode: currentRawResponse.status,
|
|
4228
4340
|
body: currentRawResponse.parsedBody,
|
|
4229
|
-
headers: currentRawResponse.headers.toJSON()
|
|
4230
|
-
}
|
|
4341
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4342
|
+
},
|
|
4231
4343
|
};
|
|
4232
4344
|
});
|
|
4233
4345
|
const lro = createLroSpec({
|
|
4234
4346
|
sendOperationFn,
|
|
4235
4347
|
args: { resourceGroupName, clusterName, roleName, options },
|
|
4236
|
-
spec: deleteOperationSpec$1
|
|
4348
|
+
spec: deleteOperationSpec$1,
|
|
4237
4349
|
});
|
|
4238
4350
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4239
4351
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4240
4352
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4241
|
-
resourceLocationConfig: "location"
|
|
4353
|
+
resourceLocationConfig: "location",
|
|
4242
4354
|
});
|
|
4243
4355
|
yield poller.poll();
|
|
4244
4356
|
return poller;
|
|
@@ -4274,11 +4386,11 @@ const getOperationSpec$2 = {
|
|
|
4274
4386
|
httpMethod: "GET",
|
|
4275
4387
|
responses: {
|
|
4276
4388
|
200: {
|
|
4277
|
-
bodyMapper: Role
|
|
4389
|
+
bodyMapper: Role,
|
|
4278
4390
|
},
|
|
4279
4391
|
default: {
|
|
4280
|
-
bodyMapper: ErrorResponse
|
|
4281
|
-
}
|
|
4392
|
+
bodyMapper: ErrorResponse,
|
|
4393
|
+
},
|
|
4282
4394
|
},
|
|
4283
4395
|
queryParameters: [apiVersion],
|
|
4284
4396
|
urlParameters: [
|
|
@@ -4286,30 +4398,30 @@ const getOperationSpec$2 = {
|
|
|
4286
4398
|
subscriptionId,
|
|
4287
4399
|
resourceGroupName,
|
|
4288
4400
|
clusterName,
|
|
4289
|
-
roleName
|
|
4401
|
+
roleName,
|
|
4290
4402
|
],
|
|
4291
4403
|
headerParameters: [accept],
|
|
4292
|
-
serializer: serializer$3
|
|
4404
|
+
serializer: serializer$3,
|
|
4293
4405
|
};
|
|
4294
4406
|
const createOperationSpec = {
|
|
4295
4407
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles/{roleName}",
|
|
4296
4408
|
httpMethod: "PUT",
|
|
4297
4409
|
responses: {
|
|
4298
4410
|
200: {
|
|
4299
|
-
bodyMapper: Role
|
|
4411
|
+
bodyMapper: Role,
|
|
4300
4412
|
},
|
|
4301
4413
|
201: {
|
|
4302
|
-
bodyMapper: Role
|
|
4414
|
+
bodyMapper: Role,
|
|
4303
4415
|
},
|
|
4304
4416
|
202: {
|
|
4305
|
-
bodyMapper: Role
|
|
4417
|
+
bodyMapper: Role,
|
|
4306
4418
|
},
|
|
4307
4419
|
204: {
|
|
4308
|
-
bodyMapper: Role
|
|
4420
|
+
bodyMapper: Role,
|
|
4309
4421
|
},
|
|
4310
4422
|
default: {
|
|
4311
|
-
bodyMapper: ErrorResponse
|
|
4312
|
-
}
|
|
4423
|
+
bodyMapper: ErrorResponse,
|
|
4424
|
+
},
|
|
4313
4425
|
},
|
|
4314
4426
|
requestBody: parameters4,
|
|
4315
4427
|
queryParameters: [apiVersion],
|
|
@@ -4318,31 +4430,31 @@ const createOperationSpec = {
|
|
|
4318
4430
|
subscriptionId,
|
|
4319
4431
|
resourceGroupName,
|
|
4320
4432
|
clusterName,
|
|
4321
|
-
roleName
|
|
4433
|
+
roleName,
|
|
4322
4434
|
],
|
|
4323
4435
|
headerParameters: [accept, contentType],
|
|
4324
4436
|
mediaType: "json",
|
|
4325
|
-
serializer: serializer$3
|
|
4437
|
+
serializer: serializer$3,
|
|
4326
4438
|
};
|
|
4327
4439
|
const deleteOperationSpec$1 = {
|
|
4328
4440
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles/{roleName}",
|
|
4329
4441
|
httpMethod: "DELETE",
|
|
4330
4442
|
responses: {
|
|
4331
4443
|
200: {
|
|
4332
|
-
headersMapper: RolesDeleteHeaders
|
|
4444
|
+
headersMapper: RolesDeleteHeaders,
|
|
4333
4445
|
},
|
|
4334
4446
|
201: {
|
|
4335
|
-
headersMapper: RolesDeleteHeaders
|
|
4447
|
+
headersMapper: RolesDeleteHeaders,
|
|
4336
4448
|
},
|
|
4337
4449
|
202: {
|
|
4338
|
-
headersMapper: RolesDeleteHeaders
|
|
4450
|
+
headersMapper: RolesDeleteHeaders,
|
|
4339
4451
|
},
|
|
4340
4452
|
204: {
|
|
4341
|
-
headersMapper: RolesDeleteHeaders
|
|
4453
|
+
headersMapper: RolesDeleteHeaders,
|
|
4342
4454
|
},
|
|
4343
4455
|
default: {
|
|
4344
|
-
bodyMapper: ErrorResponse
|
|
4345
|
-
}
|
|
4456
|
+
bodyMapper: ErrorResponse,
|
|
4457
|
+
},
|
|
4346
4458
|
},
|
|
4347
4459
|
queryParameters: [apiVersion],
|
|
4348
4460
|
urlParameters: [
|
|
@@ -4350,31 +4462,31 @@ const deleteOperationSpec$1 = {
|
|
|
4350
4462
|
subscriptionId,
|
|
4351
4463
|
resourceGroupName,
|
|
4352
4464
|
clusterName,
|
|
4353
|
-
roleName
|
|
4465
|
+
roleName,
|
|
4354
4466
|
],
|
|
4355
4467
|
headerParameters: [accept],
|
|
4356
|
-
serializer: serializer$3
|
|
4468
|
+
serializer: serializer$3,
|
|
4357
4469
|
};
|
|
4358
4470
|
const listByClusterOperationSpec$2 = {
|
|
4359
4471
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles",
|
|
4360
4472
|
httpMethod: "GET",
|
|
4361
4473
|
responses: {
|
|
4362
4474
|
200: {
|
|
4363
|
-
bodyMapper: RoleListResult
|
|
4475
|
+
bodyMapper: RoleListResult,
|
|
4364
4476
|
},
|
|
4365
4477
|
default: {
|
|
4366
|
-
bodyMapper: ErrorResponse
|
|
4367
|
-
}
|
|
4478
|
+
bodyMapper: ErrorResponse,
|
|
4479
|
+
},
|
|
4368
4480
|
},
|
|
4369
4481
|
queryParameters: [apiVersion],
|
|
4370
4482
|
urlParameters: [
|
|
4371
4483
|
$host,
|
|
4372
4484
|
subscriptionId,
|
|
4373
4485
|
resourceGroupName,
|
|
4374
|
-
clusterName
|
|
4486
|
+
clusterName,
|
|
4375
4487
|
],
|
|
4376
4488
|
headerParameters: [accept],
|
|
4377
|
-
serializer: serializer$3
|
|
4489
|
+
serializer: serializer$3,
|
|
4378
4490
|
};
|
|
4379
4491
|
|
|
4380
4492
|
/*
|
|
@@ -4412,7 +4524,7 @@ class OperationsImpl {
|
|
|
4412
4524
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
4413
4525
|
}
|
|
4414
4526
|
return this.listPagingPage(options, settings);
|
|
4415
|
-
}
|
|
4527
|
+
},
|
|
4416
4528
|
};
|
|
4417
4529
|
}
|
|
4418
4530
|
listPagingPage(options, _settings) {
|
|
@@ -4457,16 +4569,16 @@ const listOperationSpec = {
|
|
|
4457
4569
|
httpMethod: "GET",
|
|
4458
4570
|
responses: {
|
|
4459
4571
|
200: {
|
|
4460
|
-
bodyMapper: OperationListResult
|
|
4572
|
+
bodyMapper: OperationListResult,
|
|
4461
4573
|
},
|
|
4462
4574
|
default: {
|
|
4463
|
-
bodyMapper: ErrorResponse
|
|
4464
|
-
}
|
|
4575
|
+
bodyMapper: ErrorResponse,
|
|
4576
|
+
},
|
|
4465
4577
|
},
|
|
4466
4578
|
queryParameters: [apiVersion],
|
|
4467
4579
|
urlParameters: [$host],
|
|
4468
4580
|
headerParameters: [accept],
|
|
4469
|
-
serializer: serializer$2
|
|
4581
|
+
serializer: serializer$2,
|
|
4470
4582
|
};
|
|
4471
4583
|
|
|
4472
4584
|
/*
|
|
@@ -4506,7 +4618,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4506
4618
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
4507
4619
|
}
|
|
4508
4620
|
return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
|
|
4509
|
-
}
|
|
4621
|
+
},
|
|
4510
4622
|
};
|
|
4511
4623
|
}
|
|
4512
4624
|
listByClusterPagingPage(resourceGroupName, clusterName, options, _settings) {
|
|
@@ -4558,7 +4670,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4558
4670
|
resourceGroupName,
|
|
4559
4671
|
clusterName,
|
|
4560
4672
|
privateEndpointConnectionName,
|
|
4561
|
-
options
|
|
4673
|
+
options,
|
|
4562
4674
|
}, getOperationSpec$1);
|
|
4563
4675
|
}
|
|
4564
4676
|
/**
|
|
@@ -4590,8 +4702,8 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4590
4702
|
rawResponse: {
|
|
4591
4703
|
statusCode: currentRawResponse.status,
|
|
4592
4704
|
body: currentRawResponse.parsedBody,
|
|
4593
|
-
headers: currentRawResponse.headers.toJSON()
|
|
4594
|
-
}
|
|
4705
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4706
|
+
},
|
|
4595
4707
|
};
|
|
4596
4708
|
});
|
|
4597
4709
|
const lro = createLroSpec({
|
|
@@ -4601,14 +4713,14 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4601
4713
|
clusterName,
|
|
4602
4714
|
privateEndpointConnectionName,
|
|
4603
4715
|
parameters,
|
|
4604
|
-
options
|
|
4716
|
+
options,
|
|
4605
4717
|
},
|
|
4606
|
-
spec: createOrUpdateOperationSpec
|
|
4718
|
+
spec: createOrUpdateOperationSpec,
|
|
4607
4719
|
});
|
|
4608
4720
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4609
4721
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4610
4722
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4611
|
-
resourceLocationConfig: "azure-async-operation"
|
|
4723
|
+
resourceLocationConfig: "azure-async-operation",
|
|
4612
4724
|
});
|
|
4613
4725
|
yield poller.poll();
|
|
4614
4726
|
return poller;
|
|
@@ -4657,8 +4769,8 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4657
4769
|
rawResponse: {
|
|
4658
4770
|
statusCode: currentRawResponse.status,
|
|
4659
4771
|
body: currentRawResponse.parsedBody,
|
|
4660
|
-
headers: currentRawResponse.headers.toJSON()
|
|
4661
|
-
}
|
|
4772
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4773
|
+
},
|
|
4662
4774
|
};
|
|
4663
4775
|
});
|
|
4664
4776
|
const lro = createLroSpec({
|
|
@@ -4667,14 +4779,14 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4667
4779
|
resourceGroupName,
|
|
4668
4780
|
clusterName,
|
|
4669
4781
|
privateEndpointConnectionName,
|
|
4670
|
-
options
|
|
4782
|
+
options,
|
|
4671
4783
|
},
|
|
4672
|
-
spec: deleteOperationSpec
|
|
4784
|
+
spec: deleteOperationSpec,
|
|
4673
4785
|
});
|
|
4674
4786
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4675
4787
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4676
4788
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4677
|
-
resourceLocationConfig: "location"
|
|
4789
|
+
resourceLocationConfig: "location",
|
|
4678
4790
|
});
|
|
4679
4791
|
yield poller.poll();
|
|
4680
4792
|
return poller;
|
|
@@ -4702,32 +4814,32 @@ const listByClusterOperationSpec$1 = {
|
|
|
4702
4814
|
httpMethod: "GET",
|
|
4703
4815
|
responses: {
|
|
4704
4816
|
200: {
|
|
4705
|
-
bodyMapper: PrivateEndpointConnectionListResult
|
|
4817
|
+
bodyMapper: PrivateEndpointConnectionListResult,
|
|
4706
4818
|
},
|
|
4707
4819
|
default: {
|
|
4708
|
-
bodyMapper: ErrorResponse
|
|
4709
|
-
}
|
|
4820
|
+
bodyMapper: ErrorResponse,
|
|
4821
|
+
},
|
|
4710
4822
|
},
|
|
4711
4823
|
queryParameters: [apiVersion],
|
|
4712
4824
|
urlParameters: [
|
|
4713
4825
|
$host,
|
|
4714
4826
|
subscriptionId,
|
|
4715
4827
|
resourceGroupName,
|
|
4716
|
-
clusterName
|
|
4828
|
+
clusterName,
|
|
4717
4829
|
],
|
|
4718
4830
|
headerParameters: [accept],
|
|
4719
|
-
serializer: serializer$1
|
|
4831
|
+
serializer: serializer$1,
|
|
4720
4832
|
};
|
|
4721
4833
|
const getOperationSpec$1 = {
|
|
4722
4834
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
4723
4835
|
httpMethod: "GET",
|
|
4724
4836
|
responses: {
|
|
4725
4837
|
200: {
|
|
4726
|
-
bodyMapper: PrivateEndpointConnection
|
|
4838
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4727
4839
|
},
|
|
4728
4840
|
default: {
|
|
4729
|
-
bodyMapper: ErrorResponse
|
|
4730
|
-
}
|
|
4841
|
+
bodyMapper: ErrorResponse,
|
|
4842
|
+
},
|
|
4731
4843
|
},
|
|
4732
4844
|
queryParameters: [apiVersion],
|
|
4733
4845
|
urlParameters: [
|
|
@@ -4735,30 +4847,30 @@ const getOperationSpec$1 = {
|
|
|
4735
4847
|
subscriptionId,
|
|
4736
4848
|
resourceGroupName,
|
|
4737
4849
|
clusterName,
|
|
4738
|
-
privateEndpointConnectionName
|
|
4850
|
+
privateEndpointConnectionName,
|
|
4739
4851
|
],
|
|
4740
4852
|
headerParameters: [accept],
|
|
4741
|
-
serializer: serializer$1
|
|
4853
|
+
serializer: serializer$1,
|
|
4742
4854
|
};
|
|
4743
4855
|
const createOrUpdateOperationSpec = {
|
|
4744
4856
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
4745
4857
|
httpMethod: "PUT",
|
|
4746
4858
|
responses: {
|
|
4747
4859
|
200: {
|
|
4748
|
-
bodyMapper: PrivateEndpointConnection
|
|
4860
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4749
4861
|
},
|
|
4750
4862
|
201: {
|
|
4751
|
-
bodyMapper: PrivateEndpointConnection
|
|
4863
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4752
4864
|
},
|
|
4753
4865
|
202: {
|
|
4754
|
-
bodyMapper: PrivateEndpointConnection
|
|
4866
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4755
4867
|
},
|
|
4756
4868
|
204: {
|
|
4757
|
-
bodyMapper: PrivateEndpointConnection
|
|
4869
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4758
4870
|
},
|
|
4759
4871
|
default: {
|
|
4760
|
-
bodyMapper: ErrorResponse
|
|
4761
|
-
}
|
|
4872
|
+
bodyMapper: ErrorResponse,
|
|
4873
|
+
},
|
|
4762
4874
|
},
|
|
4763
4875
|
requestBody: parameters5,
|
|
4764
4876
|
queryParameters: [apiVersion],
|
|
@@ -4767,31 +4879,31 @@ const createOrUpdateOperationSpec = {
|
|
|
4767
4879
|
subscriptionId,
|
|
4768
4880
|
resourceGroupName,
|
|
4769
4881
|
clusterName,
|
|
4770
|
-
privateEndpointConnectionName
|
|
4882
|
+
privateEndpointConnectionName,
|
|
4771
4883
|
],
|
|
4772
4884
|
headerParameters: [accept, contentType],
|
|
4773
4885
|
mediaType: "json",
|
|
4774
|
-
serializer: serializer$1
|
|
4886
|
+
serializer: serializer$1,
|
|
4775
4887
|
};
|
|
4776
4888
|
const deleteOperationSpec = {
|
|
4777
4889
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
4778
4890
|
httpMethod: "DELETE",
|
|
4779
4891
|
responses: {
|
|
4780
4892
|
200: {
|
|
4781
|
-
headersMapper: PrivateEndpointConnectionsDeleteHeaders
|
|
4893
|
+
headersMapper: PrivateEndpointConnectionsDeleteHeaders,
|
|
4782
4894
|
},
|
|
4783
4895
|
201: {
|
|
4784
|
-
headersMapper: PrivateEndpointConnectionsDeleteHeaders
|
|
4896
|
+
headersMapper: PrivateEndpointConnectionsDeleteHeaders,
|
|
4785
4897
|
},
|
|
4786
4898
|
202: {
|
|
4787
|
-
headersMapper: PrivateEndpointConnectionsDeleteHeaders
|
|
4899
|
+
headersMapper: PrivateEndpointConnectionsDeleteHeaders,
|
|
4788
4900
|
},
|
|
4789
4901
|
204: {
|
|
4790
|
-
headersMapper: PrivateEndpointConnectionsDeleteHeaders
|
|
4902
|
+
headersMapper: PrivateEndpointConnectionsDeleteHeaders,
|
|
4791
4903
|
},
|
|
4792
4904
|
default: {
|
|
4793
|
-
bodyMapper: ErrorResponse
|
|
4794
|
-
}
|
|
4905
|
+
bodyMapper: ErrorResponse,
|
|
4906
|
+
},
|
|
4795
4907
|
},
|
|
4796
4908
|
queryParameters: [apiVersion],
|
|
4797
4909
|
urlParameters: [
|
|
@@ -4799,10 +4911,10 @@ const deleteOperationSpec = {
|
|
|
4799
4911
|
subscriptionId,
|
|
4800
4912
|
resourceGroupName,
|
|
4801
4913
|
clusterName,
|
|
4802
|
-
privateEndpointConnectionName
|
|
4914
|
+
privateEndpointConnectionName,
|
|
4803
4915
|
],
|
|
4804
4916
|
headerParameters: [accept],
|
|
4805
|
-
serializer: serializer$1
|
|
4917
|
+
serializer: serializer$1,
|
|
4806
4918
|
};
|
|
4807
4919
|
|
|
4808
4920
|
/*
|
|
@@ -4842,7 +4954,7 @@ class PrivateLinkResourcesImpl {
|
|
|
4842
4954
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
4843
4955
|
}
|
|
4844
4956
|
return this.listByClusterPagingPage(resourceGroupName, clusterName, options, settings);
|
|
4845
|
-
}
|
|
4957
|
+
},
|
|
4846
4958
|
};
|
|
4847
4959
|
}
|
|
4848
4960
|
listByClusterPagingPage(resourceGroupName, clusterName, options, _settings) {
|
|
@@ -4899,32 +5011,32 @@ const listByClusterOperationSpec = {
|
|
|
4899
5011
|
httpMethod: "GET",
|
|
4900
5012
|
responses: {
|
|
4901
5013
|
200: {
|
|
4902
|
-
bodyMapper: PrivateLinkResourceListResult
|
|
5014
|
+
bodyMapper: PrivateLinkResourceListResult,
|
|
4903
5015
|
},
|
|
4904
5016
|
default: {
|
|
4905
|
-
bodyMapper: ErrorResponse
|
|
4906
|
-
}
|
|
5017
|
+
bodyMapper: ErrorResponse,
|
|
5018
|
+
},
|
|
4907
5019
|
},
|
|
4908
5020
|
queryParameters: [apiVersion],
|
|
4909
5021
|
urlParameters: [
|
|
4910
5022
|
$host,
|
|
4911
5023
|
subscriptionId,
|
|
4912
5024
|
resourceGroupName,
|
|
4913
|
-
clusterName
|
|
5025
|
+
clusterName,
|
|
4914
5026
|
],
|
|
4915
5027
|
headerParameters: [accept],
|
|
4916
|
-
serializer
|
|
5028
|
+
serializer,
|
|
4917
5029
|
};
|
|
4918
5030
|
const getOperationSpec = {
|
|
4919
5031
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateLinkResources/{privateLinkResourceName}",
|
|
4920
5032
|
httpMethod: "GET",
|
|
4921
5033
|
responses: {
|
|
4922
5034
|
200: {
|
|
4923
|
-
bodyMapper: PrivateLinkResource
|
|
5035
|
+
bodyMapper: PrivateLinkResource,
|
|
4924
5036
|
},
|
|
4925
5037
|
default: {
|
|
4926
|
-
bodyMapper: ErrorResponse
|
|
4927
|
-
}
|
|
5038
|
+
bodyMapper: ErrorResponse,
|
|
5039
|
+
},
|
|
4928
5040
|
},
|
|
4929
5041
|
queryParameters: [apiVersion],
|
|
4930
5042
|
urlParameters: [
|
|
@@ -4932,10 +5044,10 @@ const getOperationSpec = {
|
|
|
4932
5044
|
subscriptionId,
|
|
4933
5045
|
resourceGroupName,
|
|
4934
5046
|
clusterName,
|
|
4935
|
-
privateLinkResourceName
|
|
5047
|
+
privateLinkResourceName,
|
|
4936
5048
|
],
|
|
4937
5049
|
headerParameters: [accept],
|
|
4938
|
-
serializer
|
|
5050
|
+
serializer,
|
|
4939
5051
|
};
|
|
4940
5052
|
|
|
4941
5053
|
/*
|
|
@@ -4966,14 +5078,14 @@ class CosmosDBForPostgreSQL extends coreClient__namespace.ServiceClient {
|
|
|
4966
5078
|
}
|
|
4967
5079
|
const defaults = {
|
|
4968
5080
|
requestContentType: "application/json; charset=utf-8",
|
|
4969
|
-
credential: credentials
|
|
5081
|
+
credential: credentials,
|
|
4970
5082
|
};
|
|
4971
|
-
const packageDetails = `azsdk-js-arm-cosmosdbforpostgresql/1.0.1`;
|
|
5083
|
+
const packageDetails = `azsdk-js-arm-cosmosdbforpostgresql/1.1.0-beta.1`;
|
|
4972
5084
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4973
5085
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4974
5086
|
: `${packageDetails}`;
|
|
4975
5087
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
4976
|
-
userAgentPrefix
|
|
5088
|
+
userAgentPrefix,
|
|
4977
5089
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
4978
5090
|
super(optionsWithDefaults);
|
|
4979
5091
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -4987,21 +5099,21 @@ class CosmosDBForPostgreSQL extends coreClient__namespace.ServiceClient {
|
|
|
4987
5099
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
4988
5100
|
!bearerTokenAuthenticationPolicyFound) {
|
|
4989
5101
|
this.pipeline.removePolicy({
|
|
4990
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
5102
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
4991
5103
|
});
|
|
4992
5104
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
4993
5105
|
credential: credentials,
|
|
4994
5106
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
4995
5107
|
challengeCallbacks: {
|
|
4996
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
4997
|
-
}
|
|
5108
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
5109
|
+
},
|
|
4998
5110
|
}));
|
|
4999
5111
|
}
|
|
5000
5112
|
// Parameter assignments
|
|
5001
5113
|
this.subscriptionId = subscriptionId;
|
|
5002
5114
|
// Assigning values to Constant parameters
|
|
5003
5115
|
this.$host = options.$host || "https://management.azure.com";
|
|
5004
|
-
this.apiVersion = options.apiVersion || "
|
|
5116
|
+
this.apiVersion = options.apiVersion || "2023-03-02-preview";
|
|
5005
5117
|
this.clusters = new ClustersImpl(this);
|
|
5006
5118
|
this.servers = new ServersImpl(this);
|
|
5007
5119
|
this.configurations = new ConfigurationsImpl(this);
|
|
@@ -5035,7 +5147,7 @@ class CosmosDBForPostgreSQL extends coreClient__namespace.ServiceClient {
|
|
|
5035
5147
|
}
|
|
5036
5148
|
return next(request);
|
|
5037
5149
|
});
|
|
5038
|
-
}
|
|
5150
|
+
},
|
|
5039
5151
|
};
|
|
5040
5152
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
5041
5153
|
}
|