@azure/arm-monitor 8.0.0-beta.1 → 8.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 +83 -8
- package/dist/index.js +1712 -1011
- 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/autoscaleSettingsCreateOrUpdateSample.js +3 -2
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +3 -3
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +3 -4
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +18 -4
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +44 -3
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +19 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js +49 -4
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/predictiveMetricGetSample.js +36 -0
- package/dist-esm/samples-dev/predictiveMetricGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +4 -18
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +4 -18
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +12 -2
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +728 -354
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +205 -8
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +31 -20
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +969 -623
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +19 -13
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +79 -18
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/monitorClient.d.ts +2 -1
- package/dist-esm/src/monitorClient.d.ts.map +1 -1
- package/dist-esm/src/monitorClient.js +20 -14
- package/dist-esm/src/monitorClient.js.map +1 -1
- package/dist-esm/src/operations/actionGroups.js +25 -25
- package/dist-esm/src/operations/actionGroups.js.map +1 -1
- package/dist-esm/src/operations/activityLogAlerts.js +8 -8
- package/dist-esm/src/operations/activityLogs.js +2 -2
- package/dist-esm/src/operations/activityLogs.js.map +1 -1
- package/dist-esm/src/operations/alertRuleIncidents.js +2 -2
- package/dist-esm/src/operations/alertRules.js +6 -6
- package/dist-esm/src/operations/autoscaleSettings.js +8 -8
- package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
- package/dist-esm/src/operations/baselines.js +4 -4
- package/dist-esm/src/operations/baselines.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionEndpoints.js +8 -8
- package/dist-esm/src/operations/dataCollectionRuleAssociations.js +9 -9
- package/dist-esm/src/operations/dataCollectionRules.js +8 -8
- package/dist-esm/src/operations/diagnosticSettings.d.ts +11 -2
- package/dist-esm/src/operations/diagnosticSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettings.js +50 -5
- package/dist-esm/src/operations/diagnosticSettings.js.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts +11 -2
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.js +48 -3
- package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
- package/dist-esm/src/operations/eventCategories.js +1 -1
- package/dist-esm/src/operations/eventCategories.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/logProfiles.js +5 -5
- package/dist-esm/src/operations/metricAlerts.js +6 -6
- package/dist-esm/src/operations/metricAlertsStatus.js +2 -2
- package/dist-esm/src/operations/metricDefinitions.js +1 -1
- package/dist-esm/src/operations/metricNamespaces.js +1 -1
- package/dist-esm/src/operations/metrics.js +4 -4
- package/dist-esm/src/operations/metrics.js.map +1 -1
- package/dist-esm/src/operations/operations.js +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/predictiveMetric.d.ts +28 -0
- package/dist-esm/src/operations/predictiveMetric.d.ts.map +1 -0
- package/dist-esm/src/operations/predictiveMetric.js +77 -0
- package/dist-esm/src/operations/predictiveMetric.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +4 -22
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +27 -89
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts +2 -20
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +8 -83
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopeOperationStatus.js +4 -1
- package/dist-esm/src/operations/privateLinkScopeOperationStatus.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.js +27 -6
- package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.js +39 -9
- package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.js +6 -6
- package/dist-esm/src/operations/tenantActivityLogs.js +2 -2
- package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
- package/dist-esm/src/operations/vMInsights.js +1 -1
- package/dist-esm/src/operations/vMInsights.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts +8 -7
- package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts +7 -6
- package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/predictiveMetric.js +9 -0
- package/dist-esm/src/operationsInterfaces/predictiveMetric.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +10 -11
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +2 -3
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/test/monitor_examples.js +1 -1
- package/package.json +3 -4
- package/review/arm-monitor.api.md +341 -355
- package/src/models/index.ts +752 -370
- package/src/models/mappers.ts +1090 -722
- package/src/models/parameters.ts +85 -18
- package/src/monitorClient.ts +27 -16
- package/src/operations/actionGroups.ts +25 -33
- package/src/operations/activityLogAlerts.ts +8 -8
- package/src/operations/activityLogs.ts +2 -2
- package/src/operations/alertRuleIncidents.ts +2 -2
- package/src/operations/alertRules.ts +6 -6
- package/src/operations/autoscaleSettings.ts +8 -8
- package/src/operations/baselines.ts +4 -4
- package/src/operations/dataCollectionEndpoints.ts +8 -8
- package/src/operations/dataCollectionRuleAssociations.ts +9 -9
- package/src/operations/dataCollectionRules.ts +8 -8
- package/src/operations/diagnosticSettings.ts +49 -7
- package/src/operations/diagnosticSettingsCategory.ts +47 -4
- package/src/operations/eventCategories.ts +1 -1
- package/src/operations/index.ts +1 -0
- package/src/operations/logProfiles.ts +5 -5
- package/src/operations/metricAlerts.ts +6 -6
- package/src/operations/metricAlertsStatus.ts +2 -2
- package/src/operations/metricDefinitions.ts +1 -1
- package/src/operations/metricNamespaces.ts +1 -1
- package/src/operations/metrics.ts +4 -4
- package/src/operations/operations.ts +1 -1
- package/src/operations/predictiveMetric.ts +101 -0
- package/src/operations/privateEndpointConnections.ts +29 -124
- package/src/operations/privateLinkResources.ts +10 -118
- package/src/operations/privateLinkScopeOperationStatus.ts +4 -1
- package/src/operations/privateLinkScopedResources.ts +27 -6
- package/src/operations/privateLinkScopes.ts +39 -9
- package/src/operations/scheduledQueryRules.ts +6 -6
- package/src/operations/tenantActivityLogs.ts +2 -2
- package/src/operations/vMInsights.ts +1 -1
- package/src/operationsInterfaces/diagnosticSettings.ts +14 -13
- package/src/operationsInterfaces/diagnosticSettingsCategory.ts +14 -12
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/predictiveMetric.ts +40 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +17 -18
- package/src/operationsInterfaces/privateLinkResources.ts +2 -4
- package/types/arm-monitor.d.ts +638 -227
|
@@ -353,9 +353,12 @@ const listOperationSpec: coreClient.OperationSpec = {
|
|
|
353
353
|
responses: {
|
|
354
354
|
200: {
|
|
355
355
|
bodyMapper: Mappers.AzureMonitorPrivateLinkScopeListResult
|
|
356
|
+
},
|
|
357
|
+
default: {
|
|
358
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
356
359
|
}
|
|
357
360
|
},
|
|
358
|
-
queryParameters: [Parameters.
|
|
361
|
+
queryParameters: [Parameters.apiVersion11],
|
|
359
362
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
360
363
|
headerParameters: [Parameters.accept],
|
|
361
364
|
serializer
|
|
@@ -367,9 +370,12 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
|
367
370
|
responses: {
|
|
368
371
|
200: {
|
|
369
372
|
bodyMapper: Mappers.AzureMonitorPrivateLinkScopeListResult
|
|
373
|
+
},
|
|
374
|
+
default: {
|
|
375
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
370
376
|
}
|
|
371
377
|
},
|
|
372
|
-
queryParameters: [Parameters.
|
|
378
|
+
queryParameters: [Parameters.apiVersion11],
|
|
373
379
|
urlParameters: [
|
|
374
380
|
Parameters.$host,
|
|
375
381
|
Parameters.resourceGroupName,
|
|
@@ -382,14 +388,23 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
382
388
|
path:
|
|
383
389
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}",
|
|
384
390
|
httpMethod: "DELETE",
|
|
385
|
-
responses: {
|
|
386
|
-
|
|
391
|
+
responses: {
|
|
392
|
+
200: {},
|
|
393
|
+
201: {},
|
|
394
|
+
202: {},
|
|
395
|
+
204: {},
|
|
396
|
+
default: {
|
|
397
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
queryParameters: [Parameters.apiVersion11],
|
|
387
401
|
urlParameters: [
|
|
388
402
|
Parameters.$host,
|
|
389
403
|
Parameters.resourceGroupName,
|
|
390
404
|
Parameters.subscriptionId,
|
|
391
405
|
Parameters.scopeName
|
|
392
406
|
],
|
|
407
|
+
headerParameters: [Parameters.accept],
|
|
393
408
|
serializer
|
|
394
409
|
};
|
|
395
410
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
@@ -399,9 +414,12 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
399
414
|
responses: {
|
|
400
415
|
200: {
|
|
401
416
|
bodyMapper: Mappers.AzureMonitorPrivateLinkScope
|
|
417
|
+
},
|
|
418
|
+
default: {
|
|
419
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
402
420
|
}
|
|
403
421
|
},
|
|
404
|
-
queryParameters: [Parameters.
|
|
422
|
+
queryParameters: [Parameters.apiVersion11],
|
|
405
423
|
urlParameters: [
|
|
406
424
|
Parameters.$host,
|
|
407
425
|
Parameters.resourceGroupName,
|
|
@@ -421,10 +439,13 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
421
439
|
},
|
|
422
440
|
201: {
|
|
423
441
|
bodyMapper: Mappers.AzureMonitorPrivateLinkScope
|
|
442
|
+
},
|
|
443
|
+
default: {
|
|
444
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
424
445
|
}
|
|
425
446
|
},
|
|
426
447
|
requestBody: Parameters.azureMonitorPrivateLinkScopePayload,
|
|
427
|
-
queryParameters: [Parameters.
|
|
448
|
+
queryParameters: [Parameters.apiVersion11],
|
|
428
449
|
urlParameters: [
|
|
429
450
|
Parameters.$host,
|
|
430
451
|
Parameters.resourceGroupName,
|
|
@@ -442,10 +463,13 @@ const updateTagsOperationSpec: coreClient.OperationSpec = {
|
|
|
442
463
|
responses: {
|
|
443
464
|
200: {
|
|
444
465
|
bodyMapper: Mappers.AzureMonitorPrivateLinkScope
|
|
466
|
+
},
|
|
467
|
+
default: {
|
|
468
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
445
469
|
}
|
|
446
470
|
},
|
|
447
471
|
requestBody: Parameters.privateLinkScopeTags,
|
|
448
|
-
queryParameters: [Parameters.
|
|
472
|
+
queryParameters: [Parameters.apiVersion11],
|
|
449
473
|
urlParameters: [
|
|
450
474
|
Parameters.$host,
|
|
451
475
|
Parameters.resourceGroupName,
|
|
@@ -462,9 +486,12 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
462
486
|
responses: {
|
|
463
487
|
200: {
|
|
464
488
|
bodyMapper: Mappers.AzureMonitorPrivateLinkScopeListResult
|
|
489
|
+
},
|
|
490
|
+
default: {
|
|
491
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
465
492
|
}
|
|
466
493
|
},
|
|
467
|
-
queryParameters: [Parameters.
|
|
494
|
+
queryParameters: [Parameters.apiVersion11],
|
|
468
495
|
urlParameters: [
|
|
469
496
|
Parameters.$host,
|
|
470
497
|
Parameters.subscriptionId,
|
|
@@ -479,9 +506,12 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
|
479
506
|
responses: {
|
|
480
507
|
200: {
|
|
481
508
|
bodyMapper: Mappers.AzureMonitorPrivateLinkScopeListResult
|
|
509
|
+
},
|
|
510
|
+
default: {
|
|
511
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
482
512
|
}
|
|
483
513
|
},
|
|
484
|
-
queryParameters: [Parameters.
|
|
514
|
+
queryParameters: [Parameters.apiVersion11],
|
|
485
515
|
urlParameters: [
|
|
486
516
|
Parameters.$host,
|
|
487
517
|
Parameters.resourceGroupName,
|
|
@@ -239,7 +239,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
239
239
|
}
|
|
240
240
|
},
|
|
241
241
|
requestBody: Parameters.parameters6,
|
|
242
|
-
queryParameters: [Parameters.
|
|
242
|
+
queryParameters: [Parameters.apiVersion8],
|
|
243
243
|
urlParameters: [
|
|
244
244
|
Parameters.$host,
|
|
245
245
|
Parameters.resourceGroupName,
|
|
@@ -262,7 +262,7 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
262
262
|
bodyMapper: Mappers.ErrorContract
|
|
263
263
|
}
|
|
264
264
|
},
|
|
265
|
-
queryParameters: [Parameters.
|
|
265
|
+
queryParameters: [Parameters.apiVersion8],
|
|
266
266
|
urlParameters: [
|
|
267
267
|
Parameters.$host,
|
|
268
268
|
Parameters.resourceGroupName,
|
|
@@ -285,7 +285,7 @@ const updateOperationSpec: coreClient.OperationSpec = {
|
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
287
|
requestBody: Parameters.parameters7,
|
|
288
|
-
queryParameters: [Parameters.
|
|
288
|
+
queryParameters: [Parameters.apiVersion8],
|
|
289
289
|
urlParameters: [
|
|
290
290
|
Parameters.$host,
|
|
291
291
|
Parameters.resourceGroupName,
|
|
@@ -307,7 +307,7 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
307
307
|
bodyMapper: Mappers.ErrorContract
|
|
308
308
|
}
|
|
309
309
|
},
|
|
310
|
-
queryParameters: [Parameters.
|
|
310
|
+
queryParameters: [Parameters.apiVersion8],
|
|
311
311
|
urlParameters: [
|
|
312
312
|
Parameters.$host,
|
|
313
313
|
Parameters.resourceGroupName,
|
|
@@ -329,7 +329,7 @@ const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
|
329
329
|
bodyMapper: Mappers.ErrorContract
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
|
-
queryParameters: [Parameters.filter1, Parameters.
|
|
332
|
+
queryParameters: [Parameters.filter1, Parameters.apiVersion8],
|
|
333
333
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
334
334
|
headerParameters: [Parameters.accept],
|
|
335
335
|
serializer
|
|
@@ -346,7 +346,7 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
|
346
346
|
bodyMapper: Mappers.ErrorContract
|
|
347
347
|
}
|
|
348
348
|
},
|
|
349
|
-
queryParameters: [Parameters.filter1, Parameters.
|
|
349
|
+
queryParameters: [Parameters.filter1, Parameters.apiVersion8],
|
|
350
350
|
urlParameters: [
|
|
351
351
|
Parameters.$host,
|
|
352
352
|
Parameters.resourceGroupName,
|
|
@@ -121,7 +121,7 @@ const listOperationSpec: coreClient.OperationSpec = {
|
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
queryParameters: [
|
|
124
|
-
Parameters.
|
|
124
|
+
Parameters.apiVersion1,
|
|
125
125
|
Parameters.select,
|
|
126
126
|
Parameters.filter1
|
|
127
127
|
],
|
|
@@ -141,7 +141,7 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
queryParameters: [
|
|
144
|
-
Parameters.
|
|
144
|
+
Parameters.apiVersion1,
|
|
145
145
|
Parameters.select,
|
|
146
146
|
Parameters.filter1
|
|
147
147
|
],
|
|
@@ -59,7 +59,7 @@ const getOnboardingStatusOperationSpec: coreClient.OperationSpec = {
|
|
|
59
59
|
bodyMapper: Mappers.ResponseWithError
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
queryParameters: [Parameters.
|
|
62
|
+
queryParameters: [Parameters.apiVersion10],
|
|
63
63
|
urlParameters: [Parameters.$host, Parameters.resourceUri],
|
|
64
64
|
headerParameters: [Parameters.accept],
|
|
65
65
|
serializer
|
|
@@ -6,19 +6,29 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
10
|
import {
|
|
11
|
+
DiagnosticSettingsResource,
|
|
12
|
+
DiagnosticSettingsListOptionalParams,
|
|
10
13
|
DiagnosticSettingsGetOptionalParams,
|
|
11
14
|
DiagnosticSettingsGetResponse,
|
|
12
|
-
DiagnosticSettingsResource,
|
|
13
15
|
DiagnosticSettingsCreateOrUpdateOptionalParams,
|
|
14
16
|
DiagnosticSettingsCreateOrUpdateResponse,
|
|
15
|
-
DiagnosticSettingsDeleteOptionalParams
|
|
16
|
-
DiagnosticSettingsListOptionalParams,
|
|
17
|
-
DiagnosticSettingsListResponse
|
|
17
|
+
DiagnosticSettingsDeleteOptionalParams
|
|
18
18
|
} from "../models";
|
|
19
19
|
|
|
20
|
+
/// <reference lib="esnext.asynciterable" />
|
|
20
21
|
/** Interface representing a DiagnosticSettings. */
|
|
21
22
|
export interface DiagnosticSettings {
|
|
23
|
+
/**
|
|
24
|
+
* Gets the active diagnostic settings list for the specified resource.
|
|
25
|
+
* @param resourceUri The identifier of the resource.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(
|
|
29
|
+
resourceUri: string,
|
|
30
|
+
options?: DiagnosticSettingsListOptionalParams
|
|
31
|
+
): PagedAsyncIterableIterator<DiagnosticSettingsResource>;
|
|
22
32
|
/**
|
|
23
33
|
* Gets the active diagnostic settings for the specified resource.
|
|
24
34
|
* @param resourceUri The identifier of the resource.
|
|
@@ -54,13 +64,4 @@ export interface DiagnosticSettings {
|
|
|
54
64
|
name: string,
|
|
55
65
|
options?: DiagnosticSettingsDeleteOptionalParams
|
|
56
66
|
): Promise<void>;
|
|
57
|
-
/**
|
|
58
|
-
* Gets the active diagnostic settings list for the specified resource.
|
|
59
|
-
* @param resourceUri The identifier of the resource.
|
|
60
|
-
* @param options The options parameters.
|
|
61
|
-
*/
|
|
62
|
-
list(
|
|
63
|
-
resourceUri: string,
|
|
64
|
-
options?: DiagnosticSettingsListOptionalParams
|
|
65
|
-
): Promise<DiagnosticSettingsListResponse>;
|
|
66
67
|
}
|
|
@@ -6,15 +6,26 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
10
|
import {
|
|
10
|
-
|
|
11
|
-
DiagnosticSettingsCategoryGetResponse,
|
|
11
|
+
DiagnosticSettingsCategoryResource,
|
|
12
12
|
DiagnosticSettingsCategoryListOptionalParams,
|
|
13
|
-
|
|
13
|
+
DiagnosticSettingsCategoryGetOptionalParams,
|
|
14
|
+
DiagnosticSettingsCategoryGetResponse
|
|
14
15
|
} from "../models";
|
|
15
16
|
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
18
|
/** Interface representing a DiagnosticSettingsCategory. */
|
|
17
19
|
export interface DiagnosticSettingsCategory {
|
|
20
|
+
/**
|
|
21
|
+
* Lists the diagnostic settings categories for the specified resource.
|
|
22
|
+
* @param resourceUri The identifier of the resource.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
list(
|
|
26
|
+
resourceUri: string,
|
|
27
|
+
options?: DiagnosticSettingsCategoryListOptionalParams
|
|
28
|
+
): PagedAsyncIterableIterator<DiagnosticSettingsCategoryResource>;
|
|
18
29
|
/**
|
|
19
30
|
* Gets the diagnostic settings category for the specified resource.
|
|
20
31
|
* @param resourceUri The identifier of the resource.
|
|
@@ -26,13 +37,4 @@ export interface DiagnosticSettingsCategory {
|
|
|
26
37
|
name: string,
|
|
27
38
|
options?: DiagnosticSettingsCategoryGetOptionalParams
|
|
28
39
|
): Promise<DiagnosticSettingsCategoryGetResponse>;
|
|
29
|
-
/**
|
|
30
|
-
* Lists the diagnostic settings categories for the specified resource.
|
|
31
|
-
* @param resourceUri The identifier of the resource.
|
|
32
|
-
* @param options The options parameters.
|
|
33
|
-
*/
|
|
34
|
-
list(
|
|
35
|
-
resourceUri: string,
|
|
36
|
-
options?: DiagnosticSettingsCategoryListOptionalParams
|
|
37
|
-
): Promise<DiagnosticSettingsCategoryListResponse>;
|
|
38
40
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
PredictiveMetricGetOptionalParams,
|
|
11
|
+
PredictiveMetricGetResponse
|
|
12
|
+
} from "../models";
|
|
13
|
+
|
|
14
|
+
/** Interface representing a PredictiveMetric. */
|
|
15
|
+
export interface PredictiveMetric {
|
|
16
|
+
/**
|
|
17
|
+
* get predictive autoscale metric future data
|
|
18
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19
|
+
* @param autoscaleSettingName The autoscale setting name.
|
|
20
|
+
* @param timespan The timespan of the query. It is a string with the following format
|
|
21
|
+
* 'startDateTime_ISO/endDateTime_ISO'.
|
|
22
|
+
* @param interval The interval (i.e. timegrain) of the query.
|
|
23
|
+
* @param metricNamespace Metric namespace to query metric definitions for.
|
|
24
|
+
* @param metricName The names of the metrics (comma separated) to retrieve. Special case: If a
|
|
25
|
+
* metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be
|
|
26
|
+
* **'Metric%2Name1'**
|
|
27
|
+
* @param aggregation The list of aggregation types (comma separated) to retrieve.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
get(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
autoscaleSettingName: string,
|
|
33
|
+
timespan: string,
|
|
34
|
+
interval: string,
|
|
35
|
+
metricNamespace: string,
|
|
36
|
+
metricName: string,
|
|
37
|
+
aggregation: string,
|
|
38
|
+
options?: PredictiveMetricGetOptionalParams
|
|
39
|
+
): Promise<PredictiveMetricGetResponse>;
|
|
40
|
+
}
|
|
@@ -6,32 +6,20 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
9
|
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
10
|
import {
|
|
12
|
-
PrivateEndpointConnection,
|
|
13
|
-
PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,
|
|
14
11
|
PrivateEndpointConnectionsGetOptionalParams,
|
|
15
12
|
PrivateEndpointConnectionsGetResponse,
|
|
13
|
+
PrivateEndpointConnection,
|
|
16
14
|
PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
|
|
17
15
|
PrivateEndpointConnectionsCreateOrUpdateResponse,
|
|
18
|
-
PrivateEndpointConnectionsDeleteOptionalParams
|
|
16
|
+
PrivateEndpointConnectionsDeleteOptionalParams,
|
|
17
|
+
PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,
|
|
18
|
+
PrivateEndpointConnectionsListByPrivateLinkScopeResponse
|
|
19
19
|
} from "../models";
|
|
20
20
|
|
|
21
|
-
/// <reference lib="esnext.asynciterable" />
|
|
22
21
|
/** Interface representing a PrivateEndpointConnections. */
|
|
23
22
|
export interface PrivateEndpointConnections {
|
|
24
|
-
/**
|
|
25
|
-
* Gets all private endpoint connections on a private link scope.
|
|
26
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
-
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
28
|
-
* @param options The options parameters.
|
|
29
|
-
*/
|
|
30
|
-
listByPrivateLinkScope(
|
|
31
|
-
resourceGroupName: string,
|
|
32
|
-
scopeName: string,
|
|
33
|
-
options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
|
|
34
|
-
): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
35
23
|
/**
|
|
36
24
|
* Gets a private endpoint connection.
|
|
37
25
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -50,7 +38,7 @@ export interface PrivateEndpointConnections {
|
|
|
50
38
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
39
|
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
52
40
|
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
53
|
-
* @param parameters
|
|
41
|
+
* @param parameters The Private Endpoint Connection resource.
|
|
54
42
|
* @param options The options parameters.
|
|
55
43
|
*/
|
|
56
44
|
beginCreateOrUpdate(
|
|
@@ -70,7 +58,7 @@ export interface PrivateEndpointConnections {
|
|
|
70
58
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
59
|
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
72
60
|
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
73
|
-
* @param parameters
|
|
61
|
+
* @param parameters The Private Endpoint Connection resource.
|
|
74
62
|
* @param options The options parameters.
|
|
75
63
|
*/
|
|
76
64
|
beginCreateOrUpdateAndWait(
|
|
@@ -106,4 +94,15 @@ export interface PrivateEndpointConnections {
|
|
|
106
94
|
privateEndpointConnectionName: string,
|
|
107
95
|
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
108
96
|
): Promise<void>;
|
|
97
|
+
/**
|
|
98
|
+
* Gets all private endpoint connections on a private link scope.
|
|
99
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
100
|
+
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
listByPrivateLinkScope(
|
|
104
|
+
resourceGroupName: string,
|
|
105
|
+
scopeName: string,
|
|
106
|
+
options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
|
|
107
|
+
): Promise<PrivateEndpointConnectionsListByPrivateLinkScopeResponse>;
|
|
109
108
|
}
|
|
@@ -6,15 +6,13 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
9
|
import {
|
|
11
|
-
PrivateLinkResource,
|
|
12
10
|
PrivateLinkResourcesListByPrivateLinkScopeOptionalParams,
|
|
11
|
+
PrivateLinkResourcesListByPrivateLinkScopeResponse,
|
|
13
12
|
PrivateLinkResourcesGetOptionalParams,
|
|
14
13
|
PrivateLinkResourcesGetResponse
|
|
15
14
|
} from "../models";
|
|
16
15
|
|
|
17
|
-
/// <reference lib="esnext.asynciterable" />
|
|
18
16
|
/** Interface representing a PrivateLinkResources. */
|
|
19
17
|
export interface PrivateLinkResources {
|
|
20
18
|
/**
|
|
@@ -27,7 +25,7 @@ export interface PrivateLinkResources {
|
|
|
27
25
|
resourceGroupName: string,
|
|
28
26
|
scopeName: string,
|
|
29
27
|
options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams
|
|
30
|
-
):
|
|
28
|
+
): Promise<PrivateLinkResourcesListByPrivateLinkScopeResponse>;
|
|
31
29
|
/**
|
|
32
30
|
* Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
|
|
33
31
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|