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