@azure/arm-monitor 8.0.0-beta.2 → 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.
- package/CHANGELOG.md +88 -5
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +5622 -4012
- 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/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsGetSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js +10 -2
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js +10 -2
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js +10 -2
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js +19 -9
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsGetSample.js +11 -3
- package/dist-esm/samples-dev/activityLogAlertsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js +10 -2
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogsListSample.js +13 -4
- package/dist-esm/samples-dev/activityLogsListSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js +11 -3
- package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js +11 -3
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesGetSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesUpdateSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js +42 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js +39 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js +39 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js +52 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js +51 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js +45 -0
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/baselinesListSample.js +10 -2
- package/dist-esm/samples-dev/baselinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js +16 -8
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesGetSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +10 -2
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +10 -2
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +13 -4
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +10 -2
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +13 -4
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js +13 -4
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/eventCategoriesListSample.js +10 -2
- package/dist-esm/samples-dev/eventCategoriesListSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesDeleteSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesGetSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesListSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesListSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesUpdateSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js +40 -25
- package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/metricAlertsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsGetSample.js +35 -21
- package/dist-esm/samples-dev/metricAlertsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js +11 -3
- package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsStatusListSample.js +11 -3
- package/dist-esm/samples-dev/metricAlertsStatusListSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsUpdateSample.js +12 -4
- package/dist-esm/samples-dev/metricAlertsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/metricDefinitionsListSample.js +16 -6
- package/dist-esm/samples-dev/metricDefinitionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/metricNamespacesListSample.js +10 -2
- package/dist-esm/samples-dev/metricNamespacesListSample.js.map +1 -1
- package/dist-esm/samples-dev/metricsListSample.js +19 -9
- package/dist-esm/samples-dev/metricsListSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorOperationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/monitorOperationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/monitorOperationsListSample.js +51 -0
- package/dist-esm/samples-dev/monitorOperationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +10 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/predictiveMetricGetSample.js +11 -3
- package/dist-esm/samples-dev/predictiveMetricGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +11 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +15 -6
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListSample.js +10 -2
- package/dist-esm/samples-dev/privateLinkScopesListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +10 -3
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +148 -83
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +16 -8
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +16 -8
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +15 -7
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +14 -6
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +17 -9
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/tenantActivityLogsListSample.js +19 -8
- package/dist-esm/samples-dev/tenantActivityLogsListSample.js.map +1 -1
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js +22 -10
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +715 -287
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +84 -64
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +29 -17
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1127 -445
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +5 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +39 -7
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/monitorClient.d.ts +4 -2
- package/dist-esm/src/monitorClient.d.ts.map +1 -1
- package/dist-esm/src/monitorClient.js +8 -9
- package/dist-esm/src/monitorClient.js.map +1 -1
- package/dist-esm/src/operations/actionGroups.d.ts +4 -4
- package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/actionGroups.js +50 -25
- package/dist-esm/src/operations/actionGroups.js.map +1 -1
- package/dist-esm/src/operations/activityLogAlerts.d.ts.map +1 -1
- package/dist-esm/src/operations/activityLogAlerts.js +37 -16
- package/dist-esm/src/operations/activityLogAlerts.js.map +1 -1
- package/dist-esm/src/operations/activityLogs.d.ts +0 -13
- package/dist-esm/src/operations/activityLogs.d.ts.map +1 -1
- package/dist-esm/src/operations/activityLogs.js +22 -28
- package/dist-esm/src/operations/activityLogs.js.map +1 -1
- package/dist-esm/src/operations/alertRuleIncidents.d.ts.map +1 -1
- package/dist-esm/src/operations/alertRuleIncidents.js +8 -4
- package/dist-esm/src/operations/alertRuleIncidents.js.map +1 -1
- package/dist-esm/src/operations/alertRules.d.ts.map +1 -1
- package/dist-esm/src/operations/alertRules.js +16 -8
- package/dist-esm/src/operations/alertRules.js.map +1 -1
- package/dist-esm/src/operations/autoscaleSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/autoscaleSettings.js +37 -16
- package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
- package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts +87 -0
- package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/azureMonitorWorkspaces.js +389 -0
- package/dist-esm/src/operations/azureMonitorWorkspaces.js.map +1 -0
- package/dist-esm/src/operations/baselines.d.ts.map +1 -1
- package/dist-esm/src/operations/baselines.js +8 -4
- package/dist-esm/src/operations/baselines.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionEndpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/dataCollectionEndpoints.js +37 -16
- package/dist-esm/src/operations/dataCollectionEndpoints.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts.map +1 -1
- package/dist-esm/src/operations/dataCollectionRuleAssociations.js +55 -24
- package/dist-esm/src/operations/dataCollectionRuleAssociations.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionRules.d.ts.map +1 -1
- package/dist-esm/src/operations/dataCollectionRules.js +37 -16
- package/dist-esm/src/operations/dataCollectionRules.js.map +1 -1
- package/dist-esm/src/operations/diagnosticSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettings.js +8 -4
- package/dist-esm/src/operations/diagnosticSettings.js.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.js +8 -4
- package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
- package/dist-esm/src/operations/eventCategories.d.ts.map +1 -1
- package/dist-esm/src/operations/eventCategories.js +8 -4
- package/dist-esm/src/operations/eventCategories.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +3 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/logProfiles.d.ts.map +1 -1
- package/dist-esm/src/operations/logProfiles.js +8 -4
- package/dist-esm/src/operations/logProfiles.js.map +1 -1
- package/dist-esm/src/operations/metricAlerts.d.ts.map +1 -1
- package/dist-esm/src/operations/metricAlerts.js +16 -8
- package/dist-esm/src/operations/metricAlerts.js.map +1 -1
- package/dist-esm/src/operations/metricDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operations/metricDefinitions.js +8 -4
- package/dist-esm/src/operations/metricDefinitions.js.map +1 -1
- package/dist-esm/src/operations/metricNamespaces.d.ts.map +1 -1
- package/dist-esm/src/operations/metricNamespaces.js +8 -4
- package/dist-esm/src/operations/metricNamespaces.js.map +1 -1
- package/dist-esm/src/operations/{metrics.d.ts → metricsOperations.d.ts} +5 -5
- package/dist-esm/src/operations/metricsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/{metrics.js → metricsOperations.js} +4 -4
- package/dist-esm/src/operations/metricsOperations.js.map +1 -0
- package/dist-esm/src/operations/monitorOperations.d.ts +32 -0
- package/dist-esm/src/operations/monitorOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/monitorOperations.js +131 -0
- package/dist-esm/src/operations/monitorOperations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -16
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.d.ts +3 -3
- package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.js +37 -18
- package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.d.ts +2 -2
- package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.js +47 -22
- package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.d.ts +30 -17
- package/dist-esm/src/operations/scheduledQueryRules.d.ts.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.js +143 -52
- package/dist-esm/src/operations/scheduledQueryRules.js.map +1 -1
- package/dist-esm/src/operations/tenantActivityLogs.d.ts.map +1 -1
- package/dist-esm/src/operations/tenantActivityLogs.js +19 -12
- package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts +51 -0
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/{metrics.d.ts → metricsOperations.d.ts} +3 -3
- package/dist-esm/src/operationsInterfaces/metricsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{metrics.js → metricsOperations.js} +1 -1
- package/dist-esm/src/operationsInterfaces/metricsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/monitorOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/monitorOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts +13 -13
- package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/monitor_examples.js +60 -3
- package/dist-esm/test/monitor_examples.js.map +1 -1
- package/package.json +11 -9
- package/review/arm-monitor.api.md +422 -161
- package/src/index.ts +1 -0
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +775 -317
- package/src/models/mappers.ts +1990 -1300
- package/src/models/parameters.ts +48 -10
- package/src/monitorClient.ts +19 -12
- package/src/operations/actionGroups.ts +82 -46
- package/src/operations/activityLogAlerts.ts +46 -19
- package/src/operations/activityLogs.ts +23 -29
- package/src/operations/alertRuleIncidents.ts +13 -11
- package/src/operations/alertRules.ts +26 -12
- package/src/operations/autoscaleSettings.ts +46 -19
- package/src/operations/azureMonitorWorkspaces.ts +483 -0
- package/src/operations/baselines.ts +10 -5
- package/src/operations/dataCollectionEndpoints.ts +45 -18
- package/src/operations/dataCollectionRuleAssociations.ts +71 -35
- package/src/operations/dataCollectionRules.ts +45 -18
- package/src/operations/diagnosticSettings.ts +12 -7
- package/src/operations/diagnosticSettingsCategory.ts +12 -7
- package/src/operations/eventCategories.ts +10 -5
- package/src/operations/index.ts +3 -1
- package/src/operations/logProfiles.ts +12 -7
- package/src/operations/metricAlerts.ts +24 -10
- package/src/operations/metricDefinitions.ts +10 -5
- package/src/operations/metricNamespaces.ts +10 -5
- package/src/operations/{metrics.ts → metricsOperations.ts} +4 -4
- package/src/operations/monitorOperations.ts +149 -0
- package/src/operations/privateEndpointConnections.ts +33 -21
- package/src/operations/privateLinkScopedResources.ts +55 -35
- package/src/operations/privateLinkScopes.ts +60 -29
- package/src/operations/scheduledQueryRules.ts +199 -79
- package/src/operations/tenantActivityLogs.ts +21 -13
- package/src/operationsInterfaces/actionGroups.ts +7 -7
- package/src/operationsInterfaces/azureMonitorWorkspaces.ts +93 -0
- package/src/operationsInterfaces/index.ts +3 -1
- package/src/operationsInterfaces/{metrics.ts → metricsOperations.ts} +2 -2
- package/src/operationsInterfaces/monitorOperations.ts +25 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
- package/src/operationsInterfaces/privateLinkScopedResources.ts +4 -4
- package/src/operationsInterfaces/privateLinkScopes.ts +2 -2
- package/src/operationsInterfaces/scheduledQueryRules.ts +21 -21
- package/src/pagingHelper.ts +39 -0
- package/types/arm-monitor.d.ts +838 -299
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/operations/metrics.d.ts.map +0 -1
- package/dist-esm/src/operations/metrics.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/metrics.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/metrics.js.map +0 -1
|
@@ -3,7 +3,6 @@ export declare type RuleConditionUnion = RuleCondition | ThresholdRuleCondition
|
|
|
3
3
|
export declare type RuleDataSourceUnion = RuleDataSource | RuleMetricDataSource | RuleManagementEventDataSource;
|
|
4
4
|
export declare type RuleActionUnion = RuleAction | RuleEmailAction | RuleWebhookAction;
|
|
5
5
|
export declare type MetricAlertCriteriaUnion = MetricAlertCriteria | MetricAlertSingleResourceMultipleMetricCriteria | WebtestLocationAvailabilityCriteria | MetricAlertMultipleResourceMultipleMetricCriteria;
|
|
6
|
-
export declare type ActionUnion = Action | AlertingAction | LogToMetricAction;
|
|
7
6
|
export declare type MultiMetricCriteriaUnion = MultiMetricCriteria | MetricCriteria | DynamicMetricCriteria;
|
|
8
7
|
/** Represents a collection of autoscale setting resources. */
|
|
9
8
|
export interface AutoscaleSettingResourceCollection {
|
|
@@ -675,7 +674,7 @@ export interface ActionGroupPatchBody {
|
|
|
675
674
|
}
|
|
676
675
|
/** The request body which contain contact detail metadata */
|
|
677
676
|
export interface NotificationRequestBody {
|
|
678
|
-
/** The
|
|
677
|
+
/** The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget */
|
|
679
678
|
alertType: string;
|
|
680
679
|
/** The list of email receivers that are part of this action group. */
|
|
681
680
|
emailReceivers?: EmailReceiver[];
|
|
@@ -1186,81 +1185,296 @@ export interface MetricAlertStatusProperties {
|
|
|
1186
1185
|
/** UTC time when the status was checked. */
|
|
1187
1186
|
timestamp?: Date;
|
|
1188
1187
|
}
|
|
1189
|
-
/**
|
|
1190
|
-
export interface
|
|
1191
|
-
/**
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
queryType?: QueryType;
|
|
1199
|
-
}
|
|
1200
|
-
/** Defines how often to run the search and the time interval. */
|
|
1201
|
-
export interface Schedule {
|
|
1202
|
-
/** frequency (in minutes) at which rule condition should be evaluated. */
|
|
1203
|
-
frequencyInMinutes: number;
|
|
1204
|
-
/** Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes). */
|
|
1205
|
-
timeWindowInMinutes: number;
|
|
1206
|
-
}
|
|
1207
|
-
/** Action descriptor. */
|
|
1208
|
-
export interface Action {
|
|
1209
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1210
|
-
odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction" | "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
|
|
1188
|
+
/** Represents a collection of scheduled query rule resources. */
|
|
1189
|
+
export interface ScheduledQueryRuleResourceCollection {
|
|
1190
|
+
/** The values for the scheduled query rule resources. */
|
|
1191
|
+
value?: ScheduledQueryRuleResource[];
|
|
1192
|
+
/**
|
|
1193
|
+
* Provides the link to retrieve the next set of elements.
|
|
1194
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1195
|
+
*/
|
|
1196
|
+
readonly nextLink?: string;
|
|
1211
1197
|
}
|
|
1212
|
-
/**
|
|
1213
|
-
export interface
|
|
1198
|
+
/** The scheduled query rule resource. */
|
|
1199
|
+
export interface ScheduledQueryRuleResource {
|
|
1214
1200
|
/**
|
|
1215
|
-
*
|
|
1201
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
1216
1202
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1217
1203
|
*/
|
|
1218
1204
|
readonly id?: string;
|
|
1219
1205
|
/**
|
|
1220
|
-
*
|
|
1206
|
+
* The name of the resource
|
|
1221
1207
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1222
1208
|
*/
|
|
1223
1209
|
readonly name?: string;
|
|
1224
1210
|
/**
|
|
1225
|
-
*
|
|
1211
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
1226
1212
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1227
1213
|
*/
|
|
1228
1214
|
readonly type?: string;
|
|
1229
|
-
/**
|
|
1230
|
-
|
|
1231
|
-
/** Resource tags */
|
|
1215
|
+
/** The identity of the resource. */
|
|
1216
|
+
identity?: Identity;
|
|
1217
|
+
/** Resource tags. */
|
|
1232
1218
|
tags?: {
|
|
1233
1219
|
[propertyName: string]: string;
|
|
1234
1220
|
};
|
|
1221
|
+
/** The geo-location where the resource lives */
|
|
1222
|
+
location: string;
|
|
1223
|
+
/** Indicates the type of scheduled query rule. The default is LogAlert. */
|
|
1224
|
+
kind?: Kind;
|
|
1235
1225
|
/**
|
|
1236
|
-
*
|
|
1226
|
+
* 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.
|
|
1237
1227
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1238
1228
|
*/
|
|
1239
|
-
readonly
|
|
1229
|
+
readonly etag?: string;
|
|
1240
1230
|
/**
|
|
1241
|
-
*
|
|
1231
|
+
* SystemData of ScheduledQueryRule.
|
|
1242
1232
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1243
1233
|
*/
|
|
1244
|
-
readonly
|
|
1234
|
+
readonly systemData?: SystemData;
|
|
1235
|
+
/**
|
|
1236
|
+
* The api-version used when creating this alert rule
|
|
1237
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1238
|
+
*/
|
|
1239
|
+
readonly createdWithApiVersion?: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* True if alert rule is legacy Log Analytic rule
|
|
1242
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1243
|
+
*/
|
|
1244
|
+
readonly isLegacyLogAnalyticsRule?: boolean;
|
|
1245
|
+
/** The description of the scheduled query rule. */
|
|
1246
|
+
description?: string;
|
|
1247
|
+
/** The display name of the alert rule */
|
|
1248
|
+
displayName?: string;
|
|
1249
|
+
/** 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. */
|
|
1250
|
+
severity?: AlertSeverity;
|
|
1251
|
+
/** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
|
|
1252
|
+
enabled?: boolean;
|
|
1253
|
+
/** This determines if traffic is allowed over public network. By default it is enabled. */
|
|
1254
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
1255
|
+
/** The list of resource id's that this scheduled query rule is scoped to. */
|
|
1256
|
+
scopes?: string[];
|
|
1257
|
+
/** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
|
|
1258
|
+
evaluationFrequency?: string;
|
|
1259
|
+
/** 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. */
|
|
1260
|
+
windowSize?: string;
|
|
1261
|
+
/** If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. */
|
|
1262
|
+
overrideQueryTimeRange?: string;
|
|
1263
|
+
/** 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 */
|
|
1264
|
+
targetResourceTypes?: string[];
|
|
1265
|
+
/** The rule criteria that defines the conditions of the scheduled query rule. */
|
|
1266
|
+
criteria?: ScheduledQueryRuleCriteria;
|
|
1267
|
+
/** 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. */
|
|
1268
|
+
muteActionsDuration?: string;
|
|
1269
|
+
/** Actions to invoke when the alert fires. */
|
|
1270
|
+
actions?: Actions;
|
|
1271
|
+
/**
|
|
1272
|
+
* The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
|
|
1273
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1274
|
+
*/
|
|
1275
|
+
readonly isWorkspaceAlertsStorageConfigured?: boolean;
|
|
1276
|
+
/** 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. */
|
|
1277
|
+
checkWorkspaceAlertsStorageConfigured?: boolean;
|
|
1278
|
+
/** 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. */
|
|
1279
|
+
skipQueryValidation?: boolean;
|
|
1280
|
+
/** 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. */
|
|
1281
|
+
autoMitigate?: boolean;
|
|
1282
|
+
/** Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert. */
|
|
1283
|
+
ruleResolveConfiguration?: RuleResolveConfiguration;
|
|
1284
|
+
}
|
|
1285
|
+
/** Identity for the resource. */
|
|
1286
|
+
export interface Identity {
|
|
1287
|
+
/**
|
|
1288
|
+
* The principal ID of resource identity.
|
|
1289
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1290
|
+
*/
|
|
1291
|
+
readonly principalId?: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* The tenant ID of resource.
|
|
1294
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1295
|
+
*/
|
|
1296
|
+
readonly tenantId?: string;
|
|
1297
|
+
/** Type of managed service identity. */
|
|
1298
|
+
type: IdentityType;
|
|
1299
|
+
/** 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}'. */
|
|
1300
|
+
userAssignedIdentities?: {
|
|
1301
|
+
[propertyName: string]: UserIdentityProperties;
|
|
1302
|
+
};
|
|
1303
|
+
}
|
|
1304
|
+
/** User assigned identity properties. */
|
|
1305
|
+
export interface UserIdentityProperties {
|
|
1306
|
+
/**
|
|
1307
|
+
* The principal id of user assigned identity.
|
|
1308
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1309
|
+
*/
|
|
1310
|
+
readonly principalId?: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* The client id of user assigned identity.
|
|
1313
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1314
|
+
*/
|
|
1315
|
+
readonly clientId?: string;
|
|
1316
|
+
}
|
|
1317
|
+
/** The rule criteria that defines the conditions of the scheduled query rule. */
|
|
1318
|
+
export interface ScheduledQueryRuleCriteria {
|
|
1319
|
+
/** A list of conditions to evaluate against the specified scopes */
|
|
1320
|
+
allOf?: Condition[];
|
|
1321
|
+
}
|
|
1322
|
+
/** A condition of the scheduled query rule. */
|
|
1323
|
+
export interface Condition {
|
|
1324
|
+
/** Log query alert */
|
|
1325
|
+
query?: string;
|
|
1326
|
+
/** Aggregation type. Relevant and required only for rules of the kind LogAlert. */
|
|
1327
|
+
timeAggregation?: TimeAggregation;
|
|
1328
|
+
/** The column containing the metric measure number. Relevant only for rules of the kind LogAlert. */
|
|
1329
|
+
metricMeasureColumn?: string;
|
|
1330
|
+
/** 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. */
|
|
1331
|
+
resourceIdColumn?: string;
|
|
1332
|
+
/** List of Dimensions conditions */
|
|
1333
|
+
dimensions?: Dimension[];
|
|
1334
|
+
/** The criteria operator. Relevant and required only for rules of the kind LogAlert. */
|
|
1335
|
+
operator?: ConditionOperator;
|
|
1336
|
+
/** the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert. */
|
|
1337
|
+
threshold?: number;
|
|
1338
|
+
/** 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. */
|
|
1339
|
+
failingPeriods?: ConditionFailingPeriods;
|
|
1340
|
+
/** The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric. */
|
|
1341
|
+
metricName?: string;
|
|
1342
|
+
}
|
|
1343
|
+
/** Dimension splitting and filtering definition */
|
|
1344
|
+
export interface Dimension {
|
|
1345
|
+
/** Name of the dimension */
|
|
1346
|
+
name: string;
|
|
1347
|
+
/** Operator for dimension values */
|
|
1348
|
+
operator: DimensionOperator;
|
|
1349
|
+
/** List of dimension values */
|
|
1350
|
+
values: string[];
|
|
1351
|
+
}
|
|
1352
|
+
/** 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. */
|
|
1353
|
+
export interface ConditionFailingPeriods {
|
|
1354
|
+
/** 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 */
|
|
1355
|
+
numberOfEvaluationPeriods?: number;
|
|
1356
|
+
/** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1 */
|
|
1357
|
+
minFailingPeriodsToAlert?: number;
|
|
1358
|
+
}
|
|
1359
|
+
/** Actions to invoke when the alert fires. */
|
|
1360
|
+
export interface Actions {
|
|
1361
|
+
/** Action Group resource Ids to invoke when the alert fires. */
|
|
1362
|
+
actionGroups?: string[];
|
|
1363
|
+
/** The properties of an alert payload. */
|
|
1364
|
+
customProperties?: {
|
|
1365
|
+
[propertyName: string]: string;
|
|
1366
|
+
};
|
|
1367
|
+
}
|
|
1368
|
+
/** TBD. Relevant only for rules of the kind LogAlert. */
|
|
1369
|
+
export interface RuleResolveConfiguration {
|
|
1370
|
+
/** The flag that indicates whether or not to auto resolve a fired alert. */
|
|
1371
|
+
autoResolved?: boolean;
|
|
1372
|
+
/** The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format. */
|
|
1373
|
+
timeToResolve?: string;
|
|
1245
1374
|
}
|
|
1246
1375
|
/** Describes the format of Error response. */
|
|
1247
1376
|
export interface ErrorContract {
|
|
1248
1377
|
/** The error details. */
|
|
1249
|
-
error?:
|
|
1378
|
+
error?: ErrorResponseDetails;
|
|
1379
|
+
}
|
|
1380
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
|
|
1381
|
+
export interface ErrorResponseDetails {
|
|
1382
|
+
/**
|
|
1383
|
+
* The error code.
|
|
1384
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1385
|
+
*/
|
|
1386
|
+
readonly code?: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* The error message.
|
|
1389
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1390
|
+
*/
|
|
1391
|
+
readonly message?: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* The error target.
|
|
1394
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1395
|
+
*/
|
|
1396
|
+
readonly target?: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* The error details.
|
|
1399
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1400
|
+
*/
|
|
1401
|
+
readonly details?: ErrorResponseDetails[];
|
|
1402
|
+
/**
|
|
1403
|
+
* The error additional info.
|
|
1404
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1405
|
+
*/
|
|
1406
|
+
readonly additionalInfo?: ErrorResponseAdditionalInfo[];
|
|
1407
|
+
}
|
|
1408
|
+
/** The resource management error additional info. */
|
|
1409
|
+
export interface ErrorResponseAdditionalInfo {
|
|
1410
|
+
/**
|
|
1411
|
+
* The additional info type.
|
|
1412
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1413
|
+
*/
|
|
1414
|
+
readonly type?: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* The additional info.
|
|
1417
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1418
|
+
*/
|
|
1419
|
+
readonly info?: Record<string, unknown>;
|
|
1250
1420
|
}
|
|
1251
|
-
/** The
|
|
1252
|
-
export interface
|
|
1421
|
+
/** The scheduled query rule resource for patch operations. */
|
|
1422
|
+
export interface ScheduledQueryRuleResourcePatch {
|
|
1423
|
+
/** The identity of the resource. */
|
|
1424
|
+
identity?: Identity;
|
|
1253
1425
|
/** Resource tags */
|
|
1254
1426
|
tags?: {
|
|
1255
1427
|
[propertyName: string]: string;
|
|
1256
1428
|
};
|
|
1257
|
-
/**
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
/**
|
|
1263
|
-
|
|
1429
|
+
/**
|
|
1430
|
+
* The api-version used when creating this alert rule
|
|
1431
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1432
|
+
*/
|
|
1433
|
+
readonly createdWithApiVersion?: string;
|
|
1434
|
+
/**
|
|
1435
|
+
* True if alert rule is legacy Log Analytic rule
|
|
1436
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1437
|
+
*/
|
|
1438
|
+
readonly isLegacyLogAnalyticsRule?: boolean;
|
|
1439
|
+
/** The description of the scheduled query rule. */
|
|
1440
|
+
description?: string;
|
|
1441
|
+
/** The display name of the alert rule */
|
|
1442
|
+
displayName?: string;
|
|
1443
|
+
/** 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. */
|
|
1444
|
+
severity?: AlertSeverity;
|
|
1445
|
+
/** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
|
|
1446
|
+
enabled?: boolean;
|
|
1447
|
+
/** This determines if traffic is allowed over public network. By default it is enabled. */
|
|
1448
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
|
1449
|
+
/** The list of resource id's that this scheduled query rule is scoped to. */
|
|
1450
|
+
scopes?: string[];
|
|
1451
|
+
/** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
|
|
1452
|
+
evaluationFrequency?: string;
|
|
1453
|
+
/** 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. */
|
|
1454
|
+
windowSize?: string;
|
|
1455
|
+
/** If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert. */
|
|
1456
|
+
overrideQueryTimeRange?: string;
|
|
1457
|
+
/** 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 */
|
|
1458
|
+
targetResourceTypes?: string[];
|
|
1459
|
+
/** The rule criteria that defines the conditions of the scheduled query rule. */
|
|
1460
|
+
criteria?: ScheduledQueryRuleCriteria;
|
|
1461
|
+
/** 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. */
|
|
1462
|
+
muteActionsDuration?: string;
|
|
1463
|
+
/** Actions to invoke when the alert fires. */
|
|
1464
|
+
actions?: Actions;
|
|
1465
|
+
/**
|
|
1466
|
+
* The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
|
|
1467
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1468
|
+
*/
|
|
1469
|
+
readonly isWorkspaceAlertsStorageConfigured?: boolean;
|
|
1470
|
+
/** 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. */
|
|
1471
|
+
checkWorkspaceAlertsStorageConfigured?: boolean;
|
|
1472
|
+
/** 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. */
|
|
1473
|
+
skipQueryValidation?: boolean;
|
|
1474
|
+
/** 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. */
|
|
1475
|
+
autoMitigate?: boolean;
|
|
1476
|
+
/** Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert. */
|
|
1477
|
+
ruleResolveConfiguration?: RuleResolveConfiguration;
|
|
1264
1478
|
}
|
|
1265
1479
|
/** Represents collection of metric namespaces. */
|
|
1266
1480
|
export interface MetricNamespaceCollection {
|
|
@@ -2039,6 +2253,186 @@ export interface DataFlow {
|
|
|
2039
2253
|
/** The output stream of the transform. Only required if the transform changes data to a different stream. */
|
|
2040
2254
|
outputStream?: string;
|
|
2041
2255
|
}
|
|
2256
|
+
/** A pageable list of resources */
|
|
2257
|
+
export interface AzureMonitorWorkspaceResourceListResult {
|
|
2258
|
+
/** A list of resources */
|
|
2259
|
+
value: AzureMonitorWorkspaceResource[];
|
|
2260
|
+
/** The URL to use for getting the next set of results */
|
|
2261
|
+
nextLink?: string;
|
|
2262
|
+
}
|
|
2263
|
+
/** Properties of an Azure Monitor workspace */
|
|
2264
|
+
export interface AzureMonitorWorkspace {
|
|
2265
|
+
/**
|
|
2266
|
+
* The immutable ID of the Azure Monitor workspace. This property is read-only.
|
|
2267
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2268
|
+
*/
|
|
2269
|
+
readonly accountId?: string;
|
|
2270
|
+
/**
|
|
2271
|
+
* Information about metrics for the Azure Monitor workspace
|
|
2272
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2273
|
+
*/
|
|
2274
|
+
readonly metrics?: AzureMonitorWorkspaceMetrics;
|
|
2275
|
+
/**
|
|
2276
|
+
* The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
|
|
2277
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2278
|
+
*/
|
|
2279
|
+
readonly provisioningState?: ProvisioningState;
|
|
2280
|
+
/**
|
|
2281
|
+
* The Data Collection Rule and Endpoint used for ingestion by default.
|
|
2282
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2283
|
+
*/
|
|
2284
|
+
readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
|
|
2285
|
+
}
|
|
2286
|
+
/** Information about metrics for the workspace */
|
|
2287
|
+
export interface Metrics {
|
|
2288
|
+
/**
|
|
2289
|
+
* The Prometheus query endpoint for the workspace
|
|
2290
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2291
|
+
*/
|
|
2292
|
+
readonly prometheusQueryEndpoint?: string;
|
|
2293
|
+
/**
|
|
2294
|
+
* An internal identifier for the metrics container. Only to be used by the system
|
|
2295
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2296
|
+
*/
|
|
2297
|
+
readonly internalId?: string;
|
|
2298
|
+
}
|
|
2299
|
+
/** Settings for data ingestion */
|
|
2300
|
+
export interface IngestionSettings {
|
|
2301
|
+
/**
|
|
2302
|
+
* The Azure resource Id of the default data collection rule for this workspace.
|
|
2303
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2304
|
+
*/
|
|
2305
|
+
readonly dataCollectionRuleResourceId?: string;
|
|
2306
|
+
/**
|
|
2307
|
+
* The Azure resource Id of the default data collection endpoint for this workspace.
|
|
2308
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2309
|
+
*/
|
|
2310
|
+
readonly dataCollectionEndpointResourceId?: string;
|
|
2311
|
+
}
|
|
2312
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
2313
|
+
export interface ResourceAutoGenerated5 {
|
|
2314
|
+
/**
|
|
2315
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
2316
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2317
|
+
*/
|
|
2318
|
+
readonly id?: string;
|
|
2319
|
+
/**
|
|
2320
|
+
* The name of the resource
|
|
2321
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2322
|
+
*/
|
|
2323
|
+
readonly name?: string;
|
|
2324
|
+
/**
|
|
2325
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
2326
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2327
|
+
*/
|
|
2328
|
+
readonly type?: string;
|
|
2329
|
+
/**
|
|
2330
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
2331
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2332
|
+
*/
|
|
2333
|
+
readonly systemData?: SystemData;
|
|
2334
|
+
}
|
|
2335
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
2336
|
+
export interface ErrorResponseAutoGenerated2 {
|
|
2337
|
+
/** The error object. */
|
|
2338
|
+
error?: ErrorDetailAutoGenerated;
|
|
2339
|
+
}
|
|
2340
|
+
/** The error detail. */
|
|
2341
|
+
export interface ErrorDetailAutoGenerated {
|
|
2342
|
+
/**
|
|
2343
|
+
* The error code.
|
|
2344
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2345
|
+
*/
|
|
2346
|
+
readonly code?: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* The error message.
|
|
2349
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2350
|
+
*/
|
|
2351
|
+
readonly message?: string;
|
|
2352
|
+
/**
|
|
2353
|
+
* The error target.
|
|
2354
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2355
|
+
*/
|
|
2356
|
+
readonly target?: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* The error details.
|
|
2359
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2360
|
+
*/
|
|
2361
|
+
readonly details?: ErrorDetailAutoGenerated[];
|
|
2362
|
+
/**
|
|
2363
|
+
* The error additional info.
|
|
2364
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2365
|
+
*/
|
|
2366
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
2367
|
+
}
|
|
2368
|
+
/** Definition of ARM tracked top level resource properties for update operation */
|
|
2369
|
+
export interface AzureMonitorWorkspaceResourceForUpdate {
|
|
2370
|
+
/** Resource tags */
|
|
2371
|
+
tags?: {
|
|
2372
|
+
[propertyName: string]: string;
|
|
2373
|
+
};
|
|
2374
|
+
}
|
|
2375
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
2376
|
+
export interface OperationListResultAutoGenerated {
|
|
2377
|
+
/**
|
|
2378
|
+
* List of operations supported by the resource provider
|
|
2379
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2380
|
+
*/
|
|
2381
|
+
readonly value?: OperationAutoGenerated[];
|
|
2382
|
+
/**
|
|
2383
|
+
* URL to get the next set of operation list results (if there are any).
|
|
2384
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2385
|
+
*/
|
|
2386
|
+
readonly nextLink?: string;
|
|
2387
|
+
}
|
|
2388
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
2389
|
+
export interface OperationAutoGenerated {
|
|
2390
|
+
/**
|
|
2391
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
2392
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2393
|
+
*/
|
|
2394
|
+
readonly name?: string;
|
|
2395
|
+
/**
|
|
2396
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
2397
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2398
|
+
*/
|
|
2399
|
+
readonly isDataAction?: boolean;
|
|
2400
|
+
/** Localized display information for this particular operation. */
|
|
2401
|
+
display?: OperationDisplayAutoGenerated;
|
|
2402
|
+
/**
|
|
2403
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
2404
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2405
|
+
*/
|
|
2406
|
+
readonly origin?: Origin;
|
|
2407
|
+
/**
|
|
2408
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
2409
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2410
|
+
*/
|
|
2411
|
+
readonly actionType?: ActionType;
|
|
2412
|
+
}
|
|
2413
|
+
/** Localized display information for this particular operation. */
|
|
2414
|
+
export interface OperationDisplayAutoGenerated {
|
|
2415
|
+
/**
|
|
2416
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
2417
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2418
|
+
*/
|
|
2419
|
+
readonly provider?: string;
|
|
2420
|
+
/**
|
|
2421
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
2422
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2423
|
+
*/
|
|
2424
|
+
readonly resource?: string;
|
|
2425
|
+
/**
|
|
2426
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
2427
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2428
|
+
*/
|
|
2429
|
+
readonly operation?: string;
|
|
2430
|
+
/**
|
|
2431
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
2432
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2433
|
+
*/
|
|
2434
|
+
readonly description?: string;
|
|
2435
|
+
}
|
|
2042
2436
|
/** The claims for a rule management event data source. */
|
|
2043
2437
|
export interface RuleManagementEventClaimsDataSource {
|
|
2044
2438
|
/** the email address. */
|
|
@@ -2075,63 +2469,18 @@ export interface MultiMetricCriteria {
|
|
|
2075
2469
|
/** Specifies a metric dimension. */
|
|
2076
2470
|
export interface MetricDimension {
|
|
2077
2471
|
/** Name of the dimension. */
|
|
2078
|
-
name: string;
|
|
2079
|
-
/** the dimension operator. Only 'Include' and 'Exclude' are supported */
|
|
2080
|
-
operator: string;
|
|
2081
|
-
/** list of dimension values. */
|
|
2082
|
-
values: string[];
|
|
2083
|
-
}
|
|
2084
|
-
/** The minimum number of violations required within the selected lookback time window required to raise an alert. */
|
|
2085
|
-
export interface DynamicThresholdFailingPeriods {
|
|
2086
|
-
/** 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. */
|
|
2087
|
-
numberOfEvaluationPeriods: number;
|
|
2088
|
-
/** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. */
|
|
2089
|
-
minFailingPeriodsToAlert: number;
|
|
2090
|
-
}
|
|
2091
|
-
/** The condition that results in the Log Search rule. */
|
|
2092
|
-
export interface TriggerCondition {
|
|
2093
|
-
/** Evaluation operation for rule - 'GreaterThan' or 'LessThan. */
|
|
2094
|
-
thresholdOperator: ConditionalOperator;
|
|
2095
|
-
/** Result or count threshold based on which rule should be triggered. */
|
|
2096
|
-
threshold: number;
|
|
2097
|
-
/** Trigger condition for metric query rule */
|
|
2098
|
-
metricTrigger?: LogMetricTrigger;
|
|
2099
|
-
}
|
|
2100
|
-
/** A log metrics trigger descriptor. */
|
|
2101
|
-
export interface LogMetricTrigger {
|
|
2102
|
-
/** Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. */
|
|
2103
|
-
thresholdOperator?: ConditionalOperator;
|
|
2104
|
-
/** The threshold of the metric trigger. */
|
|
2105
|
-
threshold?: number;
|
|
2106
|
-
/** Metric Trigger Type - 'Consecutive' or 'Total' */
|
|
2107
|
-
metricTriggerType?: MetricTriggerType;
|
|
2108
|
-
/** Evaluation of metric on a particular column */
|
|
2109
|
-
metricColumn?: string;
|
|
2110
|
-
}
|
|
2111
|
-
/** Azure action group */
|
|
2112
|
-
export interface AzNsActionGroup {
|
|
2113
|
-
/** Azure Action Group reference. */
|
|
2114
|
-
actionGroup?: string[];
|
|
2115
|
-
/** Custom subject override for all email ids in Azure action group */
|
|
2116
|
-
emailSubject?: string;
|
|
2117
|
-
/** Custom payload to be sent for all webhook URI in Azure action group */
|
|
2118
|
-
customWebhookPayload?: string;
|
|
2119
|
-
}
|
|
2120
|
-
/** Specifies the criteria for converting log to metric. */
|
|
2121
|
-
export interface Dimension {
|
|
2122
|
-
/** Name of the dimension */
|
|
2123
|
-
name: string;
|
|
2124
|
-
/** Operator for dimension values */
|
|
2125
|
-
operator: Operator;
|
|
2126
|
-
/** List of dimension values */
|
|
2472
|
+
name: string;
|
|
2473
|
+
/** the dimension operator. Only 'Include' and 'Exclude' are supported */
|
|
2474
|
+
operator: string;
|
|
2475
|
+
/** list of dimension values. */
|
|
2127
2476
|
values: string[];
|
|
2128
2477
|
}
|
|
2129
|
-
/**
|
|
2130
|
-
export interface
|
|
2131
|
-
/**
|
|
2132
|
-
|
|
2133
|
-
/**
|
|
2134
|
-
|
|
2478
|
+
/** The minimum number of violations required within the selected lookback time window required to raise an alert. */
|
|
2479
|
+
export interface DynamicThresholdFailingPeriods {
|
|
2480
|
+
/** 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. */
|
|
2481
|
+
numberOfEvaluationPeriods: number;
|
|
2482
|
+
/** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. */
|
|
2483
|
+
minFailingPeriodsToAlert: number;
|
|
2135
2484
|
}
|
|
2136
2485
|
/** The autoscale setting resource. */
|
|
2137
2486
|
export interface AutoscaleSettingResource extends Resource {
|
|
@@ -2439,63 +2788,6 @@ export interface MetricAlertResource extends ResourceAutoGenerated4 {
|
|
|
2439
2788
|
*/
|
|
2440
2789
|
readonly isMigrated?: boolean;
|
|
2441
2790
|
}
|
|
2442
|
-
/** Specify action need to be taken when rule type is Alert */
|
|
2443
|
-
export interface AlertingAction extends Action {
|
|
2444
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2445
|
-
odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
|
|
2446
|
-
/** Severity of the alert */
|
|
2447
|
-
severity: AlertSeverity;
|
|
2448
|
-
/** Azure action group reference. */
|
|
2449
|
-
aznsAction?: AzNsActionGroup;
|
|
2450
|
-
/** time (in minutes) for which Alerts should be throttled or suppressed. */
|
|
2451
|
-
throttlingInMin?: number;
|
|
2452
|
-
/** The trigger condition that results in the alert rule being. */
|
|
2453
|
-
trigger: TriggerCondition;
|
|
2454
|
-
}
|
|
2455
|
-
/** Specify action need to be taken when rule type is converting log to metric */
|
|
2456
|
-
export interface LogToMetricAction extends Action {
|
|
2457
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2458
|
-
odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
|
|
2459
|
-
/** Criteria of Metric */
|
|
2460
|
-
criteria: Criteria[];
|
|
2461
|
-
}
|
|
2462
|
-
/** The Log Search Rule resource. */
|
|
2463
|
-
export interface LogSearchRuleResource extends ResourceAutoGenerated5 {
|
|
2464
|
-
/**
|
|
2465
|
-
* The api-version used when creating this alert rule
|
|
2466
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2467
|
-
*/
|
|
2468
|
-
readonly createdWithApiVersion?: string;
|
|
2469
|
-
/**
|
|
2470
|
-
* True if alert rule is legacy Log Analytic rule
|
|
2471
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2472
|
-
*/
|
|
2473
|
-
readonly isLegacyLogAnalyticsRule?: boolean;
|
|
2474
|
-
/** The description of the Log Search rule. */
|
|
2475
|
-
description?: string;
|
|
2476
|
-
/** The display name of the alert rule */
|
|
2477
|
-
displayName?: string;
|
|
2478
|
-
/** The flag that indicates whether the alert should be automatically resolved or not. The default is false. */
|
|
2479
|
-
autoMitigate?: boolean;
|
|
2480
|
-
/** The flag which indicates whether the Log Search rule is enabled. Value should be true or false */
|
|
2481
|
-
enabled?: Enabled;
|
|
2482
|
-
/**
|
|
2483
|
-
* Last time the rule was updated in IS08601 format.
|
|
2484
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2485
|
-
*/
|
|
2486
|
-
readonly lastUpdatedTime?: Date;
|
|
2487
|
-
/**
|
|
2488
|
-
* Provisioning state of the scheduled query rule
|
|
2489
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2490
|
-
*/
|
|
2491
|
-
readonly provisioningState?: ProvisioningState;
|
|
2492
|
-
/** Data Source against which rule will Query Data */
|
|
2493
|
-
source: Source;
|
|
2494
|
-
/** Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction */
|
|
2495
|
-
schedule?: Schedule;
|
|
2496
|
-
/** Action needs to be taken on rule execution. */
|
|
2497
|
-
action: ActionUnion;
|
|
2498
|
-
}
|
|
2499
2791
|
/** VM Insights onboarding status for a resource. */
|
|
2500
2792
|
export interface VMInsightsOnboardingStatus extends ProxyResource {
|
|
2501
2793
|
/** Azure Resource Manager identifier of the resource whose onboarding status is being represented. */
|
|
@@ -2576,6 +2868,24 @@ export interface DataCollectionRuleDestinations extends DestinationsSpec {
|
|
|
2576
2868
|
/** Azure Monitor Metrics destination. */
|
|
2577
2869
|
export interface DestinationsSpecAzureMonitorMetrics extends AzureMonitorMetricsDestination {
|
|
2578
2870
|
}
|
|
2871
|
+
/** Resource properties */
|
|
2872
|
+
export interface AzureMonitorWorkspaceResourceProperties extends AzureMonitorWorkspace {
|
|
2873
|
+
}
|
|
2874
|
+
/** Information about metrics for the Azure Monitor workspace */
|
|
2875
|
+
export interface AzureMonitorWorkspaceMetrics extends Metrics {
|
|
2876
|
+
}
|
|
2877
|
+
/** The Data Collection Rule and Endpoint used for ingestion by default. */
|
|
2878
|
+
export interface AzureMonitorWorkspaceDefaultIngestionSettings extends IngestionSettings {
|
|
2879
|
+
}
|
|
2880
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
2881
|
+
export interface TrackedResourceAutoGenerated extends ResourceAutoGenerated5 {
|
|
2882
|
+
/** Resource tags. */
|
|
2883
|
+
tags?: {
|
|
2884
|
+
[propertyName: string]: string;
|
|
2885
|
+
};
|
|
2886
|
+
/** The geo-location where the resource lives */
|
|
2887
|
+
location: string;
|
|
2888
|
+
}
|
|
2579
2889
|
/** Criterion to filter metrics. */
|
|
2580
2890
|
export interface MetricCriteria extends MultiMetricCriteria {
|
|
2581
2891
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -2633,6 +2943,34 @@ export interface ScopedResource extends ProxyResourceAutoGenerated {
|
|
|
2633
2943
|
*/
|
|
2634
2944
|
readonly provisioningState?: string;
|
|
2635
2945
|
}
|
|
2946
|
+
/** An Azure Monitor Workspace definition */
|
|
2947
|
+
export interface AzureMonitorWorkspaceResource extends TrackedResourceAutoGenerated {
|
|
2948
|
+
/**
|
|
2949
|
+
* Resource entity tag (ETag)
|
|
2950
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2951
|
+
*/
|
|
2952
|
+
readonly etag?: string;
|
|
2953
|
+
/**
|
|
2954
|
+
* The immutable ID of the Azure Monitor workspace. This property is read-only.
|
|
2955
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2956
|
+
*/
|
|
2957
|
+
readonly accountId?: string;
|
|
2958
|
+
/**
|
|
2959
|
+
* Information about metrics for the Azure Monitor workspace
|
|
2960
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2961
|
+
*/
|
|
2962
|
+
readonly metrics?: AzureMonitorWorkspaceMetrics;
|
|
2963
|
+
/**
|
|
2964
|
+
* The provisioning state of the Azure Monitor workspace. Set to Succeeded if everything is healthy.
|
|
2965
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2966
|
+
*/
|
|
2967
|
+
readonly provisioningState?: ProvisioningState;
|
|
2968
|
+
/**
|
|
2969
|
+
* The Data Collection Rule and Endpoint used for ingestion by default.
|
|
2970
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2971
|
+
*/
|
|
2972
|
+
readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
|
|
2973
|
+
}
|
|
2636
2974
|
/** Defines headers for ActionGroups_postTestNotifications operation. */
|
|
2637
2975
|
export interface ActionGroupsPostTestNotificationsHeaders {
|
|
2638
2976
|
/** The location header that has the polling uri. */
|
|
@@ -2814,57 +3152,107 @@ export declare enum KnownOdatatype {
|
|
|
2814
3152
|
* **Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria**
|
|
2815
3153
|
*/
|
|
2816
3154
|
export declare type Odatatype = string;
|
|
2817
|
-
/** Known values of {@link
|
|
2818
|
-
export declare enum
|
|
2819
|
-
/**
|
|
2820
|
-
|
|
2821
|
-
/**
|
|
2822
|
-
|
|
3155
|
+
/** Known values of {@link Kind} that the service accepts. */
|
|
3156
|
+
export declare enum KnownKind {
|
|
3157
|
+
/** LogAlert */
|
|
3158
|
+
LogAlert = "LogAlert",
|
|
3159
|
+
/** LogToMetric */
|
|
3160
|
+
LogToMetric = "LogToMetric"
|
|
2823
3161
|
}
|
|
2824
3162
|
/**
|
|
2825
|
-
* Defines values for
|
|
2826
|
-
* {@link
|
|
3163
|
+
* Defines values for Kind. \
|
|
3164
|
+
* {@link KnownKind} can be used interchangeably with Kind,
|
|
2827
3165
|
* this enum contains the known values that the service supports.
|
|
2828
3166
|
* ### Known values supported by the service
|
|
2829
|
-
* **
|
|
2830
|
-
* **
|
|
3167
|
+
* **LogAlert** \
|
|
3168
|
+
* **LogToMetric**
|
|
2831
3169
|
*/
|
|
2832
|
-
export declare type
|
|
2833
|
-
/** Known values of {@link
|
|
2834
|
-
export declare enum
|
|
2835
|
-
/**
|
|
2836
|
-
|
|
2837
|
-
/**
|
|
2838
|
-
|
|
2839
|
-
/**
|
|
2840
|
-
|
|
2841
|
-
/**
|
|
2842
|
-
|
|
3170
|
+
export declare type Kind = string;
|
|
3171
|
+
/** Known values of {@link AlertSeverity} that the service accepts. */
|
|
3172
|
+
export declare enum KnownAlertSeverity {
|
|
3173
|
+
/** Zero */
|
|
3174
|
+
Zero = 0,
|
|
3175
|
+
/** One */
|
|
3176
|
+
One = 1,
|
|
3177
|
+
/** Two */
|
|
3178
|
+
Two = 2,
|
|
3179
|
+
/** Three */
|
|
3180
|
+
Three = 3,
|
|
3181
|
+
/** Four */
|
|
3182
|
+
Four = 4
|
|
2843
3183
|
}
|
|
2844
3184
|
/**
|
|
2845
|
-
* Defines values for
|
|
2846
|
-
* {@link
|
|
3185
|
+
* Defines values for AlertSeverity. \
|
|
3186
|
+
* {@link KnownAlertSeverity} can be used interchangeably with AlertSeverity,
|
|
2847
3187
|
* this enum contains the known values that the service supports.
|
|
2848
3188
|
* ### Known values supported by the service
|
|
2849
|
-
* **
|
|
2850
|
-
* **
|
|
2851
|
-
* **
|
|
2852
|
-
* **
|
|
3189
|
+
* **0** \
|
|
3190
|
+
* **1** \
|
|
3191
|
+
* **2** \
|
|
3192
|
+
* **3** \
|
|
3193
|
+
* **4**
|
|
2853
3194
|
*/
|
|
2854
|
-
export declare type
|
|
2855
|
-
/** Known values of {@link
|
|
2856
|
-
export declare enum
|
|
2857
|
-
/**
|
|
2858
|
-
|
|
3195
|
+
export declare type AlertSeverity = number;
|
|
3196
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
3197
|
+
export declare enum KnownPublicNetworkAccess {
|
|
3198
|
+
/** Enabled */
|
|
3199
|
+
Enabled = "Enabled",
|
|
3200
|
+
/** Disabled */
|
|
3201
|
+
Disabled = "Disabled",
|
|
3202
|
+
/** SecuredByPerimeter */
|
|
3203
|
+
SecuredByPerimeter = "SecuredByPerimeter"
|
|
2859
3204
|
}
|
|
2860
3205
|
/**
|
|
2861
|
-
* Defines values for
|
|
2862
|
-
* {@link
|
|
3206
|
+
* Defines values for PublicNetworkAccess. \
|
|
3207
|
+
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
|
|
2863
3208
|
* this enum contains the known values that the service supports.
|
|
2864
3209
|
* ### Known values supported by the service
|
|
2865
|
-
* **
|
|
3210
|
+
* **Enabled** \
|
|
3211
|
+
* **Disabled** \
|
|
3212
|
+
* **SecuredByPerimeter**
|
|
3213
|
+
*/
|
|
3214
|
+
export declare type PublicNetworkAccess = string;
|
|
3215
|
+
/** Known values of {@link TimeAggregation} that the service accepts. */
|
|
3216
|
+
export declare enum KnownTimeAggregation {
|
|
3217
|
+
/** Count */
|
|
3218
|
+
Count = "Count",
|
|
3219
|
+
/** Average */
|
|
3220
|
+
Average = "Average",
|
|
3221
|
+
/** Minimum */
|
|
3222
|
+
Minimum = "Minimum",
|
|
3223
|
+
/** Maximum */
|
|
3224
|
+
Maximum = "Maximum",
|
|
3225
|
+
/** Total */
|
|
3226
|
+
Total = "Total"
|
|
3227
|
+
}
|
|
3228
|
+
/**
|
|
3229
|
+
* Defines values for TimeAggregation. \
|
|
3230
|
+
* {@link KnownTimeAggregation} can be used interchangeably with TimeAggregation,
|
|
3231
|
+
* this enum contains the known values that the service supports.
|
|
3232
|
+
* ### Known values supported by the service
|
|
3233
|
+
* **Count** \
|
|
3234
|
+
* **Average** \
|
|
3235
|
+
* **Minimum** \
|
|
3236
|
+
* **Maximum** \
|
|
3237
|
+
* **Total**
|
|
3238
|
+
*/
|
|
3239
|
+
export declare type TimeAggregation = string;
|
|
3240
|
+
/** Known values of {@link DimensionOperator} that the service accepts. */
|
|
3241
|
+
export declare enum KnownDimensionOperator {
|
|
3242
|
+
/** Include */
|
|
3243
|
+
Include = "Include",
|
|
3244
|
+
/** Exclude */
|
|
3245
|
+
Exclude = "Exclude"
|
|
3246
|
+
}
|
|
3247
|
+
/**
|
|
3248
|
+
* Defines values for DimensionOperator. \
|
|
3249
|
+
* {@link KnownDimensionOperator} can be used interchangeably with DimensionOperator,
|
|
3250
|
+
* this enum contains the known values that the service supports.
|
|
3251
|
+
* ### Known values supported by the service
|
|
3252
|
+
* **Include** \
|
|
3253
|
+
* **Exclude**
|
|
2866
3254
|
*/
|
|
2867
|
-
export declare type
|
|
3255
|
+
export declare type DimensionOperator = string;
|
|
2868
3256
|
/** Known values of {@link NamespaceClassification} that the service accepts. */
|
|
2869
3257
|
export declare enum KnownNamespaceClassification {
|
|
2870
3258
|
/** Platform */
|
|
@@ -3385,6 +3773,63 @@ export declare enum KnownKnownDataCollectionRuleResourceKind {
|
|
|
3385
3773
|
* **Windows**
|
|
3386
3774
|
*/
|
|
3387
3775
|
export declare type KnownDataCollectionRuleResourceKind = string;
|
|
3776
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
3777
|
+
export declare enum KnownProvisioningState {
|
|
3778
|
+
/** Creating */
|
|
3779
|
+
Creating = "Creating",
|
|
3780
|
+
/** Succeeded */
|
|
3781
|
+
Succeeded = "Succeeded",
|
|
3782
|
+
/** Deleting */
|
|
3783
|
+
Deleting = "Deleting",
|
|
3784
|
+
/** Failed */
|
|
3785
|
+
Failed = "Failed",
|
|
3786
|
+
/** Canceled */
|
|
3787
|
+
Canceled = "Canceled"
|
|
3788
|
+
}
|
|
3789
|
+
/**
|
|
3790
|
+
* Defines values for ProvisioningState. \
|
|
3791
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
3792
|
+
* this enum contains the known values that the service supports.
|
|
3793
|
+
* ### Known values supported by the service
|
|
3794
|
+
* **Creating** \
|
|
3795
|
+
* **Succeeded** \
|
|
3796
|
+
* **Deleting** \
|
|
3797
|
+
* **Failed** \
|
|
3798
|
+
* **Canceled**
|
|
3799
|
+
*/
|
|
3800
|
+
export declare type ProvisioningState = string;
|
|
3801
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
3802
|
+
export declare enum KnownOrigin {
|
|
3803
|
+
/** User */
|
|
3804
|
+
User = "user",
|
|
3805
|
+
/** System */
|
|
3806
|
+
System = "system",
|
|
3807
|
+
/** UserSystem */
|
|
3808
|
+
UserSystem = "user,system"
|
|
3809
|
+
}
|
|
3810
|
+
/**
|
|
3811
|
+
* Defines values for Origin. \
|
|
3812
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
3813
|
+
* this enum contains the known values that the service supports.
|
|
3814
|
+
* ### Known values supported by the service
|
|
3815
|
+
* **user** \
|
|
3816
|
+
* **system** \
|
|
3817
|
+
* **user,system**
|
|
3818
|
+
*/
|
|
3819
|
+
export declare type Origin = string;
|
|
3820
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
3821
|
+
export declare enum KnownActionType {
|
|
3822
|
+
/** Internal */
|
|
3823
|
+
Internal = "Internal"
|
|
3824
|
+
}
|
|
3825
|
+
/**
|
|
3826
|
+
* Defines values for ActionType. \
|
|
3827
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
3828
|
+
* this enum contains the known values that the service supports.
|
|
3829
|
+
* ### Known values supported by the service
|
|
3830
|
+
* **Internal**
|
|
3831
|
+
*/
|
|
3832
|
+
export declare type ActionType = string;
|
|
3388
3833
|
/** Known values of {@link Operator} that the service accepts. */
|
|
3389
3834
|
export declare enum KnownOperator {
|
|
3390
3835
|
/** Equals */
|
|
@@ -3396,9 +3841,7 @@ export declare enum KnownOperator {
|
|
|
3396
3841
|
/** LessThan */
|
|
3397
3842
|
LessThan = "LessThan",
|
|
3398
3843
|
/** LessThanOrEqual */
|
|
3399
|
-
LessThanOrEqual = "LessThanOrEqual"
|
|
3400
|
-
/** Include */
|
|
3401
|
-
Include = "Include"
|
|
3844
|
+
LessThanOrEqual = "LessThanOrEqual"
|
|
3402
3845
|
}
|
|
3403
3846
|
/**
|
|
3404
3847
|
* Defines values for Operator. \
|
|
@@ -3409,8 +3852,7 @@ export declare enum KnownOperator {
|
|
|
3409
3852
|
* **GreaterThan** \
|
|
3410
3853
|
* **GreaterThanOrEqual** \
|
|
3411
3854
|
* **LessThan** \
|
|
3412
|
-
* **LessThanOrEqual**
|
|
3413
|
-
* **Include**
|
|
3855
|
+
* **LessThanOrEqual**
|
|
3414
3856
|
*/
|
|
3415
3857
|
export declare type Operator = string;
|
|
3416
3858
|
/** Known values of {@link CriterionType} that the service accepts. */
|
|
@@ -3492,72 +3934,6 @@ export declare enum KnownDynamicThresholdSensitivity {
|
|
|
3492
3934
|
* **High**
|
|
3493
3935
|
*/
|
|
3494
3936
|
export declare type DynamicThresholdSensitivity = string;
|
|
3495
|
-
/** Known values of {@link ConditionalOperator} that the service accepts. */
|
|
3496
|
-
export declare enum KnownConditionalOperator {
|
|
3497
|
-
/** GreaterThanOrEqual */
|
|
3498
|
-
GreaterThanOrEqual = "GreaterThanOrEqual",
|
|
3499
|
-
/** LessThanOrEqual */
|
|
3500
|
-
LessThanOrEqual = "LessThanOrEqual",
|
|
3501
|
-
/** GreaterThan */
|
|
3502
|
-
GreaterThan = "GreaterThan",
|
|
3503
|
-
/** LessThan */
|
|
3504
|
-
LessThan = "LessThan",
|
|
3505
|
-
/** Equal */
|
|
3506
|
-
Equal = "Equal"
|
|
3507
|
-
}
|
|
3508
|
-
/**
|
|
3509
|
-
* Defines values for ConditionalOperator. \
|
|
3510
|
-
* {@link KnownConditionalOperator} can be used interchangeably with ConditionalOperator,
|
|
3511
|
-
* this enum contains the known values that the service supports.
|
|
3512
|
-
* ### Known values supported by the service
|
|
3513
|
-
* **GreaterThanOrEqual** \
|
|
3514
|
-
* **LessThanOrEqual** \
|
|
3515
|
-
* **GreaterThan** \
|
|
3516
|
-
* **LessThan** \
|
|
3517
|
-
* **Equal**
|
|
3518
|
-
*/
|
|
3519
|
-
export declare type ConditionalOperator = string;
|
|
3520
|
-
/** Known values of {@link MetricTriggerType} that the service accepts. */
|
|
3521
|
-
export declare enum KnownMetricTriggerType {
|
|
3522
|
-
/** Consecutive */
|
|
3523
|
-
Consecutive = "Consecutive",
|
|
3524
|
-
/** Total */
|
|
3525
|
-
Total = "Total"
|
|
3526
|
-
}
|
|
3527
|
-
/**
|
|
3528
|
-
* Defines values for MetricTriggerType. \
|
|
3529
|
-
* {@link KnownMetricTriggerType} can be used interchangeably with MetricTriggerType,
|
|
3530
|
-
* this enum contains the known values that the service supports.
|
|
3531
|
-
* ### Known values supported by the service
|
|
3532
|
-
* **Consecutive** \
|
|
3533
|
-
* **Total**
|
|
3534
|
-
*/
|
|
3535
|
-
export declare type MetricTriggerType = string;
|
|
3536
|
-
/** Known values of {@link AlertSeverity} that the service accepts. */
|
|
3537
|
-
export declare enum KnownAlertSeverity {
|
|
3538
|
-
/** Zero */
|
|
3539
|
-
Zero = "0",
|
|
3540
|
-
/** One */
|
|
3541
|
-
One = "1",
|
|
3542
|
-
/** Two */
|
|
3543
|
-
Two = "2",
|
|
3544
|
-
/** Three */
|
|
3545
|
-
Three = "3",
|
|
3546
|
-
/** Four */
|
|
3547
|
-
Four = "4"
|
|
3548
|
-
}
|
|
3549
|
-
/**
|
|
3550
|
-
* Defines values for AlertSeverity. \
|
|
3551
|
-
* {@link KnownAlertSeverity} can be used interchangeably with AlertSeverity,
|
|
3552
|
-
* this enum contains the known values that the service supports.
|
|
3553
|
-
* ### Known values supported by the service
|
|
3554
|
-
* **0** \
|
|
3555
|
-
* **1** \
|
|
3556
|
-
* **2** \
|
|
3557
|
-
* **3** \
|
|
3558
|
-
* **4**
|
|
3559
|
-
*/
|
|
3560
|
-
export declare type AlertSeverity = string;
|
|
3561
3937
|
/** Defines values for MetricStatisticType. */
|
|
3562
3938
|
export declare type MetricStatisticType = "Average" | "Min" | "Max" | "Sum" | "Count";
|
|
3563
3939
|
/** Defines values for TimeAggregationType. */
|
|
@@ -3580,8 +3956,10 @@ export declare type EventLevel = "Critical" | "Error" | "Warning" | "Information
|
|
|
3580
3956
|
export declare type AggregationType = "None" | "Average" | "Count" | "Minimum" | "Maximum" | "Total";
|
|
3581
3957
|
/** Defines values for ResultType. */
|
|
3582
3958
|
export declare type ResultType = "Data" | "Metadata";
|
|
3959
|
+
/** Defines values for IdentityType. */
|
|
3960
|
+
export declare type IdentityType = "SystemAssigned" | "UserAssigned" | "None";
|
|
3583
3961
|
/** Defines values for ConditionOperator. */
|
|
3584
|
-
export declare type ConditionOperator = "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual";
|
|
3962
|
+
export declare type ConditionOperator = "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual" | "Equals";
|
|
3585
3963
|
/** Defines values for TimeAggregationOperator. */
|
|
3586
3964
|
export declare type TimeAggregationOperator = "Average" | "Minimum" | "Maximum" | "Total" | "Last";
|
|
3587
3965
|
/** Optional parameters. */
|
|
@@ -3803,8 +4181,6 @@ export interface ActivityLogsListOptionalParams extends coreClient.OperationOpti
|
|
|
3803
4181
|
export declare type ActivityLogsListResponse = EventDataCollection;
|
|
3804
4182
|
/** Optional parameters. */
|
|
3805
4183
|
export interface ActivityLogsListNextOptionalParams extends coreClient.OperationOptions {
|
|
3806
|
-
/** Used to fetch events with only the given properties.<br>The **$select** argument is a comma separated list of property names to be returned. Possible values are: *authorization*, *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*, *operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*, *status*, *submissionTimestamp*, *subStatus*, *subscriptionId* */
|
|
3807
|
-
select?: string;
|
|
3808
4184
|
}
|
|
3809
4185
|
/** Contains response data for the listNext operation. */
|
|
3810
4186
|
export declare type ActivityLogsListNextResponse = EventDataCollection;
|
|
@@ -3824,10 +4200,6 @@ export interface TenantActivityLogsListOptionalParams extends coreClient.Operati
|
|
|
3824
4200
|
export declare type TenantActivityLogsListResponse = EventDataCollection;
|
|
3825
4201
|
/** Optional parameters. */
|
|
3826
4202
|
export interface TenantActivityLogsListNextOptionalParams extends coreClient.OperationOptions {
|
|
3827
|
-
/** Used to fetch events with only the given properties.<br>The **$select** argument is a comma separated list of property names to be returned. Possible values are: *authorization*, *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*, *operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*, *status*, *submissionTimestamp*, *subStatus*, *subscriptionId* */
|
|
3828
|
-
select?: string;
|
|
3829
|
-
/** Reduces the set of data collected. <br>The **$filter** is very restricted and allows only the following patterns.<br>- List events for a resource group: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceGroupName eq '<ResourceGroupName>'.<br>- List events for resource: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceUri eq '<ResourceURI>'.<br>- List events for a subscription: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation'.<br>- List events for a resource provider: $filter=eventTimestamp ge '<Start Time>' and eventTimestamp le '<End Time>' and eventChannels eq 'Admin, Operation' and resourceProvider eq '<ResourceProviderName>'.<br>- List events for a correlation Id: api-version=2014-04-01&$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and eventChannels eq 'Admin, Operation' and correlationId eq '<CorrelationID>'.<br>**NOTE**: No other syntax is allowed. */
|
|
3830
|
-
filter?: string;
|
|
3831
4203
|
}
|
|
3832
4204
|
/** Contains response data for the listNext operation. */
|
|
3833
4205
|
export declare type TenantActivityLogsListNextResponse = EventDataCollection;
|
|
@@ -3929,37 +4301,43 @@ export interface MetricAlertsStatusListByNameOptionalParams extends coreClient.O
|
|
|
3929
4301
|
/** Contains response data for the listByName operation. */
|
|
3930
4302
|
export declare type MetricAlertsStatusListByNameResponse = MetricAlertStatusCollection;
|
|
3931
4303
|
/** Optional parameters. */
|
|
3932
|
-
export interface
|
|
4304
|
+
export interface ScheduledQueryRulesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
3933
4305
|
}
|
|
3934
|
-
/** Contains response data for the
|
|
3935
|
-
export declare type
|
|
4306
|
+
/** Contains response data for the listBySubscription operation. */
|
|
4307
|
+
export declare type ScheduledQueryRulesListBySubscriptionResponse = ScheduledQueryRuleResourceCollection;
|
|
4308
|
+
/** Optional parameters. */
|
|
4309
|
+
export interface ScheduledQueryRulesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
4310
|
+
}
|
|
4311
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
4312
|
+
export declare type ScheduledQueryRulesListByResourceGroupResponse = ScheduledQueryRuleResourceCollection;
|
|
3936
4313
|
/** Optional parameters. */
|
|
3937
4314
|
export interface ScheduledQueryRulesGetOptionalParams extends coreClient.OperationOptions {
|
|
3938
4315
|
}
|
|
3939
4316
|
/** Contains response data for the get operation. */
|
|
3940
|
-
export declare type ScheduledQueryRulesGetResponse =
|
|
4317
|
+
export declare type ScheduledQueryRulesGetResponse = ScheduledQueryRuleResource;
|
|
4318
|
+
/** Optional parameters. */
|
|
4319
|
+
export interface ScheduledQueryRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
4320
|
+
}
|
|
4321
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
4322
|
+
export declare type ScheduledQueryRulesCreateOrUpdateResponse = ScheduledQueryRuleResource;
|
|
3941
4323
|
/** Optional parameters. */
|
|
3942
4324
|
export interface ScheduledQueryRulesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3943
4325
|
}
|
|
3944
4326
|
/** Contains response data for the update operation. */
|
|
3945
|
-
export declare type ScheduledQueryRulesUpdateResponse =
|
|
4327
|
+
export declare type ScheduledQueryRulesUpdateResponse = ScheduledQueryRuleResource;
|
|
3946
4328
|
/** Optional parameters. */
|
|
3947
4329
|
export interface ScheduledQueryRulesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3948
4330
|
}
|
|
3949
4331
|
/** Optional parameters. */
|
|
3950
|
-
export interface
|
|
3951
|
-
/** The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx */
|
|
3952
|
-
filter?: string;
|
|
4332
|
+
export interface ScheduledQueryRulesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
3953
4333
|
}
|
|
3954
|
-
/** Contains response data for the
|
|
3955
|
-
export declare type
|
|
4334
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
4335
|
+
export declare type ScheduledQueryRulesListBySubscriptionNextResponse = ScheduledQueryRuleResourceCollection;
|
|
3956
4336
|
/** Optional parameters. */
|
|
3957
|
-
export interface
|
|
3958
|
-
/** The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx */
|
|
3959
|
-
filter?: string;
|
|
4337
|
+
export interface ScheduledQueryRulesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
3960
4338
|
}
|
|
3961
|
-
/** Contains response data for the
|
|
3962
|
-
export declare type
|
|
4339
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
4340
|
+
export declare type ScheduledQueryRulesListByResourceGroupNextResponse = ScheduledQueryRuleResourceCollection;
|
|
3963
4341
|
/** Optional parameters. */
|
|
3964
4342
|
export interface MetricNamespacesListOptionalParams extends coreClient.OperationOptions {
|
|
3965
4343
|
/** The ISO 8601 conform Date start time from which to query for metric namespaces. */
|
|
@@ -4254,6 +4632,56 @@ export interface DataCollectionRulesListBySubscriptionNextOptionalParams extends
|
|
|
4254
4632
|
/** Contains response data for the listBySubscriptionNext operation. */
|
|
4255
4633
|
export declare type DataCollectionRulesListBySubscriptionNextResponse = DataCollectionRuleResourceListResult;
|
|
4256
4634
|
/** Optional parameters. */
|
|
4635
|
+
export interface AzureMonitorWorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
4636
|
+
}
|
|
4637
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
4638
|
+
export declare type AzureMonitorWorkspacesListByResourceGroupResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4639
|
+
/** Optional parameters. */
|
|
4640
|
+
export interface AzureMonitorWorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
4641
|
+
}
|
|
4642
|
+
/** Contains response data for the listBySubscription operation. */
|
|
4643
|
+
export declare type AzureMonitorWorkspacesListBySubscriptionResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4644
|
+
/** Optional parameters. */
|
|
4645
|
+
export interface AzureMonitorWorkspacesGetOptionalParams extends coreClient.OperationOptions {
|
|
4646
|
+
}
|
|
4647
|
+
/** Contains response data for the get operation. */
|
|
4648
|
+
export declare type AzureMonitorWorkspacesGetResponse = AzureMonitorWorkspaceResource;
|
|
4649
|
+
/** Optional parameters. */
|
|
4650
|
+
export interface AzureMonitorWorkspacesCreateOptionalParams extends coreClient.OperationOptions {
|
|
4651
|
+
}
|
|
4652
|
+
/** Contains response data for the create operation. */
|
|
4653
|
+
export declare type AzureMonitorWorkspacesCreateResponse = AzureMonitorWorkspaceResource;
|
|
4654
|
+
/** Optional parameters. */
|
|
4655
|
+
export interface AzureMonitorWorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
4656
|
+
/** The payload */
|
|
4657
|
+
azureMonitorWorkspaceProperties?: AzureMonitorWorkspaceResourceForUpdate;
|
|
4658
|
+
}
|
|
4659
|
+
/** Contains response data for the update operation. */
|
|
4660
|
+
export declare type AzureMonitorWorkspacesUpdateResponse = AzureMonitorWorkspaceResource;
|
|
4661
|
+
/** Optional parameters. */
|
|
4662
|
+
export interface AzureMonitorWorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
4663
|
+
}
|
|
4664
|
+
/** Optional parameters. */
|
|
4665
|
+
export interface AzureMonitorWorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
4666
|
+
}
|
|
4667
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
4668
|
+
export declare type AzureMonitorWorkspacesListByResourceGroupNextResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4669
|
+
/** Optional parameters. */
|
|
4670
|
+
export interface AzureMonitorWorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
4671
|
+
}
|
|
4672
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
4673
|
+
export declare type AzureMonitorWorkspacesListBySubscriptionNextResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4674
|
+
/** Optional parameters. */
|
|
4675
|
+
export interface MonitorOperationsListOptionalParams extends coreClient.OperationOptions {
|
|
4676
|
+
}
|
|
4677
|
+
/** Contains response data for the list operation. */
|
|
4678
|
+
export declare type MonitorOperationsListResponse = OperationListResultAutoGenerated;
|
|
4679
|
+
/** Optional parameters. */
|
|
4680
|
+
export interface MonitorOperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
4681
|
+
}
|
|
4682
|
+
/** Contains response data for the listNext operation. */
|
|
4683
|
+
export declare type MonitorOperationsListNextResponse = OperationListResultAutoGenerated;
|
|
4684
|
+
/** Optional parameters. */
|
|
4257
4685
|
export interface MonitorClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
4258
4686
|
/** server parameter */
|
|
4259
4687
|
$host?: string;
|