@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.
Files changed (76) hide show
  1. package/CHANGELOG.md +26 -8
  2. package/LICENSE +1 -1
  3. package/dist/index.js +668 -471
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/offeringsListSample.js +1 -1
  8. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  9. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js +3 -3
  10. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js.map +1 -1
  11. package/dist-esm/samples-dev/workspaceListKeysSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/workspaceListKeysSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/workspaceListKeysSample.js +39 -0
  14. package/dist-esm/samples-dev/workspaceListKeysSample.js.map +1 -0
  15. package/dist-esm/samples-dev/workspaceRegenerateKeysSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/workspaceRegenerateKeysSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/workspaceRegenerateKeysSample.js +40 -0
  18. package/dist-esm/samples-dev/workspaceRegenerateKeysSample.js.map +1 -0
  19. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +10 -8
  20. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
  21. package/dist-esm/samples-dev/workspacesDeleteSample.js +1 -1
  22. package/dist-esm/samples-dev/workspacesGetSample.js +1 -1
  23. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +1 -1
  24. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +1 -1
  25. package/dist-esm/samples-dev/workspacesUpdateTagsSample.js +2 -2
  26. package/dist-esm/src/azureQuantumManagementClient.d.ts +1 -1
  27. package/dist-esm/src/azureQuantumManagementClient.d.ts.map +1 -1
  28. package/dist-esm/src/azureQuantumManagementClient.js +9 -9
  29. package/dist-esm/src/azureQuantumManagementClient.js.map +1 -1
  30. package/dist-esm/src/lroImpl.js +1 -1
  31. package/dist-esm/src/models/index.d.ts +106 -41
  32. package/dist-esm/src/models/index.d.ts.map +1 -1
  33. package/dist-esm/src/models/index.js +8 -0
  34. package/dist-esm/src/models/index.js.map +1 -1
  35. package/dist-esm/src/models/mappers.d.ts +5 -1
  36. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  37. package/dist-esm/src/models/mappers.js +454 -345
  38. package/dist-esm/src/models/mappers.js.map +1 -1
  39. package/dist-esm/src/models/parameters.d.ts +1 -0
  40. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  41. package/dist-esm/src/models/parameters.js +43 -32
  42. package/dist-esm/src/models/parameters.js.map +1 -1
  43. package/dist-esm/src/operations/offerings.js +11 -11
  44. package/dist-esm/src/operations/offerings.js.map +1 -1
  45. package/dist-esm/src/operations/operations.js +9 -9
  46. package/dist-esm/src/operations/workspace.d.ts +19 -1
  47. package/dist-esm/src/operations/workspace.d.ts.map +1 -1
  48. package/dist-esm/src/operations/workspace.js +69 -5
  49. package/dist-esm/src/operations/workspace.js.map +1 -1
  50. package/dist-esm/src/operations/workspaces.d.ts +9 -9
  51. package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
  52. package/dist-esm/src/operations/workspaces.js +62 -61
  53. package/dist-esm/src/operations/workspaces.js.map +1 -1
  54. package/dist-esm/src/operationsInterfaces/workspace.d.ts +19 -1
  55. package/dist-esm/src/operationsInterfaces/workspace.d.ts.map +1 -1
  56. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +7 -7
  57. package/dist-esm/test/quantum_operations_test.spec.js +12 -9
  58. package/dist-esm/test/quantum_operations_test.spec.js.map +1 -1
  59. package/package.json +10 -10
  60. package/review/arm-quantum.api.md +55 -6
  61. package/src/azureQuantumManagementClient.ts +18 -17
  62. package/src/lroImpl.ts +3 -3
  63. package/src/models/index.ts +123 -48
  64. package/src/models/mappers.ts +476 -367
  65. package/src/models/parameters.ts +46 -33
  66. package/src/operations/offerings.ts +20 -21
  67. package/src/operations/operations.ts +16 -16
  68. package/src/operations/workspace.ts +94 -10
  69. package/src/operations/workspaces.ts +110 -117
  70. package/src/operationsInterfaces/offerings.ts +1 -1
  71. package/src/operationsInterfaces/operations.ts +1 -1
  72. package/src/operationsInterfaces/workspace.ts +33 -2
  73. package/src/operationsInterfaces/workspaces.ts +16 -16
  74. package/src/pagingHelper.ts +1 -1
  75. package/types/arm-quantum.d.ts +127 -34
  76. package/types/tsdoc-metadata.json +1 -1
@@ -8,6 +8,60 @@
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
10
 
11
+ export const WorkspaceResourceProperties: coreClient.CompositeMapper = {
12
+ type: {
13
+ name: "Composite",
14
+ className: "WorkspaceResourceProperties",
15
+ modelProperties: {
16
+ providers: {
17
+ serializedName: "providers",
18
+ type: {
19
+ name: "Sequence",
20
+ element: {
21
+ type: {
22
+ name: "Composite",
23
+ className: "Provider",
24
+ },
25
+ },
26
+ },
27
+ },
28
+ usable: {
29
+ serializedName: "usable",
30
+ readOnly: true,
31
+ type: {
32
+ name: "String",
33
+ },
34
+ },
35
+ provisioningState: {
36
+ serializedName: "provisioningState",
37
+ readOnly: true,
38
+ type: {
39
+ name: "String",
40
+ },
41
+ },
42
+ storageAccount: {
43
+ serializedName: "storageAccount",
44
+ type: {
45
+ name: "String",
46
+ },
47
+ },
48
+ endpointUri: {
49
+ serializedName: "endpointUri",
50
+ readOnly: true,
51
+ type: {
52
+ name: "String",
53
+ },
54
+ },
55
+ apiKeyEnabled: {
56
+ serializedName: "apiKeyEnabled",
57
+ type: {
58
+ name: "Boolean",
59
+ },
60
+ },
61
+ },
62
+ },
63
+ };
64
+
11
65
  export const Provider: coreClient.CompositeMapper = {
12
66
  type: {
13
67
  name: "Composite",
@@ -16,41 +70,41 @@ export const Provider: coreClient.CompositeMapper = {
16
70
  providerId: {
17
71
  serializedName: "providerId",
18
72
  type: {
19
- name: "String"
20
- }
73
+ name: "String",
74
+ },
21
75
  },
22
76
  providerSku: {
23
77
  serializedName: "providerSku",
24
78
  type: {
25
- name: "String"
26
- }
79
+ name: "String",
80
+ },
27
81
  },
28
82
  instanceUri: {
29
83
  serializedName: "instanceUri",
30
84
  type: {
31
- name: "String"
32
- }
85
+ name: "String",
86
+ },
33
87
  },
34
88
  applicationName: {
35
89
  serializedName: "applicationName",
36
90
  type: {
37
- name: "String"
38
- }
91
+ name: "String",
92
+ },
39
93
  },
40
94
  provisioningState: {
41
95
  serializedName: "provisioningState",
42
96
  type: {
43
- name: "String"
44
- }
97
+ name: "String",
98
+ },
45
99
  },
46
100
  resourceUsageId: {
47
101
  serializedName: "resourceUsageId",
48
102
  type: {
49
- name: "String"
50
- }
51
- }
52
- }
53
- }
103
+ name: "String",
104
+ },
105
+ },
106
+ },
107
+ },
54
108
  };
55
109
 
56
110
  export const QuantumWorkspaceIdentity: coreClient.CompositeMapper = {
@@ -62,24 +116,61 @@ export const QuantumWorkspaceIdentity: coreClient.CompositeMapper = {
62
116
  serializedName: "principalId",
63
117
  readOnly: true,
64
118
  type: {
65
- name: "String"
66
- }
119
+ name: "String",
120
+ },
67
121
  },
68
122
  tenantId: {
69
123
  serializedName: "tenantId",
70
124
  readOnly: true,
71
125
  type: {
72
- name: "String"
73
- }
126
+ name: "String",
127
+ },
74
128
  },
75
129
  type: {
76
130
  serializedName: "type",
77
131
  type: {
78
- name: "String"
79
- }
80
- }
81
- }
82
- }
132
+ name: "String",
133
+ },
134
+ },
135
+ },
136
+ },
137
+ };
138
+
139
+ export const Resource: coreClient.CompositeMapper = {
140
+ type: {
141
+ name: "Composite",
142
+ className: "Resource",
143
+ modelProperties: {
144
+ id: {
145
+ serializedName: "id",
146
+ readOnly: true,
147
+ type: {
148
+ name: "String",
149
+ },
150
+ },
151
+ name: {
152
+ serializedName: "name",
153
+ readOnly: true,
154
+ type: {
155
+ name: "String",
156
+ },
157
+ },
158
+ type: {
159
+ serializedName: "type",
160
+ readOnly: true,
161
+ type: {
162
+ name: "String",
163
+ },
164
+ },
165
+ systemData: {
166
+ serializedName: "systemData",
167
+ type: {
168
+ name: "Composite",
169
+ className: "SystemData",
170
+ },
171
+ },
172
+ },
173
+ },
83
174
  };
84
175
 
85
176
  export const SystemData: coreClient.CompositeMapper = {
@@ -90,71 +181,41 @@ export const SystemData: coreClient.CompositeMapper = {
90
181
  createdBy: {
91
182
  serializedName: "createdBy",
92
183
  type: {
93
- name: "String"
94
- }
184
+ name: "String",
185
+ },
95
186
  },
96
187
  createdByType: {
97
188
  serializedName: "createdByType",
98
189
  type: {
99
- name: "String"
100
- }
190
+ name: "String",
191
+ },
101
192
  },
102
193
  createdAt: {
103
194
  serializedName: "createdAt",
104
195
  type: {
105
- name: "DateTime"
106
- }
196
+ name: "DateTime",
197
+ },
107
198
  },
108
199
  lastModifiedBy: {
109
200
  serializedName: "lastModifiedBy",
110
201
  type: {
111
- name: "String"
112
- }
202
+ name: "String",
203
+ },
113
204
  },
114
205
  lastModifiedByType: {
115
206
  serializedName: "lastModifiedByType",
116
207
  type: {
117
- name: "String"
118
- }
208
+ name: "String",
209
+ },
119
210
  },
120
211
  lastModifiedAt: {
121
212
  serializedName: "lastModifiedAt",
122
213
  type: {
123
- name: "DateTime"
124
- }
125
- }
126
- }
127
- }
128
- };
129
-
130
- export const Resource: coreClient.CompositeMapper = {
131
- type: {
132
- name: "Composite",
133
- className: "Resource",
134
- modelProperties: {
135
- id: {
136
- serializedName: "id",
137
- readOnly: true,
138
- type: {
139
- name: "String"
140
- }
214
+ name: "DateTime",
215
+ },
141
216
  },
142
- name: {
143
- serializedName: "name",
144
- readOnly: true,
145
- type: {
146
- name: "String"
147
- }
148
- },
149
- type: {
150
- serializedName: "type",
151
- readOnly: true,
152
- type: {
153
- name: "String"
154
- }
155
- }
156
- }
157
- }
217
+ },
218
+ },
158
219
  };
159
220
 
160
221
  export const ErrorResponse: coreClient.CompositeMapper = {
@@ -166,11 +227,11 @@ export const ErrorResponse: coreClient.CompositeMapper = {
166
227
  serializedName: "error",
167
228
  type: {
168
229
  name: "Composite",
169
- className: "ErrorDetail"
170
- }
171
- }
172
- }
173
- }
230
+ className: "ErrorDetail",
231
+ },
232
+ },
233
+ },
234
+ },
174
235
  };
175
236
 
176
237
  export const ErrorDetail: coreClient.CompositeMapper = {
@@ -182,22 +243,22 @@ export const ErrorDetail: coreClient.CompositeMapper = {
182
243
  serializedName: "code",
183
244
  readOnly: true,
184
245
  type: {
185
- name: "String"
186
- }
246
+ name: "String",
247
+ },
187
248
  },
188
249
  message: {
189
250
  serializedName: "message",
190
251
  readOnly: true,
191
252
  type: {
192
- name: "String"
193
- }
253
+ name: "String",
254
+ },
194
255
  },
195
256
  target: {
196
257
  serializedName: "target",
197
258
  readOnly: true,
198
259
  type: {
199
- name: "String"
200
- }
260
+ name: "String",
261
+ },
201
262
  },
202
263
  details: {
203
264
  serializedName: "details",
@@ -207,10 +268,10 @@ export const ErrorDetail: coreClient.CompositeMapper = {
207
268
  element: {
208
269
  type: {
209
270
  name: "Composite",
210
- className: "ErrorDetail"
211
- }
212
- }
213
- }
271
+ className: "ErrorDetail",
272
+ },
273
+ },
274
+ },
214
275
  },
215
276
  additionalInfo: {
216
277
  serializedName: "additionalInfo",
@@ -220,13 +281,13 @@ export const ErrorDetail: coreClient.CompositeMapper = {
220
281
  element: {
221
282
  type: {
222
283
  name: "Composite",
223
- className: "ErrorAdditionalInfo"
224
- }
225
- }
226
- }
227
- }
228
- }
229
- }
284
+ className: "ErrorAdditionalInfo",
285
+ },
286
+ },
287
+ },
288
+ },
289
+ },
290
+ },
230
291
  };
231
292
 
232
293
  export const ErrorAdditionalInfo: coreClient.CompositeMapper = {
@@ -238,19 +299,19 @@ export const ErrorAdditionalInfo: coreClient.CompositeMapper = {
238
299
  serializedName: "type",
239
300
  readOnly: true,
240
301
  type: {
241
- name: "String"
242
- }
302
+ name: "String",
303
+ },
243
304
  },
244
305
  info: {
245
306
  serializedName: "info",
246
307
  readOnly: true,
247
308
  type: {
248
309
  name: "Dictionary",
249
- value: { type: { name: "any" } }
250
- }
251
- }
252
- }
253
- }
310
+ value: { type: { name: "any" } },
311
+ },
312
+ },
313
+ },
314
+ },
254
315
  };
255
316
 
256
317
  export const TagsObject: coreClient.CompositeMapper = {
@@ -262,11 +323,11 @@ export const TagsObject: coreClient.CompositeMapper = {
262
323
  serializedName: "tags",
263
324
  type: {
264
325
  name: "Dictionary",
265
- value: { type: { name: "String" } }
266
- }
267
- }
268
- }
269
- }
326
+ value: { type: { name: "String" } },
327
+ },
328
+ },
329
+ },
330
+ },
270
331
  };
271
332
 
272
333
  export const WorkspaceListResult: coreClient.CompositeMapper = {
@@ -281,19 +342,19 @@ export const WorkspaceListResult: coreClient.CompositeMapper = {
281
342
  element: {
282
343
  type: {
283
344
  name: "Composite",
284
- className: "QuantumWorkspace"
285
- }
286
- }
287
- }
345
+ className: "QuantumWorkspace",
346
+ },
347
+ },
348
+ },
288
349
  },
289
350
  nextLink: {
290
351
  serializedName: "nextLink",
291
352
  type: {
292
- name: "String"
293
- }
294
- }
295
- }
296
- }
353
+ name: "String",
354
+ },
355
+ },
356
+ },
357
+ },
297
358
  };
298
359
 
299
360
  export const OfferingsListResult: coreClient.CompositeMapper = {
@@ -308,19 +369,19 @@ export const OfferingsListResult: coreClient.CompositeMapper = {
308
369
  element: {
309
370
  type: {
310
371
  name: "Composite",
311
- className: "ProviderDescription"
312
- }
313
- }
314
- }
372
+ className: "ProviderDescription",
373
+ },
374
+ },
375
+ },
315
376
  },
316
377
  nextLink: {
317
378
  serializedName: "nextLink",
318
379
  type: {
319
- name: "String"
320
- }
321
- }
322
- }
323
- }
380
+ name: "String",
381
+ },
382
+ },
383
+ },
384
+ },
324
385
  };
325
386
 
326
387
  export const ProviderDescription: coreClient.CompositeMapper = {
@@ -331,25 +392,25 @@ export const ProviderDescription: coreClient.CompositeMapper = {
331
392
  id: {
332
393
  serializedName: "id",
333
394
  type: {
334
- name: "String"
335
- }
395
+ name: "String",
396
+ },
336
397
  },
337
398
  name: {
338
399
  serializedName: "name",
339
400
  readOnly: true,
340
401
  type: {
341
- name: "String"
342
- }
402
+ name: "String",
403
+ },
343
404
  },
344
405
  properties: {
345
406
  serializedName: "properties",
346
407
  type: {
347
408
  name: "Composite",
348
- className: "ProviderProperties"
349
- }
350
- }
351
- }
352
- }
409
+ className: "ProviderProperties",
410
+ },
411
+ },
412
+ },
413
+ },
353
414
  };
354
415
 
355
416
  export const ProviderProperties: coreClient.CompositeMapper = {
@@ -361,43 +422,43 @@ export const ProviderProperties: coreClient.CompositeMapper = {
361
422
  serializedName: "description",
362
423
  readOnly: true,
363
424
  type: {
364
- name: "String"
365
- }
425
+ name: "String",
426
+ },
366
427
  },
367
428
  providerType: {
368
429
  serializedName: "providerType",
369
430
  readOnly: true,
370
431
  type: {
371
- name: "String"
372
- }
432
+ name: "String",
433
+ },
373
434
  },
374
435
  company: {
375
436
  serializedName: "company",
376
437
  readOnly: true,
377
438
  type: {
378
- name: "String"
379
- }
439
+ name: "String",
440
+ },
380
441
  },
381
442
  defaultEndpoint: {
382
443
  serializedName: "defaultEndpoint",
383
444
  readOnly: true,
384
445
  type: {
385
- name: "String"
386
- }
446
+ name: "String",
447
+ },
387
448
  },
388
449
  aad: {
389
450
  serializedName: "aad",
390
451
  type: {
391
452
  name: "Composite",
392
- className: "ProviderPropertiesAad"
393
- }
453
+ className: "ProviderPropertiesAad",
454
+ },
394
455
  },
395
456
  managedApplication: {
396
457
  serializedName: "managedApplication",
397
458
  type: {
398
459
  name: "Composite",
399
- className: "ProviderPropertiesManagedApplication"
400
- }
460
+ className: "ProviderPropertiesManagedApplication",
461
+ },
401
462
  },
402
463
  targets: {
403
464
  serializedName: "targets",
@@ -406,10 +467,10 @@ export const ProviderProperties: coreClient.CompositeMapper = {
406
467
  element: {
407
468
  type: {
408
469
  name: "Composite",
409
- className: "TargetDescription"
410
- }
411
- }
412
- }
470
+ className: "TargetDescription",
471
+ },
472
+ },
473
+ },
413
474
  },
414
475
  skus: {
415
476
  serializedName: "skus",
@@ -418,10 +479,10 @@ export const ProviderProperties: coreClient.CompositeMapper = {
418
479
  element: {
419
480
  type: {
420
481
  name: "Composite",
421
- className: "SkuDescription"
422
- }
423
- }
424
- }
482
+ className: "SkuDescription",
483
+ },
484
+ },
485
+ },
425
486
  },
426
487
  quotaDimensions: {
427
488
  serializedName: "quotaDimensions",
@@ -430,10 +491,10 @@ export const ProviderProperties: coreClient.CompositeMapper = {
430
491
  element: {
431
492
  type: {
432
493
  name: "Composite",
433
- className: "QuotaDimension"
434
- }
435
- }
436
- }
494
+ className: "QuotaDimension",
495
+ },
496
+ },
497
+ },
437
498
  },
438
499
  pricingDimensions: {
439
500
  serializedName: "pricingDimensions",
@@ -442,13 +503,13 @@ export const ProviderProperties: coreClient.CompositeMapper = {
442
503
  element: {
443
504
  type: {
444
505
  name: "Composite",
445
- className: "PricingDimension"
446
- }
447
- }
448
- }
449
- }
450
- }
451
- }
506
+ className: "PricingDimension",
507
+ },
508
+ },
509
+ },
510
+ },
511
+ },
512
+ },
452
513
  };
453
514
 
454
515
  export const ProviderPropertiesAad: coreClient.CompositeMapper = {
@@ -460,43 +521,44 @@ export const ProviderPropertiesAad: coreClient.CompositeMapper = {
460
521
  serializedName: "applicationId",
461
522
  readOnly: true,
462
523
  type: {
463
- name: "String"
464
- }
524
+ name: "String",
525
+ },
465
526
  },
466
527
  tenantId: {
467
528
  serializedName: "tenantId",
468
529
  readOnly: true,
469
530
  type: {
470
- name: "String"
471
- }
472
- }
473
- }
474
- }
475
- };
476
-
477
- export const ProviderPropertiesManagedApplication: coreClient.CompositeMapper = {
478
- type: {
479
- name: "Composite",
480
- className: "ProviderPropertiesManagedApplication",
481
- modelProperties: {
482
- publisherId: {
483
- serializedName: "publisherId",
484
- readOnly: true,
485
- type: {
486
- name: "String"
487
- }
531
+ name: "String",
532
+ },
488
533
  },
489
- offerId: {
490
- serializedName: "offerId",
491
- readOnly: true,
492
- type: {
493
- name: "String"
494
- }
495
- }
496
- }
497
- }
534
+ },
535
+ },
498
536
  };
499
537
 
538
+ export const ProviderPropertiesManagedApplication: coreClient.CompositeMapper =
539
+ {
540
+ type: {
541
+ name: "Composite",
542
+ className: "ProviderPropertiesManagedApplication",
543
+ modelProperties: {
544
+ publisherId: {
545
+ serializedName: "publisherId",
546
+ readOnly: true,
547
+ type: {
548
+ name: "String",
549
+ },
550
+ },
551
+ offerId: {
552
+ serializedName: "offerId",
553
+ readOnly: true,
554
+ type: {
555
+ name: "String",
556
+ },
557
+ },
558
+ },
559
+ },
560
+ };
561
+
500
562
  export const TargetDescription: coreClient.CompositeMapper = {
501
563
  type: {
502
564
  name: "Composite",
@@ -505,20 +567,20 @@ export const TargetDescription: coreClient.CompositeMapper = {
505
567
  id: {
506
568
  serializedName: "id",
507
569
  type: {
508
- name: "String"
509
- }
570
+ name: "String",
571
+ },
510
572
  },
511
573
  name: {
512
574
  serializedName: "name",
513
575
  type: {
514
- name: "String"
515
- }
576
+ name: "String",
577
+ },
516
578
  },
517
579
  description: {
518
580
  serializedName: "description",
519
581
  type: {
520
- name: "String"
521
- }
582
+ name: "String",
583
+ },
522
584
  },
523
585
  acceptedDataFormats: {
524
586
  serializedName: "acceptedDataFormats",
@@ -526,10 +588,10 @@ export const TargetDescription: coreClient.CompositeMapper = {
526
588
  name: "Sequence",
527
589
  element: {
528
590
  type: {
529
- name: "String"
530
- }
531
- }
532
- }
591
+ name: "String",
592
+ },
593
+ },
594
+ },
533
595
  },
534
596
  acceptedContentEncodings: {
535
597
  serializedName: "acceptedContentEncodings",
@@ -537,13 +599,13 @@ export const TargetDescription: coreClient.CompositeMapper = {
537
599
  name: "Sequence",
538
600
  element: {
539
601
  type: {
540
- name: "String"
541
- }
542
- }
543
- }
544
- }
545
- }
546
- }
602
+ name: "String",
603
+ },
604
+ },
605
+ },
606
+ },
607
+ },
608
+ },
547
609
  };
548
610
 
549
611
  export const SkuDescription: coreClient.CompositeMapper = {
@@ -554,38 +616,38 @@ export const SkuDescription: coreClient.CompositeMapper = {
554
616
  id: {
555
617
  serializedName: "id",
556
618
  type: {
557
- name: "String"
558
- }
619
+ name: "String",
620
+ },
559
621
  },
560
622
  name: {
561
623
  serializedName: "name",
562
624
  type: {
563
- name: "String"
564
- }
625
+ name: "String",
626
+ },
565
627
  },
566
628
  version: {
567
629
  serializedName: "version",
568
630
  type: {
569
- name: "String"
570
- }
631
+ name: "String",
632
+ },
571
633
  },
572
634
  description: {
573
635
  serializedName: "description",
574
636
  type: {
575
- name: "String"
576
- }
637
+ name: "String",
638
+ },
577
639
  },
578
640
  restrictedAccessUri: {
579
641
  serializedName: "restrictedAccessUri",
580
642
  type: {
581
- name: "String"
582
- }
643
+ name: "String",
644
+ },
583
645
  },
584
646
  autoAdd: {
585
647
  serializedName: "autoAdd",
586
648
  type: {
587
- name: "Boolean"
588
- }
649
+ name: "Boolean",
650
+ },
589
651
  },
590
652
  targets: {
591
653
  serializedName: "targets",
@@ -593,10 +655,10 @@ export const SkuDescription: coreClient.CompositeMapper = {
593
655
  name: "Sequence",
594
656
  element: {
595
657
  type: {
596
- name: "String"
597
- }
598
- }
599
- }
658
+ name: "String",
659
+ },
660
+ },
661
+ },
600
662
  },
601
663
  quotaDimensions: {
602
664
  serializedName: "quotaDimensions",
@@ -605,10 +667,10 @@ export const SkuDescription: coreClient.CompositeMapper = {
605
667
  element: {
606
668
  type: {
607
669
  name: "Composite",
608
- className: "QuotaDimension"
609
- }
610
- }
611
- }
670
+ className: "QuotaDimension",
671
+ },
672
+ },
673
+ },
612
674
  },
613
675
  pricingDetails: {
614
676
  serializedName: "pricingDetails",
@@ -617,13 +679,13 @@ export const SkuDescription: coreClient.CompositeMapper = {
617
679
  element: {
618
680
  type: {
619
681
  name: "Composite",
620
- className: "PricingDetail"
621
- }
622
- }
623
- }
624
- }
625
- }
626
- }
682
+ className: "PricingDetail",
683
+ },
684
+ },
685
+ },
686
+ },
687
+ },
688
+ },
627
689
  };
628
690
 
629
691
  export const QuotaDimension: coreClient.CompositeMapper = {
@@ -634,53 +696,53 @@ export const QuotaDimension: coreClient.CompositeMapper = {
634
696
  id: {
635
697
  serializedName: "id",
636
698
  type: {
637
- name: "String"
638
- }
699
+ name: "String",
700
+ },
639
701
  },
640
702
  scope: {
641
703
  serializedName: "scope",
642
704
  type: {
643
- name: "String"
644
- }
705
+ name: "String",
706
+ },
645
707
  },
646
708
  period: {
647
709
  serializedName: "period",
648
710
  type: {
649
- name: "String"
650
- }
711
+ name: "String",
712
+ },
651
713
  },
652
714
  quota: {
653
715
  serializedName: "quota",
654
716
  type: {
655
- name: "Number"
656
- }
717
+ name: "Number",
718
+ },
657
719
  },
658
720
  name: {
659
721
  serializedName: "name",
660
722
  type: {
661
- name: "String"
662
- }
723
+ name: "String",
724
+ },
663
725
  },
664
726
  description: {
665
727
  serializedName: "description",
666
728
  type: {
667
- name: "String"
668
- }
729
+ name: "String",
730
+ },
669
731
  },
670
732
  unit: {
671
733
  serializedName: "unit",
672
734
  type: {
673
- name: "String"
674
- }
735
+ name: "String",
736
+ },
675
737
  },
676
738
  unitPlural: {
677
739
  serializedName: "unitPlural",
678
740
  type: {
679
- name: "String"
680
- }
681
- }
682
- }
683
- }
741
+ name: "String",
742
+ },
743
+ },
744
+ },
745
+ },
684
746
  };
685
747
 
686
748
  export const PricingDetail: coreClient.CompositeMapper = {
@@ -691,17 +753,17 @@ export const PricingDetail: coreClient.CompositeMapper = {
691
753
  id: {
692
754
  serializedName: "id",
693
755
  type: {
694
- name: "String"
695
- }
756
+ name: "String",
757
+ },
696
758
  },
697
759
  value: {
698
760
  serializedName: "value",
699
761
  type: {
700
- name: "String"
701
- }
702
- }
703
- }
704
- }
762
+ name: "String",
763
+ },
764
+ },
765
+ },
766
+ },
705
767
  };
706
768
 
707
769
  export const PricingDimension: coreClient.CompositeMapper = {
@@ -712,17 +774,17 @@ export const PricingDimension: coreClient.CompositeMapper = {
712
774
  id: {
713
775
  serializedName: "id",
714
776
  type: {
715
- name: "String"
716
- }
777
+ name: "String",
778
+ },
717
779
  },
718
780
  name: {
719
781
  serializedName: "name",
720
782
  type: {
721
- name: "String"
722
- }
723
- }
724
- }
725
- }
783
+ name: "String",
784
+ },
785
+ },
786
+ },
787
+ },
726
788
  };
727
789
 
728
790
  export const OperationsList: coreClient.CompositeMapper = {
@@ -733,8 +795,8 @@ export const OperationsList: coreClient.CompositeMapper = {
733
795
  nextLink: {
734
796
  serializedName: "nextLink",
735
797
  type: {
736
- name: "String"
737
- }
798
+ name: "String",
799
+ },
738
800
  },
739
801
  value: {
740
802
  serializedName: "value",
@@ -744,13 +806,13 @@ export const OperationsList: coreClient.CompositeMapper = {
744
806
  element: {
745
807
  type: {
746
808
  name: "Composite",
747
- className: "Operation"
748
- }
749
- }
750
- }
751
- }
752
- }
753
- }
809
+ className: "Operation",
810
+ },
811
+ },
812
+ },
813
+ },
814
+ },
815
+ },
754
816
  };
755
817
 
756
818
  export const Operation: coreClient.CompositeMapper = {
@@ -761,24 +823,24 @@ export const Operation: coreClient.CompositeMapper = {
761
823
  name: {
762
824
  serializedName: "name",
763
825
  type: {
764
- name: "String"
765
- }
826
+ name: "String",
827
+ },
766
828
  },
767
829
  isDataAction: {
768
830
  serializedName: "isDataAction",
769
831
  type: {
770
- name: "Boolean"
771
- }
832
+ name: "Boolean",
833
+ },
772
834
  },
773
835
  display: {
774
836
  serializedName: "display",
775
837
  type: {
776
838
  name: "Composite",
777
- className: "OperationDisplay"
778
- }
779
- }
780
- }
781
- }
839
+ className: "OperationDisplay",
840
+ },
841
+ },
842
+ },
843
+ },
782
844
  };
783
845
 
784
846
  export const OperationDisplay: coreClient.CompositeMapper = {
@@ -789,29 +851,29 @@ export const OperationDisplay: coreClient.CompositeMapper = {
789
851
  provider: {
790
852
  serializedName: "provider",
791
853
  type: {
792
- name: "String"
793
- }
854
+ name: "String",
855
+ },
794
856
  },
795
857
  resource: {
796
858
  serializedName: "resource",
797
859
  type: {
798
- name: "String"
799
- }
860
+ name: "String",
861
+ },
800
862
  },
801
863
  operation: {
802
864
  serializedName: "operation",
803
865
  type: {
804
- name: "String"
805
- }
866
+ name: "String",
867
+ },
806
868
  },
807
869
  description: {
808
870
  serializedName: "description",
809
871
  type: {
810
- name: "String"
811
- }
812
- }
813
- }
814
- }
872
+ name: "String",
873
+ },
874
+ },
875
+ },
876
+ },
815
877
  };
816
878
 
817
879
  export const CheckNameAvailabilityParameters: coreClient.CompositeMapper = {
@@ -822,18 +884,18 @@ export const CheckNameAvailabilityParameters: coreClient.CompositeMapper = {
822
884
  name: {
823
885
  serializedName: "name",
824
886
  type: {
825
- name: "String"
826
- }
887
+ name: "String",
888
+ },
827
889
  },
828
890
  type: {
829
891
  defaultValue: "Microsoft.Quantum/Workspaces",
830
892
  serializedName: "type",
831
893
  type: {
832
- name: "String"
833
- }
834
- }
835
- }
836
- }
894
+ name: "String",
895
+ },
896
+ },
897
+ },
898
+ },
837
899
  };
838
900
 
839
901
  export const CheckNameAvailabilityResult: coreClient.CompositeMapper = {
@@ -844,24 +906,110 @@ export const CheckNameAvailabilityResult: coreClient.CompositeMapper = {
844
906
  nameAvailable: {
845
907
  serializedName: "nameAvailable",
846
908
  type: {
847
- name: "Boolean"
848
- }
909
+ name: "Boolean",
910
+ },
849
911
  },
850
912
  reason: {
851
913
  serializedName: "reason",
852
914
  type: {
853
- name: "String"
854
- }
915
+ name: "String",
916
+ },
855
917
  },
856
918
  message: {
857
919
  serializedName: "message",
858
920
  readOnly: true,
859
921
  type: {
860
- name: "String"
861
- }
862
- }
863
- }
864
- }
922
+ name: "String",
923
+ },
924
+ },
925
+ },
926
+ },
927
+ };
928
+
929
+ export const ListKeysResult: coreClient.CompositeMapper = {
930
+ type: {
931
+ name: "Composite",
932
+ className: "ListKeysResult",
933
+ modelProperties: {
934
+ apiKeyEnabled: {
935
+ serializedName: "apiKeyEnabled",
936
+ type: {
937
+ name: "Boolean",
938
+ },
939
+ },
940
+ primaryKey: {
941
+ serializedName: "primaryKey",
942
+ type: {
943
+ name: "Composite",
944
+ className: "ApiKey",
945
+ },
946
+ },
947
+ secondaryKey: {
948
+ serializedName: "secondaryKey",
949
+ type: {
950
+ name: "Composite",
951
+ className: "ApiKey",
952
+ },
953
+ },
954
+ primaryConnectionString: {
955
+ serializedName: "primaryConnectionString",
956
+ readOnly: true,
957
+ type: {
958
+ name: "String",
959
+ },
960
+ },
961
+ secondaryConnectionString: {
962
+ serializedName: "secondaryConnectionString",
963
+ readOnly: true,
964
+ type: {
965
+ name: "String",
966
+ },
967
+ },
968
+ },
969
+ },
970
+ };
971
+
972
+ export const ApiKey: coreClient.CompositeMapper = {
973
+ type: {
974
+ name: "Composite",
975
+ className: "ApiKey",
976
+ modelProperties: {
977
+ createdAt: {
978
+ serializedName: "createdAt",
979
+ type: {
980
+ name: "DateTime",
981
+ },
982
+ },
983
+ key: {
984
+ serializedName: "key",
985
+ readOnly: true,
986
+ type: {
987
+ name: "String",
988
+ },
989
+ },
990
+ },
991
+ },
992
+ };
993
+
994
+ export const APIKeys: coreClient.CompositeMapper = {
995
+ type: {
996
+ name: "Composite",
997
+ className: "APIKeys",
998
+ modelProperties: {
999
+ keys: {
1000
+ serializedName: "keys",
1001
+ type: {
1002
+ name: "Sequence",
1003
+ element: {
1004
+ defaultValue: "Primary",
1005
+ type: {
1006
+ name: "String",
1007
+ },
1008
+ },
1009
+ },
1010
+ },
1011
+ },
1012
+ },
865
1013
  };
866
1014
 
867
1015
  export const TrackedResource: coreClient.CompositeMapper = {
@@ -874,18 +1022,18 @@ export const TrackedResource: coreClient.CompositeMapper = {
874
1022
  serializedName: "tags",
875
1023
  type: {
876
1024
  name: "Dictionary",
877
- value: { type: { name: "String" } }
878
- }
1025
+ value: { type: { name: "String" } },
1026
+ },
879
1027
  },
880
1028
  location: {
881
1029
  serializedName: "location",
882
1030
  required: true,
883
1031
  type: {
884
- name: "String"
885
- }
886
- }
887
- }
888
- }
1032
+ name: "String",
1033
+ },
1034
+ },
1035
+ },
1036
+ },
889
1037
  };
890
1038
 
891
1039
  export const QuantumWorkspace: coreClient.CompositeMapper = {
@@ -894,59 +1042,20 @@ export const QuantumWorkspace: coreClient.CompositeMapper = {
894
1042
  className: "QuantumWorkspace",
895
1043
  modelProperties: {
896
1044
  ...TrackedResource.type.modelProperties,
897
- identity: {
898
- serializedName: "identity",
1045
+ properties: {
1046
+ serializedName: "properties",
899
1047
  type: {
900
1048
  name: "Composite",
901
- className: "QuantumWorkspaceIdentity"
902
- }
1049
+ className: "WorkspaceResourceProperties",
1050
+ },
903
1051
  },
904
- systemData: {
905
- serializedName: "systemData",
1052
+ identity: {
1053
+ serializedName: "identity",
906
1054
  type: {
907
1055
  name: "Composite",
908
- className: "SystemData"
909
- }
910
- },
911
- providers: {
912
- serializedName: "properties.providers",
913
- type: {
914
- name: "Sequence",
915
- element: {
916
- type: {
917
- name: "Composite",
918
- className: "Provider"
919
- }
920
- }
921
- }
922
- },
923
- usable: {
924
- serializedName: "properties.usable",
925
- readOnly: true,
926
- type: {
927
- name: "String"
928
- }
929
- },
930
- provisioningState: {
931
- serializedName: "properties.provisioningState",
932
- readOnly: true,
933
- type: {
934
- name: "String"
935
- }
1056
+ className: "QuantumWorkspaceIdentity",
1057
+ },
936
1058
  },
937
- storageAccount: {
938
- serializedName: "properties.storageAccount",
939
- type: {
940
- name: "String"
941
- }
942
- },
943
- endpointUri: {
944
- serializedName: "properties.endpointUri",
945
- readOnly: true,
946
- type: {
947
- name: "String"
948
- }
949
- }
950
- }
951
- }
1059
+ },
1060
+ },
952
1061
  };