@azure/arm-monitor 8.0.0-beta.3 → 8.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/CHANGELOG.md +83 -4
  2. package/dist/index.js +3354 -1977
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js +42 -0
  9. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js.map +1 -0
  10. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js +39 -0
  13. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js.map +1 -0
  14. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js +39 -0
  17. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js.map +1 -0
  18. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js +52 -0
  21. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js.map +1 -0
  22. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts +2 -0
  23. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts.map +1 -0
  24. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js +51 -0
  25. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js.map +1 -0
  26. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts +2 -0
  27. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts.map +1 -0
  28. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js +45 -0
  29. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js.map +1 -0
  30. package/dist-esm/samples-dev/metricsListSample.js +3 -3
  31. package/dist-esm/samples-dev/metricsListSample.js.map +1 -1
  32. package/dist-esm/samples-dev/monitorOperationsListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/monitorOperationsListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/monitorOperationsListSample.js +51 -0
  35. package/dist-esm/samples-dev/monitorOperationsListSample.js.map +1 -0
  36. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +138 -83
  37. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -1
  38. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +8 -8
  39. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js.map +1 -1
  40. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +8 -8
  41. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js.map +1 -1
  42. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +7 -7
  43. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -1
  44. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +6 -6
  45. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -1
  46. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +10 -9
  47. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -1
  48. package/dist-esm/src/lroImpl.d.ts +6 -11
  49. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  50. package/dist-esm/src/lroImpl.js +12 -20
  51. package/dist-esm/src/lroImpl.js.map +1 -1
  52. package/dist-esm/src/models/index.d.ts +705 -271
  53. package/dist-esm/src/models/index.d.ts.map +1 -1
  54. package/dist-esm/src/models/index.js +84 -64
  55. package/dist-esm/src/models/index.js.map +1 -1
  56. package/dist-esm/src/models/mappers.d.ts +29 -17
  57. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  58. package/dist-esm/src/models/mappers.js +1127 -445
  59. package/dist-esm/src/models/mappers.js.map +1 -1
  60. package/dist-esm/src/models/parameters.d.ts +5 -1
  61. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  62. package/dist-esm/src/models/parameters.js +39 -7
  63. package/dist-esm/src/models/parameters.js.map +1 -1
  64. package/dist-esm/src/monitorClient.d.ts +4 -2
  65. package/dist-esm/src/monitorClient.d.ts.map +1 -1
  66. package/dist-esm/src/monitorClient.js +5 -3
  67. package/dist-esm/src/monitorClient.js.map +1 -1
  68. package/dist-esm/src/operations/actionGroups.d.ts +4 -4
  69. package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
  70. package/dist-esm/src/operations/actionGroups.js +34 -17
  71. package/dist-esm/src/operations/actionGroups.js.map +1 -1
  72. package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts +87 -0
  73. package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts.map +1 -0
  74. package/dist-esm/src/operations/azureMonitorWorkspaces.js +389 -0
  75. package/dist-esm/src/operations/azureMonitorWorkspaces.js.map +1 -0
  76. package/dist-esm/src/operations/index.d.ts +3 -1
  77. package/dist-esm/src/operations/index.d.ts.map +1 -1
  78. package/dist-esm/src/operations/index.js +3 -1
  79. package/dist-esm/src/operations/index.js.map +1 -1
  80. package/dist-esm/src/operations/{metrics.d.ts → metricsOperations.d.ts} +5 -5
  81. package/dist-esm/src/operations/metricsOperations.d.ts.map +1 -0
  82. package/dist-esm/src/operations/{metrics.js → metricsOperations.js} +4 -4
  83. package/dist-esm/src/operations/metricsOperations.js.map +1 -0
  84. package/dist-esm/src/operations/monitorOperations.d.ts +32 -0
  85. package/dist-esm/src/operations/monitorOperations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/monitorOperations.js +131 -0
  87. package/dist-esm/src/operations/monitorOperations.js.map +1 -0
  88. package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
  89. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  90. package/dist-esm/src/operations/privateEndpointConnections.js +29 -16
  91. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  92. package/dist-esm/src/operations/privateLinkScopedResources.d.ts +3 -3
  93. package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
  94. package/dist-esm/src/operations/privateLinkScopedResources.js +18 -10
  95. package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
  96. package/dist-esm/src/operations/privateLinkScopes.d.ts +2 -2
  97. package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -1
  98. package/dist-esm/src/operations/privateLinkScopes.js +10 -6
  99. package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
  100. package/dist-esm/src/operations/scheduledQueryRules.d.ts +30 -17
  101. package/dist-esm/src/operations/scheduledQueryRules.d.ts.map +1 -1
  102. package/dist-esm/src/operations/scheduledQueryRules.js +131 -48
  103. package/dist-esm/src/operations/scheduledQueryRules.js.map +1 -1
  104. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +4 -4
  105. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
  106. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts +51 -0
  107. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js +9 -0
  109. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
  111. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  112. package/dist-esm/src/operationsInterfaces/index.js +3 -1
  113. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  114. package/dist-esm/src/operationsInterfaces/{metrics.d.ts → metricsOperations.d.ts} +3 -3
  115. package/dist-esm/src/operationsInterfaces/metricsOperations.d.ts.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/{metrics.js → metricsOperations.js} +1 -1
  117. package/dist-esm/src/operationsInterfaces/metricsOperations.js.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts +11 -0
  119. package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/monitorOperations.js +9 -0
  121. package/dist-esm/src/operationsInterfaces/monitorOperations.js.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  123. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  124. package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts +3 -3
  125. package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts.map +1 -1
  126. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts +2 -2
  127. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts.map +1 -1
  128. package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts +13 -13
  129. package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts.map +1 -1
  130. package/dist-esm/test/monitor_examples.js +60 -3
  131. package/dist-esm/test/monitor_examples.js.map +1 -1
  132. package/package.json +6 -6
  133. package/review/arm-monitor.api.md +419 -158
  134. package/src/lroImpl.ts +31 -23
  135. package/src/models/index.ts +760 -294
  136. package/src/models/mappers.ts +1990 -1300
  137. package/src/models/parameters.ts +48 -10
  138. package/src/monitorClient.ts +15 -7
  139. package/src/operations/actionGroups.ts +57 -35
  140. package/src/operations/azureMonitorWorkspaces.ts +483 -0
  141. package/src/operations/index.ts +3 -1
  142. package/src/operations/{metrics.ts → metricsOperations.ts} +4 -4
  143. package/src/operations/monitorOperations.ts +149 -0
  144. package/src/operations/privateEndpointConnections.ts +33 -21
  145. package/src/operations/privateLinkScopedResources.ts +28 -21
  146. package/src/operations/privateLinkScopes.ts +15 -11
  147. package/src/operations/scheduledQueryRules.ts +179 -73
  148. package/src/operationsInterfaces/actionGroups.ts +7 -7
  149. package/src/operationsInterfaces/azureMonitorWorkspaces.ts +93 -0
  150. package/src/operationsInterfaces/index.ts +3 -1
  151. package/src/operationsInterfaces/{metrics.ts → metricsOperations.ts} +2 -2
  152. package/src/operationsInterfaces/monitorOperations.ts +25 -0
  153. package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
  154. package/src/operationsInterfaces/privateLinkScopedResources.ts +4 -4
  155. package/src/operationsInterfaces/privateLinkScopes.ts +2 -2
  156. package/src/operationsInterfaces/scheduledQueryRules.ts +21 -21
  157. package/types/arm-monitor.d.ts +825 -289
  158. package/types/tsdoc-metadata.json +1 -1
  159. package/dist-esm/src/operations/metrics.d.ts.map +0 -1
  160. package/dist-esm/src/operations/metrics.js.map +0 -1
  161. package/dist-esm/src/operationsInterfaces/metrics.d.ts.map +0 -1
  162. package/dist-esm/src/operationsInterfaces/metrics.js.map +0 -1
@@ -23,7 +23,6 @@ export type MetricAlertCriteriaUnion =
23
23
  | MetricAlertSingleResourceMultipleMetricCriteria
24
24
  | WebtestLocationAvailabilityCriteria
25
25
  | MetricAlertMultipleResourceMultipleMetricCriteria;
26
- export type ActionUnion = Action | AlertingAction | LogToMetricAction;
27
26
  export type MultiMetricCriteriaUnion =
28
27
  | MultiMetricCriteria
29
28
  | MetricCriteria
@@ -743,7 +742,7 @@ export interface ActionGroupPatchBody {
743
742
 
744
743
  /** The request body which contain contact detail metadata */
745
744
  export interface NotificationRequestBody {
746
- /** The name of the supported alert type. */
745
+ /** The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget */
747
746
  alertType: string;
748
747
  /** The list of email receivers that are part of this action group. */
749
748
  emailReceivers?: EmailReceiver[];
@@ -1279,85 +1278,301 @@ export interface MetricAlertStatusProperties {
1279
1278
  timestamp?: Date;
1280
1279
  }
1281
1280
 
1282
- /** Specifies the log search query. */
1283
- export interface Source {
1284
- /** Log search query. Required for action type - AlertingAction */
1285
- query?: string;
1286
- /** List of Resource referred into query */
1287
- authorizedResources?: string[];
1288
- /** The resource uri over which log search query is to be run. */
1289
- dataSourceId: string;
1290
- /** Set value to 'ResultCount' . */
1291
- queryType?: QueryType;
1292
- }
1293
-
1294
- /** Defines how often to run the search and the time interval. */
1295
- export interface Schedule {
1296
- /** frequency (in minutes) at which rule condition should be evaluated. */
1297
- frequencyInMinutes: number;
1298
- /** Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes). */
1299
- timeWindowInMinutes: number;
1300
- }
1301
-
1302
- /** Action descriptor. */
1303
- export interface Action {
1304
- /** Polymorphic discriminator, which specifies the different types this object can be */
1305
- odataType:
1306
- | "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction"
1307
- | "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
1281
+ /** Represents a collection of scheduled query rule resources. */
1282
+ export interface ScheduledQueryRuleResourceCollection {
1283
+ /** The values for the scheduled query rule resources. */
1284
+ value?: ScheduledQueryRuleResource[];
1285
+ /**
1286
+ * Provides the link to retrieve the next set of elements.
1287
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1288
+ */
1289
+ readonly nextLink?: string;
1308
1290
  }
1309
1291
 
1310
- /** An azure resource object */
1311
- export interface ResourceAutoGenerated5 {
1292
+ /** The scheduled query rule resource. */
1293
+ export interface ScheduledQueryRuleResource {
1312
1294
  /**
1313
- * Azure resource Id
1295
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1314
1296
  * NOTE: This property will not be serialized. It can only be populated by the server.
1315
1297
  */
1316
1298
  readonly id?: string;
1317
1299
  /**
1318
- * Azure resource name
1300
+ * The name of the resource
1319
1301
  * NOTE: This property will not be serialized. It can only be populated by the server.
1320
1302
  */
1321
1303
  readonly name?: string;
1322
1304
  /**
1323
- * Azure resource type
1305
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1324
1306
  * NOTE: This property will not be serialized. It can only be populated by the server.
1325
1307
  */
1326
1308
  readonly type?: string;
1327
- /** Resource location */
1328
- location: string;
1329
- /** Resource tags */
1309
+ /** The identity of the resource. */
1310
+ identity?: Identity;
1311
+ /** Resource tags. */
1330
1312
  tags?: { [propertyName: string]: string };
1313
+ /** The geo-location where the resource lives */
1314
+ location: string;
1315
+ /** Indicates the type of scheduled query rule. The default is LogAlert. */
1316
+ kind?: Kind;
1331
1317
  /**
1332
- * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
1318
+ * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
1333
1319
  * NOTE: This property will not be serialized. It can only be populated by the server.
1334
1320
  */
1335
- readonly kind?: string;
1321
+ readonly etag?: string;
1336
1322
  /**
1337
- * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
1323
+ * SystemData of ScheduledQueryRule.
1338
1324
  * NOTE: This property will not be serialized. It can only be populated by the server.
1339
1325
  */
1340
- readonly etag?: string;
1326
+ readonly systemData?: SystemData;
1327
+ /**
1328
+ * The api-version used when creating this alert rule
1329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1330
+ */
1331
+ readonly createdWithApiVersion?: string;
1332
+ /**
1333
+ * True if alert rule is legacy Log Analytic rule
1334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1335
+ */
1336
+ readonly isLegacyLogAnalyticsRule?: boolean;
1337
+ /** The description of the scheduled query rule. */
1338
+ description?: string;
1339
+ /** The display name of the alert rule */
1340
+ displayName?: string;
1341
+ /** Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert. */
1342
+ severity?: AlertSeverity;
1343
+ /** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
1344
+ enabled?: boolean;
1345
+ /** This determines if traffic is allowed over public network. By default it is enabled. */
1346
+ publicNetworkAccess?: PublicNetworkAccess;
1347
+ /** The list of resource id's that this scheduled query rule is scoped to. */
1348
+ scopes?: string[];
1349
+ /** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
1350
+ evaluationFrequency?: string;
1351
+ /** The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert. */
1352
+ windowSize?: string;
1353
+ /** If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. */
1354
+ overrideQueryTimeRange?: string;
1355
+ /** List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert */
1356
+ targetResourceTypes?: string[];
1357
+ /** The rule criteria that defines the conditions of the scheduled query rule. */
1358
+ criteria?: ScheduledQueryRuleCriteria;
1359
+ /** Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert. */
1360
+ muteActionsDuration?: string;
1361
+ /** Actions to invoke when the alert fires. */
1362
+ actions?: Actions;
1363
+ /**
1364
+ * The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
1365
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1366
+ */
1367
+ readonly isWorkspaceAlertsStorageConfigured?: boolean;
1368
+ /** The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert. */
1369
+ checkWorkspaceAlertsStorageConfigured?: boolean;
1370
+ /** The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert. */
1371
+ skipQueryValidation?: boolean;
1372
+ /** The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert. */
1373
+ autoMitigate?: boolean;
1374
+ /** Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert. */
1375
+ ruleResolveConfiguration?: RuleResolveConfiguration;
1376
+ }
1377
+
1378
+ /** Identity for the resource. */
1379
+ export interface Identity {
1380
+ /**
1381
+ * The principal ID of resource identity.
1382
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1383
+ */
1384
+ readonly principalId?: string;
1385
+ /**
1386
+ * The tenant ID of resource.
1387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1388
+ */
1389
+ readonly tenantId?: string;
1390
+ /** Type of managed service identity. */
1391
+ type: IdentityType;
1392
+ /** The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */
1393
+ userAssignedIdentities?: { [propertyName: string]: UserIdentityProperties };
1394
+ }
1395
+
1396
+ /** User assigned identity properties. */
1397
+ export interface UserIdentityProperties {
1398
+ /**
1399
+ * The principal id of user assigned identity.
1400
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1401
+ */
1402
+ readonly principalId?: string;
1403
+ /**
1404
+ * The client id of user assigned identity.
1405
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1406
+ */
1407
+ readonly clientId?: string;
1408
+ }
1409
+
1410
+ /** The rule criteria that defines the conditions of the scheduled query rule. */
1411
+ export interface ScheduledQueryRuleCriteria {
1412
+ /** A list of conditions to evaluate against the specified scopes */
1413
+ allOf?: Condition[];
1414
+ }
1415
+
1416
+ /** A condition of the scheduled query rule. */
1417
+ export interface Condition {
1418
+ /** Log query alert */
1419
+ query?: string;
1420
+ /** Aggregation type. Relevant and required only for rules of the kind LogAlert. */
1421
+ timeAggregation?: TimeAggregation;
1422
+ /** The column containing the metric measure number. Relevant only for rules of the kind LogAlert. */
1423
+ metricMeasureColumn?: string;
1424
+ /** The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert. */
1425
+ resourceIdColumn?: string;
1426
+ /** List of Dimensions conditions */
1427
+ dimensions?: Dimension[];
1428
+ /** The criteria operator. Relevant and required only for rules of the kind LogAlert. */
1429
+ operator?: ConditionOperator;
1430
+ /** the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert. */
1431
+ threshold?: number;
1432
+ /** The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert. */
1433
+ failingPeriods?: ConditionFailingPeriods;
1434
+ /** The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric. */
1435
+ metricName?: string;
1436
+ }
1437
+
1438
+ /** Dimension splitting and filtering definition */
1439
+ export interface Dimension {
1440
+ /** Name of the dimension */
1441
+ name: string;
1442
+ /** Operator for dimension values */
1443
+ operator: DimensionOperator;
1444
+ /** List of dimension values */
1445
+ values: string[];
1446
+ }
1447
+
1448
+ /** The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert. */
1449
+ export interface ConditionFailingPeriods {
1450
+ /** The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1 */
1451
+ numberOfEvaluationPeriods?: number;
1452
+ /** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1 */
1453
+ minFailingPeriodsToAlert?: number;
1454
+ }
1455
+
1456
+ /** Actions to invoke when the alert fires. */
1457
+ export interface Actions {
1458
+ /** Action Group resource Ids to invoke when the alert fires. */
1459
+ actionGroups?: string[];
1460
+ /** The properties of an alert payload. */
1461
+ customProperties?: { [propertyName: string]: string };
1462
+ }
1463
+
1464
+ /** TBD. Relevant only for rules of the kind LogAlert. */
1465
+ export interface RuleResolveConfiguration {
1466
+ /** The flag that indicates whether or not to auto resolve a fired alert. */
1467
+ autoResolved?: boolean;
1468
+ /** The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format. */
1469
+ timeToResolve?: string;
1341
1470
  }
1342
1471
 
1343
1472
  /** Describes the format of Error response. */
1344
1473
  export interface ErrorContract {
1345
1474
  /** The error details. */
1346
- error?: ErrorResponse;
1475
+ error?: ErrorResponseDetails;
1347
1476
  }
1348
1477
 
1349
- /** The log search rule resource for patch operations. */
1350
- export interface LogSearchRuleResourcePatch {
1351
- /** Resource tags */
1352
- tags?: { [propertyName: string]: string };
1353
- /** The flag which indicates whether the Log Search rule is enabled. Value should be true or false */
1354
- enabled?: Enabled;
1478
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
1479
+ export interface ErrorResponseDetails {
1480
+ /**
1481
+ * The error code.
1482
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1483
+ */
1484
+ readonly code?: string;
1485
+ /**
1486
+ * The error message.
1487
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1488
+ */
1489
+ readonly message?: string;
1490
+ /**
1491
+ * The error target.
1492
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1493
+ */
1494
+ readonly target?: string;
1495
+ /**
1496
+ * The error details.
1497
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1498
+ */
1499
+ readonly details?: ErrorResponseDetails[];
1500
+ /**
1501
+ * The error additional info.
1502
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1503
+ */
1504
+ readonly additionalInfo?: ErrorResponseAdditionalInfo[];
1355
1505
  }
1356
1506
 
1357
- /** Represents a collection of Log Search rule resources. */
1358
- export interface LogSearchRuleResourceCollection {
1359
- /** The values for the Log Search Rule resources. */
1360
- value?: LogSearchRuleResource[];
1507
+ /** The resource management error additional info. */
1508
+ export interface ErrorResponseAdditionalInfo {
1509
+ /**
1510
+ * The additional info type.
1511
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1512
+ */
1513
+ readonly type?: string;
1514
+ /**
1515
+ * The additional info.
1516
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1517
+ */
1518
+ readonly info?: Record<string, unknown>;
1519
+ }
1520
+
1521
+ /** The scheduled query rule resource for patch operations. */
1522
+ export interface ScheduledQueryRuleResourcePatch {
1523
+ /** The identity of the resource. */
1524
+ identity?: Identity;
1525
+ /** Resource tags */
1526
+ tags?: { [propertyName: string]: string };
1527
+ /**
1528
+ * The api-version used when creating this alert rule
1529
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1530
+ */
1531
+ readonly createdWithApiVersion?: string;
1532
+ /**
1533
+ * True if alert rule is legacy Log Analytic rule
1534
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1535
+ */
1536
+ readonly isLegacyLogAnalyticsRule?: boolean;
1537
+ /** The description of the scheduled query rule. */
1538
+ description?: string;
1539
+ /** The display name of the alert rule */
1540
+ displayName?: string;
1541
+ /** Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert. */
1542
+ severity?: AlertSeverity;
1543
+ /** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
1544
+ enabled?: boolean;
1545
+ /** This determines if traffic is allowed over public network. By default it is enabled. */
1546
+ publicNetworkAccess?: PublicNetworkAccess;
1547
+ /** The list of resource id's that this scheduled query rule is scoped to. */
1548
+ scopes?: string[];
1549
+ /** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
1550
+ evaluationFrequency?: string;
1551
+ /** The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert. */
1552
+ windowSize?: string;
1553
+ /** If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. */
1554
+ overrideQueryTimeRange?: string;
1555
+ /** List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert */
1556
+ targetResourceTypes?: string[];
1557
+ /** The rule criteria that defines the conditions of the scheduled query rule. */
1558
+ criteria?: ScheduledQueryRuleCriteria;
1559
+ /** Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert. */
1560
+ muteActionsDuration?: string;
1561
+ /** Actions to invoke when the alert fires. */
1562
+ actions?: Actions;
1563
+ /**
1564
+ * The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
1565
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1566
+ */
1567
+ readonly isWorkspaceAlertsStorageConfigured?: boolean;
1568
+ /** The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert. */
1569
+ checkWorkspaceAlertsStorageConfigured?: boolean;
1570
+ /** The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert. */
1571
+ skipQueryValidation?: boolean;
1572
+ /** The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert. */
1573
+ autoMitigate?: boolean;
1574
+ /** Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert. */
1575
+ ruleResolveConfiguration?: RuleResolveConfiguration;
1361
1576
  }
1362
1577
 
1363
1578
  /** Represents collection of metric namespaces. */
@@ -2178,6 +2393,195 @@ export interface DataFlow {
2178
2393
  outputStream?: string;
2179
2394
  }
2180
2395
 
2396
+ /** A pageable list of resources */
2397
+ export interface AzureMonitorWorkspaceResourceListResult {
2398
+ /** A list of resources */
2399
+ value: AzureMonitorWorkspaceResource[];
2400
+ /** The URL to use for getting the next set of results */
2401
+ nextLink?: string;
2402
+ }
2403
+
2404
+ /** Properties of an Azure Monitor workspace */
2405
+ export interface AzureMonitorWorkspace {
2406
+ /**
2407
+ * The immutable ID of the Azure Monitor workspace. This property is read-only.
2408
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2409
+ */
2410
+ readonly accountId?: string;
2411
+ /**
2412
+ * Information about metrics for the Azure Monitor workspace
2413
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2414
+ */
2415
+ readonly metrics?: AzureMonitorWorkspaceMetrics;
2416
+ /**
2417
+ * The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
2418
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2419
+ */
2420
+ readonly provisioningState?: ProvisioningState;
2421
+ /**
2422
+ * The Data Collection Rule and Endpoint used for ingestion by default.
2423
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2424
+ */
2425
+ readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
2426
+ }
2427
+
2428
+ /** Information about metrics for the workspace */
2429
+ export interface Metrics {
2430
+ /**
2431
+ * The Prometheus query endpoint for the workspace
2432
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2433
+ */
2434
+ readonly prometheusQueryEndpoint?: string;
2435
+ /**
2436
+ * An internal identifier for the metrics container. Only to be used by the system
2437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2438
+ */
2439
+ readonly internalId?: string;
2440
+ }
2441
+
2442
+ /** Settings for data ingestion */
2443
+ export interface IngestionSettings {
2444
+ /**
2445
+ * The Azure resource Id of the default data collection rule for this workspace.
2446
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2447
+ */
2448
+ readonly dataCollectionRuleResourceId?: string;
2449
+ /**
2450
+ * The Azure resource Id of the default data collection endpoint for this workspace.
2451
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2452
+ */
2453
+ readonly dataCollectionEndpointResourceId?: string;
2454
+ }
2455
+
2456
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
2457
+ export interface ResourceAutoGenerated5 {
2458
+ /**
2459
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
2460
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2461
+ */
2462
+ readonly id?: string;
2463
+ /**
2464
+ * The name of the resource
2465
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2466
+ */
2467
+ readonly name?: string;
2468
+ /**
2469
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
2470
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2471
+ */
2472
+ readonly type?: string;
2473
+ /**
2474
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
2475
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2476
+ */
2477
+ readonly systemData?: SystemData;
2478
+ }
2479
+
2480
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
2481
+ export interface ErrorResponseAutoGenerated2 {
2482
+ /** The error object. */
2483
+ error?: ErrorDetailAutoGenerated;
2484
+ }
2485
+
2486
+ /** The error detail. */
2487
+ export interface ErrorDetailAutoGenerated {
2488
+ /**
2489
+ * The error code.
2490
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2491
+ */
2492
+ readonly code?: string;
2493
+ /**
2494
+ * The error message.
2495
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2496
+ */
2497
+ readonly message?: string;
2498
+ /**
2499
+ * The error target.
2500
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2501
+ */
2502
+ readonly target?: string;
2503
+ /**
2504
+ * The error details.
2505
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2506
+ */
2507
+ readonly details?: ErrorDetailAutoGenerated[];
2508
+ /**
2509
+ * The error additional info.
2510
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2511
+ */
2512
+ readonly additionalInfo?: ErrorAdditionalInfo[];
2513
+ }
2514
+
2515
+ /** Definition of ARM tracked top level resource properties for update operation */
2516
+ export interface AzureMonitorWorkspaceResourceForUpdate {
2517
+ /** Resource tags */
2518
+ tags?: { [propertyName: string]: string };
2519
+ }
2520
+
2521
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
2522
+ export interface OperationListResultAutoGenerated {
2523
+ /**
2524
+ * List of operations supported by the resource provider
2525
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2526
+ */
2527
+ readonly value?: OperationAutoGenerated[];
2528
+ /**
2529
+ * URL to get the next set of operation list results (if there are any).
2530
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2531
+ */
2532
+ readonly nextLink?: string;
2533
+ }
2534
+
2535
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
2536
+ export interface OperationAutoGenerated {
2537
+ /**
2538
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
2539
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2540
+ */
2541
+ readonly name?: string;
2542
+ /**
2543
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
2544
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2545
+ */
2546
+ readonly isDataAction?: boolean;
2547
+ /** Localized display information for this particular operation. */
2548
+ display?: OperationDisplayAutoGenerated;
2549
+ /**
2550
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
2551
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2552
+ */
2553
+ readonly origin?: Origin;
2554
+ /**
2555
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
2556
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2557
+ */
2558
+ readonly actionType?: ActionType;
2559
+ }
2560
+
2561
+ /** Localized display information for this particular operation. */
2562
+ export interface OperationDisplayAutoGenerated {
2563
+ /**
2564
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
2565
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2566
+ */
2567
+ readonly provider?: string;
2568
+ /**
2569
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
2570
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2571
+ */
2572
+ readonly resource?: string;
2573
+ /**
2574
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
2575
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2576
+ */
2577
+ readonly operation?: string;
2578
+ /**
2579
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
2580
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2581
+ */
2582
+ readonly description?: string;
2583
+ }
2584
+
2181
2585
  /** The claims for a rule management event data source. */
2182
2586
  export interface RuleManagementEventClaimsDataSource {
2183
2587
  /** the email address. */
@@ -2232,56 +2636,6 @@ export interface DynamicThresholdFailingPeriods {
2232
2636
  minFailingPeriodsToAlert: number;
2233
2637
  }
2234
2638
 
2235
- /** The condition that results in the Log Search rule. */
2236
- export interface TriggerCondition {
2237
- /** Evaluation operation for rule - 'GreaterThan' or 'LessThan. */
2238
- thresholdOperator: ConditionalOperator;
2239
- /** Result or count threshold based on which rule should be triggered. */
2240
- threshold: number;
2241
- /** Trigger condition for metric query rule */
2242
- metricTrigger?: LogMetricTrigger;
2243
- }
2244
-
2245
- /** A log metrics trigger descriptor. */
2246
- export interface LogMetricTrigger {
2247
- /** Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. */
2248
- thresholdOperator?: ConditionalOperator;
2249
- /** The threshold of the metric trigger. */
2250
- threshold?: number;
2251
- /** Metric Trigger Type - 'Consecutive' or 'Total' */
2252
- metricTriggerType?: MetricTriggerType;
2253
- /** Evaluation of metric on a particular column */
2254
- metricColumn?: string;
2255
- }
2256
-
2257
- /** Azure action group */
2258
- export interface AzNsActionGroup {
2259
- /** Azure Action Group reference. */
2260
- actionGroup?: string[];
2261
- /** Custom subject override for all email ids in Azure action group */
2262
- emailSubject?: string;
2263
- /** Custom payload to be sent for all webhook URI in Azure action group */
2264
- customWebhookPayload?: string;
2265
- }
2266
-
2267
- /** Specifies the criteria for converting log to metric. */
2268
- export interface Dimension {
2269
- /** Name of the dimension */
2270
- name: string;
2271
- /** Operator for dimension values */
2272
- operator: Operator;
2273
- /** List of dimension values */
2274
- values: string[];
2275
- }
2276
-
2277
- /** Specifies the criteria for converting log to metric. */
2278
- export interface Criteria {
2279
- /** Name of the metric */
2280
- metricName: string;
2281
- /** List of Dimensions for creating metric */
2282
- dimensions?: Dimension[];
2283
- }
2284
-
2285
2639
  /** The autoscale setting resource. */
2286
2640
  export interface AutoscaleSettingResource extends Resource {
2287
2641
  /** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
@@ -2609,66 +2963,6 @@ export interface MetricAlertResource extends ResourceAutoGenerated4 {
2609
2963
  readonly isMigrated?: boolean;
2610
2964
  }
2611
2965
 
2612
- /** Specify action need to be taken when rule type is Alert */
2613
- export interface AlertingAction extends Action {
2614
- /** Polymorphic discriminator, which specifies the different types this object can be */
2615
- odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
2616
- /** Severity of the alert */
2617
- severity: AlertSeverity;
2618
- /** Azure action group reference. */
2619
- aznsAction?: AzNsActionGroup;
2620
- /** time (in minutes) for which Alerts should be throttled or suppressed. */
2621
- throttlingInMin?: number;
2622
- /** The trigger condition that results in the alert rule being. */
2623
- trigger: TriggerCondition;
2624
- }
2625
-
2626
- /** Specify action need to be taken when rule type is converting log to metric */
2627
- export interface LogToMetricAction extends Action {
2628
- /** Polymorphic discriminator, which specifies the different types this object can be */
2629
- odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
2630
- /** Criteria of Metric */
2631
- criteria: Criteria[];
2632
- }
2633
-
2634
- /** The Log Search Rule resource. */
2635
- export interface LogSearchRuleResource extends ResourceAutoGenerated5 {
2636
- /**
2637
- * The api-version used when creating this alert rule
2638
- * NOTE: This property will not be serialized. It can only be populated by the server.
2639
- */
2640
- readonly createdWithApiVersion?: string;
2641
- /**
2642
- * True if alert rule is legacy Log Analytic rule
2643
- * NOTE: This property will not be serialized. It can only be populated by the server.
2644
- */
2645
- readonly isLegacyLogAnalyticsRule?: boolean;
2646
- /** The description of the Log Search rule. */
2647
- description?: string;
2648
- /** The display name of the alert rule */
2649
- displayName?: string;
2650
- /** The flag that indicates whether the alert should be automatically resolved or not. The default is false. */
2651
- autoMitigate?: boolean;
2652
- /** The flag which indicates whether the Log Search rule is enabled. Value should be true or false */
2653
- enabled?: Enabled;
2654
- /**
2655
- * Last time the rule was updated in IS08601 format.
2656
- * NOTE: This property will not be serialized. It can only be populated by the server.
2657
- */
2658
- readonly lastUpdatedTime?: Date;
2659
- /**
2660
- * Provisioning state of the scheduled query rule
2661
- * NOTE: This property will not be serialized. It can only be populated by the server.
2662
- */
2663
- readonly provisioningState?: ProvisioningState;
2664
- /** Data Source against which rule will Query Data */
2665
- source: Source;
2666
- /** Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction */
2667
- schedule?: Schedule;
2668
- /** Action needs to be taken on rule execution. */
2669
- action: ActionUnion;
2670
- }
2671
-
2672
2966
  /** VM Insights onboarding status for a resource. */
2673
2967
  export interface VMInsightsOnboardingStatus extends ProxyResource {
2674
2968
  /** Azure Resource Manager identifier of the resource whose onboarding status is being represented. */
@@ -2758,6 +3052,25 @@ export interface DataCollectionRuleDestinations extends DestinationsSpec {}
2758
3052
  export interface DestinationsSpecAzureMonitorMetrics
2759
3053
  extends AzureMonitorMetricsDestination {}
2760
3054
 
3055
+ /** Resource properties */
3056
+ export interface AzureMonitorWorkspaceResourceProperties
3057
+ extends AzureMonitorWorkspace {}
3058
+
3059
+ /** Information about metrics for the Azure Monitor workspace */
3060
+ export interface AzureMonitorWorkspaceMetrics extends Metrics {}
3061
+
3062
+ /** The Data Collection Rule and Endpoint used for ingestion by default. */
3063
+ export interface AzureMonitorWorkspaceDefaultIngestionSettings
3064
+ extends IngestionSettings {}
3065
+
3066
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
3067
+ export interface TrackedResourceAutoGenerated extends ResourceAutoGenerated5 {
3068
+ /** Resource tags. */
3069
+ tags?: { [propertyName: string]: string };
3070
+ /** The geo-location where the resource lives */
3071
+ location: string;
3072
+ }
3073
+
2761
3074
  /** Criterion to filter metrics. */
2762
3075
  export interface MetricCriteria extends MultiMetricCriteria {
2763
3076
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -2819,6 +3132,36 @@ export interface ScopedResource extends ProxyResourceAutoGenerated {
2819
3132
  readonly provisioningState?: string;
2820
3133
  }
2821
3134
 
3135
+ /** An Azure Monitor Workspace definition */
3136
+ export interface AzureMonitorWorkspaceResource
3137
+ extends TrackedResourceAutoGenerated {
3138
+ /**
3139
+ * Resource entity tag (ETag)
3140
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3141
+ */
3142
+ readonly etag?: string;
3143
+ /**
3144
+ * The immutable ID of the Azure Monitor workspace. This property is read-only.
3145
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3146
+ */
3147
+ readonly accountId?: string;
3148
+ /**
3149
+ * Information about metrics for the Azure Monitor workspace
3150
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3151
+ */
3152
+ readonly metrics?: AzureMonitorWorkspaceMetrics;
3153
+ /**
3154
+ * The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
3155
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3156
+ */
3157
+ readonly provisioningState?: ProvisioningState;
3158
+ /**
3159
+ * The Data Collection Rule and Endpoint used for ingestion by default.
3160
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3161
+ */
3162
+ readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
3163
+ }
3164
+
2822
3165
  /** Defines headers for ActionGroups_postTestNotifications operation. */
2823
3166
  export interface ActionGroupsPostTestNotificationsHeaders {
2824
3167
  /** The location header that has the polling uri. */
@@ -3017,62 +3360,116 @@ export enum KnownOdatatype {
3017
3360
  */
3018
3361
  export type Odatatype = string;
3019
3362
 
3020
- /** Known values of {@link Enabled} that the service accepts. */
3021
- export enum KnownEnabled {
3022
- /** True */
3023
- True = "true",
3024
- /** False */
3025
- False = "false"
3363
+ /** Known values of {@link Kind} that the service accepts. */
3364
+ export enum KnownKind {
3365
+ /** LogAlert */
3366
+ LogAlert = "LogAlert",
3367
+ /** LogToMetric */
3368
+ LogToMetric = "LogToMetric"
3026
3369
  }
3027
3370
 
3028
3371
  /**
3029
- * Defines values for Enabled. \
3030
- * {@link KnownEnabled} can be used interchangeably with Enabled,
3372
+ * Defines values for Kind. \
3373
+ * {@link KnownKind} can be used interchangeably with Kind,
3031
3374
  * this enum contains the known values that the service supports.
3032
3375
  * ### Known values supported by the service
3033
- * **true** \
3034
- * **false**
3376
+ * **LogAlert** \
3377
+ * **LogToMetric**
3035
3378
  */
3036
- export type Enabled = string;
3379
+ export type Kind = string;
3037
3380
 
3038
- /** Known values of {@link ProvisioningState} that the service accepts. */
3039
- export enum KnownProvisioningState {
3040
- /** Succeeded */
3041
- Succeeded = "Succeeded",
3042
- /** Deploying */
3043
- Deploying = "Deploying",
3044
- /** Canceled */
3045
- Canceled = "Canceled",
3046
- /** Failed */
3047
- Failed = "Failed"
3381
+ /** Known values of {@link AlertSeverity} that the service accepts. */
3382
+ export enum KnownAlertSeverity {
3383
+ /** Zero */
3384
+ Zero = 0,
3385
+ /** One */
3386
+ One = 1,
3387
+ /** Two */
3388
+ Two = 2,
3389
+ /** Three */
3390
+ Three = 3,
3391
+ /** Four */
3392
+ Four = 4
3048
3393
  }
3049
3394
 
3050
3395
  /**
3051
- * Defines values for ProvisioningState. \
3052
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
3396
+ * Defines values for AlertSeverity. \
3397
+ * {@link KnownAlertSeverity} can be used interchangeably with AlertSeverity,
3053
3398
  * this enum contains the known values that the service supports.
3054
3399
  * ### Known values supported by the service
3055
- * **Succeeded** \
3056
- * **Deploying** \
3057
- * **Canceled** \
3058
- * **Failed**
3400
+ * **0** \
3401
+ * **1** \
3402
+ * **2** \
3403
+ * **3** \
3404
+ * **4**
3059
3405
  */
3060
- export type ProvisioningState = string;
3406
+ export type AlertSeverity = number;
3407
+
3408
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
3409
+ export enum KnownPublicNetworkAccess {
3410
+ /** Enabled */
3411
+ Enabled = "Enabled",
3412
+ /** Disabled */
3413
+ Disabled = "Disabled",
3414
+ /** SecuredByPerimeter */
3415
+ SecuredByPerimeter = "SecuredByPerimeter"
3416
+ }
3417
+
3418
+ /**
3419
+ * Defines values for PublicNetworkAccess. \
3420
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
3421
+ * this enum contains the known values that the service supports.
3422
+ * ### Known values supported by the service
3423
+ * **Enabled** \
3424
+ * **Disabled** \
3425
+ * **SecuredByPerimeter**
3426
+ */
3427
+ export type PublicNetworkAccess = string;
3428
+
3429
+ /** Known values of {@link TimeAggregation} that the service accepts. */
3430
+ export enum KnownTimeAggregation {
3431
+ /** Count */
3432
+ Count = "Count",
3433
+ /** Average */
3434
+ Average = "Average",
3435
+ /** Minimum */
3436
+ Minimum = "Minimum",
3437
+ /** Maximum */
3438
+ Maximum = "Maximum",
3439
+ /** Total */
3440
+ Total = "Total"
3441
+ }
3442
+
3443
+ /**
3444
+ * Defines values for TimeAggregation. \
3445
+ * {@link KnownTimeAggregation} can be used interchangeably with TimeAggregation,
3446
+ * this enum contains the known values that the service supports.
3447
+ * ### Known values supported by the service
3448
+ * **Count** \
3449
+ * **Average** \
3450
+ * **Minimum** \
3451
+ * **Maximum** \
3452
+ * **Total**
3453
+ */
3454
+ export type TimeAggregation = string;
3061
3455
 
3062
- /** Known values of {@link QueryType} that the service accepts. */
3063
- export enum KnownQueryType {
3064
- /** ResultCount */
3065
- ResultCount = "ResultCount"
3456
+ /** Known values of {@link DimensionOperator} that the service accepts. */
3457
+ export enum KnownDimensionOperator {
3458
+ /** Include */
3459
+ Include = "Include",
3460
+ /** Exclude */
3461
+ Exclude = "Exclude"
3066
3462
  }
3067
3463
 
3068
3464
  /**
3069
- * Defines values for QueryType. \
3070
- * {@link KnownQueryType} can be used interchangeably with QueryType,
3465
+ * Defines values for DimensionOperator. \
3466
+ * {@link KnownDimensionOperator} can be used interchangeably with DimensionOperator,
3071
3467
  * this enum contains the known values that the service supports.
3072
3468
  * ### Known values supported by the service
3073
- * **ResultCount**
3469
+ * **Include** \
3470
+ * **Exclude**
3074
3471
  */
3075
- export type QueryType = string;
3472
+ export type DimensionOperator = string;
3076
3473
 
3077
3474
  /** Known values of {@link NamespaceClassification} that the service accepts. */
3078
3475
  export enum KnownNamespaceClassification {
@@ -3638,6 +4035,69 @@ export enum KnownKnownDataCollectionRuleResourceKind {
3638
4035
  */
3639
4036
  export type KnownDataCollectionRuleResourceKind = string;
3640
4037
 
4038
+ /** Known values of {@link ProvisioningState} that the service accepts. */
4039
+ export enum KnownProvisioningState {
4040
+ /** Creating */
4041
+ Creating = "Creating",
4042
+ /** Succeeded */
4043
+ Succeeded = "Succeeded",
4044
+ /** Deleting */
4045
+ Deleting = "Deleting",
4046
+ /** Failed */
4047
+ Failed = "Failed",
4048
+ /** Canceled */
4049
+ Canceled = "Canceled"
4050
+ }
4051
+
4052
+ /**
4053
+ * Defines values for ProvisioningState. \
4054
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
4055
+ * this enum contains the known values that the service supports.
4056
+ * ### Known values supported by the service
4057
+ * **Creating** \
4058
+ * **Succeeded** \
4059
+ * **Deleting** \
4060
+ * **Failed** \
4061
+ * **Canceled**
4062
+ */
4063
+ export type ProvisioningState = string;
4064
+
4065
+ /** Known values of {@link Origin} that the service accepts. */
4066
+ export enum KnownOrigin {
4067
+ /** User */
4068
+ User = "user",
4069
+ /** System */
4070
+ System = "system",
4071
+ /** UserSystem */
4072
+ UserSystem = "user,system"
4073
+ }
4074
+
4075
+ /**
4076
+ * Defines values for Origin. \
4077
+ * {@link KnownOrigin} can be used interchangeably with Origin,
4078
+ * this enum contains the known values that the service supports.
4079
+ * ### Known values supported by the service
4080
+ * **user** \
4081
+ * **system** \
4082
+ * **user,system**
4083
+ */
4084
+ export type Origin = string;
4085
+
4086
+ /** Known values of {@link ActionType} that the service accepts. */
4087
+ export enum KnownActionType {
4088
+ /** Internal */
4089
+ Internal = "Internal"
4090
+ }
4091
+
4092
+ /**
4093
+ * Defines values for ActionType. \
4094
+ * {@link KnownActionType} can be used interchangeably with ActionType,
4095
+ * this enum contains the known values that the service supports.
4096
+ * ### Known values supported by the service
4097
+ * **Internal**
4098
+ */
4099
+ export type ActionType = string;
4100
+
3641
4101
  /** Known values of {@link Operator} that the service accepts. */
3642
4102
  export enum KnownOperator {
3643
4103
  /** Equals */
@@ -3649,9 +4109,7 @@ export enum KnownOperator {
3649
4109
  /** LessThan */
3650
4110
  LessThan = "LessThan",
3651
4111
  /** LessThanOrEqual */
3652
- LessThanOrEqual = "LessThanOrEqual",
3653
- /** Include */
3654
- Include = "Include"
4112
+ LessThanOrEqual = "LessThanOrEqual"
3655
4113
  }
3656
4114
 
3657
4115
  /**
@@ -3663,8 +4121,7 @@ export enum KnownOperator {
3663
4121
  * **GreaterThan** \
3664
4122
  * **GreaterThanOrEqual** \
3665
4123
  * **LessThan** \
3666
- * **LessThanOrEqual** \
3667
- * **Include**
4124
+ * **LessThanOrEqual**
3668
4125
  */
3669
4126
  export type Operator = string;
3670
4127
 
@@ -3754,78 +4211,6 @@ export enum KnownDynamicThresholdSensitivity {
3754
4211
  * **High**
3755
4212
  */
3756
4213
  export type DynamicThresholdSensitivity = string;
3757
-
3758
- /** Known values of {@link ConditionalOperator} that the service accepts. */
3759
- export enum KnownConditionalOperator {
3760
- /** GreaterThanOrEqual */
3761
- GreaterThanOrEqual = "GreaterThanOrEqual",
3762
- /** LessThanOrEqual */
3763
- LessThanOrEqual = "LessThanOrEqual",
3764
- /** GreaterThan */
3765
- GreaterThan = "GreaterThan",
3766
- /** LessThan */
3767
- LessThan = "LessThan",
3768
- /** Equal */
3769
- Equal = "Equal"
3770
- }
3771
-
3772
- /**
3773
- * Defines values for ConditionalOperator. \
3774
- * {@link KnownConditionalOperator} can be used interchangeably with ConditionalOperator,
3775
- * this enum contains the known values that the service supports.
3776
- * ### Known values supported by the service
3777
- * **GreaterThanOrEqual** \
3778
- * **LessThanOrEqual** \
3779
- * **GreaterThan** \
3780
- * **LessThan** \
3781
- * **Equal**
3782
- */
3783
- export type ConditionalOperator = string;
3784
-
3785
- /** Known values of {@link MetricTriggerType} that the service accepts. */
3786
- export enum KnownMetricTriggerType {
3787
- /** Consecutive */
3788
- Consecutive = "Consecutive",
3789
- /** Total */
3790
- Total = "Total"
3791
- }
3792
-
3793
- /**
3794
- * Defines values for MetricTriggerType. \
3795
- * {@link KnownMetricTriggerType} can be used interchangeably with MetricTriggerType,
3796
- * this enum contains the known values that the service supports.
3797
- * ### Known values supported by the service
3798
- * **Consecutive** \
3799
- * **Total**
3800
- */
3801
- export type MetricTriggerType = string;
3802
-
3803
- /** Known values of {@link AlertSeverity} that the service accepts. */
3804
- export enum KnownAlertSeverity {
3805
- /** Zero */
3806
- Zero = "0",
3807
- /** One */
3808
- One = "1",
3809
- /** Two */
3810
- Two = "2",
3811
- /** Three */
3812
- Three = "3",
3813
- /** Four */
3814
- Four = "4"
3815
- }
3816
-
3817
- /**
3818
- * Defines values for AlertSeverity. \
3819
- * {@link KnownAlertSeverity} can be used interchangeably with AlertSeverity,
3820
- * this enum contains the known values that the service supports.
3821
- * ### Known values supported by the service
3822
- * **0** \
3823
- * **1** \
3824
- * **2** \
3825
- * **3** \
3826
- * **4**
3827
- */
3828
- export type AlertSeverity = string;
3829
4214
  /** Defines values for MetricStatisticType. */
3830
4215
  export type MetricStatisticType = "Average" | "Min" | "Max" | "Sum" | "Count";
3831
4216
  /** Defines values for TimeAggregationType. */
@@ -3886,12 +4271,15 @@ export type AggregationType =
3886
4271
  | "Total";
3887
4272
  /** Defines values for ResultType. */
3888
4273
  export type ResultType = "Data" | "Metadata";
4274
+ /** Defines values for IdentityType. */
4275
+ export type IdentityType = "SystemAssigned" | "UserAssigned" | "None";
3889
4276
  /** Defines values for ConditionOperator. */
3890
4277
  export type ConditionOperator =
3891
4278
  | "GreaterThan"
3892
4279
  | "GreaterThanOrEqual"
3893
4280
  | "LessThan"
3894
- | "LessThanOrEqual";
4281
+ | "LessThanOrEqual"
4282
+ | "Equals";
3895
4283
  /** Defines values for TimeAggregationOperator. */
3896
4284
  export type TimeAggregationOperator =
3897
4285
  | "Average"
@@ -4355,49 +4743,57 @@ export interface MetricAlertsStatusListByNameOptionalParams
4355
4743
  export type MetricAlertsStatusListByNameResponse = MetricAlertStatusCollection;
4356
4744
 
4357
4745
  /** Optional parameters. */
4358
- export interface ScheduledQueryRulesCreateOrUpdateOptionalParams
4746
+ export interface ScheduledQueryRulesListBySubscriptionOptionalParams
4359
4747
  extends coreClient.OperationOptions {}
4360
4748
 
4361
- /** Contains response data for the createOrUpdate operation. */
4362
- export type ScheduledQueryRulesCreateOrUpdateResponse = LogSearchRuleResource;
4749
+ /** Contains response data for the listBySubscription operation. */
4750
+ export type ScheduledQueryRulesListBySubscriptionResponse = ScheduledQueryRuleResourceCollection;
4751
+
4752
+ /** Optional parameters. */
4753
+ export interface ScheduledQueryRulesListByResourceGroupOptionalParams
4754
+ extends coreClient.OperationOptions {}
4755
+
4756
+ /** Contains response data for the listByResourceGroup operation. */
4757
+ export type ScheduledQueryRulesListByResourceGroupResponse = ScheduledQueryRuleResourceCollection;
4363
4758
 
4364
4759
  /** Optional parameters. */
4365
4760
  export interface ScheduledQueryRulesGetOptionalParams
4366
4761
  extends coreClient.OperationOptions {}
4367
4762
 
4368
4763
  /** Contains response data for the get operation. */
4369
- export type ScheduledQueryRulesGetResponse = LogSearchRuleResource;
4764
+ export type ScheduledQueryRulesGetResponse = ScheduledQueryRuleResource;
4765
+
4766
+ /** Optional parameters. */
4767
+ export interface ScheduledQueryRulesCreateOrUpdateOptionalParams
4768
+ extends coreClient.OperationOptions {}
4769
+
4770
+ /** Contains response data for the createOrUpdate operation. */
4771
+ export type ScheduledQueryRulesCreateOrUpdateResponse = ScheduledQueryRuleResource;
4370
4772
 
4371
4773
  /** Optional parameters. */
4372
4774
  export interface ScheduledQueryRulesUpdateOptionalParams
4373
4775
  extends coreClient.OperationOptions {}
4374
4776
 
4375
4777
  /** Contains response data for the update operation. */
4376
- export type ScheduledQueryRulesUpdateResponse = LogSearchRuleResource;
4778
+ export type ScheduledQueryRulesUpdateResponse = ScheduledQueryRuleResource;
4377
4779
 
4378
4780
  /** Optional parameters. */
4379
4781
  export interface ScheduledQueryRulesDeleteOptionalParams
4380
4782
  extends coreClient.OperationOptions {}
4381
4783
 
4382
4784
  /** Optional parameters. */
4383
- export interface ScheduledQueryRulesListBySubscriptionOptionalParams
4384
- extends coreClient.OperationOptions {
4385
- /** The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx */
4386
- filter?: string;
4387
- }
4785
+ export interface ScheduledQueryRulesListBySubscriptionNextOptionalParams
4786
+ extends coreClient.OperationOptions {}
4388
4787
 
4389
- /** Contains response data for the listBySubscription operation. */
4390
- export type ScheduledQueryRulesListBySubscriptionResponse = LogSearchRuleResourceCollection;
4788
+ /** Contains response data for the listBySubscriptionNext operation. */
4789
+ export type ScheduledQueryRulesListBySubscriptionNextResponse = ScheduledQueryRuleResourceCollection;
4391
4790
 
4392
4791
  /** Optional parameters. */
4393
- export interface ScheduledQueryRulesListByResourceGroupOptionalParams
4394
- extends coreClient.OperationOptions {
4395
- /** The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx */
4396
- filter?: string;
4397
- }
4792
+ export interface ScheduledQueryRulesListByResourceGroupNextOptionalParams
4793
+ extends coreClient.OperationOptions {}
4398
4794
 
4399
- /** Contains response data for the listByResourceGroup operation. */
4400
- export type ScheduledQueryRulesListByResourceGroupResponse = LogSearchRuleResourceCollection;
4795
+ /** Contains response data for the listByResourceGroupNext operation. */
4796
+ export type ScheduledQueryRulesListByResourceGroupNextResponse = ScheduledQueryRuleResourceCollection;
4401
4797
 
4402
4798
  /** Optional parameters. */
4403
4799
  export interface MetricNamespacesListOptionalParams
@@ -4806,6 +5202,76 @@ export interface DataCollectionRulesListBySubscriptionNextOptionalParams
4806
5202
  /** Contains response data for the listBySubscriptionNext operation. */
4807
5203
  export type DataCollectionRulesListBySubscriptionNextResponse = DataCollectionRuleResourceListResult;
4808
5204
 
5205
+ /** Optional parameters. */
5206
+ export interface AzureMonitorWorkspacesListByResourceGroupOptionalParams
5207
+ extends coreClient.OperationOptions {}
5208
+
5209
+ /** Contains response data for the listByResourceGroup operation. */
5210
+ export type AzureMonitorWorkspacesListByResourceGroupResponse = AzureMonitorWorkspaceResourceListResult;
5211
+
5212
+ /** Optional parameters. */
5213
+ export interface AzureMonitorWorkspacesListBySubscriptionOptionalParams
5214
+ extends coreClient.OperationOptions {}
5215
+
5216
+ /** Contains response data for the listBySubscription operation. */
5217
+ export type AzureMonitorWorkspacesListBySubscriptionResponse = AzureMonitorWorkspaceResourceListResult;
5218
+
5219
+ /** Optional parameters. */
5220
+ export interface AzureMonitorWorkspacesGetOptionalParams
5221
+ extends coreClient.OperationOptions {}
5222
+
5223
+ /** Contains response data for the get operation. */
5224
+ export type AzureMonitorWorkspacesGetResponse = AzureMonitorWorkspaceResource;
5225
+
5226
+ /** Optional parameters. */
5227
+ export interface AzureMonitorWorkspacesCreateOptionalParams
5228
+ extends coreClient.OperationOptions {}
5229
+
5230
+ /** Contains response data for the create operation. */
5231
+ export type AzureMonitorWorkspacesCreateResponse = AzureMonitorWorkspaceResource;
5232
+
5233
+ /** Optional parameters. */
5234
+ export interface AzureMonitorWorkspacesUpdateOptionalParams
5235
+ extends coreClient.OperationOptions {
5236
+ /** The payload */
5237
+ azureMonitorWorkspaceProperties?: AzureMonitorWorkspaceResourceForUpdate;
5238
+ }
5239
+
5240
+ /** Contains response data for the update operation. */
5241
+ export type AzureMonitorWorkspacesUpdateResponse = AzureMonitorWorkspaceResource;
5242
+
5243
+ /** Optional parameters. */
5244
+ export interface AzureMonitorWorkspacesDeleteOptionalParams
5245
+ extends coreClient.OperationOptions {}
5246
+
5247
+ /** Optional parameters. */
5248
+ export interface AzureMonitorWorkspacesListByResourceGroupNextOptionalParams
5249
+ extends coreClient.OperationOptions {}
5250
+
5251
+ /** Contains response data for the listByResourceGroupNext operation. */
5252
+ export type AzureMonitorWorkspacesListByResourceGroupNextResponse = AzureMonitorWorkspaceResourceListResult;
5253
+
5254
+ /** Optional parameters. */
5255
+ export interface AzureMonitorWorkspacesListBySubscriptionNextOptionalParams
5256
+ extends coreClient.OperationOptions {}
5257
+
5258
+ /** Contains response data for the listBySubscriptionNext operation. */
5259
+ export type AzureMonitorWorkspacesListBySubscriptionNextResponse = AzureMonitorWorkspaceResourceListResult;
5260
+
5261
+ /** Optional parameters. */
5262
+ export interface MonitorOperationsListOptionalParams
5263
+ extends coreClient.OperationOptions {}
5264
+
5265
+ /** Contains response data for the list operation. */
5266
+ export type MonitorOperationsListResponse = OperationListResultAutoGenerated;
5267
+
5268
+ /** Optional parameters. */
5269
+ export interface MonitorOperationsListNextOptionalParams
5270
+ extends coreClient.OperationOptions {}
5271
+
5272
+ /** Contains response data for the listNext operation. */
5273
+ export type MonitorOperationsListNextResponse = OperationListResultAutoGenerated;
5274
+
4809
5275
  /** Optional parameters. */
4810
5276
  export interface MonitorClientOptionalParams
4811
5277
  extends coreClient.ServiceClientOptions {