@azure/arm-quantum 1.0.0-alpha.20240312.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -8
- package/LICENSE +1 -1
- package/dist/index.js +668 -471
- 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/offeringsListSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/workspaceListKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceListKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceListKeysSample.js +39 -0
- package/dist-esm/samples-dev/workspaceListKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/workspaceRegenerateKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspaceRegenerateKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspaceRegenerateKeysSample.js +40 -0
- package/dist-esm/samples-dev/workspaceRegenerateKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +10 -8
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/workspacesUpdateTagsSample.js +2 -2
- package/dist-esm/src/azureQuantumManagementClient.d.ts +1 -1
- package/dist-esm/src/azureQuantumManagementClient.d.ts.map +1 -1
- package/dist-esm/src/azureQuantumManagementClient.js +9 -9
- package/dist-esm/src/azureQuantumManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +106 -41
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +8 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +5 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +454 -345
- 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 +43 -32
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/offerings.js +11 -11
- package/dist-esm/src/operations/offerings.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/workspace.d.ts +19 -1
- package/dist-esm/src/operations/workspace.d.ts.map +1 -1
- package/dist-esm/src/operations/workspace.js +69 -5
- package/dist-esm/src/operations/workspace.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts +9 -9
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js +62 -61
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspace.d.ts +19 -1
- package/dist-esm/src/operationsInterfaces/workspace.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +7 -7
- package/dist-esm/test/quantum_operations_test.spec.js +12 -9
- package/dist-esm/test/quantum_operations_test.spec.js.map +1 -1
- package/package.json +10 -10
- package/review/arm-quantum.api.md +55 -6
- package/src/azureQuantumManagementClient.ts +18 -17
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +123 -48
- package/src/models/mappers.ts +476 -367
- package/src/models/parameters.ts +46 -33
- package/src/operations/offerings.ts +20 -21
- package/src/operations/operations.ts +16 -16
- package/src/operations/workspace.ts +94 -10
- package/src/operations/workspaces.ts +110 -117
- package/src/operationsInterfaces/offerings.ts +1 -1
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/workspace.ts +33 -2
- package/src/operationsInterfaces/workspaces.ts +16 -16
- package/src/pagingHelper.ts +1 -1
- package/types/arm-quantum.d.ts +127 -34
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -128,6 +128,14 @@ exports.KnownCreatedByType = void 0;
|
|
|
128
128
|
/** Key */
|
|
129
129
|
KnownCreatedByType["Key"] = "Key";
|
|
130
130
|
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
131
|
+
/** Known values of {@link KeyType} that the service accepts. */
|
|
132
|
+
exports.KnownKeyType = void 0;
|
|
133
|
+
(function (KnownKeyType) {
|
|
134
|
+
/** Primary */
|
|
135
|
+
KnownKeyType["Primary"] = "Primary";
|
|
136
|
+
/** Secondary */
|
|
137
|
+
KnownKeyType["Secondary"] = "Secondary";
|
|
138
|
+
})(exports.KnownKeyType || (exports.KnownKeyType = {}));
|
|
131
139
|
|
|
132
140
|
/*
|
|
133
141
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -136,6 +144,59 @@ exports.KnownCreatedByType = void 0;
|
|
|
136
144
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
137
145
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
138
146
|
*/
|
|
147
|
+
const WorkspaceResourceProperties = {
|
|
148
|
+
type: {
|
|
149
|
+
name: "Composite",
|
|
150
|
+
className: "WorkspaceResourceProperties",
|
|
151
|
+
modelProperties: {
|
|
152
|
+
providers: {
|
|
153
|
+
serializedName: "providers",
|
|
154
|
+
type: {
|
|
155
|
+
name: "Sequence",
|
|
156
|
+
element: {
|
|
157
|
+
type: {
|
|
158
|
+
name: "Composite",
|
|
159
|
+
className: "Provider",
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
usable: {
|
|
165
|
+
serializedName: "usable",
|
|
166
|
+
readOnly: true,
|
|
167
|
+
type: {
|
|
168
|
+
name: "String",
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
provisioningState: {
|
|
172
|
+
serializedName: "provisioningState",
|
|
173
|
+
readOnly: true,
|
|
174
|
+
type: {
|
|
175
|
+
name: "String",
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
storageAccount: {
|
|
179
|
+
serializedName: "storageAccount",
|
|
180
|
+
type: {
|
|
181
|
+
name: "String",
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
endpointUri: {
|
|
185
|
+
serializedName: "endpointUri",
|
|
186
|
+
readOnly: true,
|
|
187
|
+
type: {
|
|
188
|
+
name: "String",
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
apiKeyEnabled: {
|
|
192
|
+
serializedName: "apiKeyEnabled",
|
|
193
|
+
type: {
|
|
194
|
+
name: "Boolean",
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
};
|
|
139
200
|
const Provider = {
|
|
140
201
|
type: {
|
|
141
202
|
name: "Composite",
|
|
@@ -144,41 +205,41 @@ const Provider = {
|
|
|
144
205
|
providerId: {
|
|
145
206
|
serializedName: "providerId",
|
|
146
207
|
type: {
|
|
147
|
-
name: "String"
|
|
148
|
-
}
|
|
208
|
+
name: "String",
|
|
209
|
+
},
|
|
149
210
|
},
|
|
150
211
|
providerSku: {
|
|
151
212
|
serializedName: "providerSku",
|
|
152
213
|
type: {
|
|
153
|
-
name: "String"
|
|
154
|
-
}
|
|
214
|
+
name: "String",
|
|
215
|
+
},
|
|
155
216
|
},
|
|
156
217
|
instanceUri: {
|
|
157
218
|
serializedName: "instanceUri",
|
|
158
219
|
type: {
|
|
159
|
-
name: "String"
|
|
160
|
-
}
|
|
220
|
+
name: "String",
|
|
221
|
+
},
|
|
161
222
|
},
|
|
162
223
|
applicationName: {
|
|
163
224
|
serializedName: "applicationName",
|
|
164
225
|
type: {
|
|
165
|
-
name: "String"
|
|
166
|
-
}
|
|
226
|
+
name: "String",
|
|
227
|
+
},
|
|
167
228
|
},
|
|
168
229
|
provisioningState: {
|
|
169
230
|
serializedName: "provisioningState",
|
|
170
231
|
type: {
|
|
171
|
-
name: "String"
|
|
172
|
-
}
|
|
232
|
+
name: "String",
|
|
233
|
+
},
|
|
173
234
|
},
|
|
174
235
|
resourceUsageId: {
|
|
175
236
|
serializedName: "resourceUsageId",
|
|
176
237
|
type: {
|
|
177
|
-
name: "String"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
238
|
+
name: "String",
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
},
|
|
182
243
|
};
|
|
183
244
|
const QuantumWorkspaceIdentity = {
|
|
184
245
|
type: {
|
|
@@ -189,24 +250,60 @@ const QuantumWorkspaceIdentity = {
|
|
|
189
250
|
serializedName: "principalId",
|
|
190
251
|
readOnly: true,
|
|
191
252
|
type: {
|
|
192
|
-
name: "String"
|
|
193
|
-
}
|
|
253
|
+
name: "String",
|
|
254
|
+
},
|
|
194
255
|
},
|
|
195
256
|
tenantId: {
|
|
196
257
|
serializedName: "tenantId",
|
|
197
258
|
readOnly: true,
|
|
198
259
|
type: {
|
|
199
|
-
name: "String"
|
|
200
|
-
}
|
|
260
|
+
name: "String",
|
|
261
|
+
},
|
|
201
262
|
},
|
|
202
263
|
type: {
|
|
203
264
|
serializedName: "type",
|
|
204
265
|
type: {
|
|
205
|
-
name: "String"
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
266
|
+
name: "String",
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
};
|
|
272
|
+
const Resource = {
|
|
273
|
+
type: {
|
|
274
|
+
name: "Composite",
|
|
275
|
+
className: "Resource",
|
|
276
|
+
modelProperties: {
|
|
277
|
+
id: {
|
|
278
|
+
serializedName: "id",
|
|
279
|
+
readOnly: true,
|
|
280
|
+
type: {
|
|
281
|
+
name: "String",
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
name: {
|
|
285
|
+
serializedName: "name",
|
|
286
|
+
readOnly: true,
|
|
287
|
+
type: {
|
|
288
|
+
name: "String",
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
type: {
|
|
292
|
+
serializedName: "type",
|
|
293
|
+
readOnly: true,
|
|
294
|
+
type: {
|
|
295
|
+
name: "String",
|
|
296
|
+
},
|
|
297
|
+
},
|
|
298
|
+
systemData: {
|
|
299
|
+
serializedName: "systemData",
|
|
300
|
+
type: {
|
|
301
|
+
name: "Composite",
|
|
302
|
+
className: "SystemData",
|
|
303
|
+
},
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
},
|
|
210
307
|
};
|
|
211
308
|
const SystemData = {
|
|
212
309
|
type: {
|
|
@@ -216,70 +313,41 @@ const SystemData = {
|
|
|
216
313
|
createdBy: {
|
|
217
314
|
serializedName: "createdBy",
|
|
218
315
|
type: {
|
|
219
|
-
name: "String"
|
|
220
|
-
}
|
|
316
|
+
name: "String",
|
|
317
|
+
},
|
|
221
318
|
},
|
|
222
319
|
createdByType: {
|
|
223
320
|
serializedName: "createdByType",
|
|
224
321
|
type: {
|
|
225
|
-
name: "String"
|
|
226
|
-
}
|
|
322
|
+
name: "String",
|
|
323
|
+
},
|
|
227
324
|
},
|
|
228
325
|
createdAt: {
|
|
229
326
|
serializedName: "createdAt",
|
|
230
327
|
type: {
|
|
231
|
-
name: "DateTime"
|
|
232
|
-
}
|
|
328
|
+
name: "DateTime",
|
|
329
|
+
},
|
|
233
330
|
},
|
|
234
331
|
lastModifiedBy: {
|
|
235
332
|
serializedName: "lastModifiedBy",
|
|
236
333
|
type: {
|
|
237
|
-
name: "String"
|
|
238
|
-
}
|
|
334
|
+
name: "String",
|
|
335
|
+
},
|
|
239
336
|
},
|
|
240
337
|
lastModifiedByType: {
|
|
241
338
|
serializedName: "lastModifiedByType",
|
|
242
339
|
type: {
|
|
243
|
-
name: "String"
|
|
244
|
-
}
|
|
340
|
+
name: "String",
|
|
341
|
+
},
|
|
245
342
|
},
|
|
246
343
|
lastModifiedAt: {
|
|
247
344
|
serializedName: "lastModifiedAt",
|
|
248
345
|
type: {
|
|
249
|
-
name: "DateTime"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
const Resource = {
|
|
256
|
-
type: {
|
|
257
|
-
name: "Composite",
|
|
258
|
-
className: "Resource",
|
|
259
|
-
modelProperties: {
|
|
260
|
-
id: {
|
|
261
|
-
serializedName: "id",
|
|
262
|
-
readOnly: true,
|
|
263
|
-
type: {
|
|
264
|
-
name: "String"
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
name: {
|
|
268
|
-
serializedName: "name",
|
|
269
|
-
readOnly: true,
|
|
270
|
-
type: {
|
|
271
|
-
name: "String"
|
|
272
|
-
}
|
|
346
|
+
name: "DateTime",
|
|
347
|
+
},
|
|
273
348
|
},
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
readOnly: true,
|
|
277
|
-
type: {
|
|
278
|
-
name: "String"
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
349
|
+
},
|
|
350
|
+
},
|
|
283
351
|
};
|
|
284
352
|
const ErrorResponse = {
|
|
285
353
|
type: {
|
|
@@ -290,11 +358,11 @@ const ErrorResponse = {
|
|
|
290
358
|
serializedName: "error",
|
|
291
359
|
type: {
|
|
292
360
|
name: "Composite",
|
|
293
|
-
className: "ErrorDetail"
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
361
|
+
className: "ErrorDetail",
|
|
362
|
+
},
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
},
|
|
298
366
|
};
|
|
299
367
|
const ErrorDetail = {
|
|
300
368
|
type: {
|
|
@@ -305,22 +373,22 @@ const ErrorDetail = {
|
|
|
305
373
|
serializedName: "code",
|
|
306
374
|
readOnly: true,
|
|
307
375
|
type: {
|
|
308
|
-
name: "String"
|
|
309
|
-
}
|
|
376
|
+
name: "String",
|
|
377
|
+
},
|
|
310
378
|
},
|
|
311
379
|
message: {
|
|
312
380
|
serializedName: "message",
|
|
313
381
|
readOnly: true,
|
|
314
382
|
type: {
|
|
315
|
-
name: "String"
|
|
316
|
-
}
|
|
383
|
+
name: "String",
|
|
384
|
+
},
|
|
317
385
|
},
|
|
318
386
|
target: {
|
|
319
387
|
serializedName: "target",
|
|
320
388
|
readOnly: true,
|
|
321
389
|
type: {
|
|
322
|
-
name: "String"
|
|
323
|
-
}
|
|
390
|
+
name: "String",
|
|
391
|
+
},
|
|
324
392
|
},
|
|
325
393
|
details: {
|
|
326
394
|
serializedName: "details",
|
|
@@ -330,10 +398,10 @@ const ErrorDetail = {
|
|
|
330
398
|
element: {
|
|
331
399
|
type: {
|
|
332
400
|
name: "Composite",
|
|
333
|
-
className: "ErrorDetail"
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
}
|
|
401
|
+
className: "ErrorDetail",
|
|
402
|
+
},
|
|
403
|
+
},
|
|
404
|
+
},
|
|
337
405
|
},
|
|
338
406
|
additionalInfo: {
|
|
339
407
|
serializedName: "additionalInfo",
|
|
@@ -343,13 +411,13 @@ const ErrorDetail = {
|
|
|
343
411
|
element: {
|
|
344
412
|
type: {
|
|
345
413
|
name: "Composite",
|
|
346
|
-
className: "ErrorAdditionalInfo"
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
414
|
+
className: "ErrorAdditionalInfo",
|
|
415
|
+
},
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
},
|
|
353
421
|
};
|
|
354
422
|
const ErrorAdditionalInfo = {
|
|
355
423
|
type: {
|
|
@@ -360,19 +428,19 @@ const ErrorAdditionalInfo = {
|
|
|
360
428
|
serializedName: "type",
|
|
361
429
|
readOnly: true,
|
|
362
430
|
type: {
|
|
363
|
-
name: "String"
|
|
364
|
-
}
|
|
431
|
+
name: "String",
|
|
432
|
+
},
|
|
365
433
|
},
|
|
366
434
|
info: {
|
|
367
435
|
serializedName: "info",
|
|
368
436
|
readOnly: true,
|
|
369
437
|
type: {
|
|
370
438
|
name: "Dictionary",
|
|
371
|
-
value: { type: { name: "any" } }
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
}
|
|
439
|
+
value: { type: { name: "any" } },
|
|
440
|
+
},
|
|
441
|
+
},
|
|
442
|
+
},
|
|
443
|
+
},
|
|
376
444
|
};
|
|
377
445
|
const TagsObject = {
|
|
378
446
|
type: {
|
|
@@ -383,11 +451,11 @@ const TagsObject = {
|
|
|
383
451
|
serializedName: "tags",
|
|
384
452
|
type: {
|
|
385
453
|
name: "Dictionary",
|
|
386
|
-
value: { type: { name: "String" } }
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
}
|
|
454
|
+
value: { type: { name: "String" } },
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
},
|
|
458
|
+
},
|
|
391
459
|
};
|
|
392
460
|
const WorkspaceListResult = {
|
|
393
461
|
type: {
|
|
@@ -401,19 +469,19 @@ const WorkspaceListResult = {
|
|
|
401
469
|
element: {
|
|
402
470
|
type: {
|
|
403
471
|
name: "Composite",
|
|
404
|
-
className: "QuantumWorkspace"
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
}
|
|
472
|
+
className: "QuantumWorkspace",
|
|
473
|
+
},
|
|
474
|
+
},
|
|
475
|
+
},
|
|
408
476
|
},
|
|
409
477
|
nextLink: {
|
|
410
478
|
serializedName: "nextLink",
|
|
411
479
|
type: {
|
|
412
|
-
name: "String"
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
480
|
+
name: "String",
|
|
481
|
+
},
|
|
482
|
+
},
|
|
483
|
+
},
|
|
484
|
+
},
|
|
417
485
|
};
|
|
418
486
|
const OfferingsListResult = {
|
|
419
487
|
type: {
|
|
@@ -427,19 +495,19 @@ const OfferingsListResult = {
|
|
|
427
495
|
element: {
|
|
428
496
|
type: {
|
|
429
497
|
name: "Composite",
|
|
430
|
-
className: "ProviderDescription"
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
}
|
|
498
|
+
className: "ProviderDescription",
|
|
499
|
+
},
|
|
500
|
+
},
|
|
501
|
+
},
|
|
434
502
|
},
|
|
435
503
|
nextLink: {
|
|
436
504
|
serializedName: "nextLink",
|
|
437
505
|
type: {
|
|
438
|
-
name: "String"
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
}
|
|
506
|
+
name: "String",
|
|
507
|
+
},
|
|
508
|
+
},
|
|
509
|
+
},
|
|
510
|
+
},
|
|
443
511
|
};
|
|
444
512
|
const ProviderDescription = {
|
|
445
513
|
type: {
|
|
@@ -449,25 +517,25 @@ const ProviderDescription = {
|
|
|
449
517
|
id: {
|
|
450
518
|
serializedName: "id",
|
|
451
519
|
type: {
|
|
452
|
-
name: "String"
|
|
453
|
-
}
|
|
520
|
+
name: "String",
|
|
521
|
+
},
|
|
454
522
|
},
|
|
455
523
|
name: {
|
|
456
524
|
serializedName: "name",
|
|
457
525
|
readOnly: true,
|
|
458
526
|
type: {
|
|
459
|
-
name: "String"
|
|
460
|
-
}
|
|
527
|
+
name: "String",
|
|
528
|
+
},
|
|
461
529
|
},
|
|
462
530
|
properties: {
|
|
463
531
|
serializedName: "properties",
|
|
464
532
|
type: {
|
|
465
533
|
name: "Composite",
|
|
466
|
-
className: "ProviderProperties"
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
}
|
|
534
|
+
className: "ProviderProperties",
|
|
535
|
+
},
|
|
536
|
+
},
|
|
537
|
+
},
|
|
538
|
+
},
|
|
471
539
|
};
|
|
472
540
|
const ProviderProperties = {
|
|
473
541
|
type: {
|
|
@@ -478,43 +546,43 @@ const ProviderProperties = {
|
|
|
478
546
|
serializedName: "description",
|
|
479
547
|
readOnly: true,
|
|
480
548
|
type: {
|
|
481
|
-
name: "String"
|
|
482
|
-
}
|
|
549
|
+
name: "String",
|
|
550
|
+
},
|
|
483
551
|
},
|
|
484
552
|
providerType: {
|
|
485
553
|
serializedName: "providerType",
|
|
486
554
|
readOnly: true,
|
|
487
555
|
type: {
|
|
488
|
-
name: "String"
|
|
489
|
-
}
|
|
556
|
+
name: "String",
|
|
557
|
+
},
|
|
490
558
|
},
|
|
491
559
|
company: {
|
|
492
560
|
serializedName: "company",
|
|
493
561
|
readOnly: true,
|
|
494
562
|
type: {
|
|
495
|
-
name: "String"
|
|
496
|
-
}
|
|
563
|
+
name: "String",
|
|
564
|
+
},
|
|
497
565
|
},
|
|
498
566
|
defaultEndpoint: {
|
|
499
567
|
serializedName: "defaultEndpoint",
|
|
500
568
|
readOnly: true,
|
|
501
569
|
type: {
|
|
502
|
-
name: "String"
|
|
503
|
-
}
|
|
570
|
+
name: "String",
|
|
571
|
+
},
|
|
504
572
|
},
|
|
505
573
|
aad: {
|
|
506
574
|
serializedName: "aad",
|
|
507
575
|
type: {
|
|
508
576
|
name: "Composite",
|
|
509
|
-
className: "ProviderPropertiesAad"
|
|
510
|
-
}
|
|
577
|
+
className: "ProviderPropertiesAad",
|
|
578
|
+
},
|
|
511
579
|
},
|
|
512
580
|
managedApplication: {
|
|
513
581
|
serializedName: "managedApplication",
|
|
514
582
|
type: {
|
|
515
583
|
name: "Composite",
|
|
516
|
-
className: "ProviderPropertiesManagedApplication"
|
|
517
|
-
}
|
|
584
|
+
className: "ProviderPropertiesManagedApplication",
|
|
585
|
+
},
|
|
518
586
|
},
|
|
519
587
|
targets: {
|
|
520
588
|
serializedName: "targets",
|
|
@@ -523,10 +591,10 @@ const ProviderProperties = {
|
|
|
523
591
|
element: {
|
|
524
592
|
type: {
|
|
525
593
|
name: "Composite",
|
|
526
|
-
className: "TargetDescription"
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
}
|
|
594
|
+
className: "TargetDescription",
|
|
595
|
+
},
|
|
596
|
+
},
|
|
597
|
+
},
|
|
530
598
|
},
|
|
531
599
|
skus: {
|
|
532
600
|
serializedName: "skus",
|
|
@@ -535,10 +603,10 @@ const ProviderProperties = {
|
|
|
535
603
|
element: {
|
|
536
604
|
type: {
|
|
537
605
|
name: "Composite",
|
|
538
|
-
className: "SkuDescription"
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
606
|
+
className: "SkuDescription",
|
|
607
|
+
},
|
|
608
|
+
},
|
|
609
|
+
},
|
|
542
610
|
},
|
|
543
611
|
quotaDimensions: {
|
|
544
612
|
serializedName: "quotaDimensions",
|
|
@@ -547,10 +615,10 @@ const ProviderProperties = {
|
|
|
547
615
|
element: {
|
|
548
616
|
type: {
|
|
549
617
|
name: "Composite",
|
|
550
|
-
className: "QuotaDimension"
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
}
|
|
618
|
+
className: "QuotaDimension",
|
|
619
|
+
},
|
|
620
|
+
},
|
|
621
|
+
},
|
|
554
622
|
},
|
|
555
623
|
pricingDimensions: {
|
|
556
624
|
serializedName: "pricingDimensions",
|
|
@@ -559,13 +627,13 @@ const ProviderProperties = {
|
|
|
559
627
|
element: {
|
|
560
628
|
type: {
|
|
561
629
|
name: "Composite",
|
|
562
|
-
className: "PricingDimension"
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
}
|
|
630
|
+
className: "PricingDimension",
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
},
|
|
634
|
+
},
|
|
635
|
+
},
|
|
636
|
+
},
|
|
569
637
|
};
|
|
570
638
|
const ProviderPropertiesAad = {
|
|
571
639
|
type: {
|
|
@@ -576,18 +644,18 @@ const ProviderPropertiesAad = {
|
|
|
576
644
|
serializedName: "applicationId",
|
|
577
645
|
readOnly: true,
|
|
578
646
|
type: {
|
|
579
|
-
name: "String"
|
|
580
|
-
}
|
|
647
|
+
name: "String",
|
|
648
|
+
},
|
|
581
649
|
},
|
|
582
650
|
tenantId: {
|
|
583
651
|
serializedName: "tenantId",
|
|
584
652
|
readOnly: true,
|
|
585
653
|
type: {
|
|
586
|
-
name: "String"
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
}
|
|
654
|
+
name: "String",
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
},
|
|
591
659
|
};
|
|
592
660
|
const ProviderPropertiesManagedApplication = {
|
|
593
661
|
type: {
|
|
@@ -598,18 +666,18 @@ const ProviderPropertiesManagedApplication = {
|
|
|
598
666
|
serializedName: "publisherId",
|
|
599
667
|
readOnly: true,
|
|
600
668
|
type: {
|
|
601
|
-
name: "String"
|
|
602
|
-
}
|
|
669
|
+
name: "String",
|
|
670
|
+
},
|
|
603
671
|
},
|
|
604
672
|
offerId: {
|
|
605
673
|
serializedName: "offerId",
|
|
606
674
|
readOnly: true,
|
|
607
675
|
type: {
|
|
608
|
-
name: "String"
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
}
|
|
676
|
+
name: "String",
|
|
677
|
+
},
|
|
678
|
+
},
|
|
679
|
+
},
|
|
680
|
+
},
|
|
613
681
|
};
|
|
614
682
|
const TargetDescription = {
|
|
615
683
|
type: {
|
|
@@ -619,20 +687,20 @@ const TargetDescription = {
|
|
|
619
687
|
id: {
|
|
620
688
|
serializedName: "id",
|
|
621
689
|
type: {
|
|
622
|
-
name: "String"
|
|
623
|
-
}
|
|
690
|
+
name: "String",
|
|
691
|
+
},
|
|
624
692
|
},
|
|
625
693
|
name: {
|
|
626
694
|
serializedName: "name",
|
|
627
695
|
type: {
|
|
628
|
-
name: "String"
|
|
629
|
-
}
|
|
696
|
+
name: "String",
|
|
697
|
+
},
|
|
630
698
|
},
|
|
631
699
|
description: {
|
|
632
700
|
serializedName: "description",
|
|
633
701
|
type: {
|
|
634
|
-
name: "String"
|
|
635
|
-
}
|
|
702
|
+
name: "String",
|
|
703
|
+
},
|
|
636
704
|
},
|
|
637
705
|
acceptedDataFormats: {
|
|
638
706
|
serializedName: "acceptedDataFormats",
|
|
@@ -640,10 +708,10 @@ const TargetDescription = {
|
|
|
640
708
|
name: "Sequence",
|
|
641
709
|
element: {
|
|
642
710
|
type: {
|
|
643
|
-
name: "String"
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
}
|
|
711
|
+
name: "String",
|
|
712
|
+
},
|
|
713
|
+
},
|
|
714
|
+
},
|
|
647
715
|
},
|
|
648
716
|
acceptedContentEncodings: {
|
|
649
717
|
serializedName: "acceptedContentEncodings",
|
|
@@ -651,13 +719,13 @@ const TargetDescription = {
|
|
|
651
719
|
name: "Sequence",
|
|
652
720
|
element: {
|
|
653
721
|
type: {
|
|
654
|
-
name: "String"
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
}
|
|
722
|
+
name: "String",
|
|
723
|
+
},
|
|
724
|
+
},
|
|
725
|
+
},
|
|
726
|
+
},
|
|
727
|
+
},
|
|
728
|
+
},
|
|
661
729
|
};
|
|
662
730
|
const SkuDescription = {
|
|
663
731
|
type: {
|
|
@@ -667,38 +735,38 @@ const SkuDescription = {
|
|
|
667
735
|
id: {
|
|
668
736
|
serializedName: "id",
|
|
669
737
|
type: {
|
|
670
|
-
name: "String"
|
|
671
|
-
}
|
|
738
|
+
name: "String",
|
|
739
|
+
},
|
|
672
740
|
},
|
|
673
741
|
name: {
|
|
674
742
|
serializedName: "name",
|
|
675
743
|
type: {
|
|
676
|
-
name: "String"
|
|
677
|
-
}
|
|
744
|
+
name: "String",
|
|
745
|
+
},
|
|
678
746
|
},
|
|
679
747
|
version: {
|
|
680
748
|
serializedName: "version",
|
|
681
749
|
type: {
|
|
682
|
-
name: "String"
|
|
683
|
-
}
|
|
750
|
+
name: "String",
|
|
751
|
+
},
|
|
684
752
|
},
|
|
685
753
|
description: {
|
|
686
754
|
serializedName: "description",
|
|
687
755
|
type: {
|
|
688
|
-
name: "String"
|
|
689
|
-
}
|
|
756
|
+
name: "String",
|
|
757
|
+
},
|
|
690
758
|
},
|
|
691
759
|
restrictedAccessUri: {
|
|
692
760
|
serializedName: "restrictedAccessUri",
|
|
693
761
|
type: {
|
|
694
|
-
name: "String"
|
|
695
|
-
}
|
|
762
|
+
name: "String",
|
|
763
|
+
},
|
|
696
764
|
},
|
|
697
765
|
autoAdd: {
|
|
698
766
|
serializedName: "autoAdd",
|
|
699
767
|
type: {
|
|
700
|
-
name: "Boolean"
|
|
701
|
-
}
|
|
768
|
+
name: "Boolean",
|
|
769
|
+
},
|
|
702
770
|
},
|
|
703
771
|
targets: {
|
|
704
772
|
serializedName: "targets",
|
|
@@ -706,10 +774,10 @@ const SkuDescription = {
|
|
|
706
774
|
name: "Sequence",
|
|
707
775
|
element: {
|
|
708
776
|
type: {
|
|
709
|
-
name: "String"
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
}
|
|
777
|
+
name: "String",
|
|
778
|
+
},
|
|
779
|
+
},
|
|
780
|
+
},
|
|
713
781
|
},
|
|
714
782
|
quotaDimensions: {
|
|
715
783
|
serializedName: "quotaDimensions",
|
|
@@ -718,10 +786,10 @@ const SkuDescription = {
|
|
|
718
786
|
element: {
|
|
719
787
|
type: {
|
|
720
788
|
name: "Composite",
|
|
721
|
-
className: "QuotaDimension"
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
}
|
|
789
|
+
className: "QuotaDimension",
|
|
790
|
+
},
|
|
791
|
+
},
|
|
792
|
+
},
|
|
725
793
|
},
|
|
726
794
|
pricingDetails: {
|
|
727
795
|
serializedName: "pricingDetails",
|
|
@@ -730,13 +798,13 @@ const SkuDescription = {
|
|
|
730
798
|
element: {
|
|
731
799
|
type: {
|
|
732
800
|
name: "Composite",
|
|
733
|
-
className: "PricingDetail"
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
}
|
|
801
|
+
className: "PricingDetail",
|
|
802
|
+
},
|
|
803
|
+
},
|
|
804
|
+
},
|
|
805
|
+
},
|
|
806
|
+
},
|
|
807
|
+
},
|
|
740
808
|
};
|
|
741
809
|
const QuotaDimension = {
|
|
742
810
|
type: {
|
|
@@ -746,53 +814,53 @@ const QuotaDimension = {
|
|
|
746
814
|
id: {
|
|
747
815
|
serializedName: "id",
|
|
748
816
|
type: {
|
|
749
|
-
name: "String"
|
|
750
|
-
}
|
|
817
|
+
name: "String",
|
|
818
|
+
},
|
|
751
819
|
},
|
|
752
820
|
scope: {
|
|
753
821
|
serializedName: "scope",
|
|
754
822
|
type: {
|
|
755
|
-
name: "String"
|
|
756
|
-
}
|
|
823
|
+
name: "String",
|
|
824
|
+
},
|
|
757
825
|
},
|
|
758
826
|
period: {
|
|
759
827
|
serializedName: "period",
|
|
760
828
|
type: {
|
|
761
|
-
name: "String"
|
|
762
|
-
}
|
|
829
|
+
name: "String",
|
|
830
|
+
},
|
|
763
831
|
},
|
|
764
832
|
quota: {
|
|
765
833
|
serializedName: "quota",
|
|
766
834
|
type: {
|
|
767
|
-
name: "Number"
|
|
768
|
-
}
|
|
835
|
+
name: "Number",
|
|
836
|
+
},
|
|
769
837
|
},
|
|
770
838
|
name: {
|
|
771
839
|
serializedName: "name",
|
|
772
840
|
type: {
|
|
773
|
-
name: "String"
|
|
774
|
-
}
|
|
841
|
+
name: "String",
|
|
842
|
+
},
|
|
775
843
|
},
|
|
776
844
|
description: {
|
|
777
845
|
serializedName: "description",
|
|
778
846
|
type: {
|
|
779
|
-
name: "String"
|
|
780
|
-
}
|
|
847
|
+
name: "String",
|
|
848
|
+
},
|
|
781
849
|
},
|
|
782
850
|
unit: {
|
|
783
851
|
serializedName: "unit",
|
|
784
852
|
type: {
|
|
785
|
-
name: "String"
|
|
786
|
-
}
|
|
853
|
+
name: "String",
|
|
854
|
+
},
|
|
787
855
|
},
|
|
788
856
|
unitPlural: {
|
|
789
857
|
serializedName: "unitPlural",
|
|
790
858
|
type: {
|
|
791
|
-
name: "String"
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
}
|
|
859
|
+
name: "String",
|
|
860
|
+
},
|
|
861
|
+
},
|
|
862
|
+
},
|
|
863
|
+
},
|
|
796
864
|
};
|
|
797
865
|
const PricingDetail = {
|
|
798
866
|
type: {
|
|
@@ -802,17 +870,17 @@ const PricingDetail = {
|
|
|
802
870
|
id: {
|
|
803
871
|
serializedName: "id",
|
|
804
872
|
type: {
|
|
805
|
-
name: "String"
|
|
806
|
-
}
|
|
873
|
+
name: "String",
|
|
874
|
+
},
|
|
807
875
|
},
|
|
808
876
|
value: {
|
|
809
877
|
serializedName: "value",
|
|
810
878
|
type: {
|
|
811
|
-
name: "String"
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
}
|
|
879
|
+
name: "String",
|
|
880
|
+
},
|
|
881
|
+
},
|
|
882
|
+
},
|
|
883
|
+
},
|
|
816
884
|
};
|
|
817
885
|
const PricingDimension = {
|
|
818
886
|
type: {
|
|
@@ -822,17 +890,17 @@ const PricingDimension = {
|
|
|
822
890
|
id: {
|
|
823
891
|
serializedName: "id",
|
|
824
892
|
type: {
|
|
825
|
-
name: "String"
|
|
826
|
-
}
|
|
893
|
+
name: "String",
|
|
894
|
+
},
|
|
827
895
|
},
|
|
828
896
|
name: {
|
|
829
897
|
serializedName: "name",
|
|
830
898
|
type: {
|
|
831
|
-
name: "String"
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
}
|
|
899
|
+
name: "String",
|
|
900
|
+
},
|
|
901
|
+
},
|
|
902
|
+
},
|
|
903
|
+
},
|
|
836
904
|
};
|
|
837
905
|
const OperationsList = {
|
|
838
906
|
type: {
|
|
@@ -842,8 +910,8 @@ const OperationsList = {
|
|
|
842
910
|
nextLink: {
|
|
843
911
|
serializedName: "nextLink",
|
|
844
912
|
type: {
|
|
845
|
-
name: "String"
|
|
846
|
-
}
|
|
913
|
+
name: "String",
|
|
914
|
+
},
|
|
847
915
|
},
|
|
848
916
|
value: {
|
|
849
917
|
serializedName: "value",
|
|
@@ -853,13 +921,13 @@ const OperationsList = {
|
|
|
853
921
|
element: {
|
|
854
922
|
type: {
|
|
855
923
|
name: "Composite",
|
|
856
|
-
className: "Operation"
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
}
|
|
924
|
+
className: "Operation",
|
|
925
|
+
},
|
|
926
|
+
},
|
|
927
|
+
},
|
|
928
|
+
},
|
|
929
|
+
},
|
|
930
|
+
},
|
|
863
931
|
};
|
|
864
932
|
const Operation = {
|
|
865
933
|
type: {
|
|
@@ -869,24 +937,24 @@ const Operation = {
|
|
|
869
937
|
name: {
|
|
870
938
|
serializedName: "name",
|
|
871
939
|
type: {
|
|
872
|
-
name: "String"
|
|
873
|
-
}
|
|
940
|
+
name: "String",
|
|
941
|
+
},
|
|
874
942
|
},
|
|
875
943
|
isDataAction: {
|
|
876
944
|
serializedName: "isDataAction",
|
|
877
945
|
type: {
|
|
878
|
-
name: "Boolean"
|
|
879
|
-
}
|
|
946
|
+
name: "Boolean",
|
|
947
|
+
},
|
|
880
948
|
},
|
|
881
949
|
display: {
|
|
882
950
|
serializedName: "display",
|
|
883
951
|
type: {
|
|
884
952
|
name: "Composite",
|
|
885
|
-
className: "OperationDisplay"
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
}
|
|
953
|
+
className: "OperationDisplay",
|
|
954
|
+
},
|
|
955
|
+
},
|
|
956
|
+
},
|
|
957
|
+
},
|
|
890
958
|
};
|
|
891
959
|
const OperationDisplay = {
|
|
892
960
|
type: {
|
|
@@ -896,29 +964,29 @@ const OperationDisplay = {
|
|
|
896
964
|
provider: {
|
|
897
965
|
serializedName: "provider",
|
|
898
966
|
type: {
|
|
899
|
-
name: "String"
|
|
900
|
-
}
|
|
967
|
+
name: "String",
|
|
968
|
+
},
|
|
901
969
|
},
|
|
902
970
|
resource: {
|
|
903
971
|
serializedName: "resource",
|
|
904
972
|
type: {
|
|
905
|
-
name: "String"
|
|
906
|
-
}
|
|
973
|
+
name: "String",
|
|
974
|
+
},
|
|
907
975
|
},
|
|
908
976
|
operation: {
|
|
909
977
|
serializedName: "operation",
|
|
910
978
|
type: {
|
|
911
|
-
name: "String"
|
|
912
|
-
}
|
|
979
|
+
name: "String",
|
|
980
|
+
},
|
|
913
981
|
},
|
|
914
982
|
description: {
|
|
915
983
|
serializedName: "description",
|
|
916
984
|
type: {
|
|
917
|
-
name: "String"
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
}
|
|
985
|
+
name: "String",
|
|
986
|
+
},
|
|
987
|
+
},
|
|
988
|
+
},
|
|
989
|
+
},
|
|
922
990
|
};
|
|
923
991
|
const CheckNameAvailabilityParameters = {
|
|
924
992
|
type: {
|
|
@@ -928,18 +996,18 @@ const CheckNameAvailabilityParameters = {
|
|
|
928
996
|
name: {
|
|
929
997
|
serializedName: "name",
|
|
930
998
|
type: {
|
|
931
|
-
name: "String"
|
|
932
|
-
}
|
|
999
|
+
name: "String",
|
|
1000
|
+
},
|
|
933
1001
|
},
|
|
934
1002
|
type: {
|
|
935
1003
|
defaultValue: "Microsoft.Quantum/Workspaces",
|
|
936
1004
|
serializedName: "type",
|
|
937
1005
|
type: {
|
|
938
|
-
name: "String"
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
}
|
|
1006
|
+
name: "String",
|
|
1007
|
+
},
|
|
1008
|
+
},
|
|
1009
|
+
},
|
|
1010
|
+
},
|
|
943
1011
|
};
|
|
944
1012
|
const CheckNameAvailabilityResult = {
|
|
945
1013
|
type: {
|
|
@@ -949,24 +1017,107 @@ const CheckNameAvailabilityResult = {
|
|
|
949
1017
|
nameAvailable: {
|
|
950
1018
|
serializedName: "nameAvailable",
|
|
951
1019
|
type: {
|
|
952
|
-
name: "Boolean"
|
|
953
|
-
}
|
|
1020
|
+
name: "Boolean",
|
|
1021
|
+
},
|
|
954
1022
|
},
|
|
955
1023
|
reason: {
|
|
956
1024
|
serializedName: "reason",
|
|
957
1025
|
type: {
|
|
958
|
-
name: "String"
|
|
959
|
-
}
|
|
1026
|
+
name: "String",
|
|
1027
|
+
},
|
|
960
1028
|
},
|
|
961
1029
|
message: {
|
|
962
1030
|
serializedName: "message",
|
|
963
1031
|
readOnly: true,
|
|
964
1032
|
type: {
|
|
965
|
-
name: "String"
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
}
|
|
1033
|
+
name: "String",
|
|
1034
|
+
},
|
|
1035
|
+
},
|
|
1036
|
+
},
|
|
1037
|
+
},
|
|
1038
|
+
};
|
|
1039
|
+
const ListKeysResult = {
|
|
1040
|
+
type: {
|
|
1041
|
+
name: "Composite",
|
|
1042
|
+
className: "ListKeysResult",
|
|
1043
|
+
modelProperties: {
|
|
1044
|
+
apiKeyEnabled: {
|
|
1045
|
+
serializedName: "apiKeyEnabled",
|
|
1046
|
+
type: {
|
|
1047
|
+
name: "Boolean",
|
|
1048
|
+
},
|
|
1049
|
+
},
|
|
1050
|
+
primaryKey: {
|
|
1051
|
+
serializedName: "primaryKey",
|
|
1052
|
+
type: {
|
|
1053
|
+
name: "Composite",
|
|
1054
|
+
className: "ApiKey",
|
|
1055
|
+
},
|
|
1056
|
+
},
|
|
1057
|
+
secondaryKey: {
|
|
1058
|
+
serializedName: "secondaryKey",
|
|
1059
|
+
type: {
|
|
1060
|
+
name: "Composite",
|
|
1061
|
+
className: "ApiKey",
|
|
1062
|
+
},
|
|
1063
|
+
},
|
|
1064
|
+
primaryConnectionString: {
|
|
1065
|
+
serializedName: "primaryConnectionString",
|
|
1066
|
+
readOnly: true,
|
|
1067
|
+
type: {
|
|
1068
|
+
name: "String",
|
|
1069
|
+
},
|
|
1070
|
+
},
|
|
1071
|
+
secondaryConnectionString: {
|
|
1072
|
+
serializedName: "secondaryConnectionString",
|
|
1073
|
+
readOnly: true,
|
|
1074
|
+
type: {
|
|
1075
|
+
name: "String",
|
|
1076
|
+
},
|
|
1077
|
+
},
|
|
1078
|
+
},
|
|
1079
|
+
},
|
|
1080
|
+
};
|
|
1081
|
+
const ApiKey = {
|
|
1082
|
+
type: {
|
|
1083
|
+
name: "Composite",
|
|
1084
|
+
className: "ApiKey",
|
|
1085
|
+
modelProperties: {
|
|
1086
|
+
createdAt: {
|
|
1087
|
+
serializedName: "createdAt",
|
|
1088
|
+
type: {
|
|
1089
|
+
name: "DateTime",
|
|
1090
|
+
},
|
|
1091
|
+
},
|
|
1092
|
+
key: {
|
|
1093
|
+
serializedName: "key",
|
|
1094
|
+
readOnly: true,
|
|
1095
|
+
type: {
|
|
1096
|
+
name: "String",
|
|
1097
|
+
},
|
|
1098
|
+
},
|
|
1099
|
+
},
|
|
1100
|
+
},
|
|
1101
|
+
};
|
|
1102
|
+
const APIKeys = {
|
|
1103
|
+
type: {
|
|
1104
|
+
name: "Composite",
|
|
1105
|
+
className: "APIKeys",
|
|
1106
|
+
modelProperties: {
|
|
1107
|
+
keys: {
|
|
1108
|
+
serializedName: "keys",
|
|
1109
|
+
type: {
|
|
1110
|
+
name: "Sequence",
|
|
1111
|
+
element: {
|
|
1112
|
+
defaultValue: "Primary",
|
|
1113
|
+
type: {
|
|
1114
|
+
name: "String",
|
|
1115
|
+
},
|
|
1116
|
+
},
|
|
1117
|
+
},
|
|
1118
|
+
},
|
|
1119
|
+
},
|
|
1120
|
+
},
|
|
970
1121
|
};
|
|
971
1122
|
const TrackedResource = {
|
|
972
1123
|
type: {
|
|
@@ -976,78 +1127,47 @@ const TrackedResource = {
|
|
|
976
1127
|
serializedName: "tags",
|
|
977
1128
|
type: {
|
|
978
1129
|
name: "Dictionary",
|
|
979
|
-
value: { type: { name: "String" } }
|
|
980
|
-
}
|
|
1130
|
+
value: { type: { name: "String" } },
|
|
1131
|
+
},
|
|
981
1132
|
}, location: {
|
|
982
1133
|
serializedName: "location",
|
|
983
1134
|
required: true,
|
|
984
1135
|
type: {
|
|
985
|
-
name: "String"
|
|
986
|
-
}
|
|
987
|
-
} })
|
|
988
|
-
}
|
|
1136
|
+
name: "String",
|
|
1137
|
+
},
|
|
1138
|
+
} }),
|
|
1139
|
+
},
|
|
989
1140
|
};
|
|
990
1141
|
const QuantumWorkspace = {
|
|
991
1142
|
type: {
|
|
992
1143
|
name: "Composite",
|
|
993
1144
|
className: "QuantumWorkspace",
|
|
994
|
-
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), {
|
|
995
|
-
serializedName: "
|
|
1145
|
+
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { properties: {
|
|
1146
|
+
serializedName: "properties",
|
|
996
1147
|
type: {
|
|
997
1148
|
name: "Composite",
|
|
998
|
-
className: "
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
serializedName: "
|
|
1149
|
+
className: "WorkspaceResourceProperties",
|
|
1150
|
+
},
|
|
1151
|
+
}, identity: {
|
|
1152
|
+
serializedName: "identity",
|
|
1002
1153
|
type: {
|
|
1003
1154
|
name: "Composite",
|
|
1004
|
-
className: "
|
|
1005
|
-
}
|
|
1006
|
-
},
|
|
1007
|
-
|
|
1008
|
-
type: {
|
|
1009
|
-
name: "Sequence",
|
|
1010
|
-
element: {
|
|
1011
|
-
type: {
|
|
1012
|
-
name: "Composite",
|
|
1013
|
-
className: "Provider"
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
}, usable: {
|
|
1018
|
-
serializedName: "properties.usable",
|
|
1019
|
-
readOnly: true,
|
|
1020
|
-
type: {
|
|
1021
|
-
name: "String"
|
|
1022
|
-
}
|
|
1023
|
-
}, provisioningState: {
|
|
1024
|
-
serializedName: "properties.provisioningState",
|
|
1025
|
-
readOnly: true,
|
|
1026
|
-
type: {
|
|
1027
|
-
name: "String"
|
|
1028
|
-
}
|
|
1029
|
-
}, storageAccount: {
|
|
1030
|
-
serializedName: "properties.storageAccount",
|
|
1031
|
-
type: {
|
|
1032
|
-
name: "String"
|
|
1033
|
-
}
|
|
1034
|
-
}, endpointUri: {
|
|
1035
|
-
serializedName: "properties.endpointUri",
|
|
1036
|
-
readOnly: true,
|
|
1037
|
-
type: {
|
|
1038
|
-
name: "String"
|
|
1039
|
-
}
|
|
1040
|
-
} })
|
|
1041
|
-
}
|
|
1155
|
+
className: "QuantumWorkspaceIdentity",
|
|
1156
|
+
},
|
|
1157
|
+
} }),
|
|
1158
|
+
},
|
|
1042
1159
|
};
|
|
1043
1160
|
|
|
1044
1161
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1045
1162
|
__proto__: null,
|
|
1163
|
+
APIKeys: APIKeys,
|
|
1164
|
+
ApiKey: ApiKey,
|
|
1046
1165
|
CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
|
|
1047
1166
|
CheckNameAvailabilityResult: CheckNameAvailabilityResult,
|
|
1048
1167
|
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1049
1168
|
ErrorDetail: ErrorDetail,
|
|
1050
1169
|
ErrorResponse: ErrorResponse,
|
|
1170
|
+
ListKeysResult: ListKeysResult,
|
|
1051
1171
|
OfferingsListResult: OfferingsListResult,
|
|
1052
1172
|
Operation: Operation,
|
|
1053
1173
|
OperationDisplay: OperationDisplay,
|
|
@@ -1068,7 +1188,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1068
1188
|
TagsObject: TagsObject,
|
|
1069
1189
|
TargetDescription: TargetDescription,
|
|
1070
1190
|
TrackedResource: TrackedResource,
|
|
1071
|
-
WorkspaceListResult: WorkspaceListResult
|
|
1191
|
+
WorkspaceListResult: WorkspaceListResult,
|
|
1192
|
+
WorkspaceResourceProperties: WorkspaceResourceProperties
|
|
1072
1193
|
});
|
|
1073
1194
|
|
|
1074
1195
|
/*
|
|
@@ -1085,9 +1206,9 @@ const accept = {
|
|
|
1085
1206
|
isConstant: true,
|
|
1086
1207
|
serializedName: "Accept",
|
|
1087
1208
|
type: {
|
|
1088
|
-
name: "String"
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1209
|
+
name: "String",
|
|
1210
|
+
},
|
|
1211
|
+
},
|
|
1091
1212
|
};
|
|
1092
1213
|
const $host = {
|
|
1093
1214
|
parameterPath: "$host",
|
|
@@ -1095,31 +1216,35 @@ const $host = {
|
|
|
1095
1216
|
serializedName: "$host",
|
|
1096
1217
|
required: true,
|
|
1097
1218
|
type: {
|
|
1098
|
-
name: "String"
|
|
1099
|
-
}
|
|
1219
|
+
name: "String",
|
|
1220
|
+
},
|
|
1100
1221
|
},
|
|
1101
|
-
skipEncoding: true
|
|
1222
|
+
skipEncoding: true,
|
|
1102
1223
|
};
|
|
1103
1224
|
const resourceGroupName = {
|
|
1104
1225
|
parameterPath: "resourceGroupName",
|
|
1105
1226
|
mapper: {
|
|
1227
|
+
constraints: {
|
|
1228
|
+
MaxLength: 90,
|
|
1229
|
+
MinLength: 1,
|
|
1230
|
+
},
|
|
1106
1231
|
serializedName: "resourceGroupName",
|
|
1107
1232
|
required: true,
|
|
1108
1233
|
type: {
|
|
1109
|
-
name: "String"
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1234
|
+
name: "String",
|
|
1235
|
+
},
|
|
1236
|
+
},
|
|
1112
1237
|
};
|
|
1113
1238
|
const apiVersion = {
|
|
1114
1239
|
parameterPath: "apiVersion",
|
|
1115
1240
|
mapper: {
|
|
1116
|
-
defaultValue: "
|
|
1241
|
+
defaultValue: "2023-11-13-preview",
|
|
1117
1242
|
isConstant: true,
|
|
1118
1243
|
serializedName: "api-version",
|
|
1119
1244
|
type: {
|
|
1120
|
-
name: "String"
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1245
|
+
name: "String",
|
|
1246
|
+
},
|
|
1247
|
+
},
|
|
1123
1248
|
};
|
|
1124
1249
|
const subscriptionId = {
|
|
1125
1250
|
parameterPath: "subscriptionId",
|
|
@@ -1127,19 +1252,22 @@ const subscriptionId = {
|
|
|
1127
1252
|
serializedName: "subscriptionId",
|
|
1128
1253
|
required: true,
|
|
1129
1254
|
type: {
|
|
1130
|
-
name: "
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1255
|
+
name: "Uuid",
|
|
1256
|
+
},
|
|
1257
|
+
},
|
|
1133
1258
|
};
|
|
1134
1259
|
const workspaceName = {
|
|
1135
1260
|
parameterPath: "workspaceName",
|
|
1136
1261
|
mapper: {
|
|
1262
|
+
constraints: {
|
|
1263
|
+
Pattern: new RegExp("^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$"),
|
|
1264
|
+
},
|
|
1137
1265
|
serializedName: "workspaceName",
|
|
1138
1266
|
required: true,
|
|
1139
1267
|
type: {
|
|
1140
|
-
name: "String"
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1268
|
+
name: "String",
|
|
1269
|
+
},
|
|
1270
|
+
},
|
|
1143
1271
|
};
|
|
1144
1272
|
const contentType = {
|
|
1145
1273
|
parameterPath: ["options", "contentType"],
|
|
@@ -1148,17 +1276,17 @@ const contentType = {
|
|
|
1148
1276
|
isConstant: true,
|
|
1149
1277
|
serializedName: "Content-Type",
|
|
1150
1278
|
type: {
|
|
1151
|
-
name: "String"
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1279
|
+
name: "String",
|
|
1280
|
+
},
|
|
1281
|
+
},
|
|
1154
1282
|
};
|
|
1155
1283
|
const quantumWorkspace = {
|
|
1156
1284
|
parameterPath: "quantumWorkspace",
|
|
1157
|
-
mapper: QuantumWorkspace
|
|
1285
|
+
mapper: QuantumWorkspace,
|
|
1158
1286
|
};
|
|
1159
1287
|
const workspaceTags = {
|
|
1160
1288
|
parameterPath: "workspaceTags",
|
|
1161
|
-
mapper: TagsObject
|
|
1289
|
+
mapper: TagsObject,
|
|
1162
1290
|
};
|
|
1163
1291
|
const nextLink = {
|
|
1164
1292
|
parameterPath: "nextLink",
|
|
@@ -1166,10 +1294,10 @@ const nextLink = {
|
|
|
1166
1294
|
serializedName: "nextLink",
|
|
1167
1295
|
required: true,
|
|
1168
1296
|
type: {
|
|
1169
|
-
name: "String"
|
|
1170
|
-
}
|
|
1297
|
+
name: "String",
|
|
1298
|
+
},
|
|
1171
1299
|
},
|
|
1172
|
-
skipEncoding: true
|
|
1300
|
+
skipEncoding: true,
|
|
1173
1301
|
};
|
|
1174
1302
|
const locationName = {
|
|
1175
1303
|
parameterPath: "locationName",
|
|
@@ -1177,13 +1305,17 @@ const locationName = {
|
|
|
1177
1305
|
serializedName: "locationName",
|
|
1178
1306
|
required: true,
|
|
1179
1307
|
type: {
|
|
1180
|
-
name: "String"
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1308
|
+
name: "String",
|
|
1309
|
+
},
|
|
1310
|
+
},
|
|
1183
1311
|
};
|
|
1184
1312
|
const checkNameAvailabilityParameters = {
|
|
1185
1313
|
parameterPath: "checkNameAvailabilityParameters",
|
|
1186
|
-
mapper: CheckNameAvailabilityParameters
|
|
1314
|
+
mapper: CheckNameAvailabilityParameters,
|
|
1315
|
+
};
|
|
1316
|
+
const keySpecification = {
|
|
1317
|
+
parameterPath: "keySpecification",
|
|
1318
|
+
mapper: APIKeys,
|
|
1187
1319
|
};
|
|
1188
1320
|
|
|
1189
1321
|
/*
|
|
@@ -1202,7 +1334,7 @@ function createLroSpec(inputs) {
|
|
|
1202
1334
|
sendPollRequest: (path, options) => {
|
|
1203
1335
|
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
1204
1336
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
1205
|
-
}
|
|
1337
|
+
},
|
|
1206
1338
|
};
|
|
1207
1339
|
}
|
|
1208
1340
|
|
|
@@ -1241,7 +1373,7 @@ class WorkspacesImpl {
|
|
|
1241
1373
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1242
1374
|
}
|
|
1243
1375
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
1244
|
-
}
|
|
1376
|
+
},
|
|
1245
1377
|
};
|
|
1246
1378
|
}
|
|
1247
1379
|
listBySubscriptionPagingPage(options, settings) {
|
|
@@ -1286,7 +1418,7 @@ class WorkspacesImpl {
|
|
|
1286
1418
|
}
|
|
1287
1419
|
/**
|
|
1288
1420
|
* Gets the list of Workspaces within a resource group.
|
|
1289
|
-
* @param resourceGroupName The name of the resource group.
|
|
1421
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1290
1422
|
* @param options The options parameters.
|
|
1291
1423
|
*/
|
|
1292
1424
|
listByResourceGroup(resourceGroupName, options) {
|
|
@@ -1303,7 +1435,7 @@ class WorkspacesImpl {
|
|
|
1303
1435
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1304
1436
|
}
|
|
1305
1437
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
1306
|
-
}
|
|
1438
|
+
},
|
|
1307
1439
|
};
|
|
1308
1440
|
}
|
|
1309
1441
|
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
@@ -1348,7 +1480,7 @@ class WorkspacesImpl {
|
|
|
1348
1480
|
}
|
|
1349
1481
|
/**
|
|
1350
1482
|
* Returns the Workspace resource associated with the given name.
|
|
1351
|
-
* @param resourceGroupName The name of the resource group.
|
|
1483
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1352
1484
|
* @param workspaceName The name of the quantum workspace resource.
|
|
1353
1485
|
* @param options The options parameters.
|
|
1354
1486
|
*/
|
|
@@ -1357,7 +1489,7 @@ class WorkspacesImpl {
|
|
|
1357
1489
|
}
|
|
1358
1490
|
/**
|
|
1359
1491
|
* Creates or updates a workspace resource.
|
|
1360
|
-
* @param resourceGroupName The name of the resource group.
|
|
1492
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1361
1493
|
* @param workspaceName The name of the quantum workspace resource.
|
|
1362
1494
|
* @param quantumWorkspace Workspace details.
|
|
1363
1495
|
* @param options The options parameters.
|
|
@@ -1382,19 +1514,19 @@ class WorkspacesImpl {
|
|
|
1382
1514
|
rawResponse: {
|
|
1383
1515
|
statusCode: currentRawResponse.status,
|
|
1384
1516
|
body: currentRawResponse.parsedBody,
|
|
1385
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1386
|
-
}
|
|
1517
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1518
|
+
},
|
|
1387
1519
|
};
|
|
1388
1520
|
});
|
|
1389
1521
|
const lro = createLroSpec({
|
|
1390
1522
|
sendOperationFn,
|
|
1391
1523
|
args: { resourceGroupName, workspaceName, quantumWorkspace, options },
|
|
1392
|
-
spec: createOrUpdateOperationSpec
|
|
1524
|
+
spec: createOrUpdateOperationSpec,
|
|
1393
1525
|
});
|
|
1394
1526
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
1395
1527
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1396
1528
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1397
|
-
resourceLocationConfig: "azure-async-operation"
|
|
1529
|
+
resourceLocationConfig: "azure-async-operation",
|
|
1398
1530
|
});
|
|
1399
1531
|
yield poller.poll();
|
|
1400
1532
|
return poller;
|
|
@@ -1402,7 +1534,7 @@ class WorkspacesImpl {
|
|
|
1402
1534
|
}
|
|
1403
1535
|
/**
|
|
1404
1536
|
* Creates or updates a workspace resource.
|
|
1405
|
-
* @param resourceGroupName The name of the resource group.
|
|
1537
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1406
1538
|
* @param workspaceName The name of the quantum workspace resource.
|
|
1407
1539
|
* @param quantumWorkspace Workspace details.
|
|
1408
1540
|
* @param options The options parameters.
|
|
@@ -1415,7 +1547,7 @@ class WorkspacesImpl {
|
|
|
1415
1547
|
}
|
|
1416
1548
|
/**
|
|
1417
1549
|
* Updates an existing workspace's tags.
|
|
1418
|
-
* @param resourceGroupName The name of the resource group.
|
|
1550
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1419
1551
|
* @param workspaceName The name of the quantum workspace resource.
|
|
1420
1552
|
* @param workspaceTags Parameters supplied to update tags.
|
|
1421
1553
|
* @param options The options parameters.
|
|
@@ -1425,7 +1557,7 @@ class WorkspacesImpl {
|
|
|
1425
1557
|
}
|
|
1426
1558
|
/**
|
|
1427
1559
|
* Deletes a Workspace resource.
|
|
1428
|
-
* @param resourceGroupName The name of the resource group.
|
|
1560
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1429
1561
|
* @param workspaceName The name of the quantum workspace resource.
|
|
1430
1562
|
* @param options The options parameters.
|
|
1431
1563
|
*/
|
|
@@ -1449,18 +1581,19 @@ class WorkspacesImpl {
|
|
|
1449
1581
|
rawResponse: {
|
|
1450
1582
|
statusCode: currentRawResponse.status,
|
|
1451
1583
|
body: currentRawResponse.parsedBody,
|
|
1452
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1453
|
-
}
|
|
1584
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1585
|
+
},
|
|
1454
1586
|
};
|
|
1455
1587
|
});
|
|
1456
1588
|
const lro = createLroSpec({
|
|
1457
1589
|
sendOperationFn,
|
|
1458
1590
|
args: { resourceGroupName, workspaceName, options },
|
|
1459
|
-
spec: deleteOperationSpec
|
|
1591
|
+
spec: deleteOperationSpec,
|
|
1460
1592
|
});
|
|
1461
1593
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
1462
1594
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1463
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1595
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1596
|
+
resourceLocationConfig: "location",
|
|
1464
1597
|
});
|
|
1465
1598
|
yield poller.poll();
|
|
1466
1599
|
return poller;
|
|
@@ -1468,7 +1601,7 @@ class WorkspacesImpl {
|
|
|
1468
1601
|
}
|
|
1469
1602
|
/**
|
|
1470
1603
|
* Deletes a Workspace resource.
|
|
1471
|
-
* @param resourceGroupName The name of the resource group.
|
|
1604
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1472
1605
|
* @param workspaceName The name of the quantum workspace resource.
|
|
1473
1606
|
* @param options The options parameters.
|
|
1474
1607
|
*/
|
|
@@ -1487,7 +1620,7 @@ class WorkspacesImpl {
|
|
|
1487
1620
|
}
|
|
1488
1621
|
/**
|
|
1489
1622
|
* Gets the list of Workspaces within a resource group.
|
|
1490
|
-
* @param resourceGroupName The name of the resource group.
|
|
1623
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1491
1624
|
* @param options The options parameters.
|
|
1492
1625
|
*/
|
|
1493
1626
|
_listByResourceGroup(resourceGroupName, options) {
|
|
@@ -1503,7 +1636,7 @@ class WorkspacesImpl {
|
|
|
1503
1636
|
}
|
|
1504
1637
|
/**
|
|
1505
1638
|
* ListByResourceGroupNext
|
|
1506
|
-
* @param resourceGroupName The name of the resource group.
|
|
1639
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1507
1640
|
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
1508
1641
|
* @param options The options parameters.
|
|
1509
1642
|
*/
|
|
@@ -1518,41 +1651,41 @@ const getOperationSpec = {
|
|
|
1518
1651
|
httpMethod: "GET",
|
|
1519
1652
|
responses: {
|
|
1520
1653
|
200: {
|
|
1521
|
-
bodyMapper: QuantumWorkspace
|
|
1654
|
+
bodyMapper: QuantumWorkspace,
|
|
1522
1655
|
},
|
|
1523
1656
|
default: {
|
|
1524
|
-
bodyMapper: ErrorResponse
|
|
1525
|
-
}
|
|
1657
|
+
bodyMapper: ErrorResponse,
|
|
1658
|
+
},
|
|
1526
1659
|
},
|
|
1527
1660
|
queryParameters: [apiVersion],
|
|
1528
1661
|
urlParameters: [
|
|
1529
1662
|
$host,
|
|
1530
1663
|
resourceGroupName,
|
|
1531
1664
|
subscriptionId,
|
|
1532
|
-
workspaceName
|
|
1665
|
+
workspaceName,
|
|
1533
1666
|
],
|
|
1534
1667
|
headerParameters: [accept],
|
|
1535
|
-
serializer: serializer$3
|
|
1668
|
+
serializer: serializer$3,
|
|
1536
1669
|
};
|
|
1537
1670
|
const createOrUpdateOperationSpec = {
|
|
1538
1671
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}",
|
|
1539
1672
|
httpMethod: "PUT",
|
|
1540
1673
|
responses: {
|
|
1541
1674
|
200: {
|
|
1542
|
-
bodyMapper: QuantumWorkspace
|
|
1675
|
+
bodyMapper: QuantumWorkspace,
|
|
1543
1676
|
},
|
|
1544
1677
|
201: {
|
|
1545
|
-
bodyMapper: QuantumWorkspace
|
|
1678
|
+
bodyMapper: QuantumWorkspace,
|
|
1546
1679
|
},
|
|
1547
1680
|
202: {
|
|
1548
|
-
bodyMapper: QuantumWorkspace
|
|
1681
|
+
bodyMapper: QuantumWorkspace,
|
|
1549
1682
|
},
|
|
1550
1683
|
204: {
|
|
1551
|
-
bodyMapper: QuantumWorkspace
|
|
1684
|
+
bodyMapper: QuantumWorkspace,
|
|
1552
1685
|
},
|
|
1553
1686
|
default: {
|
|
1554
|
-
bodyMapper: ErrorResponse
|
|
1555
|
-
}
|
|
1687
|
+
bodyMapper: ErrorResponse,
|
|
1688
|
+
},
|
|
1556
1689
|
},
|
|
1557
1690
|
requestBody: quantumWorkspace,
|
|
1558
1691
|
queryParameters: [apiVersion],
|
|
@@ -1560,22 +1693,22 @@ const createOrUpdateOperationSpec = {
|
|
|
1560
1693
|
$host,
|
|
1561
1694
|
resourceGroupName,
|
|
1562
1695
|
subscriptionId,
|
|
1563
|
-
workspaceName
|
|
1696
|
+
workspaceName,
|
|
1564
1697
|
],
|
|
1565
1698
|
headerParameters: [accept, contentType],
|
|
1566
1699
|
mediaType: "json",
|
|
1567
|
-
serializer: serializer$3
|
|
1700
|
+
serializer: serializer$3,
|
|
1568
1701
|
};
|
|
1569
1702
|
const updateTagsOperationSpec = {
|
|
1570
1703
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}",
|
|
1571
1704
|
httpMethod: "PATCH",
|
|
1572
1705
|
responses: {
|
|
1573
1706
|
200: {
|
|
1574
|
-
bodyMapper: QuantumWorkspace
|
|
1707
|
+
bodyMapper: QuantumWorkspace,
|
|
1575
1708
|
},
|
|
1576
1709
|
default: {
|
|
1577
|
-
bodyMapper: ErrorResponse
|
|
1578
|
-
}
|
|
1710
|
+
bodyMapper: ErrorResponse,
|
|
1711
|
+
},
|
|
1579
1712
|
},
|
|
1580
1713
|
requestBody: workspaceTags,
|
|
1581
1714
|
queryParameters: [apiVersion],
|
|
@@ -1583,11 +1716,11 @@ const updateTagsOperationSpec = {
|
|
|
1583
1716
|
$host,
|
|
1584
1717
|
resourceGroupName,
|
|
1585
1718
|
subscriptionId,
|
|
1586
|
-
workspaceName
|
|
1719
|
+
workspaceName,
|
|
1587
1720
|
],
|
|
1588
1721
|
headerParameters: [accept, contentType],
|
|
1589
1722
|
mediaType: "json",
|
|
1590
|
-
serializer: serializer$3
|
|
1723
|
+
serializer: serializer$3,
|
|
1591
1724
|
};
|
|
1592
1725
|
const deleteOperationSpec = {
|
|
1593
1726
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}",
|
|
@@ -1598,93 +1731,93 @@ const deleteOperationSpec = {
|
|
|
1598
1731
|
202: {},
|
|
1599
1732
|
204: {},
|
|
1600
1733
|
default: {
|
|
1601
|
-
bodyMapper: ErrorResponse
|
|
1602
|
-
}
|
|
1734
|
+
bodyMapper: ErrorResponse,
|
|
1735
|
+
},
|
|
1603
1736
|
},
|
|
1604
1737
|
queryParameters: [apiVersion],
|
|
1605
1738
|
urlParameters: [
|
|
1606
1739
|
$host,
|
|
1607
1740
|
resourceGroupName,
|
|
1608
1741
|
subscriptionId,
|
|
1609
|
-
workspaceName
|
|
1742
|
+
workspaceName,
|
|
1610
1743
|
],
|
|
1611
1744
|
headerParameters: [accept],
|
|
1612
|
-
serializer: serializer$3
|
|
1745
|
+
serializer: serializer$3,
|
|
1613
1746
|
};
|
|
1614
1747
|
const listBySubscriptionOperationSpec = {
|
|
1615
1748
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/workspaces",
|
|
1616
1749
|
httpMethod: "GET",
|
|
1617
1750
|
responses: {
|
|
1618
1751
|
200: {
|
|
1619
|
-
bodyMapper: WorkspaceListResult
|
|
1752
|
+
bodyMapper: WorkspaceListResult,
|
|
1620
1753
|
},
|
|
1621
1754
|
default: {
|
|
1622
|
-
bodyMapper: ErrorResponse
|
|
1623
|
-
}
|
|
1755
|
+
bodyMapper: ErrorResponse,
|
|
1756
|
+
},
|
|
1624
1757
|
},
|
|
1625
1758
|
queryParameters: [apiVersion],
|
|
1626
1759
|
urlParameters: [$host, subscriptionId],
|
|
1627
1760
|
headerParameters: [accept],
|
|
1628
|
-
serializer: serializer$3
|
|
1761
|
+
serializer: serializer$3,
|
|
1629
1762
|
};
|
|
1630
1763
|
const listByResourceGroupOperationSpec = {
|
|
1631
1764
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces",
|
|
1632
1765
|
httpMethod: "GET",
|
|
1633
1766
|
responses: {
|
|
1634
1767
|
200: {
|
|
1635
|
-
bodyMapper: WorkspaceListResult
|
|
1768
|
+
bodyMapper: WorkspaceListResult,
|
|
1636
1769
|
},
|
|
1637
1770
|
default: {
|
|
1638
|
-
bodyMapper: ErrorResponse
|
|
1639
|
-
}
|
|
1771
|
+
bodyMapper: ErrorResponse,
|
|
1772
|
+
},
|
|
1640
1773
|
},
|
|
1641
1774
|
queryParameters: [apiVersion],
|
|
1642
1775
|
urlParameters: [
|
|
1643
1776
|
$host,
|
|
1644
1777
|
resourceGroupName,
|
|
1645
|
-
subscriptionId
|
|
1778
|
+
subscriptionId,
|
|
1646
1779
|
],
|
|
1647
1780
|
headerParameters: [accept],
|
|
1648
|
-
serializer: serializer$3
|
|
1781
|
+
serializer: serializer$3,
|
|
1649
1782
|
};
|
|
1650
1783
|
const listBySubscriptionNextOperationSpec = {
|
|
1651
1784
|
path: "{nextLink}",
|
|
1652
1785
|
httpMethod: "GET",
|
|
1653
1786
|
responses: {
|
|
1654
1787
|
200: {
|
|
1655
|
-
bodyMapper: WorkspaceListResult
|
|
1788
|
+
bodyMapper: WorkspaceListResult,
|
|
1656
1789
|
},
|
|
1657
1790
|
default: {
|
|
1658
|
-
bodyMapper: ErrorResponse
|
|
1659
|
-
}
|
|
1791
|
+
bodyMapper: ErrorResponse,
|
|
1792
|
+
},
|
|
1660
1793
|
},
|
|
1661
1794
|
urlParameters: [
|
|
1662
1795
|
$host,
|
|
1663
1796
|
subscriptionId,
|
|
1664
|
-
nextLink
|
|
1797
|
+
nextLink,
|
|
1665
1798
|
],
|
|
1666
1799
|
headerParameters: [accept],
|
|
1667
|
-
serializer: serializer$3
|
|
1800
|
+
serializer: serializer$3,
|
|
1668
1801
|
};
|
|
1669
1802
|
const listByResourceGroupNextOperationSpec = {
|
|
1670
1803
|
path: "{nextLink}",
|
|
1671
1804
|
httpMethod: "GET",
|
|
1672
1805
|
responses: {
|
|
1673
1806
|
200: {
|
|
1674
|
-
bodyMapper: WorkspaceListResult
|
|
1807
|
+
bodyMapper: WorkspaceListResult,
|
|
1675
1808
|
},
|
|
1676
1809
|
default: {
|
|
1677
|
-
bodyMapper: ErrorResponse
|
|
1678
|
-
}
|
|
1810
|
+
bodyMapper: ErrorResponse,
|
|
1811
|
+
},
|
|
1679
1812
|
},
|
|
1680
1813
|
urlParameters: [
|
|
1681
1814
|
$host,
|
|
1682
1815
|
resourceGroupName,
|
|
1683
1816
|
subscriptionId,
|
|
1684
|
-
nextLink
|
|
1817
|
+
nextLink,
|
|
1685
1818
|
],
|
|
1686
1819
|
headerParameters: [accept],
|
|
1687
|
-
serializer: serializer$3
|
|
1820
|
+
serializer: serializer$3,
|
|
1688
1821
|
};
|
|
1689
1822
|
|
|
1690
1823
|
/*
|
|
@@ -1723,7 +1856,7 @@ class OfferingsImpl {
|
|
|
1723
1856
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1724
1857
|
}
|
|
1725
1858
|
return this.listPagingPage(locationName, options, settings);
|
|
1726
|
-
}
|
|
1859
|
+
},
|
|
1727
1860
|
};
|
|
1728
1861
|
}
|
|
1729
1862
|
listPagingPage(locationName, options, settings) {
|
|
@@ -1791,40 +1924,40 @@ const listOperationSpec$1 = {
|
|
|
1791
1924
|
httpMethod: "GET",
|
|
1792
1925
|
responses: {
|
|
1793
1926
|
200: {
|
|
1794
|
-
bodyMapper: OfferingsListResult
|
|
1927
|
+
bodyMapper: OfferingsListResult,
|
|
1795
1928
|
},
|
|
1796
1929
|
default: {
|
|
1797
|
-
bodyMapper: ErrorResponse
|
|
1798
|
-
}
|
|
1930
|
+
bodyMapper: ErrorResponse,
|
|
1931
|
+
},
|
|
1799
1932
|
},
|
|
1800
1933
|
queryParameters: [apiVersion],
|
|
1801
1934
|
urlParameters: [
|
|
1802
1935
|
$host,
|
|
1803
1936
|
subscriptionId,
|
|
1804
|
-
locationName
|
|
1937
|
+
locationName,
|
|
1805
1938
|
],
|
|
1806
1939
|
headerParameters: [accept],
|
|
1807
|
-
serializer: serializer$2
|
|
1940
|
+
serializer: serializer$2,
|
|
1808
1941
|
};
|
|
1809
1942
|
const listNextOperationSpec$1 = {
|
|
1810
1943
|
path: "{nextLink}",
|
|
1811
1944
|
httpMethod: "GET",
|
|
1812
1945
|
responses: {
|
|
1813
1946
|
200: {
|
|
1814
|
-
bodyMapper: OfferingsListResult
|
|
1947
|
+
bodyMapper: OfferingsListResult,
|
|
1815
1948
|
},
|
|
1816
1949
|
default: {
|
|
1817
|
-
bodyMapper: ErrorResponse
|
|
1818
|
-
}
|
|
1950
|
+
bodyMapper: ErrorResponse,
|
|
1951
|
+
},
|
|
1819
1952
|
},
|
|
1820
1953
|
urlParameters: [
|
|
1821
1954
|
$host,
|
|
1822
1955
|
subscriptionId,
|
|
1823
1956
|
nextLink,
|
|
1824
|
-
locationName
|
|
1957
|
+
locationName,
|
|
1825
1958
|
],
|
|
1826
1959
|
headerParameters: [accept],
|
|
1827
|
-
serializer: serializer$2
|
|
1960
|
+
serializer: serializer$2,
|
|
1828
1961
|
};
|
|
1829
1962
|
|
|
1830
1963
|
/*
|
|
@@ -1862,7 +1995,7 @@ class OperationsImpl {
|
|
|
1862
1995
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1863
1996
|
}
|
|
1864
1997
|
return this.listPagingPage(options, settings);
|
|
1865
|
-
}
|
|
1998
|
+
},
|
|
1866
1999
|
};
|
|
1867
2000
|
}
|
|
1868
2001
|
listPagingPage(options, settings) {
|
|
@@ -1928,31 +2061,31 @@ const listOperationSpec = {
|
|
|
1928
2061
|
httpMethod: "GET",
|
|
1929
2062
|
responses: {
|
|
1930
2063
|
200: {
|
|
1931
|
-
bodyMapper: OperationsList
|
|
2064
|
+
bodyMapper: OperationsList,
|
|
1932
2065
|
},
|
|
1933
2066
|
default: {
|
|
1934
|
-
bodyMapper: ErrorResponse
|
|
1935
|
-
}
|
|
2067
|
+
bodyMapper: ErrorResponse,
|
|
2068
|
+
},
|
|
1936
2069
|
},
|
|
1937
2070
|
queryParameters: [apiVersion],
|
|
1938
2071
|
urlParameters: [$host],
|
|
1939
2072
|
headerParameters: [accept],
|
|
1940
|
-
serializer: serializer$1
|
|
2073
|
+
serializer: serializer$1,
|
|
1941
2074
|
};
|
|
1942
2075
|
const listNextOperationSpec = {
|
|
1943
2076
|
path: "{nextLink}",
|
|
1944
2077
|
httpMethod: "GET",
|
|
1945
2078
|
responses: {
|
|
1946
2079
|
200: {
|
|
1947
|
-
bodyMapper: OperationsList
|
|
2080
|
+
bodyMapper: OperationsList,
|
|
1948
2081
|
},
|
|
1949
2082
|
default: {
|
|
1950
|
-
bodyMapper: ErrorResponse
|
|
1951
|
-
}
|
|
2083
|
+
bodyMapper: ErrorResponse,
|
|
2084
|
+
},
|
|
1952
2085
|
},
|
|
1953
2086
|
urlParameters: [$host, nextLink],
|
|
1954
2087
|
headerParameters: [accept],
|
|
1955
|
-
serializer: serializer$1
|
|
2088
|
+
serializer: serializer$1,
|
|
1956
2089
|
};
|
|
1957
2090
|
|
|
1958
2091
|
/*
|
|
@@ -1980,6 +2113,28 @@ class WorkspaceImpl {
|
|
|
1980
2113
|
checkNameAvailability(locationName, checkNameAvailabilityParameters, options) {
|
|
1981
2114
|
return this.client.sendOperationRequest({ locationName, checkNameAvailabilityParameters, options }, checkNameAvailabilityOperationSpec);
|
|
1982
2115
|
}
|
|
2116
|
+
/**
|
|
2117
|
+
* Get the keys to use with the Quantum APIs. A key is used to authenticate and authorize access to the
|
|
2118
|
+
* Quantum REST APIs. Only one key is needed at a time; two are given to provide seamless key
|
|
2119
|
+
* regeneration.
|
|
2120
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2121
|
+
* @param workspaceName The name of the quantum workspace resource.
|
|
2122
|
+
* @param options The options parameters.
|
|
2123
|
+
*/
|
|
2124
|
+
listKeys(resourceGroupName, workspaceName, options) {
|
|
2125
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listKeysOperationSpec);
|
|
2126
|
+
}
|
|
2127
|
+
/**
|
|
2128
|
+
* Regenerate either the primary or secondary key for use with the Quantum APIs. The old key will stop
|
|
2129
|
+
* working immediately.
|
|
2130
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2131
|
+
* @param workspaceName The name of the quantum workspace resource.
|
|
2132
|
+
* @param keySpecification Which key to regenerate: primary or secondary.
|
|
2133
|
+
* @param options The options parameters.
|
|
2134
|
+
*/
|
|
2135
|
+
regenerateKeys(resourceGroupName, workspaceName, keySpecification, options) {
|
|
2136
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, keySpecification, options }, regenerateKeysOperationSpec);
|
|
2137
|
+
}
|
|
1983
2138
|
}
|
|
1984
2139
|
// Operation Specifications
|
|
1985
2140
|
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -1988,22 +2143,64 @@ const checkNameAvailabilityOperationSpec = {
|
|
|
1988
2143
|
httpMethod: "POST",
|
|
1989
2144
|
responses: {
|
|
1990
2145
|
200: {
|
|
1991
|
-
bodyMapper: CheckNameAvailabilityResult
|
|
2146
|
+
bodyMapper: CheckNameAvailabilityResult,
|
|
1992
2147
|
},
|
|
1993
2148
|
default: {
|
|
1994
|
-
bodyMapper: ErrorResponse
|
|
1995
|
-
}
|
|
2149
|
+
bodyMapper: ErrorResponse,
|
|
2150
|
+
},
|
|
1996
2151
|
},
|
|
1997
2152
|
requestBody: checkNameAvailabilityParameters,
|
|
1998
2153
|
queryParameters: [apiVersion],
|
|
1999
2154
|
urlParameters: [
|
|
2000
2155
|
$host,
|
|
2001
2156
|
subscriptionId,
|
|
2002
|
-
locationName
|
|
2157
|
+
locationName,
|
|
2003
2158
|
],
|
|
2004
2159
|
headerParameters: [accept, contentType],
|
|
2005
2160
|
mediaType: "json",
|
|
2006
|
-
serializer
|
|
2161
|
+
serializer,
|
|
2162
|
+
};
|
|
2163
|
+
const listKeysOperationSpec = {
|
|
2164
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/listKeys",
|
|
2165
|
+
httpMethod: "POST",
|
|
2166
|
+
responses: {
|
|
2167
|
+
200: {
|
|
2168
|
+
bodyMapper: ListKeysResult,
|
|
2169
|
+
},
|
|
2170
|
+
default: {
|
|
2171
|
+
bodyMapper: ErrorResponse,
|
|
2172
|
+
},
|
|
2173
|
+
},
|
|
2174
|
+
queryParameters: [apiVersion],
|
|
2175
|
+
urlParameters: [
|
|
2176
|
+
$host,
|
|
2177
|
+
resourceGroupName,
|
|
2178
|
+
subscriptionId,
|
|
2179
|
+
workspaceName,
|
|
2180
|
+
],
|
|
2181
|
+
headerParameters: [accept],
|
|
2182
|
+
serializer,
|
|
2183
|
+
};
|
|
2184
|
+
const regenerateKeysOperationSpec = {
|
|
2185
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/regenerateKey",
|
|
2186
|
+
httpMethod: "POST",
|
|
2187
|
+
responses: {
|
|
2188
|
+
204: {},
|
|
2189
|
+
default: {
|
|
2190
|
+
bodyMapper: ErrorResponse,
|
|
2191
|
+
},
|
|
2192
|
+
},
|
|
2193
|
+
requestBody: keySpecification,
|
|
2194
|
+
queryParameters: [apiVersion],
|
|
2195
|
+
urlParameters: [
|
|
2196
|
+
$host,
|
|
2197
|
+
resourceGroupName,
|
|
2198
|
+
subscriptionId,
|
|
2199
|
+
workspaceName,
|
|
2200
|
+
],
|
|
2201
|
+
headerParameters: [accept, contentType],
|
|
2202
|
+
mediaType: "json",
|
|
2203
|
+
serializer,
|
|
2007
2204
|
};
|
|
2008
2205
|
|
|
2009
2206
|
/*
|
|
@@ -2017,7 +2214,7 @@ class AzureQuantumManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
2017
2214
|
/**
|
|
2018
2215
|
* Initializes a new instance of the AzureQuantumManagementClient class.
|
|
2019
2216
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2020
|
-
* @param subscriptionId The
|
|
2217
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
2021
2218
|
* @param options The parameter options
|
|
2022
2219
|
*/
|
|
2023
2220
|
constructor(credentials, subscriptionId, options) {
|
|
@@ -2034,14 +2231,14 @@ class AzureQuantumManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
2034
2231
|
}
|
|
2035
2232
|
const defaults = {
|
|
2036
2233
|
requestContentType: "application/json; charset=utf-8",
|
|
2037
|
-
credential: credentials
|
|
2234
|
+
credential: credentials,
|
|
2038
2235
|
};
|
|
2039
2236
|
const packageDetails = `azsdk-js-arm-quantum/1.0.0-beta.2`;
|
|
2040
2237
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2041
2238
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2042
2239
|
: `${packageDetails}`;
|
|
2043
2240
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
2044
|
-
userAgentPrefix
|
|
2241
|
+
userAgentPrefix,
|
|
2045
2242
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
2046
2243
|
super(optionsWithDefaults);
|
|
2047
2244
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -2055,21 +2252,21 @@ class AzureQuantumManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
2055
2252
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
2056
2253
|
!bearerTokenAuthenticationPolicyFound) {
|
|
2057
2254
|
this.pipeline.removePolicy({
|
|
2058
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
2255
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
2059
2256
|
});
|
|
2060
2257
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
2061
2258
|
credential: credentials,
|
|
2062
2259
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
2063
2260
|
challengeCallbacks: {
|
|
2064
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
2065
|
-
}
|
|
2261
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
2262
|
+
},
|
|
2066
2263
|
}));
|
|
2067
2264
|
}
|
|
2068
2265
|
// Parameter assignments
|
|
2069
2266
|
this.subscriptionId = subscriptionId;
|
|
2070
2267
|
// Assigning values to Constant parameters
|
|
2071
2268
|
this.$host = options.$host || "https://management.azure.com";
|
|
2072
|
-
this.apiVersion = options.apiVersion || "
|
|
2269
|
+
this.apiVersion = options.apiVersion || "2023-11-13-preview";
|
|
2073
2270
|
this.workspaces = new WorkspacesImpl(this);
|
|
2074
2271
|
this.offerings = new OfferingsImpl(this);
|
|
2075
2272
|
this.operations = new OperationsImpl(this);
|
|
@@ -2099,7 +2296,7 @@ class AzureQuantumManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
2099
2296
|
}
|
|
2100
2297
|
return next(request);
|
|
2101
2298
|
});
|
|
2102
|
-
}
|
|
2299
|
+
},
|
|
2103
2300
|
};
|
|
2104
2301
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
2105
2302
|
}
|