@azure/arm-monitor 8.0.0-alpha.20240321.1 → 8.0.0-alpha.20240417.1
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 +362 -1
- package/LICENSE +1 -1
- package/dist/index.js +11127 -9050
- 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 +26 -26
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js +25 -25
- package/dist-esm/samples-dev/actionGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js +1 -1
- package/dist-esm/samples-dev/actionGroupsGetSample.js +1 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js +1 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js +2 -2
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js +21 -21
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js +1 -1
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/activityLogsListSample.js +3 -3
- package/dist-esm/samples-dev/activityLogsListSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js +1 -1
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesUpdateSample.js +4 -4
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +23 -23
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +24 -24
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js +7 -7
- package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js +6 -6
- package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js +5 -5
- package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js +6 -6
- package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js +6 -6
- package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js +8 -10
- package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/baselinesListSample.js +3 -5
- package/dist-esm/samples-dev/baselinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/createNotificationsAtTenantActionGroupResourceLevelSample.d.ts +2 -0
- package/dist-esm/samples-dev/createNotificationsAtTenantActionGroupResourceLevelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/createNotificationsAtTenantActionGroupResourceLevelSample.js +87 -0
- package/dist-esm/samples-dev/createNotificationsAtTenantActionGroupResourceLevelSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js +3 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js +4 -6
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js +2 -4
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js +2 -4
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js +2 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js +3 -5
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js +2 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js +21 -21
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesGetSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js +2 -2
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +1 -3
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +2 -4
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +12 -16
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +1 -3
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +2 -6
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js +4 -8
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/eventCategoriesListSample.js +2 -4
- package/dist-esm/samples-dev/eventCategoriesListSample.js.map +1 -1
- package/dist-esm/samples-dev/getTestNotificationsAtTenantActionGroupResourceLevelSample.d.ts +2 -0
- package/dist-esm/samples-dev/getTestNotificationsAtTenantActionGroupResourceLevelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js → getTestNotificationsAtTenantActionGroupResourceLevelSample.js} +9 -9
- package/dist-esm/samples-dev/getTestNotificationsAtTenantActionGroupResourceLevelSample.js.map +1 -0
- package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/logProfilesListSample.js +1 -1
- package/dist-esm/samples-dev/logProfilesListSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js +55 -55
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsUpdateSample.js +7 -7
- package/dist-esm/samples-dev/metricDefinitionsListAtSubscriptionScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricDefinitionsListAtSubscriptionScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricDefinitionsListAtSubscriptionScopeSample.js +58 -0
- package/dist-esm/samples-dev/metricDefinitionsListAtSubscriptionScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/metricDefinitionsListSample.js +10 -16
- package/dist-esm/samples-dev/metricDefinitionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/metricNamespacesListSample.js +4 -6
- package/dist-esm/samples-dev/metricNamespacesListSample.js.map +1 -1
- package/dist-esm/samples-dev/metricsListAtSubscriptionScopePostSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricsListAtSubscriptionScopePostSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricsListAtSubscriptionScopePostSample.js +120 -0
- package/dist-esm/samples-dev/metricsListAtSubscriptionScopePostSample.js.map +1 -0
- package/dist-esm/samples-dev/metricsListAtSubscriptionScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricsListAtSubscriptionScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricsListAtSubscriptionScopeSample.js +88 -0
- package/dist-esm/samples-dev/metricsListAtSubscriptionScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/metricsListSample.js +28 -32
- package/dist-esm/samples-dev/metricsListSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorOperationsListSample.js +3 -5
- package/dist-esm/samples-dev/monitorOperationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +42 -30
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +2 -2
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/tenantActionGroupsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/tenantActionGroupsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tenantActionGroupsCreateOrUpdateSample.js +90 -0
- package/dist-esm/samples-dev/tenantActionGroupsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/tenantActionGroupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/tenantActionGroupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{actionGroupsGetTestNotificationsSample.js → tenantActionGroupsDeleteSample.js} +11 -11
- package/dist-esm/samples-dev/tenantActionGroupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/tenantActionGroupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/tenantActionGroupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tenantActionGroupsGetSample.js +38 -0
- package/dist-esm/samples-dev/tenantActionGroupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/tenantActionGroupsListByManagementGroupIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/tenantActionGroupsListByManagementGroupIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tenantActionGroupsListByManagementGroupIdSample.js +53 -0
- package/dist-esm/samples-dev/tenantActionGroupsListByManagementGroupIdSample.js.map +1 -0
- package/dist-esm/samples-dev/tenantActionGroupsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/tenantActionGroupsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tenantActionGroupsUpdateSample.js +42 -0
- package/dist-esm/samples-dev/tenantActionGroupsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/tenantActivityLogsListSample.js +9 -17
- package/dist-esm/samples-dev/tenantActivityLogsListSample.js.map +1 -1
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js +5 -15
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +1902 -1116
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +189 -113
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +95 -53
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +5055 -3582
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +48 -35
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +441 -335
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/monitorClient.d.ts +38 -8
- package/dist-esm/src/monitorClient.d.ts.map +1 -1
- package/dist-esm/src/monitorClient.js +170 -23
- package/dist-esm/src/monitorClient.js.map +1 -1
- package/dist-esm/src/operations/actionGroups.d.ts +1 -40
- package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/actionGroups.js +70 -296
- package/dist-esm/src/operations/actionGroups.js.map +1 -1
- package/dist-esm/src/operations/activityLogAlerts.js +54 -54
- package/dist-esm/src/operations/activityLogAlerts.js.map +1 -1
- package/dist-esm/src/operations/activityLogs.js +13 -13
- package/dist-esm/src/operations/activityLogs.js.map +1 -1
- package/dist-esm/src/operations/alertRuleIncidents.js +14 -14
- package/dist-esm/src/operations/alertRuleIncidents.js.map +1 -1
- package/dist-esm/src/operations/alertRules.js +42 -42
- package/dist-esm/src/operations/alertRules.js.map +1 -1
- package/dist-esm/src/operations/autoscaleSettings.js +53 -53
- package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
- package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts +25 -16
- package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/azureMonitorWorkspaces.js +132 -72
- package/dist-esm/src/operations/azureMonitorWorkspaces.js.map +1 -1
- package/dist-esm/src/operations/baselines.js +11 -11
- package/dist-esm/src/operations/baselines.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionEndpoints.js +54 -54
- 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 +58 -58
- package/dist-esm/src/operations/dataCollectionRuleAssociations.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionRules.js +54 -54
- package/dist-esm/src/operations/dataCollectionRules.js.map +1 -1
- package/dist-esm/src/operations/diagnosticSettings.js +20 -20
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.js +11 -11
- package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
- package/dist-esm/src/operations/eventCategories.d.ts +2 -2
- package/dist-esm/src/operations/eventCategories.d.ts.map +1 -1
- package/dist-esm/src/operations/eventCategories.js +6 -6
- package/dist-esm/src/operations/index.d.ts +6 -5
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +6 -5
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/logProfiles.js +25 -25
- package/dist-esm/src/operations/logProfiles.js.map +1 -1
- package/dist-esm/src/operations/metricAlerts.js +40 -40
- package/dist-esm/src/operations/metricAlerts.js.map +1 -1
- package/dist-esm/src/operations/metricAlertsStatus.js +14 -14
- package/dist-esm/src/operations/metricAlertsStatus.js.map +1 -1
- package/dist-esm/src/operations/metricDefinitions.d.ts +15 -1
- package/dist-esm/src/operations/metricDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operations/metricDefinitions.js +86 -9
- package/dist-esm/src/operations/metricDefinitions.js.map +1 -1
- package/dist-esm/src/operations/metricNamespaces.js +6 -6
- package/dist-esm/src/operations/metricNamespaces.js.map +1 -1
- package/dist-esm/src/operations/metricsOperations.d.ts +14 -1
- package/dist-esm/src/operations/metricsOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/metricsOperations.js +94 -10
- package/dist-esm/src/operations/metricsOperations.js.map +1 -1
- package/dist-esm/src/operations/monitorOperations.d.ts +2 -2
- package/dist-esm/src/operations/monitorOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/monitorOperations.js +10 -10
- package/dist-esm/src/operations/monitorOperations.js.map +1 -1
- package/dist-esm/src/operations/operations.js +4 -4
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/predictiveMetric.js +11 -11
- package/dist-esm/src/operations/predictiveMetric.js.map +1 -1
- 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 +41 -41
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +14 -14
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopeOperationStatus.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopeOperationStatus.js +7 -7
- package/dist-esm/src/operations/privateLinkScopeOperationStatus.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.js +46 -46
- package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.js +58 -58
- package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.js +52 -52
- package/dist-esm/src/operations/scheduledQueryRules.js.map +1 -1
- package/dist-esm/src/operations/tenantActionGroups.d.ts +65 -0
- package/dist-esm/src/operations/tenantActionGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/tenantActionGroups.js +249 -0
- package/dist-esm/src/operations/tenantActionGroups.js.map +1 -0
- package/dist-esm/src/operations/tenantActivityLogs.js +11 -11
- package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
- package/dist-esm/src/operations/vMInsights.js +5 -5
- package/dist-esm/src/operations/vMInsights.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +1 -40
- package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts +23 -14
- package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/eventCategories.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/eventCategories.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -5
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +6 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/metricDefinitions.d.ts +7 -1
- package/dist-esm/src/operationsInterfaces/metricDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/metricsOperations.d.ts +14 -1
- package/dist-esm/src/operationsInterfaces/metricsOperations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts.map +1 -1
- 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/tenantActionGroups.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/tenantActionGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tenantActionGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/tenantActionGroups.js.map +1 -0
- package/dist-esm/test/monitor_examples.js +44 -21
- package/dist-esm/test/monitor_examples.js.map +1 -1
- package/package.json +11 -11
- package/review/arm-monitor.api.md +601 -128
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +2098 -1196
- package/src/models/mappers.ts +5495 -3902
- package/src/models/parameters.ts +471 -348
- package/src/monitorClient.ts +268 -41
- package/src/operations/actionGroups.ts +159 -498
- package/src/operations/activityLogAlerts.ts +86 -92
- package/src/operations/activityLogs.ts +22 -23
- package/src/operations/alertRuleIncidents.ts +27 -29
- package/src/operations/alertRules.ts +69 -75
- package/src/operations/autoscaleSettings.ts +85 -91
- package/src/operations/azureMonitorWorkspaces.ts +195 -109
- package/src/operations/baselines.ts +17 -17
- package/src/operations/dataCollectionEndpoints.ts +86 -92
- package/src/operations/dataCollectionRuleAssociations.ts +127 -141
- package/src/operations/dataCollectionRules.ts +86 -92
- package/src/operations/diagnosticSettings.ts +32 -32
- package/src/operations/diagnosticSettingsCategory.ts +23 -24
- package/src/operations/eventCategories.ts +15 -15
- package/src/operations/index.ts +6 -5
- package/src/operations/logProfiles.ts +43 -48
- package/src/operations/metricAlerts.ts +67 -73
- package/src/operations/metricAlertsStatus.ts +21 -23
- package/src/operations/metricDefinitions.ts +102 -12
- package/src/operations/metricNamespaces.ts +12 -12
- package/src/operations/metricsOperations.ts +118 -13
- package/src/operations/monitorOperations.ts +21 -21
- package/src/operations/operations.ts +6 -6
- package/src/operations/predictiveMetric.ts +15 -16
- package/src/operations/privateEndpointConnections.ts +75 -80
- package/src/operations/privateLinkResources.ts +21 -23
- package/src/operations/privateLinkScopeOperationStatus.ts +13 -13
- package/src/operations/privateLinkScopedResources.ts +87 -92
- package/src/operations/privateLinkScopes.ts +97 -104
- package/src/operations/scheduledQueryRules.ts +84 -90
- package/src/operations/tenantActionGroups.ts +330 -0
- package/src/operations/tenantActivityLogs.ts +18 -18
- package/src/operations/vMInsights.ts +9 -10
- package/src/operationsInterfaces/actionGroups.ts +13 -97
- package/src/operationsInterfaces/activityLogAlerts.ts +7 -7
- package/src/operationsInterfaces/activityLogs.ts +1 -1
- package/src/operationsInterfaces/alertRuleIncidents.ts +3 -3
- package/src/operationsInterfaces/alertRules.ts +7 -7
- package/src/operationsInterfaces/autoscaleSettings.ts +7 -7
- package/src/operationsInterfaces/azureMonitorWorkspaces.ts +40 -21
- package/src/operationsInterfaces/baselines.ts +1 -1
- package/src/operationsInterfaces/dataCollectionEndpoints.ts +7 -7
- package/src/operationsInterfaces/dataCollectionRuleAssociations.ts +7 -7
- package/src/operationsInterfaces/dataCollectionRules.ts +7 -7
- package/src/operationsInterfaces/diagnosticSettings.ts +5 -5
- package/src/operationsInterfaces/diagnosticSettingsCategory.ts +3 -3
- package/src/operationsInterfaces/eventCategories.ts +4 -4
- package/src/operationsInterfaces/index.ts +6 -5
- package/src/operationsInterfaces/logProfiles.ts +6 -6
- package/src/operationsInterfaces/metricAlerts.ts +7 -7
- package/src/operationsInterfaces/metricAlertsStatus.ts +3 -3
- package/src/operationsInterfaces/metricDefinitions.ts +13 -2
- package/src/operationsInterfaces/metricNamespaces.ts +1 -1
- package/src/operationsInterfaces/metricsOperations.ts +28 -2
- package/src/operationsInterfaces/monitorOperations.ts +3 -6
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/predictiveMetric.ts +2 -2
- package/src/operationsInterfaces/privateEndpointConnections.ts +10 -10
- package/src/operationsInterfaces/privateLinkResources.ts +3 -3
- package/src/operationsInterfaces/privateLinkScopeOperationStatus.ts +2 -2
- package/src/operationsInterfaces/privateLinkScopedResources.ts +7 -7
- package/src/operationsInterfaces/privateLinkScopes.ts +8 -8
- package/src/operationsInterfaces/scheduledQueryRules.ts +7 -7
- package/src/operationsInterfaces/tenantActionGroups.ts +94 -0
- package/src/operationsInterfaces/tenantActivityLogs.ts +1 -1
- package/src/operationsInterfaces/vMInsights.ts +2 -2
- package/src/pagingHelper.ts +1 -1
- package/types/arm-monitor.d.ts +1258 -345
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js +0 -145
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts +0 -2
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js.map +0 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js.map +0 -1
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js +0 -144
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js.map +0 -1
|
@@ -4,6 +4,513 @@ export type RuleDataSourceUnion = RuleDataSource | RuleMetricDataSource | RuleMa
|
|
|
4
4
|
export type RuleActionUnion = RuleAction | RuleEmailAction | RuleWebhookAction;
|
|
5
5
|
export type MetricAlertCriteriaUnion = MetricAlertCriteria | MetricAlertSingleResourceMultipleMetricCriteria | WebtestLocationAvailabilityCriteria | MetricAlertMultipleResourceMultipleMetricCriteria;
|
|
6
6
|
export type MultiMetricCriteriaUnion = MultiMetricCriteria | MetricCriteria | DynamicMetricCriteria;
|
|
7
|
+
/** Represents collection of metric namespaces. */
|
|
8
|
+
export interface MetricNamespaceCollection {
|
|
9
|
+
/** The values for the metric namespaces. */
|
|
10
|
+
value: MetricNamespace[];
|
|
11
|
+
}
|
|
12
|
+
/** Metric namespace class specifies the metadata for a metric namespace. */
|
|
13
|
+
export interface MetricNamespace {
|
|
14
|
+
/** The ID of the metric namespace. */
|
|
15
|
+
id?: string;
|
|
16
|
+
/** The type of the namespace. */
|
|
17
|
+
type?: string;
|
|
18
|
+
/** The escaped name of the namespace. */
|
|
19
|
+
name?: string;
|
|
20
|
+
/** Kind of namespace */
|
|
21
|
+
classification?: NamespaceClassification;
|
|
22
|
+
/** Properties which include the fully qualified namespace name. */
|
|
23
|
+
properties?: MetricNamespaceName;
|
|
24
|
+
}
|
|
25
|
+
/** The fully qualified metric namespace name. */
|
|
26
|
+
export interface MetricNamespaceName {
|
|
27
|
+
/** The metric namespace name. */
|
|
28
|
+
metricNamespaceName?: string;
|
|
29
|
+
}
|
|
30
|
+
/** Describes the format of Error response. */
|
|
31
|
+
export interface ErrorResponse {
|
|
32
|
+
/** Error code */
|
|
33
|
+
code?: string;
|
|
34
|
+
/** Error message indicating why the operation failed. */
|
|
35
|
+
message?: string;
|
|
36
|
+
}
|
|
37
|
+
/** Represents collection of metric definitions. */
|
|
38
|
+
export interface SubscriptionScopeMetricDefinitionCollection {
|
|
39
|
+
/** The values for the metric definitions. */
|
|
40
|
+
value: SubscriptionScopeMetricDefinition[];
|
|
41
|
+
}
|
|
42
|
+
/** Metric definition class specifies the metadata for a metric. */
|
|
43
|
+
export interface SubscriptionScopeMetricDefinition {
|
|
44
|
+
/** Flag to indicate whether the dimension is required. */
|
|
45
|
+
isDimensionRequired?: boolean;
|
|
46
|
+
/** The resource identifier of the resource that emitted the metric. */
|
|
47
|
+
resourceId?: string;
|
|
48
|
+
/** The namespace the metric belongs to. */
|
|
49
|
+
namespace?: string;
|
|
50
|
+
/** The name and the display name of the metric, i.e. it is a localizable string. */
|
|
51
|
+
name?: LocalizableString;
|
|
52
|
+
/** Detailed description of this metric. */
|
|
53
|
+
displayDescription?: string;
|
|
54
|
+
/** Custom category name for this metric. */
|
|
55
|
+
category?: string;
|
|
56
|
+
/** The class of the metric. */
|
|
57
|
+
metricClass?: MetricClass;
|
|
58
|
+
/** The unit of the metric. */
|
|
59
|
+
unit?: MetricUnit;
|
|
60
|
+
/** The primary aggregation type value defining how to use the values for display. */
|
|
61
|
+
primaryAggregationType?: MetricAggregationType;
|
|
62
|
+
/** The collection of what aggregation types are supported. */
|
|
63
|
+
supportedAggregationTypes?: MetricAggregationType[];
|
|
64
|
+
/** The collection of what aggregation intervals are available to be queried. */
|
|
65
|
+
metricAvailabilities?: MetricAvailability[];
|
|
66
|
+
/** The resource identifier of the metric definition. */
|
|
67
|
+
id?: string;
|
|
68
|
+
/** The name and the display name of the dimension, i.e. it is a localizable string. */
|
|
69
|
+
dimensions?: LocalizableString[];
|
|
70
|
+
}
|
|
71
|
+
/** The localizable string class. */
|
|
72
|
+
export interface LocalizableString {
|
|
73
|
+
/** The invariant value. */
|
|
74
|
+
value: string;
|
|
75
|
+
/** The display name. */
|
|
76
|
+
localizedValue?: string;
|
|
77
|
+
}
|
|
78
|
+
/** Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. */
|
|
79
|
+
export interface MetricAvailability {
|
|
80
|
+
/** The time grain specifies a supported aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */
|
|
81
|
+
timeGrain?: string;
|
|
82
|
+
/** The retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */
|
|
83
|
+
retention?: string;
|
|
84
|
+
}
|
|
85
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
|
|
86
|
+
export interface ErrorContract {
|
|
87
|
+
/** The error object. */
|
|
88
|
+
error?: ErrorResponseAutoGenerated;
|
|
89
|
+
}
|
|
90
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
|
|
91
|
+
export interface ErrorResponseAutoGenerated {
|
|
92
|
+
/**
|
|
93
|
+
* The error code.
|
|
94
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
95
|
+
*/
|
|
96
|
+
readonly code?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The error message.
|
|
99
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
100
|
+
*/
|
|
101
|
+
readonly message?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The error target.
|
|
104
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
105
|
+
*/
|
|
106
|
+
readonly target?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The error details.
|
|
109
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
110
|
+
*/
|
|
111
|
+
readonly details?: ErrorResponseAutoGenerated[];
|
|
112
|
+
/**
|
|
113
|
+
* The error additional info.
|
|
114
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
115
|
+
*/
|
|
116
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
117
|
+
}
|
|
118
|
+
/** The resource management error additional info. */
|
|
119
|
+
export interface ErrorAdditionalInfo {
|
|
120
|
+
/**
|
|
121
|
+
* The additional info type.
|
|
122
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
123
|
+
*/
|
|
124
|
+
readonly type?: string;
|
|
125
|
+
/**
|
|
126
|
+
* The additional info.
|
|
127
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
128
|
+
*/
|
|
129
|
+
readonly info?: Record<string, unknown>;
|
|
130
|
+
}
|
|
131
|
+
/** Represents collection of metric definitions. */
|
|
132
|
+
export interface MetricDefinitionCollection {
|
|
133
|
+
/** The values for the metric definitions. */
|
|
134
|
+
value: MetricDefinition[];
|
|
135
|
+
}
|
|
136
|
+
/** Metric definition class specifies the metadata for a metric. */
|
|
137
|
+
export interface MetricDefinition {
|
|
138
|
+
/** Flag to indicate whether the dimension is required. */
|
|
139
|
+
isDimensionRequired?: boolean;
|
|
140
|
+
/** The resource identifier of the resource that emitted the metric. */
|
|
141
|
+
resourceId?: string;
|
|
142
|
+
/** The namespace the metric belongs to. */
|
|
143
|
+
namespace?: string;
|
|
144
|
+
/** The name and the display name of the metric, i.e. it is a localizable string. */
|
|
145
|
+
name?: LocalizableString;
|
|
146
|
+
/** Detailed description of this metric. */
|
|
147
|
+
displayDescription?: string;
|
|
148
|
+
/** Custom category name for this metric. */
|
|
149
|
+
category?: string;
|
|
150
|
+
/** The class of the metric. */
|
|
151
|
+
metricClass?: MetricClass;
|
|
152
|
+
/** The unit of the metric. */
|
|
153
|
+
unit?: MetricUnit;
|
|
154
|
+
/** The primary aggregation type value defining how to use the values for display. */
|
|
155
|
+
primaryAggregationType?: AggregationType;
|
|
156
|
+
/** The collection of what aggregation types are supported. */
|
|
157
|
+
supportedAggregationTypes?: AggregationType[];
|
|
158
|
+
/** The collection of what aggregation intervals are available to be queried. */
|
|
159
|
+
metricAvailabilities?: MetricAvailability[];
|
|
160
|
+
/** The resource identifier of the metric definition. */
|
|
161
|
+
id?: string;
|
|
162
|
+
/** The name and the display name of the dimension, i.e. it is a localizable string. */
|
|
163
|
+
dimensions?: LocalizableString[];
|
|
164
|
+
}
|
|
165
|
+
/** The response to a metrics query. */
|
|
166
|
+
export interface Response {
|
|
167
|
+
/** The integer value representing the relative cost of the query. */
|
|
168
|
+
cost?: number;
|
|
169
|
+
/** The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. */
|
|
170
|
+
timespan: string;
|
|
171
|
+
/**
|
|
172
|
+
* The interval (window size) for which the metric data was returned in ISO 8601 duration format with a special case for 'FULL' value that returns single datapoint for entire time span requested (*Examples: PT15M, PT1H, P1D, FULL*).
|
|
173
|
+
* This may be adjusted and different from what was originally requested if AutoAdjustTimegrain=true is specified. This is not present if a metadata request was made.
|
|
174
|
+
*/
|
|
175
|
+
interval?: string;
|
|
176
|
+
/** The namespace of the metrics being queried */
|
|
177
|
+
namespace?: string;
|
|
178
|
+
/** The region of the resource being queried for metrics. */
|
|
179
|
+
resourceregion?: string;
|
|
180
|
+
/** The value of the collection. */
|
|
181
|
+
value: Metric[];
|
|
182
|
+
}
|
|
183
|
+
/** The result data of a query. */
|
|
184
|
+
export interface Metric {
|
|
185
|
+
/** The metric Id. */
|
|
186
|
+
id: string;
|
|
187
|
+
/** The resource type of the metric resource. */
|
|
188
|
+
type: string;
|
|
189
|
+
/** The name and the display name of the metric, i.e. it is localizable string. */
|
|
190
|
+
name: LocalizableString;
|
|
191
|
+
/** Detailed description of this metric. */
|
|
192
|
+
displayDescription?: string;
|
|
193
|
+
/** 'Success' or the error details on query failures for this metric. */
|
|
194
|
+
errorCode?: string;
|
|
195
|
+
/** Error message encountered querying this specific metric. */
|
|
196
|
+
errorMessage?: string;
|
|
197
|
+
/** The unit of the metric. */
|
|
198
|
+
unit: MetricUnit;
|
|
199
|
+
/** The time series returned when a data query is performed. */
|
|
200
|
+
timeseries: TimeSeriesElement[];
|
|
201
|
+
}
|
|
202
|
+
/** A time series result type. The discriminator value is always TimeSeries in this case. */
|
|
203
|
+
export interface TimeSeriesElement {
|
|
204
|
+
/** The metadata values returned if $filter was specified in the call. */
|
|
205
|
+
metadatavalues?: MetadataValue[];
|
|
206
|
+
/** An array of data points representing the metric values. This is only returned if a result type of data is specified. */
|
|
207
|
+
data?: MetricValue[];
|
|
208
|
+
}
|
|
209
|
+
/** Represents a metric metadata value. */
|
|
210
|
+
export interface MetadataValue {
|
|
211
|
+
/** The name of the metadata. */
|
|
212
|
+
name?: LocalizableString;
|
|
213
|
+
/** The value of the metadata. */
|
|
214
|
+
value?: string;
|
|
215
|
+
}
|
|
216
|
+
/** Represents a metric value. */
|
|
217
|
+
export interface MetricValue {
|
|
218
|
+
/** The timestamp for the metric value in ISO 8601 format. */
|
|
219
|
+
timeStamp: Date;
|
|
220
|
+
/** The average value in the time range. */
|
|
221
|
+
average?: number;
|
|
222
|
+
/** The least value in the time range. */
|
|
223
|
+
minimum?: number;
|
|
224
|
+
/** The greatest value in the time range. */
|
|
225
|
+
maximum?: number;
|
|
226
|
+
/** The sum of all of the values in the time range. */
|
|
227
|
+
total?: number;
|
|
228
|
+
/** The number of samples in the time range. Can be used to determine the number of values that contributed to the average value. */
|
|
229
|
+
count?: number;
|
|
230
|
+
}
|
|
231
|
+
/** Query parameters can also be specified in the body, specifying the same parameter in both the body and query parameters will result in an error. */
|
|
232
|
+
export interface SubscriptionScopeMetricsRequestBodyParameters {
|
|
233
|
+
/** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
|
|
234
|
+
timespan?: string;
|
|
235
|
+
/**
|
|
236
|
+
* The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.
|
|
237
|
+
* *Examples: PT15M, PT1H, P1D, FULL*
|
|
238
|
+
*/
|
|
239
|
+
interval?: string;
|
|
240
|
+
/** The names of the metrics (comma separated) to retrieve. */
|
|
241
|
+
metricNames?: string;
|
|
242
|
+
/** The list of aggregation types (comma separated) to retrieve. */
|
|
243
|
+
aggregation?: string;
|
|
244
|
+
/** The **$filter** is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**. */
|
|
245
|
+
filter?: string;
|
|
246
|
+
/**
|
|
247
|
+
* The maximum number of records to retrieve.
|
|
248
|
+
* Valid only if $filter is specified.
|
|
249
|
+
* Defaults to 10.
|
|
250
|
+
*/
|
|
251
|
+
top?: number;
|
|
252
|
+
/**
|
|
253
|
+
* The aggregation to use for sorting results and the direction of the sort.
|
|
254
|
+
* Only one order can be specified.
|
|
255
|
+
* Examples: sum asc.
|
|
256
|
+
*/
|
|
257
|
+
orderBy?: string;
|
|
258
|
+
/** Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. */
|
|
259
|
+
rollUpBy?: string;
|
|
260
|
+
/** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
|
|
261
|
+
resultType?: MetricResultType;
|
|
262
|
+
/** Metric namespace where the metrics you want reside. */
|
|
263
|
+
metricNamespace?: string;
|
|
264
|
+
/** When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false. */
|
|
265
|
+
autoAdjustTimegrain?: boolean;
|
|
266
|
+
/** When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true. */
|
|
267
|
+
validateDimensions?: boolean;
|
|
268
|
+
}
|
|
269
|
+
/** A pageable list of resources */
|
|
270
|
+
export interface AzureMonitorWorkspaceResourceListResult {
|
|
271
|
+
/** A list of resources */
|
|
272
|
+
value: AzureMonitorWorkspaceResource[];
|
|
273
|
+
/** The URL to use for getting the next set of results */
|
|
274
|
+
nextLink?: string;
|
|
275
|
+
}
|
|
276
|
+
/** Properties of an Azure Monitor Workspace */
|
|
277
|
+
export interface AzureMonitorWorkspace {
|
|
278
|
+
/**
|
|
279
|
+
* The immutable Id of the Azure Monitor Workspace. This property is read-only.
|
|
280
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
281
|
+
*/
|
|
282
|
+
readonly accountId?: string;
|
|
283
|
+
/**
|
|
284
|
+
* Properties related to the metrics container in the Azure Monitor Workspace
|
|
285
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
286
|
+
*/
|
|
287
|
+
readonly metrics?: AzureMonitorWorkspaceMetrics;
|
|
288
|
+
/**
|
|
289
|
+
* The provisioning state of the Azure Monitor Workspace. Set to Succeeded if everything is healthy.
|
|
290
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
291
|
+
*/
|
|
292
|
+
readonly provisioningState?: ProvisioningState;
|
|
293
|
+
/**
|
|
294
|
+
* The Data Collection Rule and Endpoint used for ingestion by default.
|
|
295
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
296
|
+
*/
|
|
297
|
+
readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
|
|
298
|
+
/**
|
|
299
|
+
* List of private endpoint connections
|
|
300
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
301
|
+
*/
|
|
302
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
303
|
+
/**
|
|
304
|
+
* Gets or sets allow or disallow public network access to Azure Monitor Workspace
|
|
305
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
306
|
+
*/
|
|
307
|
+
readonly publicNetworkAccess?: PublicNetworkAccess;
|
|
308
|
+
}
|
|
309
|
+
/** Properties related to the metrics container in the Azure Monitor Workspace */
|
|
310
|
+
export interface Metrics {
|
|
311
|
+
/**
|
|
312
|
+
* The Prometheus query endpoint for the Azure Monitor Workspace
|
|
313
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
314
|
+
*/
|
|
315
|
+
readonly prometheusQueryEndpoint?: string;
|
|
316
|
+
/**
|
|
317
|
+
* An internal identifier for the metrics container. Only to be used by the system
|
|
318
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
319
|
+
*/
|
|
320
|
+
readonly internalId?: string;
|
|
321
|
+
}
|
|
322
|
+
/** Settings for data ingestion */
|
|
323
|
+
export interface IngestionSettings {
|
|
324
|
+
/**
|
|
325
|
+
* The Azure resource Id of the default data collection rule for this Azure Monitor Workspace.
|
|
326
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
327
|
+
*/
|
|
328
|
+
readonly dataCollectionRuleResourceId?: string;
|
|
329
|
+
/**
|
|
330
|
+
* The Azure resource Id of the default data collection endpoint for this Azure Monitor Workspace.
|
|
331
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
332
|
+
*/
|
|
333
|
+
readonly dataCollectionEndpointResourceId?: string;
|
|
334
|
+
}
|
|
335
|
+
/** The private endpoint resource. */
|
|
336
|
+
export interface PrivateEndpoint {
|
|
337
|
+
/**
|
|
338
|
+
* The ARM identifier for private endpoint.
|
|
339
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
340
|
+
*/
|
|
341
|
+
readonly id?: string;
|
|
342
|
+
}
|
|
343
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
344
|
+
export interface PrivateLinkServiceConnectionState {
|
|
345
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
346
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
347
|
+
/** The reason for approval/rejection of the connection. */
|
|
348
|
+
description?: string;
|
|
349
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
350
|
+
actionsRequired?: string;
|
|
351
|
+
}
|
|
352
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
353
|
+
export interface Resource {
|
|
354
|
+
/**
|
|
355
|
+
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
356
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
357
|
+
*/
|
|
358
|
+
readonly id?: string;
|
|
359
|
+
/**
|
|
360
|
+
* The name of the resource
|
|
361
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
362
|
+
*/
|
|
363
|
+
readonly name?: string;
|
|
364
|
+
/**
|
|
365
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
366
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
367
|
+
*/
|
|
368
|
+
readonly type?: string;
|
|
369
|
+
/**
|
|
370
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
371
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
372
|
+
*/
|
|
373
|
+
readonly systemData?: SystemData;
|
|
374
|
+
}
|
|
375
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
376
|
+
export interface SystemData {
|
|
377
|
+
/** The identity that created the resource. */
|
|
378
|
+
createdBy?: string;
|
|
379
|
+
/** The type of identity that created the resource. */
|
|
380
|
+
createdByType?: CreatedByType;
|
|
381
|
+
/** The timestamp of resource creation (UTC). */
|
|
382
|
+
createdAt?: Date;
|
|
383
|
+
/** The identity that last modified the resource. */
|
|
384
|
+
lastModifiedBy?: string;
|
|
385
|
+
/** The type of identity that last modified the resource. */
|
|
386
|
+
lastModifiedByType?: CreatedByType;
|
|
387
|
+
/** The timestamp of resource last modification (UTC) */
|
|
388
|
+
lastModifiedAt?: Date;
|
|
389
|
+
}
|
|
390
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
391
|
+
export interface ResourceAutoGenerated {
|
|
392
|
+
/**
|
|
393
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
394
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
395
|
+
*/
|
|
396
|
+
readonly id?: string;
|
|
397
|
+
/**
|
|
398
|
+
* The name of the resource
|
|
399
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
400
|
+
*/
|
|
401
|
+
readonly name?: string;
|
|
402
|
+
/**
|
|
403
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
404
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
405
|
+
*/
|
|
406
|
+
readonly type?: string;
|
|
407
|
+
/**
|
|
408
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
409
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
410
|
+
*/
|
|
411
|
+
readonly systemData?: SystemData;
|
|
412
|
+
}
|
|
413
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
414
|
+
export interface ErrorResponseAutoGenerated2 {
|
|
415
|
+
/** The error object. */
|
|
416
|
+
error?: ErrorDetail;
|
|
417
|
+
}
|
|
418
|
+
/** The error detail. */
|
|
419
|
+
export interface ErrorDetail {
|
|
420
|
+
/**
|
|
421
|
+
* The error code.
|
|
422
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
423
|
+
*/
|
|
424
|
+
readonly code?: string;
|
|
425
|
+
/**
|
|
426
|
+
* The error message.
|
|
427
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
428
|
+
*/
|
|
429
|
+
readonly message?: string;
|
|
430
|
+
/**
|
|
431
|
+
* The error target.
|
|
432
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
433
|
+
*/
|
|
434
|
+
readonly target?: string;
|
|
435
|
+
/**
|
|
436
|
+
* The error details.
|
|
437
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
438
|
+
*/
|
|
439
|
+
readonly details?: ErrorDetail[];
|
|
440
|
+
/**
|
|
441
|
+
* The error additional info.
|
|
442
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
443
|
+
*/
|
|
444
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
445
|
+
}
|
|
446
|
+
/** Definition of ARM tracked top level resource properties for the Update operation */
|
|
447
|
+
export interface AzureMonitorWorkspaceResourceForUpdate {
|
|
448
|
+
/** Resource tags */
|
|
449
|
+
tags?: {
|
|
450
|
+
[propertyName: string]: string;
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
454
|
+
export interface OperationListResult {
|
|
455
|
+
/**
|
|
456
|
+
* List of operations supported by the resource provider
|
|
457
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
458
|
+
*/
|
|
459
|
+
readonly value?: Operation[];
|
|
460
|
+
/**
|
|
461
|
+
* URL to get the next set of operation list results (if there are any).
|
|
462
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
463
|
+
*/
|
|
464
|
+
readonly nextLink?: string;
|
|
465
|
+
}
|
|
466
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
467
|
+
export interface Operation {
|
|
468
|
+
/**
|
|
469
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
470
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
471
|
+
*/
|
|
472
|
+
readonly name?: string;
|
|
473
|
+
/**
|
|
474
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
475
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
476
|
+
*/
|
|
477
|
+
readonly isDataAction?: boolean;
|
|
478
|
+
/** Localized display information for this particular operation. */
|
|
479
|
+
display?: OperationDisplay;
|
|
480
|
+
/**
|
|
481
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
482
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
483
|
+
*/
|
|
484
|
+
readonly origin?: Origin;
|
|
485
|
+
/**
|
|
486
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
487
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
488
|
+
*/
|
|
489
|
+
readonly actionType?: ActionType;
|
|
490
|
+
}
|
|
491
|
+
/** Localized display information for this particular operation. */
|
|
492
|
+
export interface OperationDisplay {
|
|
493
|
+
/**
|
|
494
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
495
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
496
|
+
*/
|
|
497
|
+
readonly provider?: string;
|
|
498
|
+
/**
|
|
499
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
500
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
501
|
+
*/
|
|
502
|
+
readonly resource?: string;
|
|
503
|
+
/**
|
|
504
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
505
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
506
|
+
*/
|
|
507
|
+
readonly operation?: string;
|
|
508
|
+
/**
|
|
509
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
510
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
511
|
+
*/
|
|
512
|
+
readonly description?: string;
|
|
513
|
+
}
|
|
7
514
|
/** Represents a collection of autoscale setting resources. */
|
|
8
515
|
export interface AutoscaleSettingResourceCollection {
|
|
9
516
|
/** the values for the autoscale setting resources. */
|
|
@@ -149,7 +656,7 @@ export interface PredictiveAutoscalePolicy {
|
|
|
149
656
|
scaleLookAheadTime?: string;
|
|
150
657
|
}
|
|
151
658
|
/** The autoscale setting resource. */
|
|
152
|
-
export interface
|
|
659
|
+
export interface ResourceAutoGenerated2 {
|
|
153
660
|
/**
|
|
154
661
|
* Azure resource Id
|
|
155
662
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -177,21 +684,6 @@ export interface Resource {
|
|
|
177
684
|
*/
|
|
178
685
|
readonly systemData?: SystemData;
|
|
179
686
|
}
|
|
180
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
181
|
-
export interface SystemData {
|
|
182
|
-
/** The identity that created the resource. */
|
|
183
|
-
createdBy?: string;
|
|
184
|
-
/** The type of identity that created the resource. */
|
|
185
|
-
createdByType?: CreatedByType;
|
|
186
|
-
/** The timestamp of resource creation (UTC). */
|
|
187
|
-
createdAt?: Date;
|
|
188
|
-
/** The identity that last modified the resource. */
|
|
189
|
-
lastModifiedBy?: string;
|
|
190
|
-
/** The type of identity that last modified the resource. */
|
|
191
|
-
lastModifiedByType?: CreatedByType;
|
|
192
|
-
/** The timestamp of resource last modification (UTC) */
|
|
193
|
-
lastModifiedAt?: Date;
|
|
194
|
-
}
|
|
195
687
|
/** Describes the format of Error response. */
|
|
196
688
|
export interface AutoscaleErrorResponse {
|
|
197
689
|
/** The error object. */
|
|
@@ -255,21 +747,21 @@ export interface PredictiveValue {
|
|
|
255
747
|
value: number;
|
|
256
748
|
}
|
|
257
749
|
/** Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results. */
|
|
258
|
-
export interface
|
|
750
|
+
export interface OperationListResultAutoGenerated {
|
|
259
751
|
/** List of operations supported by the Microsoft.Insights provider. */
|
|
260
|
-
value?:
|
|
752
|
+
value?: OperationAutoGenerated[];
|
|
261
753
|
/** URL to get the next set of operation list results if there are any. */
|
|
262
754
|
nextLink?: string;
|
|
263
755
|
}
|
|
264
756
|
/** Microsoft Insights API operation definition. */
|
|
265
|
-
export interface
|
|
757
|
+
export interface OperationAutoGenerated {
|
|
266
758
|
/** Operation name: {provider}/{resource}/{operation} */
|
|
267
759
|
name?: string;
|
|
268
760
|
/** Display metadata associated with the operation. */
|
|
269
|
-
display?:
|
|
761
|
+
display?: OperationDisplayAutoGenerated;
|
|
270
762
|
}
|
|
271
763
|
/** Display metadata associated with the operation. */
|
|
272
|
-
export interface
|
|
764
|
+
export interface OperationDisplayAutoGenerated {
|
|
273
765
|
/** Service provider: Microsoft.Insights */
|
|
274
766
|
provider?: string;
|
|
275
767
|
/** Resource on which the operation is performed: AlertRules, Autoscale, etc. */
|
|
@@ -305,13 +797,6 @@ export interface Incident {
|
|
|
305
797
|
*/
|
|
306
798
|
readonly resolvedTime?: Date;
|
|
307
799
|
}
|
|
308
|
-
/** Describes the format of Error response. */
|
|
309
|
-
export interface ErrorResponse {
|
|
310
|
-
/** Error code */
|
|
311
|
-
code?: string;
|
|
312
|
-
/** Error message indicating why the operation failed. */
|
|
313
|
-
message?: string;
|
|
314
|
-
}
|
|
315
800
|
/** The List incidents operation response. */
|
|
316
801
|
export interface IncidentListResult {
|
|
317
802
|
/** the incident collection. */
|
|
@@ -343,7 +828,7 @@ export interface RuleAction {
|
|
|
343
828
|
odataType: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction" | "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
|
|
344
829
|
}
|
|
345
830
|
/** An azure resource object */
|
|
346
|
-
export interface
|
|
831
|
+
export interface ResourceAutoGenerated3 {
|
|
347
832
|
/**
|
|
348
833
|
* Azure resource Id
|
|
349
834
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -405,7 +890,7 @@ export interface RetentionPolicy {
|
|
|
405
890
|
days: number;
|
|
406
891
|
}
|
|
407
892
|
/** An azure resource object */
|
|
408
|
-
export interface
|
|
893
|
+
export interface ResourceAutoGenerated4 {
|
|
409
894
|
/**
|
|
410
895
|
* Azure resource Id
|
|
411
896
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -473,7 +958,7 @@ export interface LogSettings {
|
|
|
473
958
|
retentionPolicy?: RetentionPolicy;
|
|
474
959
|
}
|
|
475
960
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
476
|
-
export interface
|
|
961
|
+
export interface ResourceAutoGenerated5 {
|
|
477
962
|
/**
|
|
478
963
|
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
479
964
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -639,68 +1124,207 @@ export interface EventHubReceiver {
|
|
|
639
1124
|
/** The Id for the subscription containing this event hub */
|
|
640
1125
|
subscriptionId: string;
|
|
641
1126
|
}
|
|
642
|
-
/** An azure resource object */
|
|
643
|
-
export interface AzureResource {
|
|
644
|
-
/**
|
|
645
|
-
* Azure resource Id
|
|
646
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
647
|
-
*/
|
|
648
|
-
readonly id?: string;
|
|
649
|
-
/**
|
|
650
|
-
* Azure resource name
|
|
651
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
652
|
-
*/
|
|
653
|
-
readonly name?: string;
|
|
654
|
-
/**
|
|
655
|
-
* Azure resource type
|
|
656
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
657
|
-
*/
|
|
658
|
-
readonly type?: string;
|
|
659
|
-
/** Resource location */
|
|
660
|
-
location: string;
|
|
661
|
-
/** Resource tags */
|
|
662
|
-
tags?: {
|
|
663
|
-
[propertyName: string]: string;
|
|
664
|
-
};
|
|
1127
|
+
/** An azure resource object */
|
|
1128
|
+
export interface AzureResource {
|
|
1129
|
+
/**
|
|
1130
|
+
* Azure resource Id
|
|
1131
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1132
|
+
*/
|
|
1133
|
+
readonly id?: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* Azure resource name
|
|
1136
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1137
|
+
*/
|
|
1138
|
+
readonly name?: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Azure resource type
|
|
1141
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1142
|
+
*/
|
|
1143
|
+
readonly type?: string;
|
|
1144
|
+
/** Resource location */
|
|
1145
|
+
location: string;
|
|
1146
|
+
/** Resource tags */
|
|
1147
|
+
tags?: {
|
|
1148
|
+
[propertyName: string]: string;
|
|
1149
|
+
};
|
|
1150
|
+
}
|
|
1151
|
+
/** An action group object for the body of patch operations. */
|
|
1152
|
+
export interface ActionGroupPatchBody {
|
|
1153
|
+
/** Resource tags */
|
|
1154
|
+
tags?: {
|
|
1155
|
+
[propertyName: string]: string;
|
|
1156
|
+
};
|
|
1157
|
+
/** Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated. */
|
|
1158
|
+
enabled?: boolean;
|
|
1159
|
+
}
|
|
1160
|
+
/** The request body which contain contact detail metadata */
|
|
1161
|
+
export interface NotificationRequestBody {
|
|
1162
|
+
/** The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget */
|
|
1163
|
+
alertType: string;
|
|
1164
|
+
/** The list of email receivers that are part of this action group. */
|
|
1165
|
+
emailReceivers?: EmailReceiver[];
|
|
1166
|
+
/** The list of SMS receivers that are part of this action group. */
|
|
1167
|
+
smsReceivers?: SmsReceiver[];
|
|
1168
|
+
/** The list of webhook receivers that are part of this action group. */
|
|
1169
|
+
webhookReceivers?: WebhookReceiver[];
|
|
1170
|
+
/** The list of ITSM receivers that are part of this action group. */
|
|
1171
|
+
itsmReceivers?: ItsmReceiver[];
|
|
1172
|
+
/** The list of AzureAppPush receivers that are part of this action group. */
|
|
1173
|
+
azureAppPushReceivers?: AzureAppPushReceiver[];
|
|
1174
|
+
/** The list of AutomationRunbook receivers that are part of this action group. */
|
|
1175
|
+
automationRunbookReceivers?: AutomationRunbookReceiver[];
|
|
1176
|
+
/** The list of voice receivers that are part of this action group. */
|
|
1177
|
+
voiceReceivers?: VoiceReceiver[];
|
|
1178
|
+
/** The list of logic app receivers that are part of this action group. */
|
|
1179
|
+
logicAppReceivers?: LogicAppReceiver[];
|
|
1180
|
+
/** The list of azure function receivers that are part of this action group. */
|
|
1181
|
+
azureFunctionReceivers?: AzureFunctionReceiver[];
|
|
1182
|
+
/** The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported. */
|
|
1183
|
+
armRoleReceivers?: ArmRoleReceiver[];
|
|
1184
|
+
/** The list of event hub receivers that are part of this action group. */
|
|
1185
|
+
eventHubReceivers?: EventHubReceiver[];
|
|
1186
|
+
}
|
|
1187
|
+
/** The details of the test notification results. */
|
|
1188
|
+
export interface TestNotificationDetailsResponse {
|
|
1189
|
+
/** The context info */
|
|
1190
|
+
context?: Context;
|
|
1191
|
+
/** The overall state */
|
|
1192
|
+
state: string;
|
|
1193
|
+
/** The completed time */
|
|
1194
|
+
completedTime?: string;
|
|
1195
|
+
/** The created time */
|
|
1196
|
+
createdTime?: string;
|
|
1197
|
+
/** The list of action detail */
|
|
1198
|
+
actionDetails?: ActionDetail[];
|
|
1199
|
+
}
|
|
1200
|
+
/** The context info */
|
|
1201
|
+
export interface Context {
|
|
1202
|
+
/** The source of the notification request */
|
|
1203
|
+
notificationSource?: string;
|
|
1204
|
+
/** The context id type */
|
|
1205
|
+
contextType?: string;
|
|
1206
|
+
}
|
|
1207
|
+
/** The action detail */
|
|
1208
|
+
export interface ActionDetail {
|
|
1209
|
+
/** The mechanism type */
|
|
1210
|
+
mechanismType?: string;
|
|
1211
|
+
/** The name of the action */
|
|
1212
|
+
name?: string;
|
|
1213
|
+
/** The status of the action */
|
|
1214
|
+
status?: string;
|
|
1215
|
+
/** The substatus of the action */
|
|
1216
|
+
subState?: string;
|
|
1217
|
+
/** The send time */
|
|
1218
|
+
sendTime?: string;
|
|
1219
|
+
/** The detail of the friendly error message */
|
|
1220
|
+
detail?: string;
|
|
1221
|
+
}
|
|
1222
|
+
/** A list of action groups. */
|
|
1223
|
+
export interface ActionGroupList {
|
|
1224
|
+
/** The list of action groups. */
|
|
1225
|
+
value?: ActionGroupResource[];
|
|
1226
|
+
/** Provides the link to retrieve the next set of elements. */
|
|
1227
|
+
nextLink?: string;
|
|
1228
|
+
}
|
|
1229
|
+
/** Describes a receiver that should be resubscribed. */
|
|
1230
|
+
export interface EnableRequest {
|
|
1231
|
+
/** The name of the receiver to resubscribe. */
|
|
1232
|
+
receiverName: string;
|
|
1233
|
+
}
|
|
1234
|
+
/** An email receiver. */
|
|
1235
|
+
export interface EmailReceiverAutoGenerated {
|
|
1236
|
+
/** The name of the email receiver. Names must be unique across all receivers within a tenant action group. */
|
|
1237
|
+
name: string;
|
|
1238
|
+
/** The email address of this receiver. */
|
|
1239
|
+
emailAddress: string;
|
|
1240
|
+
/** Indicates whether to use common alert schema. */
|
|
1241
|
+
useCommonAlertSchema?: boolean;
|
|
1242
|
+
/**
|
|
1243
|
+
* The receiver status of the e-mail.
|
|
1244
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1245
|
+
*/
|
|
1246
|
+
readonly status?: ReceiverStatus;
|
|
1247
|
+
}
|
|
1248
|
+
/** An SMS receiver. */
|
|
1249
|
+
export interface SmsReceiverAutoGenerated {
|
|
1250
|
+
/** The name of the SMS receiver. Names must be unique across all receivers within a tenant action group. */
|
|
1251
|
+
name: string;
|
|
1252
|
+
/** The country code of the SMS receiver. */
|
|
1253
|
+
countryCode: string;
|
|
1254
|
+
/** The phone number of the SMS receiver. */
|
|
1255
|
+
phoneNumber: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* The status of the receiver.
|
|
1258
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1259
|
+
*/
|
|
1260
|
+
readonly status?: ReceiverStatus;
|
|
1261
|
+
}
|
|
1262
|
+
/** A webhook receiver. */
|
|
1263
|
+
export interface WebhookReceiverAutoGenerated {
|
|
1264
|
+
/** The name of the webhook receiver. Names must be unique across all receivers within a tenant action group. */
|
|
1265
|
+
name: string;
|
|
1266
|
+
/** The URI where webhooks should be sent. */
|
|
1267
|
+
serviceUri: string;
|
|
1268
|
+
/** Indicates whether to use common alert schema. */
|
|
1269
|
+
useCommonAlertSchema?: boolean;
|
|
1270
|
+
/** Indicates whether or not use AAD authentication. */
|
|
1271
|
+
useAadAuth?: boolean;
|
|
1272
|
+
/** Indicates the webhook app object Id for aad auth. */
|
|
1273
|
+
objectId?: string;
|
|
1274
|
+
/** Indicates the identifier uri for aad auth. */
|
|
1275
|
+
identifierUri?: string;
|
|
1276
|
+
/** Indicates the tenant id for aad auth. */
|
|
1277
|
+
tenantId?: string;
|
|
1278
|
+
}
|
|
1279
|
+
/** The Azure mobile App push notification receiver. */
|
|
1280
|
+
export interface AzureAppPushReceiverAutoGenerated {
|
|
1281
|
+
/** The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group. */
|
|
1282
|
+
name: string;
|
|
1283
|
+
/** The email address registered for the Azure mobile app. */
|
|
1284
|
+
emailAddress: string;
|
|
1285
|
+
}
|
|
1286
|
+
/** A voice receiver. */
|
|
1287
|
+
export interface VoiceReceiverAutoGenerated {
|
|
1288
|
+
/** The name of the voice receiver. Names must be unique across all receivers within a tenant action group. */
|
|
1289
|
+
name: string;
|
|
1290
|
+
/** The country code of the voice receiver. */
|
|
1291
|
+
countryCode: string;
|
|
1292
|
+
/** The phone number of the voice receiver. */
|
|
1293
|
+
phoneNumber: string;
|
|
665
1294
|
}
|
|
666
|
-
/**
|
|
667
|
-
export interface
|
|
1295
|
+
/** A tenant action group object for the body of patch operations. */
|
|
1296
|
+
export interface ActionGroupPatchBodyAutoGenerated {
|
|
668
1297
|
/** Resource tags */
|
|
669
1298
|
tags?: {
|
|
670
1299
|
[propertyName: string]: string;
|
|
671
1300
|
};
|
|
672
|
-
/** Indicates whether this action group is enabled. If
|
|
1301
|
+
/** Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its actions will be activated. */
|
|
673
1302
|
enabled?: boolean;
|
|
674
1303
|
}
|
|
1304
|
+
/** A list of tenant action groups. */
|
|
1305
|
+
export interface TenantActionGroupList {
|
|
1306
|
+
/** The list of tenant action groups. */
|
|
1307
|
+
value?: TenantActionGroupResource[];
|
|
1308
|
+
/** Provides the link to retrieve the next set of elements. */
|
|
1309
|
+
nextLink?: string;
|
|
1310
|
+
}
|
|
675
1311
|
/** The request body which contain contact detail metadata */
|
|
676
|
-
export interface
|
|
677
|
-
/** The value of the supported alert type. Supported alert type
|
|
1312
|
+
export interface TenantNotificationRequestBody {
|
|
1313
|
+
/** The value of the supported alert type. Supported alert type value is: servicehealth */
|
|
678
1314
|
alertType: string;
|
|
679
1315
|
/** The list of email receivers that are part of this action group. */
|
|
680
|
-
emailReceivers?:
|
|
1316
|
+
emailReceivers?: EmailReceiverAutoGenerated[];
|
|
681
1317
|
/** The list of SMS receivers that are part of this action group. */
|
|
682
|
-
smsReceivers?:
|
|
1318
|
+
smsReceivers?: SmsReceiverAutoGenerated[];
|
|
683
1319
|
/** The list of webhook receivers that are part of this action group. */
|
|
684
|
-
webhookReceivers?:
|
|
685
|
-
/** The list of ITSM receivers that are part of this action group. */
|
|
686
|
-
itsmReceivers?: ItsmReceiver[];
|
|
1320
|
+
webhookReceivers?: WebhookReceiverAutoGenerated[];
|
|
687
1321
|
/** The list of AzureAppPush receivers that are part of this action group. */
|
|
688
|
-
azureAppPushReceivers?:
|
|
689
|
-
/** The list of AutomationRunbook receivers that are part of this action group. */
|
|
690
|
-
automationRunbookReceivers?: AutomationRunbookReceiver[];
|
|
1322
|
+
azureAppPushReceivers?: AzureAppPushReceiverAutoGenerated[];
|
|
691
1323
|
/** The list of voice receivers that are part of this action group. */
|
|
692
|
-
voiceReceivers?:
|
|
693
|
-
/** The list of logic app receivers that are part of this action group. */
|
|
694
|
-
logicAppReceivers?: LogicAppReceiver[];
|
|
695
|
-
/** The list of azure function receivers that are part of this action group. */
|
|
696
|
-
azureFunctionReceivers?: AzureFunctionReceiver[];
|
|
697
|
-
/** The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported. */
|
|
698
|
-
armRoleReceivers?: ArmRoleReceiver[];
|
|
699
|
-
/** The list of event hub receivers that are part of this action group. */
|
|
700
|
-
eventHubReceivers?: EventHubReceiver[];
|
|
1324
|
+
voiceReceivers?: VoiceReceiverAutoGenerated[];
|
|
701
1325
|
}
|
|
702
1326
|
/** The details of the test notification results. */
|
|
703
|
-
export interface
|
|
1327
|
+
export interface TestNotificationDetailsResponseAutoGenerated {
|
|
704
1328
|
/** The context info */
|
|
705
1329
|
context?: Context;
|
|
706
1330
|
/** The overall state */
|
|
@@ -710,17 +1334,10 @@ export interface TestNotificationDetailsResponse {
|
|
|
710
1334
|
/** The created time */
|
|
711
1335
|
createdTime?: string;
|
|
712
1336
|
/** The list of action detail */
|
|
713
|
-
actionDetails?:
|
|
714
|
-
}
|
|
715
|
-
/** The context info */
|
|
716
|
-
export interface Context {
|
|
717
|
-
/** The source of the notification request */
|
|
718
|
-
notificationSource?: string;
|
|
719
|
-
/** The context id type */
|
|
720
|
-
contextType?: string;
|
|
1337
|
+
actionDetails?: ActionDetailAutoGenerated[];
|
|
721
1338
|
}
|
|
722
1339
|
/** The action detail */
|
|
723
|
-
export interface
|
|
1340
|
+
export interface ActionDetailAutoGenerated {
|
|
724
1341
|
/** The mechanism type */
|
|
725
1342
|
mechanismType?: string;
|
|
726
1343
|
/** The name of the action */
|
|
@@ -732,19 +1349,40 @@ export interface ActionDetail {
|
|
|
732
1349
|
/** The send time */
|
|
733
1350
|
sendTime?: string;
|
|
734
1351
|
/** The detail of the friendly error message */
|
|
735
|
-
|
|
1352
|
+
message?: string;
|
|
736
1353
|
}
|
|
737
|
-
/**
|
|
738
|
-
export interface
|
|
739
|
-
/** The
|
|
740
|
-
|
|
741
|
-
/** Provides the link to retrieve the next set of elements. */
|
|
742
|
-
nextLink?: string;
|
|
1354
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
1355
|
+
export interface ErrorResponseAutoGenerated3 {
|
|
1356
|
+
/** The error object. */
|
|
1357
|
+
error?: ErrorDetailAutoGenerated;
|
|
743
1358
|
}
|
|
744
|
-
/**
|
|
745
|
-
export interface
|
|
746
|
-
/**
|
|
747
|
-
|
|
1359
|
+
/** The error detail. */
|
|
1360
|
+
export interface ErrorDetailAutoGenerated {
|
|
1361
|
+
/**
|
|
1362
|
+
* The error code.
|
|
1363
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1364
|
+
*/
|
|
1365
|
+
readonly code?: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* The error message.
|
|
1368
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1369
|
+
*/
|
|
1370
|
+
readonly message?: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* The error target.
|
|
1373
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1374
|
+
*/
|
|
1375
|
+
readonly target?: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* The error details.
|
|
1378
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1379
|
+
*/
|
|
1380
|
+
readonly details?: ErrorDetailAutoGenerated[];
|
|
1381
|
+
/**
|
|
1382
|
+
* The error additional info.
|
|
1383
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1384
|
+
*/
|
|
1385
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
748
1386
|
}
|
|
749
1387
|
/** Represents collection of events. */
|
|
750
1388
|
export interface EventDataCollection {
|
|
@@ -796,12 +1434,12 @@ export interface EventData {
|
|
|
796
1434
|
* the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.
|
|
797
1435
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
798
1436
|
*/
|
|
799
|
-
readonly eventName?:
|
|
1437
|
+
readonly eventName?: LocalizableStringAutoGenerated;
|
|
800
1438
|
/**
|
|
801
1439
|
* the event category.
|
|
802
1440
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
803
1441
|
*/
|
|
804
|
-
readonly category?:
|
|
1442
|
+
readonly category?: LocalizableStringAutoGenerated;
|
|
805
1443
|
/**
|
|
806
1444
|
* the HTTP request info. Usually includes the 'clientRequestId', 'clientIpAddress' (IP address of the user who initiated the event) and 'method' (HTTP method e.g. PUT).
|
|
807
1445
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -821,7 +1459,7 @@ export interface EventData {
|
|
|
821
1459
|
* the resource provider name of the impacted resource.
|
|
822
1460
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
823
1461
|
*/
|
|
824
|
-
readonly resourceProviderName?:
|
|
1462
|
+
readonly resourceProviderName?: LocalizableStringAutoGenerated;
|
|
825
1463
|
/**
|
|
826
1464
|
* the resource uri that uniquely identifies the resource that caused this event.
|
|
827
1465
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -831,7 +1469,7 @@ export interface EventData {
|
|
|
831
1469
|
* the resource type
|
|
832
1470
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
833
1471
|
*/
|
|
834
|
-
readonly resourceType?:
|
|
1472
|
+
readonly resourceType?: LocalizableStringAutoGenerated;
|
|
835
1473
|
/**
|
|
836
1474
|
* It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.
|
|
837
1475
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -841,7 +1479,7 @@ export interface EventData {
|
|
|
841
1479
|
* the operation name.
|
|
842
1480
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
843
1481
|
*/
|
|
844
|
-
readonly operationName?:
|
|
1482
|
+
readonly operationName?: LocalizableStringAutoGenerated;
|
|
845
1483
|
/**
|
|
846
1484
|
* the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
|
|
847
1485
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -853,12 +1491,12 @@ export interface EventData {
|
|
|
853
1491
|
* a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
|
|
854
1492
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
855
1493
|
*/
|
|
856
|
-
readonly status?:
|
|
1494
|
+
readonly status?: LocalizableStringAutoGenerated;
|
|
857
1495
|
/**
|
|
858
1496
|
* the event sub status. Most of the time, when included, this captures the HTTP status code of the REST call. Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: 201), Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: 204), Bad Request(HTTP Status Code: 400), Not Found (HTTP Status Code: 404), Conflict (HTTP Status Code: 409), Internal Server Error (HTTP Status Code: 500), Service Unavailable (HTTP Status Code:503), Gateway Timeout (HTTP Status Code: 504)
|
|
859
1497
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
860
1498
|
*/
|
|
861
|
-
readonly subStatus?:
|
|
1499
|
+
readonly subStatus?: LocalizableStringAutoGenerated;
|
|
862
1500
|
/**
|
|
863
1501
|
* the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.
|
|
864
1502
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -890,7 +1528,7 @@ export interface SenderAuthorization {
|
|
|
890
1528
|
scope?: string;
|
|
891
1529
|
}
|
|
892
1530
|
/** The localizable string class. */
|
|
893
|
-
export interface
|
|
1531
|
+
export interface LocalizableStringAutoGenerated {
|
|
894
1532
|
/** the invariant value. */
|
|
895
1533
|
value: string;
|
|
896
1534
|
/** the locale specific value. */
|
|
@@ -910,111 +1548,7 @@ export interface HttpRequestInfo {
|
|
|
910
1548
|
/** A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy. */
|
|
911
1549
|
export interface EventCategoryCollection {
|
|
912
1550
|
/** the list that includes the Azure event categories. */
|
|
913
|
-
value:
|
|
914
|
-
}
|
|
915
|
-
/** Represents collection of metric definitions. */
|
|
916
|
-
export interface MetricDefinitionCollection {
|
|
917
|
-
/** the values for the metric definitions. */
|
|
918
|
-
value: MetricDefinition[];
|
|
919
|
-
}
|
|
920
|
-
/** Metric definition class specifies the metadata for a metric. */
|
|
921
|
-
export interface MetricDefinition {
|
|
922
|
-
/** Flag to indicate whether the dimension is required. */
|
|
923
|
-
isDimensionRequired?: boolean;
|
|
924
|
-
/** the resource identifier of the resource that emitted the metric. */
|
|
925
|
-
resourceId?: string;
|
|
926
|
-
/** the namespace the metric belongs to. */
|
|
927
|
-
namespace?: string;
|
|
928
|
-
/** the name and the display name of the metric, i.e. it is a localizable string. */
|
|
929
|
-
name?: LocalizableString;
|
|
930
|
-
/** Detailed description of this metric. */
|
|
931
|
-
displayDescription?: string;
|
|
932
|
-
/** Custom category name for this metric. */
|
|
933
|
-
category?: string;
|
|
934
|
-
/** The class of the metric. */
|
|
935
|
-
metricClass?: MetricClass;
|
|
936
|
-
/** The unit of the metric. */
|
|
937
|
-
unit?: MetricUnit;
|
|
938
|
-
/** the primary aggregation type value defining how to use the values for display. */
|
|
939
|
-
primaryAggregationType?: AggregationType;
|
|
940
|
-
/** the collection of what aggregation types are supported. */
|
|
941
|
-
supportedAggregationTypes?: AggregationType[];
|
|
942
|
-
/** the collection of what aggregation intervals are available to be queried. */
|
|
943
|
-
metricAvailabilities?: MetricAvailability[];
|
|
944
|
-
/** the resource identifier of the metric definition. */
|
|
945
|
-
id?: string;
|
|
946
|
-
/** the name and the display name of the dimension, i.e. it is a localizable string. */
|
|
947
|
-
dimensions?: LocalizableString[];
|
|
948
|
-
}
|
|
949
|
-
/** Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. */
|
|
950
|
-
export interface MetricAvailability {
|
|
951
|
-
/** the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */
|
|
952
|
-
timeGrain?: string;
|
|
953
|
-
/** the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */
|
|
954
|
-
retention?: string;
|
|
955
|
-
}
|
|
956
|
-
/** The response to a metrics query. */
|
|
957
|
-
export interface Response {
|
|
958
|
-
/** The integer value representing the relative cost of the query. */
|
|
959
|
-
cost?: number;
|
|
960
|
-
/** The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. */
|
|
961
|
-
timespan: string;
|
|
962
|
-
/** The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. */
|
|
963
|
-
interval?: string;
|
|
964
|
-
/** The namespace of the metrics being queried */
|
|
965
|
-
namespace?: string;
|
|
966
|
-
/** The region of the resource being queried for metrics. */
|
|
967
|
-
resourceregion?: string;
|
|
968
|
-
/** the value of the collection. */
|
|
969
|
-
value: Metric[];
|
|
970
|
-
}
|
|
971
|
-
/** The result data of a query. */
|
|
972
|
-
export interface Metric {
|
|
973
|
-
/** the metric Id. */
|
|
974
|
-
id: string;
|
|
975
|
-
/** the resource type of the metric resource. */
|
|
976
|
-
type: string;
|
|
977
|
-
/** the name and the display name of the metric, i.e. it is localizable string. */
|
|
978
|
-
name: LocalizableString;
|
|
979
|
-
/** Detailed description of this metric. */
|
|
980
|
-
displayDescription?: string;
|
|
981
|
-
/** 'Success' or the error details on query failures for this metric. */
|
|
982
|
-
errorCode?: string;
|
|
983
|
-
/** Error message encountered querying this specific metric. */
|
|
984
|
-
errorMessage?: string;
|
|
985
|
-
/** The unit of the metric. */
|
|
986
|
-
unit: MetricUnit;
|
|
987
|
-
/** the time series returned when a data query is performed. */
|
|
988
|
-
timeseries: TimeSeriesElement[];
|
|
989
|
-
}
|
|
990
|
-
/** A time series result type. The discriminator value is always TimeSeries in this case. */
|
|
991
|
-
export interface TimeSeriesElement {
|
|
992
|
-
/** the metadata values returned if $filter was specified in the call. */
|
|
993
|
-
metadatavalues?: MetadataValue[];
|
|
994
|
-
/** An array of data points representing the metric values. This is only returned if a result type of data is specified. */
|
|
995
|
-
data?: MetricValue[];
|
|
996
|
-
}
|
|
997
|
-
/** Represents a metric metadata value. */
|
|
998
|
-
export interface MetadataValue {
|
|
999
|
-
/** the name of the metadata. */
|
|
1000
|
-
name?: LocalizableString;
|
|
1001
|
-
/** the value of the metadata. */
|
|
1002
|
-
value?: string;
|
|
1003
|
-
}
|
|
1004
|
-
/** Represents a metric value. */
|
|
1005
|
-
export interface MetricValue {
|
|
1006
|
-
/** the timestamp for the metric value in ISO 8601 format. */
|
|
1007
|
-
timeStamp: Date;
|
|
1008
|
-
/** the average value in the time range. */
|
|
1009
|
-
average?: number;
|
|
1010
|
-
/** the least value in the time range. */
|
|
1011
|
-
minimum?: number;
|
|
1012
|
-
/** the greatest value in the time range. */
|
|
1013
|
-
maximum?: number;
|
|
1014
|
-
/** the sum of all of the values in the time range. */
|
|
1015
|
-
total?: number;
|
|
1016
|
-
/** the number of samples in the time range. Can be used to determine the number of values that contributed to the average value. */
|
|
1017
|
-
count?: number;
|
|
1551
|
+
value: LocalizableStringAutoGenerated[];
|
|
1018
1552
|
}
|
|
1019
1553
|
/** A list of metric baselines. */
|
|
1020
1554
|
export interface MetricBaselinesResponse {
|
|
@@ -1096,7 +1630,7 @@ export interface MetricAlertAction {
|
|
|
1096
1630
|
};
|
|
1097
1631
|
}
|
|
1098
1632
|
/** An azure resource object */
|
|
1099
|
-
export interface
|
|
1633
|
+
export interface ResourceAutoGenerated6 {
|
|
1100
1634
|
/**
|
|
1101
1635
|
* Azure resource Id
|
|
1102
1636
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1250,8 +1784,6 @@ export interface ScheduledQueryRuleResource {
|
|
|
1250
1784
|
severity?: AlertSeverity;
|
|
1251
1785
|
/** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
|
|
1252
1786
|
enabled?: boolean;
|
|
1253
|
-
/** This determines if traffic is allowed over public network. By default it is enabled. */
|
|
1254
|
-
publicNetworkAccess?: PublicNetworkAccess;
|
|
1255
1787
|
/** The list of resource id's that this scheduled query rule is scoped to. */
|
|
1256
1788
|
scopes?: string[];
|
|
1257
1789
|
/** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
|
|
@@ -1364,6 +1896,10 @@ export interface Actions {
|
|
|
1364
1896
|
customProperties?: {
|
|
1365
1897
|
[propertyName: string]: string;
|
|
1366
1898
|
};
|
|
1899
|
+
/** The properties of an action properties. */
|
|
1900
|
+
actionProperties?: {
|
|
1901
|
+
[propertyName: string]: string;
|
|
1902
|
+
};
|
|
1367
1903
|
}
|
|
1368
1904
|
/** TBD. Relevant only for rules of the kind LogAlert. */
|
|
1369
1905
|
export interface RuleResolveConfiguration {
|
|
@@ -1372,52 +1908,6 @@ export interface RuleResolveConfiguration {
|
|
|
1372
1908
|
/** The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format. */
|
|
1373
1909
|
timeToResolve?: string;
|
|
1374
1910
|
}
|
|
1375
|
-
/** Describes the format of Error response. */
|
|
1376
|
-
export interface ErrorContract {
|
|
1377
|
-
/** The error details. */
|
|
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>;
|
|
1420
|
-
}
|
|
1421
1911
|
/** The scheduled query rule resource for patch operations. */
|
|
1422
1912
|
export interface ScheduledQueryRuleResourcePatch {
|
|
1423
1913
|
/** The identity of the resource. */
|
|
@@ -1444,8 +1934,6 @@ export interface ScheduledQueryRuleResourcePatch {
|
|
|
1444
1934
|
severity?: AlertSeverity;
|
|
1445
1935
|
/** The flag which indicates whether this scheduled query rule is enabled. Value should be true or false */
|
|
1446
1936
|
enabled?: boolean;
|
|
1447
|
-
/** This determines if traffic is allowed over public network. By default it is enabled. */
|
|
1448
|
-
publicNetworkAccess?: PublicNetworkAccess;
|
|
1449
1937
|
/** The list of resource id's that this scheduled query rule is scoped to. */
|
|
1450
1938
|
scopes?: string[];
|
|
1451
1939
|
/** How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert. */
|
|
@@ -1474,30 +1962,7 @@ export interface ScheduledQueryRuleResourcePatch {
|
|
|
1474
1962
|
/** 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
1963
|
autoMitigate?: boolean;
|
|
1476
1964
|
/** Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert. */
|
|
1477
|
-
ruleResolveConfiguration?: RuleResolveConfiguration;
|
|
1478
|
-
}
|
|
1479
|
-
/** Represents collection of metric namespaces. */
|
|
1480
|
-
export interface MetricNamespaceCollection {
|
|
1481
|
-
/** The values for the metric namespaces. */
|
|
1482
|
-
value: MetricNamespace[];
|
|
1483
|
-
}
|
|
1484
|
-
/** Metric namespace class specifies the metadata for a metric namespace. */
|
|
1485
|
-
export interface MetricNamespace {
|
|
1486
|
-
/** The ID of the metric namespace. */
|
|
1487
|
-
id?: string;
|
|
1488
|
-
/** The type of the namespace. */
|
|
1489
|
-
type?: string;
|
|
1490
|
-
/** The escaped name of the namespace. */
|
|
1491
|
-
name?: string;
|
|
1492
|
-
/** Kind of namespace */
|
|
1493
|
-
classification?: NamespaceClassification;
|
|
1494
|
-
/** Properties which include the fully qualified namespace name. */
|
|
1495
|
-
properties?: MetricNamespaceName;
|
|
1496
|
-
}
|
|
1497
|
-
/** The fully qualified metric namespace name. */
|
|
1498
|
-
export interface MetricNamespaceName {
|
|
1499
|
-
/** The metric namespace name. */
|
|
1500
|
-
metricNamespaceName?: string;
|
|
1965
|
+
ruleResolveConfiguration?: RuleResolveConfiguration;
|
|
1501
1966
|
}
|
|
1502
1967
|
/** Information about a container with data for a given resource. */
|
|
1503
1968
|
export interface DataContainer {
|
|
@@ -1551,22 +2016,13 @@ export interface AzureMonitorPrivateLinkScopeListResult {
|
|
|
1551
2016
|
nextLink?: string;
|
|
1552
2017
|
}
|
|
1553
2018
|
/** The Private Endpoint resource. */
|
|
1554
|
-
export interface
|
|
2019
|
+
export interface PrivateEndpointAutoGenerated {
|
|
1555
2020
|
/**
|
|
1556
2021
|
* The ARM identifier for Private Endpoint
|
|
1557
2022
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1558
2023
|
*/
|
|
1559
2024
|
readonly id?: string;
|
|
1560
2025
|
}
|
|
1561
|
-
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
1562
|
-
export interface PrivateLinkServiceConnectionState {
|
|
1563
|
-
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
1564
|
-
status?: PrivateEndpointServiceConnectionStatus;
|
|
1565
|
-
/** The reason for approval/rejection of the connection. */
|
|
1566
|
-
description?: string;
|
|
1567
|
-
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
1568
|
-
actionsRequired?: string;
|
|
1569
|
-
}
|
|
1570
2026
|
/** Properties that define the scope private link mode settings. */
|
|
1571
2027
|
export interface AccessModeSettings {
|
|
1572
2028
|
/** Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array. */
|
|
@@ -1588,48 +2044,7 @@ export interface AccessModeSettingsExclusion {
|
|
|
1588
2044
|
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
1589
2045
|
export interface DefaultErrorResponse {
|
|
1590
2046
|
/** The error object. */
|
|
1591
|
-
error?:
|
|
1592
|
-
}
|
|
1593
|
-
/** The error detail. */
|
|
1594
|
-
export interface ErrorDetail {
|
|
1595
|
-
/**
|
|
1596
|
-
* The error code.
|
|
1597
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1598
|
-
*/
|
|
1599
|
-
readonly code?: string;
|
|
1600
|
-
/**
|
|
1601
|
-
* The error message.
|
|
1602
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1603
|
-
*/
|
|
1604
|
-
readonly message?: string;
|
|
1605
|
-
/**
|
|
1606
|
-
* The error target.
|
|
1607
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1608
|
-
*/
|
|
1609
|
-
readonly target?: string;
|
|
1610
|
-
/**
|
|
1611
|
-
* The error details.
|
|
1612
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1613
|
-
*/
|
|
1614
|
-
readonly details?: ErrorDetail[];
|
|
1615
|
-
/**
|
|
1616
|
-
* The error additional info.
|
|
1617
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1618
|
-
*/
|
|
1619
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
1620
|
-
}
|
|
1621
|
-
/** The resource management error additional info. */
|
|
1622
|
-
export interface ErrorAdditionalInfo {
|
|
1623
|
-
/**
|
|
1624
|
-
* The additional info type.
|
|
1625
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1626
|
-
*/
|
|
1627
|
-
readonly type?: string;
|
|
1628
|
-
/**
|
|
1629
|
-
* The additional info.
|
|
1630
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1631
|
-
*/
|
|
1632
|
-
readonly info?: Record<string, unknown>;
|
|
2047
|
+
error?: ErrorDetailAutoGenerated;
|
|
1633
2048
|
}
|
|
1634
2049
|
/** A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance. */
|
|
1635
2050
|
export interface TagsResource {
|
|
@@ -1651,7 +2066,7 @@ export interface OperationStatus {
|
|
|
1651
2066
|
/** The status of the operation. */
|
|
1652
2067
|
status?: string;
|
|
1653
2068
|
/** The error detail of the operation if any. */
|
|
1654
|
-
error?:
|
|
2069
|
+
error?: ErrorDetailAutoGenerated;
|
|
1655
2070
|
}
|
|
1656
2071
|
/** A list of private link resources */
|
|
1657
2072
|
export interface PrivateLinkResourceListResult {
|
|
@@ -1661,7 +2076,7 @@ export interface PrivateLinkResourceListResult {
|
|
|
1661
2076
|
/** List of private endpoint connection associated with the specified storage account */
|
|
1662
2077
|
export interface PrivateEndpointConnectionListResult {
|
|
1663
2078
|
/** Array of private endpoint connections */
|
|
1664
|
-
value?:
|
|
2079
|
+
value?: PrivateEndpointConnectionAutoGenerated[];
|
|
1665
2080
|
}
|
|
1666
2081
|
/** A list of scoped resources in a private link scope. */
|
|
1667
2082
|
export interface ScopedResourceListResult {
|
|
@@ -1727,7 +2142,7 @@ export interface AzureResourceAutoGenerated {
|
|
|
1727
2142
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1728
2143
|
*/
|
|
1729
2144
|
readonly type?: string;
|
|
1730
|
-
/** The location of the resource.
|
|
2145
|
+
/** The location of the resource. Azure Activity Log Alert rules are supported on Global, West Europe and North Europe regions. */
|
|
1731
2146
|
location?: string;
|
|
1732
2147
|
/** The tags of the resource. */
|
|
1733
2148
|
tags?: {
|
|
@@ -1735,7 +2150,7 @@ export interface AzureResourceAutoGenerated {
|
|
|
1735
2150
|
};
|
|
1736
2151
|
}
|
|
1737
2152
|
/** The error response. */
|
|
1738
|
-
export interface
|
|
2153
|
+
export interface ErrorResponseAutoGenerated4 {
|
|
1739
2154
|
/**
|
|
1740
2155
|
* The error code.
|
|
1741
2156
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1780,6 +2195,8 @@ export interface DataCollectionEndpointResource {
|
|
|
1780
2195
|
};
|
|
1781
2196
|
/** The kind of the resource. */
|
|
1782
2197
|
kind?: KnownDataCollectionEndpointResourceKind;
|
|
2198
|
+
/** Managed service identity of the resource. */
|
|
2199
|
+
identity?: DataCollectionEndpointResourceIdentity;
|
|
1783
2200
|
/**
|
|
1784
2201
|
* Fully qualified ID of the resource.
|
|
1785
2202
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1813,6 +2230,8 @@ export interface DataCollectionEndpointResource {
|
|
|
1813
2230
|
configurationAccess?: DataCollectionEndpointConfigurationAccess;
|
|
1814
2231
|
/** The endpoint used by clients to ingest logs. */
|
|
1815
2232
|
logsIngestion?: DataCollectionEndpointLogsIngestion;
|
|
2233
|
+
/** The endpoint used by clients to ingest metrics. */
|
|
2234
|
+
metricsIngestion?: DataCollectionEndpointMetricsIngestion;
|
|
1816
2235
|
/** Network access control rules for the endpoints. */
|
|
1817
2236
|
networkAcls?: DataCollectionEndpointNetworkAcls;
|
|
1818
2237
|
/**
|
|
@@ -1820,6 +2239,21 @@ export interface DataCollectionEndpointResource {
|
|
|
1820
2239
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1821
2240
|
*/
|
|
1822
2241
|
readonly provisioningState?: KnownDataCollectionEndpointProvisioningState;
|
|
2242
|
+
/**
|
|
2243
|
+
* List of Azure Monitor Private Link Scope Resources to which this data collection endpoint resource is associated. This property is READ-ONLY.
|
|
2244
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2245
|
+
*/
|
|
2246
|
+
readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
|
|
2247
|
+
/**
|
|
2248
|
+
* Failover configuration on this endpoint. This property is READ-ONLY.
|
|
2249
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2250
|
+
*/
|
|
2251
|
+
readonly failoverConfiguration?: DataCollectionEndpointFailoverConfiguration;
|
|
2252
|
+
/**
|
|
2253
|
+
* Metadata for the resource. This property is READ-ONLY.
|
|
2254
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2255
|
+
*/
|
|
2256
|
+
readonly metadata?: DataCollectionEndpointMetadata;
|
|
1823
2257
|
}
|
|
1824
2258
|
/** Definition of data collection endpoint. */
|
|
1825
2259
|
export interface DataCollectionEndpoint {
|
|
@@ -1831,6 +2265,8 @@ export interface DataCollectionEndpoint {
|
|
|
1831
2265
|
configurationAccess?: DataCollectionEndpointConfigurationAccess;
|
|
1832
2266
|
/** The endpoint used by clients to ingest logs. */
|
|
1833
2267
|
logsIngestion?: DataCollectionEndpointLogsIngestion;
|
|
2268
|
+
/** The endpoint used by clients to ingest metrics. */
|
|
2269
|
+
metricsIngestion?: DataCollectionEndpointMetricsIngestion;
|
|
1834
2270
|
/** Network access control rules for the endpoints. */
|
|
1835
2271
|
networkAcls?: DataCollectionEndpointNetworkAcls;
|
|
1836
2272
|
/**
|
|
@@ -1838,6 +2274,21 @@ export interface DataCollectionEndpoint {
|
|
|
1838
2274
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1839
2275
|
*/
|
|
1840
2276
|
readonly provisioningState?: KnownDataCollectionEndpointProvisioningState;
|
|
2277
|
+
/**
|
|
2278
|
+
* List of Azure Monitor Private Link Scope Resources to which this data collection endpoint resource is associated. This property is READ-ONLY.
|
|
2279
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2280
|
+
*/
|
|
2281
|
+
readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
|
|
2282
|
+
/**
|
|
2283
|
+
* Failover configuration on this endpoint. This property is READ-ONLY.
|
|
2284
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2285
|
+
*/
|
|
2286
|
+
readonly failoverConfiguration?: DataCollectionEndpointFailoverConfiguration;
|
|
2287
|
+
/**
|
|
2288
|
+
* Metadata for the resource. This property is READ-ONLY.
|
|
2289
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2290
|
+
*/
|
|
2291
|
+
readonly metadata?: DataCollectionEndpointMetadata;
|
|
1841
2292
|
}
|
|
1842
2293
|
/** Definition of the endpoint used for accessing configuration. */
|
|
1843
2294
|
export interface ConfigurationAccessEndpointSpec {
|
|
@@ -1855,15 +2306,86 @@ export interface LogsIngestionEndpointSpec {
|
|
|
1855
2306
|
*/
|
|
1856
2307
|
readonly endpoint?: string;
|
|
1857
2308
|
}
|
|
2309
|
+
/** Definition of the endpoint used for ingesting metrics. */
|
|
2310
|
+
export interface MetricsIngestionEndpointSpec {
|
|
2311
|
+
/**
|
|
2312
|
+
* The endpoint. This property is READ-ONLY.
|
|
2313
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2314
|
+
*/
|
|
2315
|
+
readonly endpoint?: string;
|
|
2316
|
+
}
|
|
1858
2317
|
/** Definition of the network rules. */
|
|
1859
2318
|
export interface NetworkRuleSet {
|
|
1860
2319
|
/** The configuration to set whether network access from public internet to the endpoints are allowed. */
|
|
1861
2320
|
publicNetworkAccess?: KnownPublicNetworkAccessOptions;
|
|
1862
2321
|
}
|
|
2322
|
+
export interface PrivateLinkScopedResource {
|
|
2323
|
+
/** The resourceId of the Azure Monitor Private Link Scope Scoped Resource through which this DCE is associated with a Azure Monitor Private Link Scope. */
|
|
2324
|
+
resourceId?: string;
|
|
2325
|
+
/** The immutableId of the Azure Monitor Private Link Scope Resource to which the association is. */
|
|
2326
|
+
scopeId?: string;
|
|
2327
|
+
}
|
|
2328
|
+
export interface FailoverConfigurationSpec {
|
|
2329
|
+
/** Active location where data flow will occur. */
|
|
2330
|
+
activeLocation?: string;
|
|
2331
|
+
/** Locations that are configured for failover. */
|
|
2332
|
+
locations?: LocationSpec[];
|
|
2333
|
+
}
|
|
2334
|
+
export interface LocationSpec {
|
|
2335
|
+
/** Name of location. */
|
|
2336
|
+
location?: string;
|
|
2337
|
+
/** The resource provisioning state in this location. */
|
|
2338
|
+
provisioningStatus?: KnownLocationSpecProvisioningStatus;
|
|
2339
|
+
}
|
|
2340
|
+
/** Metadata about the resource */
|
|
2341
|
+
export interface Metadata {
|
|
2342
|
+
/**
|
|
2343
|
+
* Azure offering managing this resource on-behalf-of customer.
|
|
2344
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2345
|
+
*/
|
|
2346
|
+
readonly provisionedBy?: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* Resource Id of azure offering managing this resource on-behalf-of customer.
|
|
2349
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2350
|
+
*/
|
|
2351
|
+
readonly provisionedByResourceId?: string;
|
|
2352
|
+
}
|
|
2353
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
2354
|
+
export interface ManagedServiceIdentity {
|
|
2355
|
+
/**
|
|
2356
|
+
* The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
2357
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2358
|
+
*/
|
|
2359
|
+
readonly principalId?: string;
|
|
2360
|
+
/**
|
|
2361
|
+
* The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
2362
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2363
|
+
*/
|
|
2364
|
+
readonly tenantId?: string;
|
|
2365
|
+
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
2366
|
+
type: ManagedServiceIdentityType;
|
|
2367
|
+
/** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
|
|
2368
|
+
userAssignedIdentities?: {
|
|
2369
|
+
[propertyName: string]: UserAssignedIdentity | null;
|
|
2370
|
+
};
|
|
2371
|
+
}
|
|
2372
|
+
/** User assigned identity properties */
|
|
2373
|
+
export interface UserAssignedIdentity {
|
|
2374
|
+
/**
|
|
2375
|
+
* The principal ID of the assigned identity.
|
|
2376
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2377
|
+
*/
|
|
2378
|
+
readonly principalId?: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* The client ID of the assigned identity.
|
|
2381
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2382
|
+
*/
|
|
2383
|
+
readonly clientId?: string;
|
|
2384
|
+
}
|
|
1863
2385
|
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
1864
2386
|
export interface ErrorResponseCommonV2 {
|
|
1865
2387
|
/** The error object. */
|
|
1866
|
-
error?:
|
|
2388
|
+
error?: ErrorDetailAutoGenerated;
|
|
1867
2389
|
}
|
|
1868
2390
|
/** Definition of ARM tracked top level resource properties for update operation. */
|
|
1869
2391
|
export interface ResourceForUpdate {
|
|
@@ -1871,6 +2393,8 @@ export interface ResourceForUpdate {
|
|
|
1871
2393
|
tags?: {
|
|
1872
2394
|
[propertyName: string]: string;
|
|
1873
2395
|
};
|
|
2396
|
+
/** Managed Service Identity. */
|
|
2397
|
+
identity?: ResourceForUpdateIdentity;
|
|
1874
2398
|
}
|
|
1875
2399
|
/** A pageable list of resources. */
|
|
1876
2400
|
export interface DataCollectionRuleAssociationProxyOnlyResourceListResult {
|
|
@@ -1942,14 +2466,6 @@ export interface DataCollectionRuleAssociation {
|
|
|
1942
2466
|
*/
|
|
1943
2467
|
readonly metadata?: DataCollectionRuleAssociationMetadata;
|
|
1944
2468
|
}
|
|
1945
|
-
/** Metadata about the resource */
|
|
1946
|
-
export interface Metadata {
|
|
1947
|
-
/**
|
|
1948
|
-
* Azure offering managing this resource on-behalf-of customer.
|
|
1949
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1950
|
-
*/
|
|
1951
|
-
readonly provisionedBy?: string;
|
|
1952
|
-
}
|
|
1953
2469
|
/** A pageable list of resources. */
|
|
1954
2470
|
export interface DataCollectionRuleResourceListResult {
|
|
1955
2471
|
/** A list of resources. */
|
|
@@ -1967,6 +2483,8 @@ export interface DataCollectionRuleResource {
|
|
|
1967
2483
|
};
|
|
1968
2484
|
/** The kind of the resource. */
|
|
1969
2485
|
kind?: KnownDataCollectionRuleResourceKind;
|
|
2486
|
+
/** Managed service identity of the resource. */
|
|
2487
|
+
identity?: DataCollectionRuleResourceIdentity;
|
|
1970
2488
|
/**
|
|
1971
2489
|
* Fully qualified ID of the resource.
|
|
1972
2490
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2086,6 +2604,14 @@ export interface DataSourcesSpec {
|
|
|
2086
2604
|
logFiles?: LogFilesDataSource[];
|
|
2087
2605
|
/** The list of IIS logs source configurations. */
|
|
2088
2606
|
iisLogs?: IisLogsDataSource[];
|
|
2607
|
+
/** The list of Windows Firewall logs source configurations. */
|
|
2608
|
+
windowsFirewallLogs?: WindowsFirewallLogsDataSource[];
|
|
2609
|
+
/** The list of Prometheus forwarder data source configurations. */
|
|
2610
|
+
prometheusForwarder?: PrometheusForwarderDataSource[];
|
|
2611
|
+
/** The list of platform telemetry configurations */
|
|
2612
|
+
platformTelemetry?: PlatformTelemetryDataSource[];
|
|
2613
|
+
/** Specifications of pull based data sources */
|
|
2614
|
+
dataImports?: DataSourcesSpecDataImports;
|
|
2089
2615
|
}
|
|
2090
2616
|
/**
|
|
2091
2617
|
* Definition of which performance counters will be collected and how they will be collected by this data collection rule.
|
|
@@ -2195,243 +2721,185 @@ export interface LogFileSettings {
|
|
|
2195
2721
|
/** Text settings */
|
|
2196
2722
|
text?: LogFileSettingsText;
|
|
2197
2723
|
}
|
|
2198
|
-
/** Settings for text log files */
|
|
2199
|
-
export interface LogFileTextSettings {
|
|
2200
|
-
/** One of the supported timestamp formats */
|
|
2201
|
-
recordStartTimestampFormat: KnownLogFileTextSettingsRecordStartTimestampFormat;
|
|
2202
|
-
}
|
|
2203
|
-
/** Enables IIS logs to be collected by this data collection rule. */
|
|
2204
|
-
export interface IisLogsDataSource {
|
|
2205
|
-
/** IIS streams */
|
|
2206
|
-
streams: string[];
|
|
2207
|
-
/** Absolute paths file location */
|
|
2208
|
-
logDirectories?: string[];
|
|
2209
|
-
/**
|
|
2210
|
-
* A friendly name for the data source.
|
|
2211
|
-
* This name should be unique across all data sources (regardless of type) within the data collection rule.
|
|
2212
|
-
*/
|
|
2213
|
-
name?: string;
|
|
2214
|
-
}
|
|
2215
|
-
/** Specification of destinations that can be used in data flows. */
|
|
2216
|
-
export interface DestinationsSpec {
|
|
2217
|
-
/** List of Log Analytics destinations. */
|
|
2218
|
-
logAnalytics?: LogAnalyticsDestination[];
|
|
2219
|
-
/** Azure Monitor Metrics destination. */
|
|
2220
|
-
azureMonitorMetrics?: DestinationsSpecAzureMonitorMetrics;
|
|
2221
|
-
}
|
|
2222
|
-
/** Log Analytics destination. */
|
|
2223
|
-
export interface LogAnalyticsDestination {
|
|
2224
|
-
/** The resource ID of the Log Analytics workspace. */
|
|
2225
|
-
workspaceResourceId?: string;
|
|
2226
|
-
/**
|
|
2227
|
-
* The Customer ID of the Log Analytics workspace.
|
|
2228
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2229
|
-
*/
|
|
2230
|
-
readonly workspaceId?: string;
|
|
2231
|
-
/**
|
|
2232
|
-
* A friendly name for the destination.
|
|
2233
|
-
* This name should be unique across all destinations (regardless of type) within the data collection rule.
|
|
2234
|
-
*/
|
|
2235
|
-
name?: string;
|
|
2236
|
-
}
|
|
2237
|
-
/** Azure Monitor Metrics destination. */
|
|
2238
|
-
export interface AzureMonitorMetricsDestination {
|
|
2239
|
-
/**
|
|
2240
|
-
* A friendly name for the destination.
|
|
2241
|
-
* This name should be unique across all destinations (regardless of type) within the data collection rule.
|
|
2242
|
-
*/
|
|
2243
|
-
name?: string;
|
|
2244
|
-
}
|
|
2245
|
-
/** Definition of which streams are sent to which destinations. */
|
|
2246
|
-
export interface DataFlow {
|
|
2247
|
-
/** List of streams for this data flow. */
|
|
2248
|
-
streams?: KnownDataFlowStreams[];
|
|
2249
|
-
/** List of destinations for this data flow. */
|
|
2250
|
-
destinations?: string[];
|
|
2251
|
-
/** The KQL query to transform stream data. */
|
|
2252
|
-
transformKql?: string;
|
|
2253
|
-
/** The output stream of the transform. Only required if the transform changes data to a different stream. */
|
|
2254
|
-
outputStream?: string;
|
|
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;
|
|
2724
|
+
/** Settings for text log files */
|
|
2725
|
+
export interface LogFileTextSettings {
|
|
2726
|
+
/** One of the supported timestamp formats */
|
|
2727
|
+
recordStartTimestampFormat: KnownLogFileTextSettingsRecordStartTimestampFormat;
|
|
2339
2728
|
}
|
|
2340
|
-
/**
|
|
2341
|
-
export interface
|
|
2729
|
+
/** Enables IIS logs to be collected by this data collection rule. */
|
|
2730
|
+
export interface IisLogsDataSource {
|
|
2731
|
+
/** IIS streams */
|
|
2732
|
+
streams: string[];
|
|
2733
|
+
/** Absolute paths file location */
|
|
2734
|
+
logDirectories?: string[];
|
|
2342
2735
|
/**
|
|
2343
|
-
*
|
|
2344
|
-
*
|
|
2736
|
+
* A friendly name for the data source.
|
|
2737
|
+
* This name should be unique across all data sources (regardless of type) within the data collection rule.
|
|
2345
2738
|
*/
|
|
2346
|
-
|
|
2739
|
+
name?: string;
|
|
2740
|
+
}
|
|
2741
|
+
/** Enables Firewall logs to be collected by this data collection rule. */
|
|
2742
|
+
export interface WindowsFirewallLogsDataSource {
|
|
2743
|
+
/** Firewall logs streams */
|
|
2744
|
+
streams: string[];
|
|
2347
2745
|
/**
|
|
2348
|
-
*
|
|
2349
|
-
*
|
|
2746
|
+
* A friendly name for the data source.
|
|
2747
|
+
* This name should be unique across all data sources (regardless of type) within the data collection rule.
|
|
2350
2748
|
*/
|
|
2351
|
-
|
|
2749
|
+
name?: string;
|
|
2750
|
+
}
|
|
2751
|
+
/** Definition of Prometheus metrics forwarding configuration. */
|
|
2752
|
+
export interface PrometheusForwarderDataSource {
|
|
2753
|
+
/** List of streams that this data source will be sent to. */
|
|
2754
|
+
streams?: KnownPrometheusForwarderDataSourceStreams[];
|
|
2352
2755
|
/**
|
|
2353
|
-
* The
|
|
2354
|
-
*
|
|
2756
|
+
* The list of label inclusion filters in the form of label "name-value" pairs.
|
|
2757
|
+
* Currently only one label is supported: 'microsoft_metrics_include_label'.
|
|
2758
|
+
* Label values are matched case-insensitively.
|
|
2355
2759
|
*/
|
|
2356
|
-
|
|
2760
|
+
labelIncludeFilter?: {
|
|
2761
|
+
[propertyName: string]: string;
|
|
2762
|
+
};
|
|
2357
2763
|
/**
|
|
2358
|
-
*
|
|
2359
|
-
*
|
|
2764
|
+
* A friendly name for the data source.
|
|
2765
|
+
* This name should be unique across all data sources (regardless of type) within the data collection rule.
|
|
2360
2766
|
*/
|
|
2361
|
-
|
|
2767
|
+
name?: string;
|
|
2768
|
+
}
|
|
2769
|
+
/** Definition of platform telemetry data source configuration */
|
|
2770
|
+
export interface PlatformTelemetryDataSource {
|
|
2771
|
+
/** List of platform telemetry streams to collect */
|
|
2772
|
+
streams: string[];
|
|
2362
2773
|
/**
|
|
2363
|
-
*
|
|
2364
|
-
*
|
|
2774
|
+
* A friendly name for the data source.
|
|
2775
|
+
* This name should be unique across all data sources (regardless of type) within the data collection rule.
|
|
2365
2776
|
*/
|
|
2366
|
-
|
|
2777
|
+
name?: string;
|
|
2367
2778
|
}
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
tags?: {
|
|
2372
|
-
[propertyName: string]: string;
|
|
2373
|
-
};
|
|
2779
|
+
export interface DataImportSources {
|
|
2780
|
+
/** Definition of Event Hub configuration. */
|
|
2781
|
+
eventHub?: DataImportSourcesEventHub;
|
|
2374
2782
|
}
|
|
2375
|
-
|
|
2376
|
-
export interface OperationListResultAutoGenerated {
|
|
2783
|
+
export interface EventHubDataSource {
|
|
2377
2784
|
/**
|
|
2378
|
-
*
|
|
2379
|
-
*
|
|
2785
|
+
* A friendly name for the data source.
|
|
2786
|
+
* This name should be unique across all data sources (regardless of type) within the data collection rule.
|
|
2380
2787
|
*/
|
|
2381
|
-
|
|
2788
|
+
name?: string;
|
|
2789
|
+
/** Event Hub consumer group name */
|
|
2790
|
+
consumerGroup?: string;
|
|
2791
|
+
/** The stream to collect from EventHub */
|
|
2792
|
+
stream?: string;
|
|
2793
|
+
}
|
|
2794
|
+
/** Specification of destinations that can be used in data flows. */
|
|
2795
|
+
export interface DestinationsSpec {
|
|
2796
|
+
/** List of Log Analytics destinations. */
|
|
2797
|
+
logAnalytics?: LogAnalyticsDestination[];
|
|
2798
|
+
/** List of monitoring account destinations. */
|
|
2799
|
+
monitoringAccounts?: MonitoringAccountDestination[];
|
|
2800
|
+
/** Azure Monitor Metrics destination. */
|
|
2801
|
+
azureMonitorMetrics?: DestinationsSpecAzureMonitorMetrics;
|
|
2802
|
+
/** List of Event Hubs destinations. */
|
|
2803
|
+
eventHubs?: EventHubDestination[];
|
|
2804
|
+
/** List of Event Hubs Direct destinations. */
|
|
2805
|
+
eventHubsDirect?: EventHubDirectDestination[];
|
|
2806
|
+
/** List of Storage Blob Direct destinations. To be used only for sending data directly to store from the agent. */
|
|
2807
|
+
storageBlobsDirect?: StorageBlobDestination[];
|
|
2808
|
+
/** List of Storage Table Direct destinations. */
|
|
2809
|
+
storageTablesDirect?: StorageTableDestination[];
|
|
2810
|
+
/** List of storage accounts destinations. */
|
|
2811
|
+
storageAccounts?: StorageBlobDestination[];
|
|
2812
|
+
}
|
|
2813
|
+
/** Log Analytics destination. */
|
|
2814
|
+
export interface LogAnalyticsDestination {
|
|
2815
|
+
/** The resource ID of the Log Analytics workspace. */
|
|
2816
|
+
workspaceResourceId?: string;
|
|
2382
2817
|
/**
|
|
2383
|
-
*
|
|
2818
|
+
* The Customer ID of the Log Analytics workspace.
|
|
2384
2819
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2385
2820
|
*/
|
|
2386
|
-
readonly
|
|
2387
|
-
}
|
|
2388
|
-
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
2389
|
-
export interface OperationAutoGenerated {
|
|
2821
|
+
readonly workspaceId?: string;
|
|
2390
2822
|
/**
|
|
2391
|
-
*
|
|
2392
|
-
*
|
|
2823
|
+
* A friendly name for the destination.
|
|
2824
|
+
* This name should be unique across all destinations (regardless of type) within the data collection rule.
|
|
2393
2825
|
*/
|
|
2394
|
-
|
|
2826
|
+
name?: string;
|
|
2827
|
+
}
|
|
2828
|
+
/** Monitoring account destination. */
|
|
2829
|
+
export interface MonitoringAccountDestination {
|
|
2830
|
+
/** The resource ID of the monitoring account. */
|
|
2831
|
+
accountResourceId?: string;
|
|
2395
2832
|
/**
|
|
2396
|
-
*
|
|
2833
|
+
* The immutable ID of the account.
|
|
2397
2834
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2398
2835
|
*/
|
|
2399
|
-
readonly
|
|
2400
|
-
/** Localized display information for this particular operation. */
|
|
2401
|
-
display?: OperationDisplayAutoGenerated;
|
|
2836
|
+
readonly accountId?: string;
|
|
2402
2837
|
/**
|
|
2403
|
-
*
|
|
2404
|
-
*
|
|
2838
|
+
* A friendly name for the destination.
|
|
2839
|
+
* This name should be unique across all destinations (regardless of type) within the data collection rule.
|
|
2405
2840
|
*/
|
|
2406
|
-
|
|
2841
|
+
name?: string;
|
|
2842
|
+
}
|
|
2843
|
+
/** Azure Monitor Metrics destination. */
|
|
2844
|
+
export interface AzureMonitorMetricsDestination {
|
|
2407
2845
|
/**
|
|
2408
|
-
*
|
|
2409
|
-
*
|
|
2846
|
+
* A friendly name for the destination.
|
|
2847
|
+
* This name should be unique across all destinations (regardless of type) within the data collection rule.
|
|
2410
2848
|
*/
|
|
2411
|
-
|
|
2849
|
+
name?: string;
|
|
2412
2850
|
}
|
|
2413
|
-
|
|
2414
|
-
|
|
2851
|
+
export interface EventHubDestination {
|
|
2852
|
+
/** The resource ID of the event hub. */
|
|
2853
|
+
eventHubResourceId?: string;
|
|
2415
2854
|
/**
|
|
2416
|
-
*
|
|
2417
|
-
*
|
|
2855
|
+
* A friendly name for the destination.
|
|
2856
|
+
* This name should be unique across all destinations (regardless of type) within the data collection rule.
|
|
2418
2857
|
*/
|
|
2419
|
-
|
|
2858
|
+
name?: string;
|
|
2859
|
+
}
|
|
2860
|
+
export interface EventHubDirectDestination {
|
|
2861
|
+
/** The resource ID of the event hub. */
|
|
2862
|
+
eventHubResourceId?: string;
|
|
2420
2863
|
/**
|
|
2421
|
-
*
|
|
2422
|
-
*
|
|
2864
|
+
* A friendly name for the destination.
|
|
2865
|
+
* This name should be unique across all destinations (regardless of type) within the data collection rule.
|
|
2423
2866
|
*/
|
|
2424
|
-
|
|
2867
|
+
name?: string;
|
|
2868
|
+
}
|
|
2869
|
+
export interface StorageBlobDestination {
|
|
2870
|
+
/** The container name of the Storage Blob. */
|
|
2871
|
+
containerName?: string;
|
|
2872
|
+
/** The resource ID of the storage account. */
|
|
2873
|
+
storageAccountResourceId?: string;
|
|
2425
2874
|
/**
|
|
2426
|
-
*
|
|
2427
|
-
*
|
|
2875
|
+
* A friendly name for the destination.
|
|
2876
|
+
* This name should be unique across all destinations (regardless of type) within the data collection rule.
|
|
2428
2877
|
*/
|
|
2429
|
-
|
|
2878
|
+
name?: string;
|
|
2879
|
+
}
|
|
2880
|
+
export interface StorageTableDestination {
|
|
2881
|
+
/** The name of the Storage Table. */
|
|
2882
|
+
tableName?: string;
|
|
2883
|
+
/** The resource ID of the storage account. */
|
|
2884
|
+
storageAccountResourceId?: string;
|
|
2430
2885
|
/**
|
|
2431
|
-
*
|
|
2432
|
-
*
|
|
2886
|
+
* A friendly name for the destination.
|
|
2887
|
+
* This name should be unique across all destinations (regardless of type) within the data collection rule.
|
|
2433
2888
|
*/
|
|
2434
|
-
|
|
2889
|
+
name?: string;
|
|
2890
|
+
}
|
|
2891
|
+
/** Definition of which streams are sent to which destinations. */
|
|
2892
|
+
export interface DataFlow {
|
|
2893
|
+
/** List of streams for this data flow. */
|
|
2894
|
+
streams?: KnownDataFlowStreams[];
|
|
2895
|
+
/** List of destinations for this data flow. */
|
|
2896
|
+
destinations?: string[];
|
|
2897
|
+
/** The KQL query to transform stream data. */
|
|
2898
|
+
transformKql?: string;
|
|
2899
|
+
/** The output stream of the transform. Only required if the transform changes data to a different stream. */
|
|
2900
|
+
outputStream?: string;
|
|
2901
|
+
/** The builtIn transform to transform stream data */
|
|
2902
|
+
builtInTransform?: string;
|
|
2435
2903
|
}
|
|
2436
2904
|
/** The claims for a rule management event data source. */
|
|
2437
2905
|
export interface RuleManagementEventClaimsDataSource {
|
|
@@ -2482,8 +2950,49 @@ export interface DynamicThresholdFailingPeriods {
|
|
|
2482
2950
|
/** The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. */
|
|
2483
2951
|
minFailingPeriodsToAlert: number;
|
|
2484
2952
|
}
|
|
2953
|
+
/** Resource properties */
|
|
2954
|
+
export interface AzureMonitorWorkspaceResourceProperties extends AzureMonitorWorkspace {
|
|
2955
|
+
}
|
|
2956
|
+
/** Properties related to the metrics container in the Azure Monitor Workspace */
|
|
2957
|
+
export interface AzureMonitorWorkspaceMetrics extends Metrics {
|
|
2958
|
+
}
|
|
2959
|
+
/** The Data Collection Rule and Endpoint used for ingestion by default. */
|
|
2960
|
+
export interface AzureMonitorWorkspaceDefaultIngestionSettings extends IngestionSettings {
|
|
2961
|
+
}
|
|
2962
|
+
/** The private endpoint connection resource. */
|
|
2963
|
+
export interface PrivateEndpointConnection extends Resource {
|
|
2964
|
+
/**
|
|
2965
|
+
* The group ids for the private endpoint resource.
|
|
2966
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2967
|
+
*/
|
|
2968
|
+
readonly groupIds?: string[];
|
|
2969
|
+
/** The private endpoint resource. */
|
|
2970
|
+
privateEndpoint?: PrivateEndpoint;
|
|
2971
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
2972
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
2973
|
+
/** The provisioning state of the private endpoint connection resource. */
|
|
2974
|
+
provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
2975
|
+
}
|
|
2976
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2977
|
+
export interface DataCollectionEndpointResourceSystemData extends SystemData {
|
|
2978
|
+
}
|
|
2979
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2980
|
+
export interface DataCollectionRuleAssociationProxyOnlyResourceSystemData extends SystemData {
|
|
2981
|
+
}
|
|
2982
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2983
|
+
export interface DataCollectionRuleResourceSystemData extends SystemData {
|
|
2984
|
+
}
|
|
2985
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
2986
|
+
export interface TrackedResource extends ResourceAutoGenerated {
|
|
2987
|
+
/** Resource tags. */
|
|
2988
|
+
tags?: {
|
|
2989
|
+
[propertyName: string]: string;
|
|
2990
|
+
};
|
|
2991
|
+
/** The geo-location where the resource lives */
|
|
2992
|
+
location: string;
|
|
2993
|
+
}
|
|
2485
2994
|
/** The autoscale setting resource. */
|
|
2486
|
-
export interface AutoscaleSettingResource extends
|
|
2995
|
+
export interface AutoscaleSettingResource extends ResourceAutoGenerated2 {
|
|
2487
2996
|
/** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
|
|
2488
2997
|
profiles: AutoscaleProfile[];
|
|
2489
2998
|
/** the collection of notifications. */
|
|
@@ -2499,15 +3008,6 @@ export interface AutoscaleSettingResource extends Resource {
|
|
|
2499
3008
|
/** the location of the resource that the autoscale setting should be added to. */
|
|
2500
3009
|
targetResourceLocation?: string;
|
|
2501
3010
|
}
|
|
2502
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2503
|
-
export interface DataCollectionEndpointResourceSystemData extends SystemData {
|
|
2504
|
-
}
|
|
2505
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2506
|
-
export interface DataCollectionRuleAssociationProxyOnlyResourceSystemData extends SystemData {
|
|
2507
|
-
}
|
|
2508
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2509
|
-
export interface DataCollectionRuleResourceSystemData extends SystemData {
|
|
2510
|
-
}
|
|
2511
3011
|
/** A rule condition based on a metric crossing a threshold. */
|
|
2512
3012
|
export interface ThresholdRuleCondition extends RuleCondition {
|
|
2513
3013
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -2588,7 +3088,7 @@ export interface RuleWebhookAction extends RuleAction {
|
|
|
2588
3088
|
};
|
|
2589
3089
|
}
|
|
2590
3090
|
/** The alert rule resource. */
|
|
2591
|
-
export interface AlertRuleResource extends
|
|
3091
|
+
export interface AlertRuleResource extends ResourceAutoGenerated3 {
|
|
2592
3092
|
/** the name of the alert rule. */
|
|
2593
3093
|
namePropertiesName: string;
|
|
2594
3094
|
/** the description of the alert rule that will be included in the alert email. */
|
|
@@ -2610,7 +3110,7 @@ export interface AlertRuleResource extends ResourceAutoGenerated {
|
|
|
2610
3110
|
readonly lastUpdatedTime?: Date;
|
|
2611
3111
|
}
|
|
2612
3112
|
/** The log profile resource. */
|
|
2613
|
-
export interface LogProfileResource extends
|
|
3113
|
+
export interface LogProfileResource extends ResourceAutoGenerated4 {
|
|
2614
3114
|
/** the resource id of the storage account to which you would like to send the Activity Log. */
|
|
2615
3115
|
storageAccountId?: string;
|
|
2616
3116
|
/** The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'. */
|
|
@@ -2623,7 +3123,7 @@ export interface LogProfileResource extends ResourceAutoGenerated2 {
|
|
|
2623
3123
|
retentionPolicy: RetentionPolicy;
|
|
2624
3124
|
}
|
|
2625
3125
|
/** The diagnostic setting resource. */
|
|
2626
|
-
export interface DiagnosticSettingsResource extends
|
|
3126
|
+
export interface DiagnosticSettingsResource extends ResourceAutoGenerated5 {
|
|
2627
3127
|
/**
|
|
2628
3128
|
* The system metadata related to this resource.
|
|
2629
3129
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2649,7 +3149,7 @@ export interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
|
|
|
2649
3149
|
logAnalyticsDestinationType?: string;
|
|
2650
3150
|
}
|
|
2651
3151
|
/** The diagnostic settings category resource. */
|
|
2652
|
-
export interface DiagnosticSettingsCategoryResource extends
|
|
3152
|
+
export interface DiagnosticSettingsCategoryResource extends ResourceAutoGenerated5 {
|
|
2653
3153
|
/**
|
|
2654
3154
|
* The system metadata related to this resource.
|
|
2655
3155
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2661,19 +3161,16 @@ export interface DiagnosticSettingsCategoryResource extends ResourceAutoGenerate
|
|
|
2661
3161
|
categoryGroups?: string[];
|
|
2662
3162
|
}
|
|
2663
3163
|
/** The Private Endpoint Connection resource. */
|
|
2664
|
-
export interface
|
|
3164
|
+
export interface PrivateEndpointConnectionAutoGenerated extends ResourceAutoGenerated5 {
|
|
2665
3165
|
/** The resource of private end point. */
|
|
2666
|
-
privateEndpoint?:
|
|
3166
|
+
privateEndpoint?: PrivateEndpointAutoGenerated;
|
|
2667
3167
|
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
2668
3168
|
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
2669
|
-
/**
|
|
2670
|
-
|
|
2671
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2672
|
-
*/
|
|
2673
|
-
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
3169
|
+
/** The provisioning state of the private endpoint connection resource. */
|
|
3170
|
+
provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
2674
3171
|
}
|
|
2675
3172
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
2676
|
-
export interface
|
|
3173
|
+
export interface TrackedResourceAutoGenerated extends ResourceAutoGenerated5 {
|
|
2677
3174
|
/** Resource tags. */
|
|
2678
3175
|
tags?: {
|
|
2679
3176
|
[propertyName: string]: string;
|
|
@@ -2682,7 +3179,7 @@ export interface TrackedResource extends ResourceAutoGenerated3 {
|
|
|
2682
3179
|
location: string;
|
|
2683
3180
|
}
|
|
2684
3181
|
/** A private link resource */
|
|
2685
|
-
export interface PrivateLinkResource extends
|
|
3182
|
+
export interface PrivateLinkResource extends ResourceAutoGenerated5 {
|
|
2686
3183
|
/**
|
|
2687
3184
|
* The private link resource group id.
|
|
2688
3185
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2697,7 +3194,7 @@ export interface PrivateLinkResource extends ResourceAutoGenerated3 {
|
|
|
2697
3194
|
requiredZoneNames?: string[];
|
|
2698
3195
|
}
|
|
2699
3196
|
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
2700
|
-
export interface ProxyResourceAutoGenerated extends
|
|
3197
|
+
export interface ProxyResourceAutoGenerated extends ResourceAutoGenerated5 {
|
|
2701
3198
|
}
|
|
2702
3199
|
/** An action group resource. */
|
|
2703
3200
|
export interface ActionGroupResource extends AzureResource {
|
|
@@ -2728,6 +3225,23 @@ export interface ActionGroupResource extends AzureResource {
|
|
|
2728
3225
|
/** The list of event hub receivers that are part of this action group. */
|
|
2729
3226
|
eventHubReceivers?: EventHubReceiver[];
|
|
2730
3227
|
}
|
|
3228
|
+
/** A tenant action group resource. */
|
|
3229
|
+
export interface TenantActionGroupResource extends AzureResource {
|
|
3230
|
+
/** The short name of the action group. This will be used in SMS messages. */
|
|
3231
|
+
groupShortName?: string;
|
|
3232
|
+
/** Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its receivers will receive communications. */
|
|
3233
|
+
enabled?: boolean;
|
|
3234
|
+
/** The list of email receivers that are part of this tenant action group. */
|
|
3235
|
+
emailReceivers?: EmailReceiverAutoGenerated[];
|
|
3236
|
+
/** The list of SMS receivers that are part of this tenant action group. */
|
|
3237
|
+
smsReceivers?: SmsReceiverAutoGenerated[];
|
|
3238
|
+
/** The list of webhook receivers that are part of this tenant action group. */
|
|
3239
|
+
webhookReceivers?: WebhookReceiverAutoGenerated[];
|
|
3240
|
+
/** The list of AzureAppPush receivers that are part of this tenant action group. */
|
|
3241
|
+
azureAppPushReceivers?: AzureAppPushReceiverAutoGenerated[];
|
|
3242
|
+
/** The list of voice receivers that are part of this tenant action group. */
|
|
3243
|
+
voiceReceivers?: VoiceReceiverAutoGenerated[];
|
|
3244
|
+
}
|
|
2731
3245
|
/** Specifies the metric alert criteria for a single resource that has multiple metric criteria. */
|
|
2732
3246
|
export interface MetricAlertSingleResourceMultipleMetricCriteria extends MetricAlertCriteria {
|
|
2733
3247
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -2754,7 +3268,7 @@ export interface MetricAlertMultipleResourceMultipleMetricCriteria extends Metri
|
|
|
2754
3268
|
allOf?: MultiMetricCriteriaUnion[];
|
|
2755
3269
|
}
|
|
2756
3270
|
/** The metric alert resource. */
|
|
2757
|
-
export interface MetricAlertResource extends
|
|
3271
|
+
export interface MetricAlertResource extends ResourceAutoGenerated6 {
|
|
2758
3272
|
/** the description of the metric alert that will be included in the alert email. */
|
|
2759
3273
|
description?: string;
|
|
2760
3274
|
/** Alert severity {0, 1, 2, 3, 4} */
|
|
@@ -2835,11 +3349,17 @@ export interface DataCollectionEndpointConfigurationAccess extends Configuration
|
|
|
2835
3349
|
/** The endpoint used by clients to ingest logs. */
|
|
2836
3350
|
export interface DataCollectionEndpointLogsIngestion extends LogsIngestionEndpointSpec {
|
|
2837
3351
|
}
|
|
3352
|
+
/** The endpoint used by clients to ingest metrics. */
|
|
3353
|
+
export interface DataCollectionEndpointMetricsIngestion extends MetricsIngestionEndpointSpec {
|
|
3354
|
+
}
|
|
2838
3355
|
/** Network access control rules for the endpoints. */
|
|
2839
3356
|
export interface DataCollectionEndpointNetworkAcls extends NetworkRuleSet {
|
|
2840
3357
|
}
|
|
2841
|
-
/**
|
|
2842
|
-
export interface
|
|
3358
|
+
/** Failover configuration on this endpoint. This property is READ-ONLY. */
|
|
3359
|
+
export interface DataCollectionEndpointFailoverConfiguration extends FailoverConfigurationSpec {
|
|
3360
|
+
}
|
|
3361
|
+
/** Metadata for the resource. This property is READ-ONLY. */
|
|
3362
|
+
export interface DataCollectionEndpointMetadata extends Metadata {
|
|
2843
3363
|
}
|
|
2844
3364
|
/** Metadata about the resource */
|
|
2845
3365
|
export interface DataCollectionRuleAssociationMetadata extends Metadata {
|
|
@@ -2847,6 +3367,18 @@ export interface DataCollectionRuleAssociationMetadata extends Metadata {
|
|
|
2847
3367
|
/** Metadata about the resource */
|
|
2848
3368
|
export interface DataCollectionRuleMetadata extends Metadata {
|
|
2849
3369
|
}
|
|
3370
|
+
/** Managed service identity of the resource. */
|
|
3371
|
+
export interface DataCollectionEndpointResourceIdentity extends ManagedServiceIdentity {
|
|
3372
|
+
}
|
|
3373
|
+
/** Managed Service Identity. */
|
|
3374
|
+
export interface ResourceForUpdateIdentity extends ManagedServiceIdentity {
|
|
3375
|
+
}
|
|
3376
|
+
/** Managed service identity of the resource. */
|
|
3377
|
+
export interface DataCollectionRuleResourceIdentity extends ManagedServiceIdentity {
|
|
3378
|
+
}
|
|
3379
|
+
/** Resource properties. */
|
|
3380
|
+
export interface DataCollectionRuleAssociationProxyOnlyResourceProperties extends DataCollectionRuleAssociation {
|
|
3381
|
+
}
|
|
2850
3382
|
/** Resource properties. */
|
|
2851
3383
|
export interface DataCollectionRuleResourceProperties extends DataCollectionRule {
|
|
2852
3384
|
}
|
|
@@ -2862,30 +3394,18 @@ export interface LogFilesDataSourceSettings extends LogFileSettings {
|
|
|
2862
3394
|
/** Text settings */
|
|
2863
3395
|
export interface LogFileSettingsText extends LogFileTextSettings {
|
|
2864
3396
|
}
|
|
3397
|
+
/** Specifications of pull based data sources */
|
|
3398
|
+
export interface DataSourcesSpecDataImports extends DataImportSources {
|
|
3399
|
+
}
|
|
3400
|
+
/** Definition of Event Hub configuration. */
|
|
3401
|
+
export interface DataImportSourcesEventHub extends EventHubDataSource {
|
|
3402
|
+
}
|
|
2865
3403
|
/** The specification of destinations. */
|
|
2866
3404
|
export interface DataCollectionRuleDestinations extends DestinationsSpec {
|
|
2867
3405
|
}
|
|
2868
3406
|
/** Azure Monitor Metrics destination. */
|
|
2869
3407
|
export interface DestinationsSpecAzureMonitorMetrics extends AzureMonitorMetricsDestination {
|
|
2870
3408
|
}
|
|
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
|
-
}
|
|
2889
3409
|
/** Criterion to filter metrics. */
|
|
2890
3410
|
export interface MetricCriteria extends MultiMetricCriteria {
|
|
2891
3411
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -2908,8 +3428,46 @@ export interface DynamicMetricCriteria extends MultiMetricCriteria {
|
|
|
2908
3428
|
/** Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format) */
|
|
2909
3429
|
ignoreDataBefore?: Date;
|
|
2910
3430
|
}
|
|
3431
|
+
/** An Azure Monitor Workspace definition */
|
|
3432
|
+
export interface AzureMonitorWorkspaceResource extends TrackedResource {
|
|
3433
|
+
/**
|
|
3434
|
+
* Resource entity tag (ETag)
|
|
3435
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3436
|
+
*/
|
|
3437
|
+
readonly etag?: string;
|
|
3438
|
+
/**
|
|
3439
|
+
* The immutable Id of the Azure Monitor Workspace. This property is read-only.
|
|
3440
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3441
|
+
*/
|
|
3442
|
+
readonly accountId?: string;
|
|
3443
|
+
/**
|
|
3444
|
+
* Properties related to the metrics container in the Azure Monitor Workspace
|
|
3445
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3446
|
+
*/
|
|
3447
|
+
readonly metrics?: AzureMonitorWorkspaceMetrics;
|
|
3448
|
+
/**
|
|
3449
|
+
* The provisioning state of the Azure Monitor Workspace. Set to Succeeded if everything is healthy.
|
|
3450
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3451
|
+
*/
|
|
3452
|
+
readonly provisioningState?: ProvisioningState;
|
|
3453
|
+
/**
|
|
3454
|
+
* The Data Collection Rule and Endpoint used for ingestion by default.
|
|
3455
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3456
|
+
*/
|
|
3457
|
+
readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
|
|
3458
|
+
/**
|
|
3459
|
+
* List of private endpoint connections
|
|
3460
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3461
|
+
*/
|
|
3462
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
3463
|
+
/**
|
|
3464
|
+
* Gets or sets allow or disallow public network access to Azure Monitor Workspace
|
|
3465
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3466
|
+
*/
|
|
3467
|
+
readonly publicNetworkAccess?: PublicNetworkAccess;
|
|
3468
|
+
}
|
|
2911
3469
|
/** An Azure Monitor PrivateLinkScope definition. */
|
|
2912
|
-
export interface AzureMonitorPrivateLinkScope extends
|
|
3470
|
+
export interface AzureMonitorPrivateLinkScope extends TrackedResourceAutoGenerated {
|
|
2913
3471
|
/**
|
|
2914
3472
|
* System data
|
|
2915
3473
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2924,7 +3482,7 @@ export interface AzureMonitorPrivateLinkScope extends TrackedResource {
|
|
|
2924
3482
|
* List of private endpoint connections.
|
|
2925
3483
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2926
3484
|
*/
|
|
2927
|
-
readonly privateEndpointConnections?:
|
|
3485
|
+
readonly privateEndpointConnections?: PrivateEndpointConnectionAutoGenerated[];
|
|
2928
3486
|
/** Access mode settings */
|
|
2929
3487
|
accessModeSettings: AccessModeSettings;
|
|
2930
3488
|
}
|
|
@@ -2943,65 +3501,224 @@ export interface ScopedResource extends ProxyResourceAutoGenerated {
|
|
|
2943
3501
|
*/
|
|
2944
3502
|
readonly provisioningState?: string;
|
|
2945
3503
|
}
|
|
2946
|
-
/**
|
|
2947
|
-
export interface
|
|
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
|
-
}
|
|
2974
|
-
/** Defines headers for ActionGroups_postTestNotifications operation. */
|
|
2975
|
-
export interface ActionGroupsPostTestNotificationsHeaders {
|
|
2976
|
-
/** The location header that has the polling uri. */
|
|
3504
|
+
/** Defines headers for AzureMonitorWorkspaces_delete operation. */
|
|
3505
|
+
export interface AzureMonitorWorkspacesDeleteHeaders {
|
|
3506
|
+
azureAsyncOperation?: string;
|
|
2977
3507
|
location?: string;
|
|
2978
3508
|
}
|
|
2979
|
-
/** Defines headers for
|
|
2980
|
-
export interface
|
|
3509
|
+
/** Defines headers for ActionGroups_createNotificationsAtActionGroupResourceLevel operation. */
|
|
3510
|
+
export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders {
|
|
2981
3511
|
/** The location header that has the polling uri. */
|
|
2982
3512
|
location?: string;
|
|
2983
3513
|
}
|
|
2984
|
-
/** Defines headers for
|
|
2985
|
-
export interface
|
|
3514
|
+
/** Defines headers for MonitorClient_createNotificationsAtTenantActionGroupResourceLevel operation. */
|
|
3515
|
+
export interface MonitorClientCreateNotificationsAtTenantActionGroupResourceLevelHeaders {
|
|
2986
3516
|
/** The location header that has the polling uri. */
|
|
2987
3517
|
location?: string;
|
|
2988
3518
|
}
|
|
2989
|
-
/** Known values of {@link
|
|
2990
|
-
export declare enum
|
|
2991
|
-
/**
|
|
2992
|
-
|
|
2993
|
-
/**
|
|
2994
|
-
|
|
3519
|
+
/** Known values of {@link NamespaceClassification} that the service accepts. */
|
|
3520
|
+
export declare enum KnownNamespaceClassification {
|
|
3521
|
+
/** Platform */
|
|
3522
|
+
Platform = "Platform",
|
|
3523
|
+
/** Custom */
|
|
3524
|
+
Custom = "Custom",
|
|
3525
|
+
/** Qos */
|
|
3526
|
+
Qos = "Qos"
|
|
2995
3527
|
}
|
|
2996
3528
|
/**
|
|
2997
|
-
* Defines values for
|
|
2998
|
-
* {@link
|
|
3529
|
+
* Defines values for NamespaceClassification. \
|
|
3530
|
+
* {@link KnownNamespaceClassification} can be used interchangeably with NamespaceClassification,
|
|
2999
3531
|
* this enum contains the known values that the service supports.
|
|
3000
3532
|
* ### Known values supported by the service
|
|
3001
|
-
* **
|
|
3002
|
-
* **
|
|
3533
|
+
* **Platform** \
|
|
3534
|
+
* **Custom** \
|
|
3535
|
+
* **Qos**
|
|
3003
3536
|
*/
|
|
3004
|
-
export type
|
|
3537
|
+
export type NamespaceClassification = string;
|
|
3538
|
+
/** Known values of {@link MetricClass} that the service accepts. */
|
|
3539
|
+
export declare enum KnownMetricClass {
|
|
3540
|
+
/** Availability */
|
|
3541
|
+
Availability = "Availability",
|
|
3542
|
+
/** Transactions */
|
|
3543
|
+
Transactions = "Transactions",
|
|
3544
|
+
/** Errors */
|
|
3545
|
+
Errors = "Errors",
|
|
3546
|
+
/** Latency */
|
|
3547
|
+
Latency = "Latency",
|
|
3548
|
+
/** Saturation */
|
|
3549
|
+
Saturation = "Saturation"
|
|
3550
|
+
}
|
|
3551
|
+
/**
|
|
3552
|
+
* Defines values for MetricClass. \
|
|
3553
|
+
* {@link KnownMetricClass} can be used interchangeably with MetricClass,
|
|
3554
|
+
* this enum contains the known values that the service supports.
|
|
3555
|
+
* ### Known values supported by the service
|
|
3556
|
+
* **Availability** \
|
|
3557
|
+
* **Transactions** \
|
|
3558
|
+
* **Errors** \
|
|
3559
|
+
* **Latency** \
|
|
3560
|
+
* **Saturation**
|
|
3561
|
+
*/
|
|
3562
|
+
export type MetricClass = string;
|
|
3563
|
+
/** Known values of {@link MetricUnit} that the service accepts. */
|
|
3564
|
+
export declare enum KnownMetricUnit {
|
|
3565
|
+
/** Unit of raw quantity. */
|
|
3566
|
+
Count = "Count",
|
|
3567
|
+
/** Unit of memory in bytes. */
|
|
3568
|
+
Bytes = "Bytes",
|
|
3569
|
+
/** Unit of time in seconds. */
|
|
3570
|
+
Seconds = "Seconds",
|
|
3571
|
+
/** Rate unit of raw quantity per second. */
|
|
3572
|
+
CountPerSecond = "CountPerSecond",
|
|
3573
|
+
/** Rate unit of memory in bytes per second. */
|
|
3574
|
+
BytesPerSecond = "BytesPerSecond",
|
|
3575
|
+
/** Percentage unit. */
|
|
3576
|
+
Percent = "Percent",
|
|
3577
|
+
/** Unit of time in 1\/1000th of a second. */
|
|
3578
|
+
MilliSeconds = "MilliSeconds",
|
|
3579
|
+
/** Unit of data transfer or storage. It is the size of the data in bytes multiplied by the time it takes to transfer or store the data in seconds. */
|
|
3580
|
+
ByteSeconds = "ByteSeconds",
|
|
3581
|
+
/** No specified unit. */
|
|
3582
|
+
Unspecified = "Unspecified",
|
|
3583
|
+
/** Unit of processing power. */
|
|
3584
|
+
Cores = "Cores",
|
|
3585
|
+
/** Unit of processing power in 1\/1000th of a CPU core. */
|
|
3586
|
+
MilliCores = "MilliCores",
|
|
3587
|
+
/** Unit of processing power in one billionth of a CPU core. */
|
|
3588
|
+
NanoCores = "NanoCores",
|
|
3589
|
+
/** Rate unit of binary digits per second. */
|
|
3590
|
+
BitsPerSecond = "BitsPerSecond"
|
|
3591
|
+
}
|
|
3592
|
+
/**
|
|
3593
|
+
* Defines values for MetricUnit. \
|
|
3594
|
+
* {@link KnownMetricUnit} can be used interchangeably with MetricUnit,
|
|
3595
|
+
* this enum contains the known values that the service supports.
|
|
3596
|
+
* ### Known values supported by the service
|
|
3597
|
+
* **Count**: Unit of raw quantity. \
|
|
3598
|
+
* **Bytes**: Unit of memory in bytes. \
|
|
3599
|
+
* **Seconds**: Unit of time in seconds. \
|
|
3600
|
+
* **CountPerSecond**: Rate unit of raw quantity per second. \
|
|
3601
|
+
* **BytesPerSecond**: Rate unit of memory in bytes per second. \
|
|
3602
|
+
* **Percent**: Percentage unit. \
|
|
3603
|
+
* **MilliSeconds**: Unit of time in 1\/1000th of a second. \
|
|
3604
|
+
* **ByteSeconds**: Unit of data transfer or storage. It is the size of the data in bytes multiplied by the time it takes to transfer or store the data in seconds. \
|
|
3605
|
+
* **Unspecified**: No specified unit. \
|
|
3606
|
+
* **Cores**: Unit of processing power. \
|
|
3607
|
+
* **MilliCores**: Unit of processing power in 1\/1000th of a CPU core. \
|
|
3608
|
+
* **NanoCores**: Unit of processing power in one billionth of a CPU core. \
|
|
3609
|
+
* **BitsPerSecond**: Rate unit of binary digits per second.
|
|
3610
|
+
*/
|
|
3611
|
+
export type MetricUnit = string;
|
|
3612
|
+
/** Known values of {@link MetricAggregationType} that the service accepts. */
|
|
3613
|
+
export declare enum KnownMetricAggregationType {
|
|
3614
|
+
/** None */
|
|
3615
|
+
None = "None",
|
|
3616
|
+
/** Average */
|
|
3617
|
+
Average = "Average",
|
|
3618
|
+
/** Count */
|
|
3619
|
+
Count = "Count",
|
|
3620
|
+
/** Minimum */
|
|
3621
|
+
Minimum = "Minimum",
|
|
3622
|
+
/** Maximum */
|
|
3623
|
+
Maximum = "Maximum",
|
|
3624
|
+
/** Total */
|
|
3625
|
+
Total = "Total"
|
|
3626
|
+
}
|
|
3627
|
+
/**
|
|
3628
|
+
* Defines values for MetricAggregationType. \
|
|
3629
|
+
* {@link KnownMetricAggregationType} can be used interchangeably with MetricAggregationType,
|
|
3630
|
+
* this enum contains the known values that the service supports.
|
|
3631
|
+
* ### Known values supported by the service
|
|
3632
|
+
* **None** \
|
|
3633
|
+
* **Average** \
|
|
3634
|
+
* **Count** \
|
|
3635
|
+
* **Minimum** \
|
|
3636
|
+
* **Maximum** \
|
|
3637
|
+
* **Total**
|
|
3638
|
+
*/
|
|
3639
|
+
export type MetricAggregationType = string;
|
|
3640
|
+
/** Known values of {@link MetricResultType} that the service accepts. */
|
|
3641
|
+
export declare enum KnownMetricResultType {
|
|
3642
|
+
/** Data */
|
|
3643
|
+
Data = "Data",
|
|
3644
|
+
/** Metadata */
|
|
3645
|
+
Metadata = "Metadata"
|
|
3646
|
+
}
|
|
3647
|
+
/**
|
|
3648
|
+
* Defines values for MetricResultType. \
|
|
3649
|
+
* {@link KnownMetricResultType} can be used interchangeably with MetricResultType,
|
|
3650
|
+
* this enum contains the known values that the service supports.
|
|
3651
|
+
* ### Known values supported by the service
|
|
3652
|
+
* **Data** \
|
|
3653
|
+
* **Metadata**
|
|
3654
|
+
*/
|
|
3655
|
+
export type MetricResultType = string;
|
|
3656
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
3657
|
+
export declare enum KnownProvisioningState {
|
|
3658
|
+
/** Creating */
|
|
3659
|
+
Creating = "Creating",
|
|
3660
|
+
/** Succeeded */
|
|
3661
|
+
Succeeded = "Succeeded",
|
|
3662
|
+
/** Deleting */
|
|
3663
|
+
Deleting = "Deleting",
|
|
3664
|
+
/** Failed */
|
|
3665
|
+
Failed = "Failed",
|
|
3666
|
+
/** Canceled */
|
|
3667
|
+
Canceled = "Canceled"
|
|
3668
|
+
}
|
|
3669
|
+
/**
|
|
3670
|
+
* Defines values for ProvisioningState. \
|
|
3671
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
3672
|
+
* this enum contains the known values that the service supports.
|
|
3673
|
+
* ### Known values supported by the service
|
|
3674
|
+
* **Creating** \
|
|
3675
|
+
* **Succeeded** \
|
|
3676
|
+
* **Deleting** \
|
|
3677
|
+
* **Failed** \
|
|
3678
|
+
* **Canceled**
|
|
3679
|
+
*/
|
|
3680
|
+
export type ProvisioningState = string;
|
|
3681
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
3682
|
+
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
3683
|
+
/** Pending */
|
|
3684
|
+
Pending = "Pending",
|
|
3685
|
+
/** Approved */
|
|
3686
|
+
Approved = "Approved",
|
|
3687
|
+
/** Rejected */
|
|
3688
|
+
Rejected = "Rejected"
|
|
3689
|
+
}
|
|
3690
|
+
/**
|
|
3691
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
|
3692
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
3693
|
+
* this enum contains the known values that the service supports.
|
|
3694
|
+
* ### Known values supported by the service
|
|
3695
|
+
* **Pending** \
|
|
3696
|
+
* **Approved** \
|
|
3697
|
+
* **Rejected**
|
|
3698
|
+
*/
|
|
3699
|
+
export type PrivateEndpointServiceConnectionStatus = string;
|
|
3700
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
3701
|
+
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
|
3702
|
+
/** Succeeded */
|
|
3703
|
+
Succeeded = "Succeeded",
|
|
3704
|
+
/** Creating */
|
|
3705
|
+
Creating = "Creating",
|
|
3706
|
+
/** Deleting */
|
|
3707
|
+
Deleting = "Deleting",
|
|
3708
|
+
/** Failed */
|
|
3709
|
+
Failed = "Failed"
|
|
3710
|
+
}
|
|
3711
|
+
/**
|
|
3712
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
|
3713
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
|
3714
|
+
* this enum contains the known values that the service supports.
|
|
3715
|
+
* ### Known values supported by the service
|
|
3716
|
+
* **Succeeded** \
|
|
3717
|
+
* **Creating** \
|
|
3718
|
+
* **Deleting** \
|
|
3719
|
+
* **Failed**
|
|
3720
|
+
*/
|
|
3721
|
+
export type PrivateEndpointConnectionProvisioningState = string;
|
|
3005
3722
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
3006
3723
|
export declare enum KnownCreatedByType {
|
|
3007
3724
|
/** User */
|
|
@@ -3014,16 +3731,80 @@ export declare enum KnownCreatedByType {
|
|
|
3014
3731
|
Key = "Key"
|
|
3015
3732
|
}
|
|
3016
3733
|
/**
|
|
3017
|
-
* Defines values for CreatedByType. \
|
|
3018
|
-
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
3734
|
+
* Defines values for CreatedByType. \
|
|
3735
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
3736
|
+
* this enum contains the known values that the service supports.
|
|
3737
|
+
* ### Known values supported by the service
|
|
3738
|
+
* **User** \
|
|
3739
|
+
* **Application** \
|
|
3740
|
+
* **ManagedIdentity** \
|
|
3741
|
+
* **Key**
|
|
3742
|
+
*/
|
|
3743
|
+
export type CreatedByType = string;
|
|
3744
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
3745
|
+
export declare enum KnownPublicNetworkAccess {
|
|
3746
|
+
/** Enabled */
|
|
3747
|
+
Enabled = "Enabled",
|
|
3748
|
+
/** Disabled */
|
|
3749
|
+
Disabled = "Disabled"
|
|
3750
|
+
}
|
|
3751
|
+
/**
|
|
3752
|
+
* Defines values for PublicNetworkAccess. \
|
|
3753
|
+
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
|
|
3754
|
+
* this enum contains the known values that the service supports.
|
|
3755
|
+
* ### Known values supported by the service
|
|
3756
|
+
* **Enabled** \
|
|
3757
|
+
* **Disabled**
|
|
3758
|
+
*/
|
|
3759
|
+
export type PublicNetworkAccess = string;
|
|
3760
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
3761
|
+
export declare enum KnownOrigin {
|
|
3762
|
+
/** User */
|
|
3763
|
+
User = "user",
|
|
3764
|
+
/** System */
|
|
3765
|
+
System = "system",
|
|
3766
|
+
/** UserSystem */
|
|
3767
|
+
UserSystem = "user,system"
|
|
3768
|
+
}
|
|
3769
|
+
/**
|
|
3770
|
+
* Defines values for Origin. \
|
|
3771
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
3772
|
+
* this enum contains the known values that the service supports.
|
|
3773
|
+
* ### Known values supported by the service
|
|
3774
|
+
* **user** \
|
|
3775
|
+
* **system** \
|
|
3776
|
+
* **user,system**
|
|
3777
|
+
*/
|
|
3778
|
+
export type Origin = string;
|
|
3779
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
3780
|
+
export declare enum KnownActionType {
|
|
3781
|
+
/** Internal */
|
|
3782
|
+
Internal = "Internal"
|
|
3783
|
+
}
|
|
3784
|
+
/**
|
|
3785
|
+
* Defines values for ActionType. \
|
|
3786
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
3787
|
+
* this enum contains the known values that the service supports.
|
|
3788
|
+
* ### Known values supported by the service
|
|
3789
|
+
* **Internal**
|
|
3790
|
+
*/
|
|
3791
|
+
export type ActionType = string;
|
|
3792
|
+
/** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
|
|
3793
|
+
export declare enum KnownScaleRuleMetricDimensionOperationType {
|
|
3794
|
+
/** Equals */
|
|
3795
|
+
Equals = "Equals",
|
|
3796
|
+
/** NotEquals */
|
|
3797
|
+
NotEquals = "NotEquals"
|
|
3798
|
+
}
|
|
3799
|
+
/**
|
|
3800
|
+
* Defines values for ScaleRuleMetricDimensionOperationType. \
|
|
3801
|
+
* {@link KnownScaleRuleMetricDimensionOperationType} can be used interchangeably with ScaleRuleMetricDimensionOperationType,
|
|
3019
3802
|
* this enum contains the known values that the service supports.
|
|
3020
3803
|
* ### Known values supported by the service
|
|
3021
|
-
* **
|
|
3022
|
-
* **
|
|
3023
|
-
* **ManagedIdentity** \
|
|
3024
|
-
* **Key**
|
|
3804
|
+
* **Equals** \
|
|
3805
|
+
* **NotEquals**
|
|
3025
3806
|
*/
|
|
3026
|
-
export type
|
|
3807
|
+
export type ScaleRuleMetricDimensionOperationType = string;
|
|
3027
3808
|
/** Known values of {@link CategoryType} that the service accepts. */
|
|
3028
3809
|
export declare enum KnownCategoryType {
|
|
3029
3810
|
/** Metrics */
|
|
@@ -3040,80 +3821,6 @@ export declare enum KnownCategoryType {
|
|
|
3040
3821
|
* **Logs**
|
|
3041
3822
|
*/
|
|
3042
3823
|
export type CategoryType = string;
|
|
3043
|
-
/** Known values of {@link MetricClass} that the service accepts. */
|
|
3044
|
-
export declare enum KnownMetricClass {
|
|
3045
|
-
/** Availability */
|
|
3046
|
-
Availability = "Availability",
|
|
3047
|
-
/** Transactions */
|
|
3048
|
-
Transactions = "Transactions",
|
|
3049
|
-
/** Errors */
|
|
3050
|
-
Errors = "Errors",
|
|
3051
|
-
/** Latency */
|
|
3052
|
-
Latency = "Latency",
|
|
3053
|
-
/** Saturation */
|
|
3054
|
-
Saturation = "Saturation"
|
|
3055
|
-
}
|
|
3056
|
-
/**
|
|
3057
|
-
* Defines values for MetricClass. \
|
|
3058
|
-
* {@link KnownMetricClass} can be used interchangeably with MetricClass,
|
|
3059
|
-
* this enum contains the known values that the service supports.
|
|
3060
|
-
* ### Known values supported by the service
|
|
3061
|
-
* **Availability** \
|
|
3062
|
-
* **Transactions** \
|
|
3063
|
-
* **Errors** \
|
|
3064
|
-
* **Latency** \
|
|
3065
|
-
* **Saturation**
|
|
3066
|
-
*/
|
|
3067
|
-
export type MetricClass = string;
|
|
3068
|
-
/** Known values of {@link MetricUnit} that the service accepts. */
|
|
3069
|
-
export declare enum KnownMetricUnit {
|
|
3070
|
-
/** Count */
|
|
3071
|
-
Count = "Count",
|
|
3072
|
-
/** Bytes */
|
|
3073
|
-
Bytes = "Bytes",
|
|
3074
|
-
/** Seconds */
|
|
3075
|
-
Seconds = "Seconds",
|
|
3076
|
-
/** CountPerSecond */
|
|
3077
|
-
CountPerSecond = "CountPerSecond",
|
|
3078
|
-
/** BytesPerSecond */
|
|
3079
|
-
BytesPerSecond = "BytesPerSecond",
|
|
3080
|
-
/** Percent */
|
|
3081
|
-
Percent = "Percent",
|
|
3082
|
-
/** MilliSeconds */
|
|
3083
|
-
MilliSeconds = "MilliSeconds",
|
|
3084
|
-
/** ByteSeconds */
|
|
3085
|
-
ByteSeconds = "ByteSeconds",
|
|
3086
|
-
/** Unspecified */
|
|
3087
|
-
Unspecified = "Unspecified",
|
|
3088
|
-
/** Cores */
|
|
3089
|
-
Cores = "Cores",
|
|
3090
|
-
/** MilliCores */
|
|
3091
|
-
MilliCores = "MilliCores",
|
|
3092
|
-
/** NanoCores */
|
|
3093
|
-
NanoCores = "NanoCores",
|
|
3094
|
-
/** BitsPerSecond */
|
|
3095
|
-
BitsPerSecond = "BitsPerSecond"
|
|
3096
|
-
}
|
|
3097
|
-
/**
|
|
3098
|
-
* Defines values for MetricUnit. \
|
|
3099
|
-
* {@link KnownMetricUnit} can be used interchangeably with MetricUnit,
|
|
3100
|
-
* this enum contains the known values that the service supports.
|
|
3101
|
-
* ### Known values supported by the service
|
|
3102
|
-
* **Count** \
|
|
3103
|
-
* **Bytes** \
|
|
3104
|
-
* **Seconds** \
|
|
3105
|
-
* **CountPerSecond** \
|
|
3106
|
-
* **BytesPerSecond** \
|
|
3107
|
-
* **Percent** \
|
|
3108
|
-
* **MilliSeconds** \
|
|
3109
|
-
* **ByteSeconds** \
|
|
3110
|
-
* **Unspecified** \
|
|
3111
|
-
* **Cores** \
|
|
3112
|
-
* **MilliCores** \
|
|
3113
|
-
* **NanoCores** \
|
|
3114
|
-
* **BitsPerSecond**
|
|
3115
|
-
*/
|
|
3116
|
-
export type MetricUnit = string;
|
|
3117
3824
|
/** Known values of {@link BaselineSensitivity} that the service accepts. */
|
|
3118
3825
|
export declare enum KnownBaselineSensitivity {
|
|
3119
3826
|
/** Low */
|
|
@@ -3193,25 +3900,6 @@ export declare enum KnownAlertSeverity {
|
|
|
3193
3900
|
* **4**
|
|
3194
3901
|
*/
|
|
3195
3902
|
export 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"
|
|
3204
|
-
}
|
|
3205
|
-
/**
|
|
3206
|
-
* Defines values for PublicNetworkAccess. \
|
|
3207
|
-
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
|
|
3208
|
-
* this enum contains the known values that the service supports.
|
|
3209
|
-
* ### Known values supported by the service
|
|
3210
|
-
* **Enabled** \
|
|
3211
|
-
* **Disabled** \
|
|
3212
|
-
* **SecuredByPerimeter**
|
|
3213
|
-
*/
|
|
3214
|
-
export type PublicNetworkAccess = string;
|
|
3215
3903
|
/** Known values of {@link TimeAggregation} that the service accepts. */
|
|
3216
3904
|
export declare enum KnownTimeAggregation {
|
|
3217
3905
|
/** Count */
|
|
@@ -3253,25 +3941,6 @@ export declare enum KnownDimensionOperator {
|
|
|
3253
3941
|
* **Exclude**
|
|
3254
3942
|
*/
|
|
3255
3943
|
export type DimensionOperator = string;
|
|
3256
|
-
/** Known values of {@link NamespaceClassification} that the service accepts. */
|
|
3257
|
-
export declare enum KnownNamespaceClassification {
|
|
3258
|
-
/** Platform */
|
|
3259
|
-
Platform = "Platform",
|
|
3260
|
-
/** Custom */
|
|
3261
|
-
Custom = "Custom",
|
|
3262
|
-
/** Qos */
|
|
3263
|
-
Qos = "Qos"
|
|
3264
|
-
}
|
|
3265
|
-
/**
|
|
3266
|
-
* Defines values for NamespaceClassification. \
|
|
3267
|
-
* {@link KnownNamespaceClassification} can be used interchangeably with NamespaceClassification,
|
|
3268
|
-
* this enum contains the known values that the service supports.
|
|
3269
|
-
* ### Known values supported by the service
|
|
3270
|
-
* **Platform** \
|
|
3271
|
-
* **Custom** \
|
|
3272
|
-
* **Qos**
|
|
3273
|
-
*/
|
|
3274
|
-
export type NamespaceClassification = string;
|
|
3275
3944
|
/** Known values of {@link OnboardingStatus} that the service accepts. */
|
|
3276
3945
|
export declare enum KnownOnboardingStatus {
|
|
3277
3946
|
/** Onboarded */
|
|
@@ -3307,47 +3976,6 @@ export declare enum KnownDataStatus {
|
|
|
3307
3976
|
* **notPresent**
|
|
3308
3977
|
*/
|
|
3309
3978
|
export type DataStatus = string;
|
|
3310
|
-
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
3311
|
-
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
3312
|
-
/** Pending */
|
|
3313
|
-
Pending = "Pending",
|
|
3314
|
-
/** Approved */
|
|
3315
|
-
Approved = "Approved",
|
|
3316
|
-
/** Rejected */
|
|
3317
|
-
Rejected = "Rejected"
|
|
3318
|
-
}
|
|
3319
|
-
/**
|
|
3320
|
-
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
|
3321
|
-
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
3322
|
-
* this enum contains the known values that the service supports.
|
|
3323
|
-
* ### Known values supported by the service
|
|
3324
|
-
* **Pending** \
|
|
3325
|
-
* **Approved** \
|
|
3326
|
-
* **Rejected**
|
|
3327
|
-
*/
|
|
3328
|
-
export type PrivateEndpointServiceConnectionStatus = string;
|
|
3329
|
-
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
3330
|
-
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
|
3331
|
-
/** Succeeded */
|
|
3332
|
-
Succeeded = "Succeeded",
|
|
3333
|
-
/** Creating */
|
|
3334
|
-
Creating = "Creating",
|
|
3335
|
-
/** Deleting */
|
|
3336
|
-
Deleting = "Deleting",
|
|
3337
|
-
/** Failed */
|
|
3338
|
-
Failed = "Failed"
|
|
3339
|
-
}
|
|
3340
|
-
/**
|
|
3341
|
-
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
|
3342
|
-
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
|
3343
|
-
* this enum contains the known values that the service supports.
|
|
3344
|
-
* ### Known values supported by the service
|
|
3345
|
-
* **Succeeded** \
|
|
3346
|
-
* **Creating** \
|
|
3347
|
-
* **Deleting** \
|
|
3348
|
-
* **Failed**
|
|
3349
|
-
*/
|
|
3350
|
-
export type PrivateEndpointConnectionProvisioningState = string;
|
|
3351
3979
|
/** Known values of {@link AccessMode} that the service accepts. */
|
|
3352
3980
|
export declare enum KnownAccessMode {
|
|
3353
3981
|
/** Open */
|
|
@@ -3369,7 +3997,9 @@ export declare enum KnownKnownPublicNetworkAccessOptions {
|
|
|
3369
3997
|
/** Enabled */
|
|
3370
3998
|
Enabled = "Enabled",
|
|
3371
3999
|
/** Disabled */
|
|
3372
|
-
Disabled = "Disabled"
|
|
4000
|
+
Disabled = "Disabled",
|
|
4001
|
+
/** SecuredByPerimeter */
|
|
4002
|
+
SecuredByPerimeter = "SecuredByPerimeter"
|
|
3373
4003
|
}
|
|
3374
4004
|
/**
|
|
3375
4005
|
* Defines values for KnownPublicNetworkAccessOptions. \
|
|
@@ -3377,7 +4007,8 @@ export declare enum KnownKnownPublicNetworkAccessOptions {
|
|
|
3377
4007
|
* this enum contains the known values that the service supports.
|
|
3378
4008
|
* ### Known values supported by the service
|
|
3379
4009
|
* **Enabled** \
|
|
3380
|
-
* **Disabled**
|
|
4010
|
+
* **Disabled** \
|
|
4011
|
+
* **SecuredByPerimeter**
|
|
3381
4012
|
*/
|
|
3382
4013
|
export type KnownPublicNetworkAccessOptions = string;
|
|
3383
4014
|
/** Known values of {@link KnownDataCollectionEndpointProvisioningState} that the service accepts. */
|
|
@@ -3390,6 +4021,8 @@ export declare enum KnownKnownDataCollectionEndpointProvisioningState {
|
|
|
3390
4021
|
Deleting = "Deleting",
|
|
3391
4022
|
/** Succeeded */
|
|
3392
4023
|
Succeeded = "Succeeded",
|
|
4024
|
+
/** Canceled */
|
|
4025
|
+
Canceled = "Canceled",
|
|
3393
4026
|
/** Failed */
|
|
3394
4027
|
Failed = "Failed"
|
|
3395
4028
|
}
|
|
@@ -3402,9 +4035,38 @@ export declare enum KnownKnownDataCollectionEndpointProvisioningState {
|
|
|
3402
4035
|
* **Updating** \
|
|
3403
4036
|
* **Deleting** \
|
|
3404
4037
|
* **Succeeded** \
|
|
4038
|
+
* **Canceled** \
|
|
3405
4039
|
* **Failed**
|
|
3406
4040
|
*/
|
|
3407
4041
|
export type KnownDataCollectionEndpointProvisioningState = string;
|
|
4042
|
+
/** Known values of {@link KnownLocationSpecProvisioningStatus} that the service accepts. */
|
|
4043
|
+
export declare enum KnownKnownLocationSpecProvisioningStatus {
|
|
4044
|
+
/** Creating */
|
|
4045
|
+
Creating = "Creating",
|
|
4046
|
+
/** Updating */
|
|
4047
|
+
Updating = "Updating",
|
|
4048
|
+
/** Deleting */
|
|
4049
|
+
Deleting = "Deleting",
|
|
4050
|
+
/** Succeeded */
|
|
4051
|
+
Succeeded = "Succeeded",
|
|
4052
|
+
/** Canceled */
|
|
4053
|
+
Canceled = "Canceled",
|
|
4054
|
+
/** Failed */
|
|
4055
|
+
Failed = "Failed"
|
|
4056
|
+
}
|
|
4057
|
+
/**
|
|
4058
|
+
* Defines values for KnownLocationSpecProvisioningStatus. \
|
|
4059
|
+
* {@link KnownKnownLocationSpecProvisioningStatus} can be used interchangeably with KnownLocationSpecProvisioningStatus,
|
|
4060
|
+
* this enum contains the known values that the service supports.
|
|
4061
|
+
* ### Known values supported by the service
|
|
4062
|
+
* **Creating** \
|
|
4063
|
+
* **Updating** \
|
|
4064
|
+
* **Deleting** \
|
|
4065
|
+
* **Succeeded** \
|
|
4066
|
+
* **Canceled** \
|
|
4067
|
+
* **Failed**
|
|
4068
|
+
*/
|
|
4069
|
+
export type KnownLocationSpecProvisioningStatus = string;
|
|
3408
4070
|
/** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
|
|
3409
4071
|
export declare enum KnownKnownDataCollectionEndpointResourceKind {
|
|
3410
4072
|
/** Linux */
|
|
@@ -3421,6 +4083,28 @@ export declare enum KnownKnownDataCollectionEndpointResourceKind {
|
|
|
3421
4083
|
* **Windows**
|
|
3422
4084
|
*/
|
|
3423
4085
|
export type KnownDataCollectionEndpointResourceKind = string;
|
|
4086
|
+
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
4087
|
+
export declare enum KnownManagedServiceIdentityType {
|
|
4088
|
+
/** None */
|
|
4089
|
+
None = "None",
|
|
4090
|
+
/** SystemAssigned */
|
|
4091
|
+
SystemAssigned = "SystemAssigned",
|
|
4092
|
+
/** UserAssigned */
|
|
4093
|
+
UserAssigned = "UserAssigned",
|
|
4094
|
+
/** SystemAssignedUserAssigned */
|
|
4095
|
+
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
|
|
4096
|
+
}
|
|
4097
|
+
/**
|
|
4098
|
+
* Defines values for ManagedServiceIdentityType. \
|
|
4099
|
+
* {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
|
|
4100
|
+
* this enum contains the known values that the service supports.
|
|
4101
|
+
* ### Known values supported by the service
|
|
4102
|
+
* **None** \
|
|
4103
|
+
* **SystemAssigned** \
|
|
4104
|
+
* **UserAssigned** \
|
|
4105
|
+
* **SystemAssigned,UserAssigned**
|
|
4106
|
+
*/
|
|
4107
|
+
export type ManagedServiceIdentityType = string;
|
|
3424
4108
|
/** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
|
|
3425
4109
|
export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
|
|
3426
4110
|
/** Creating */
|
|
@@ -3431,6 +4115,8 @@ export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
|
|
|
3431
4115
|
Deleting = "Deleting",
|
|
3432
4116
|
/** Succeeded */
|
|
3433
4117
|
Succeeded = "Succeeded",
|
|
4118
|
+
/** Canceled */
|
|
4119
|
+
Canceled = "Canceled",
|
|
3434
4120
|
/** Failed */
|
|
3435
4121
|
Failed = "Failed"
|
|
3436
4122
|
}
|
|
@@ -3443,6 +4129,7 @@ export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
|
|
|
3443
4129
|
* **Updating** \
|
|
3444
4130
|
* **Deleting** \
|
|
3445
4131
|
* **Succeeded** \
|
|
4132
|
+
* **Canceled** \
|
|
3446
4133
|
* **Failed**
|
|
3447
4134
|
*/
|
|
3448
4135
|
export type KnownDataCollectionRuleAssociationProvisioningState = string;
|
|
@@ -3524,14 +4211,22 @@ export declare enum KnownKnownSyslogDataSourceStreams {
|
|
|
3524
4211
|
export type KnownSyslogDataSourceStreams = string;
|
|
3525
4212
|
/** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
|
|
3526
4213
|
export declare enum KnownKnownSyslogDataSourceFacilityNames {
|
|
4214
|
+
/** Alert */
|
|
4215
|
+
Alert = "alert",
|
|
4216
|
+
/** Audit */
|
|
4217
|
+
Audit = "audit",
|
|
3527
4218
|
/** Auth */
|
|
3528
4219
|
Auth = "auth",
|
|
3529
4220
|
/** Authpriv */
|
|
3530
4221
|
Authpriv = "authpriv",
|
|
4222
|
+
/** Clock */
|
|
4223
|
+
Clock = "clock",
|
|
3531
4224
|
/** Cron */
|
|
3532
4225
|
Cron = "cron",
|
|
3533
4226
|
/** Daemon */
|
|
3534
4227
|
Daemon = "daemon",
|
|
4228
|
+
/** Ftp */
|
|
4229
|
+
Ftp = "ftp",
|
|
3535
4230
|
/** Kern */
|
|
3536
4231
|
Kern = "kern",
|
|
3537
4232
|
/** Lpr */
|
|
@@ -3542,6 +4237,10 @@ export declare enum KnownKnownSyslogDataSourceFacilityNames {
|
|
|
3542
4237
|
Mark = "mark",
|
|
3543
4238
|
/** News */
|
|
3544
4239
|
News = "news",
|
|
4240
|
+
/** Nopri */
|
|
4241
|
+
Nopri = "nopri",
|
|
4242
|
+
/** Ntp */
|
|
4243
|
+
Ntp = "ntp",
|
|
3545
4244
|
/** Syslog */
|
|
3546
4245
|
Syslog = "syslog",
|
|
3547
4246
|
/** User */
|
|
@@ -3572,15 +4271,21 @@ export declare enum KnownKnownSyslogDataSourceFacilityNames {
|
|
|
3572
4271
|
* {@link KnownKnownSyslogDataSourceFacilityNames} can be used interchangeably with KnownSyslogDataSourceFacilityNames,
|
|
3573
4272
|
* this enum contains the known values that the service supports.
|
|
3574
4273
|
* ### Known values supported by the service
|
|
4274
|
+
* **alert** \
|
|
4275
|
+
* **audit** \
|
|
3575
4276
|
* **auth** \
|
|
3576
4277
|
* **authpriv** \
|
|
4278
|
+
* **clock** \
|
|
3577
4279
|
* **cron** \
|
|
3578
4280
|
* **daemon** \
|
|
4281
|
+
* **ftp** \
|
|
3579
4282
|
* **kern** \
|
|
3580
4283
|
* **lpr** \
|
|
3581
4284
|
* **mail** \
|
|
3582
4285
|
* **mark** \
|
|
3583
4286
|
* **news** \
|
|
4287
|
+
* **nopri** \
|
|
4288
|
+
* **ntp** \
|
|
3584
4289
|
* **syslog** \
|
|
3585
4290
|
* **user** \
|
|
3586
4291
|
* **uucp** \
|
|
@@ -3707,6 +4412,19 @@ export declare enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
|
|
|
3707
4412
|
* **yyyy-MM-ddTHH:mm:ssK**
|
|
3708
4413
|
*/
|
|
3709
4414
|
export type KnownLogFileTextSettingsRecordStartTimestampFormat = string;
|
|
4415
|
+
/** Known values of {@link KnownPrometheusForwarderDataSourceStreams} that the service accepts. */
|
|
4416
|
+
export declare enum KnownKnownPrometheusForwarderDataSourceStreams {
|
|
4417
|
+
/** MicrosoftPrometheusMetrics */
|
|
4418
|
+
MicrosoftPrometheusMetrics = "Microsoft-PrometheusMetrics"
|
|
4419
|
+
}
|
|
4420
|
+
/**
|
|
4421
|
+
* Defines values for KnownPrometheusForwarderDataSourceStreams. \
|
|
4422
|
+
* {@link KnownKnownPrometheusForwarderDataSourceStreams} can be used interchangeably with KnownPrometheusForwarderDataSourceStreams,
|
|
4423
|
+
* this enum contains the known values that the service supports.
|
|
4424
|
+
* ### Known values supported by the service
|
|
4425
|
+
* **Microsoft-PrometheusMetrics**
|
|
4426
|
+
*/
|
|
4427
|
+
export type KnownPrometheusForwarderDataSourceStreams = string;
|
|
3710
4428
|
/** Known values of {@link KnownDataFlowStreams} that the service accepts. */
|
|
3711
4429
|
export declare enum KnownKnownDataFlowStreams {
|
|
3712
4430
|
/** MicrosoftEvent */
|
|
@@ -3738,98 +4456,44 @@ export declare enum KnownKnownDataCollectionRuleProvisioningState {
|
|
|
3738
4456
|
Creating = "Creating",
|
|
3739
4457
|
/** Updating */
|
|
3740
4458
|
Updating = "Updating",
|
|
3741
|
-
/** Deleting */
|
|
3742
|
-
Deleting = "Deleting",
|
|
3743
|
-
/** Succeeded */
|
|
3744
|
-
Succeeded = "Succeeded",
|
|
3745
|
-
/**
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
* Defines values for KnownDataCollectionRuleProvisioningState. \
|
|
3750
|
-
* {@link KnownKnownDataCollectionRuleProvisioningState} can be used interchangeably with KnownDataCollectionRuleProvisioningState,
|
|
3751
|
-
* this enum contains the known values that the service supports.
|
|
3752
|
-
* ### Known values supported by the service
|
|
3753
|
-
* **Creating** \
|
|
3754
|
-
* **Updating** \
|
|
3755
|
-
* **Deleting** \
|
|
3756
|
-
* **Succeeded** \
|
|
3757
|
-
* **Failed**
|
|
3758
|
-
*/
|
|
3759
|
-
export type KnownDataCollectionRuleProvisioningState = string;
|
|
3760
|
-
/** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
|
|
3761
|
-
export declare enum KnownKnownDataCollectionRuleResourceKind {
|
|
3762
|
-
/** Linux */
|
|
3763
|
-
Linux = "Linux",
|
|
3764
|
-
/** Windows */
|
|
3765
|
-
Windows = "Windows"
|
|
3766
|
-
}
|
|
3767
|
-
/**
|
|
3768
|
-
* Defines values for KnownDataCollectionRuleResourceKind. \
|
|
3769
|
-
* {@link KnownKnownDataCollectionRuleResourceKind} can be used interchangeably with KnownDataCollectionRuleResourceKind,
|
|
3770
|
-
* this enum contains the known values that the service supports.
|
|
3771
|
-
* ### Known values supported by the service
|
|
3772
|
-
* **Linux** \
|
|
3773
|
-
* **Windows**
|
|
3774
|
-
*/
|
|
3775
|
-
export 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 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"
|
|
4459
|
+
/** Deleting */
|
|
4460
|
+
Deleting = "Deleting",
|
|
4461
|
+
/** Succeeded */
|
|
4462
|
+
Succeeded = "Succeeded",
|
|
4463
|
+
/** Canceled */
|
|
4464
|
+
Canceled = "Canceled",
|
|
4465
|
+
/** Failed */
|
|
4466
|
+
Failed = "Failed"
|
|
3809
4467
|
}
|
|
3810
4468
|
/**
|
|
3811
|
-
* Defines values for
|
|
3812
|
-
* {@link
|
|
4469
|
+
* Defines values for KnownDataCollectionRuleProvisioningState. \
|
|
4470
|
+
* {@link KnownKnownDataCollectionRuleProvisioningState} can be used interchangeably with KnownDataCollectionRuleProvisioningState,
|
|
3813
4471
|
* this enum contains the known values that the service supports.
|
|
3814
4472
|
* ### Known values supported by the service
|
|
3815
|
-
* **
|
|
3816
|
-
* **
|
|
3817
|
-
* **
|
|
4473
|
+
* **Creating** \
|
|
4474
|
+
* **Updating** \
|
|
4475
|
+
* **Deleting** \
|
|
4476
|
+
* **Succeeded** \
|
|
4477
|
+
* **Canceled** \
|
|
4478
|
+
* **Failed**
|
|
3818
4479
|
*/
|
|
3819
|
-
export type
|
|
3820
|
-
/** Known values of {@link
|
|
3821
|
-
export declare enum
|
|
3822
|
-
/**
|
|
3823
|
-
|
|
4480
|
+
export type KnownDataCollectionRuleProvisioningState = string;
|
|
4481
|
+
/** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
|
|
4482
|
+
export declare enum KnownKnownDataCollectionRuleResourceKind {
|
|
4483
|
+
/** Linux */
|
|
4484
|
+
Linux = "Linux",
|
|
4485
|
+
/** Windows */
|
|
4486
|
+
Windows = "Windows"
|
|
3824
4487
|
}
|
|
3825
4488
|
/**
|
|
3826
|
-
* Defines values for
|
|
3827
|
-
* {@link
|
|
4489
|
+
* Defines values for KnownDataCollectionRuleResourceKind. \
|
|
4490
|
+
* {@link KnownKnownDataCollectionRuleResourceKind} can be used interchangeably with KnownDataCollectionRuleResourceKind,
|
|
3828
4491
|
* this enum contains the known values that the service supports.
|
|
3829
4492
|
* ### Known values supported by the service
|
|
3830
|
-
* **
|
|
4493
|
+
* **Linux** \
|
|
4494
|
+
* **Windows**
|
|
3831
4495
|
*/
|
|
3832
|
-
export type
|
|
4496
|
+
export type KnownDataCollectionRuleResourceKind = string;
|
|
3833
4497
|
/** Known values of {@link Operator} that the service accepts. */
|
|
3834
4498
|
export declare enum KnownOperator {
|
|
3835
4499
|
/** Equals */
|
|
@@ -3862,106 +4526,314 @@ export declare enum KnownCriterionType {
|
|
|
3862
4526
|
/** DynamicThresholdCriterion */
|
|
3863
4527
|
DynamicThresholdCriterion = "DynamicThresholdCriterion"
|
|
3864
4528
|
}
|
|
3865
|
-
/**
|
|
3866
|
-
* Defines values for CriterionType. \
|
|
3867
|
-
* {@link KnownCriterionType} can be used interchangeably with CriterionType,
|
|
3868
|
-
* this enum contains the known values that the service supports.
|
|
3869
|
-
* ### Known values supported by the service
|
|
3870
|
-
* **StaticThresholdCriterion** \
|
|
3871
|
-
* **DynamicThresholdCriterion**
|
|
3872
|
-
*/
|
|
3873
|
-
export type CriterionType = string;
|
|
3874
|
-
/** Known values of {@link AggregationTypeEnum} that the service accepts. */
|
|
3875
|
-
export declare enum KnownAggregationTypeEnum {
|
|
3876
|
-
/** Average */
|
|
3877
|
-
Average = "Average",
|
|
3878
|
-
/** Count */
|
|
3879
|
-
Count = "Count",
|
|
3880
|
-
/** Minimum */
|
|
3881
|
-
Minimum = "Minimum",
|
|
3882
|
-
/** Maximum */
|
|
3883
|
-
Maximum = "Maximum",
|
|
3884
|
-
/** Total */
|
|
3885
|
-
Total = "Total"
|
|
4529
|
+
/**
|
|
4530
|
+
* Defines values for CriterionType. \
|
|
4531
|
+
* {@link KnownCriterionType} can be used interchangeably with CriterionType,
|
|
4532
|
+
* this enum contains the known values that the service supports.
|
|
4533
|
+
* ### Known values supported by the service
|
|
4534
|
+
* **StaticThresholdCriterion** \
|
|
4535
|
+
* **DynamicThresholdCriterion**
|
|
4536
|
+
*/
|
|
4537
|
+
export type CriterionType = string;
|
|
4538
|
+
/** Known values of {@link AggregationTypeEnum} that the service accepts. */
|
|
4539
|
+
export declare enum KnownAggregationTypeEnum {
|
|
4540
|
+
/** Average */
|
|
4541
|
+
Average = "Average",
|
|
4542
|
+
/** Count */
|
|
4543
|
+
Count = "Count",
|
|
4544
|
+
/** Minimum */
|
|
4545
|
+
Minimum = "Minimum",
|
|
4546
|
+
/** Maximum */
|
|
4547
|
+
Maximum = "Maximum",
|
|
4548
|
+
/** Total */
|
|
4549
|
+
Total = "Total"
|
|
4550
|
+
}
|
|
4551
|
+
/**
|
|
4552
|
+
* Defines values for AggregationTypeEnum. \
|
|
4553
|
+
* {@link KnownAggregationTypeEnum} can be used interchangeably with AggregationTypeEnum,
|
|
4554
|
+
* this enum contains the known values that the service supports.
|
|
4555
|
+
* ### Known values supported by the service
|
|
4556
|
+
* **Average** \
|
|
4557
|
+
* **Count** \
|
|
4558
|
+
* **Minimum** \
|
|
4559
|
+
* **Maximum** \
|
|
4560
|
+
* **Total**
|
|
4561
|
+
*/
|
|
4562
|
+
export type AggregationTypeEnum = string;
|
|
4563
|
+
/** Known values of {@link DynamicThresholdOperator} that the service accepts. */
|
|
4564
|
+
export declare enum KnownDynamicThresholdOperator {
|
|
4565
|
+
/** GreaterThan */
|
|
4566
|
+
GreaterThan = "GreaterThan",
|
|
4567
|
+
/** LessThan */
|
|
4568
|
+
LessThan = "LessThan",
|
|
4569
|
+
/** GreaterOrLessThan */
|
|
4570
|
+
GreaterOrLessThan = "GreaterOrLessThan"
|
|
4571
|
+
}
|
|
4572
|
+
/**
|
|
4573
|
+
* Defines values for DynamicThresholdOperator. \
|
|
4574
|
+
* {@link KnownDynamicThresholdOperator} can be used interchangeably with DynamicThresholdOperator,
|
|
4575
|
+
* this enum contains the known values that the service supports.
|
|
4576
|
+
* ### Known values supported by the service
|
|
4577
|
+
* **GreaterThan** \
|
|
4578
|
+
* **LessThan** \
|
|
4579
|
+
* **GreaterOrLessThan**
|
|
4580
|
+
*/
|
|
4581
|
+
export type DynamicThresholdOperator = string;
|
|
4582
|
+
/** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
|
|
4583
|
+
export declare enum KnownDynamicThresholdSensitivity {
|
|
4584
|
+
/** Low */
|
|
4585
|
+
Low = "Low",
|
|
4586
|
+
/** Medium */
|
|
4587
|
+
Medium = "Medium",
|
|
4588
|
+
/** High */
|
|
4589
|
+
High = "High"
|
|
4590
|
+
}
|
|
4591
|
+
/**
|
|
4592
|
+
* Defines values for DynamicThresholdSensitivity. \
|
|
4593
|
+
* {@link KnownDynamicThresholdSensitivity} can be used interchangeably with DynamicThresholdSensitivity,
|
|
4594
|
+
* this enum contains the known values that the service supports.
|
|
4595
|
+
* ### Known values supported by the service
|
|
4596
|
+
* **Low** \
|
|
4597
|
+
* **Medium** \
|
|
4598
|
+
* **High**
|
|
4599
|
+
*/
|
|
4600
|
+
export type DynamicThresholdSensitivity = string;
|
|
4601
|
+
/** Defines values for AggregationType. */
|
|
4602
|
+
export type AggregationType = "None" | "Average" | "Count" | "Minimum" | "Maximum" | "Total";
|
|
4603
|
+
/** Defines values for ResultType. */
|
|
4604
|
+
export type ResultType = "Data" | "Metadata";
|
|
4605
|
+
/** Defines values for MetricStatisticType. */
|
|
4606
|
+
export type MetricStatisticType = "Average" | "Min" | "Max" | "Sum" | "Count";
|
|
4607
|
+
/** Defines values for TimeAggregationType. */
|
|
4608
|
+
export type TimeAggregationType = "Average" | "Minimum" | "Maximum" | "Total" | "Count" | "Last";
|
|
4609
|
+
/** Defines values for ComparisonOperationType. */
|
|
4610
|
+
export type ComparisonOperationType = "Equals" | "NotEquals" | "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual";
|
|
4611
|
+
/** Defines values for ScaleDirection. */
|
|
4612
|
+
export type ScaleDirection = "None" | "Increase" | "Decrease";
|
|
4613
|
+
/** Defines values for ScaleType. */
|
|
4614
|
+
export type ScaleType = "ChangeCount" | "PercentChangeCount" | "ExactCount" | "ServiceAllowedNextValue";
|
|
4615
|
+
/** Defines values for RecurrenceFrequency. */
|
|
4616
|
+
export type RecurrenceFrequency = "None" | "Second" | "Minute" | "Hour" | "Day" | "Week" | "Month" | "Year";
|
|
4617
|
+
/** Defines values for PredictiveAutoscalePolicyScaleMode. */
|
|
4618
|
+
export type PredictiveAutoscalePolicyScaleMode = "Disabled" | "ForecastOnly" | "Enabled";
|
|
4619
|
+
/** Defines values for ReceiverStatus. */
|
|
4620
|
+
export type ReceiverStatus = "NotSpecified" | "Enabled" | "Disabled";
|
|
4621
|
+
/** Defines values for EventLevel. */
|
|
4622
|
+
export type EventLevel = "Critical" | "Error" | "Warning" | "Informational" | "Verbose";
|
|
4623
|
+
/** Defines values for IdentityType. */
|
|
4624
|
+
export type IdentityType = "SystemAssigned" | "UserAssigned" | "None";
|
|
4625
|
+
/** Defines values for ConditionOperator. */
|
|
4626
|
+
export type ConditionOperator = "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual" | "Equals";
|
|
4627
|
+
/** Defines values for TimeAggregationOperator. */
|
|
4628
|
+
export type TimeAggregationOperator = "Average" | "Minimum" | "Maximum" | "Total" | "Last";
|
|
4629
|
+
/** Optional parameters. */
|
|
4630
|
+
export interface MetricNamespacesListOptionalParams extends coreClient.OperationOptions {
|
|
4631
|
+
/** The ISO 8601 conform Date start time from which to query for metric namespaces. */
|
|
4632
|
+
startTime?: string;
|
|
4633
|
+
}
|
|
4634
|
+
/** Contains response data for the list operation. */
|
|
4635
|
+
export type MetricNamespacesListResponse = MetricNamespaceCollection;
|
|
4636
|
+
/** Optional parameters. */
|
|
4637
|
+
export interface MetricDefinitionsListAtSubscriptionScopeOptionalParams extends coreClient.OperationOptions {
|
|
4638
|
+
/** Metric namespace where the metrics you want reside. */
|
|
4639
|
+
metricnamespace?: string;
|
|
4640
|
+
}
|
|
4641
|
+
/** Contains response data for the listAtSubscriptionScope operation. */
|
|
4642
|
+
export type MetricDefinitionsListAtSubscriptionScopeResponse = SubscriptionScopeMetricDefinitionCollection;
|
|
4643
|
+
/** Optional parameters. */
|
|
4644
|
+
export interface MetricDefinitionsListOptionalParams extends coreClient.OperationOptions {
|
|
4645
|
+
/** Metric namespace where the metrics you want reside. */
|
|
4646
|
+
metricnamespace?: string;
|
|
4647
|
+
}
|
|
4648
|
+
/** Contains response data for the list operation. */
|
|
4649
|
+
export type MetricDefinitionsListResponse = MetricDefinitionCollection;
|
|
4650
|
+
/** Optional parameters. */
|
|
4651
|
+
export interface MetricsListAtSubscriptionScopeOptionalParams extends coreClient.OperationOptions {
|
|
4652
|
+
/** Metric namespace where the metrics you want reside. */
|
|
4653
|
+
metricnamespace?: string;
|
|
4654
|
+
/** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
|
|
4655
|
+
timespan?: string;
|
|
4656
|
+
/**
|
|
4657
|
+
* The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.
|
|
4658
|
+
* *Examples: PT15M, PT1H, P1D, FULL*
|
|
4659
|
+
*/
|
|
4660
|
+
interval?: string;
|
|
4661
|
+
/** The names of the metrics (comma separated) to retrieve. */
|
|
4662
|
+
metricnames?: string;
|
|
4663
|
+
/**
|
|
4664
|
+
* The list of aggregation types (comma separated) to retrieve.
|
|
4665
|
+
* *Examples: average, minimum, maximum*
|
|
4666
|
+
*/
|
|
4667
|
+
aggregation?: string;
|
|
4668
|
+
/**
|
|
4669
|
+
* The maximum number of records to retrieve per resource ID in the request.
|
|
4670
|
+
* Valid only if filter is specified.
|
|
4671
|
+
* Defaults to 10.
|
|
4672
|
+
*/
|
|
4673
|
+
top?: number;
|
|
4674
|
+
/**
|
|
4675
|
+
* The aggregation to use for sorting results and the direction of the sort.
|
|
4676
|
+
* Only one order can be specified.
|
|
4677
|
+
* *Examples: sum asc*
|
|
4678
|
+
*/
|
|
4679
|
+
orderby?: string;
|
|
4680
|
+
/** The **$filter** is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**. */
|
|
4681
|
+
filter?: string;
|
|
4682
|
+
/** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
|
|
4683
|
+
resultType?: MetricResultType;
|
|
4684
|
+
/** When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false. */
|
|
4685
|
+
autoAdjustTimegrain?: boolean;
|
|
4686
|
+
/** When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true. */
|
|
4687
|
+
validateDimensions?: boolean;
|
|
4688
|
+
/** Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. */
|
|
4689
|
+
rollupby?: string;
|
|
4690
|
+
}
|
|
4691
|
+
/** Contains response data for the listAtSubscriptionScope operation. */
|
|
4692
|
+
export type MetricsListAtSubscriptionScopeResponse = Response;
|
|
4693
|
+
/** Optional parameters. */
|
|
4694
|
+
export interface MetricsListAtSubscriptionScopePostOptionalParams extends coreClient.OperationOptions {
|
|
4695
|
+
/** Metric namespace where the metrics you want reside. */
|
|
4696
|
+
metricnamespace?: string;
|
|
4697
|
+
/** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
|
|
4698
|
+
timespan?: string;
|
|
4699
|
+
/**
|
|
4700
|
+
* The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.
|
|
4701
|
+
* *Examples: PT15M, PT1H, P1D, FULL*
|
|
4702
|
+
*/
|
|
4703
|
+
interval?: string;
|
|
4704
|
+
/** The names of the metrics (comma separated) to retrieve. */
|
|
4705
|
+
metricnames?: string;
|
|
4706
|
+
/**
|
|
4707
|
+
* The list of aggregation types (comma separated) to retrieve.
|
|
4708
|
+
* *Examples: average, minimum, maximum*
|
|
4709
|
+
*/
|
|
4710
|
+
aggregation?: string;
|
|
4711
|
+
/**
|
|
4712
|
+
* The maximum number of records to retrieve per resource ID in the request.
|
|
4713
|
+
* Valid only if filter is specified.
|
|
4714
|
+
* Defaults to 10.
|
|
4715
|
+
*/
|
|
4716
|
+
top?: number;
|
|
4717
|
+
/**
|
|
4718
|
+
* The aggregation to use for sorting results and the direction of the sort.
|
|
4719
|
+
* Only one order can be specified.
|
|
4720
|
+
* *Examples: sum asc*
|
|
4721
|
+
*/
|
|
4722
|
+
orderby?: string;
|
|
4723
|
+
/** The **$filter** is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**. */
|
|
4724
|
+
filter?: string;
|
|
4725
|
+
/** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
|
|
4726
|
+
resultType?: MetricResultType;
|
|
4727
|
+
/** When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false. */
|
|
4728
|
+
autoAdjustTimegrain?: boolean;
|
|
4729
|
+
/** When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true. */
|
|
4730
|
+
validateDimensions?: boolean;
|
|
4731
|
+
/** Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. */
|
|
4732
|
+
rollupby?: string;
|
|
4733
|
+
/** Parameters serialized in the body */
|
|
4734
|
+
body?: SubscriptionScopeMetricsRequestBodyParameters;
|
|
4735
|
+
}
|
|
4736
|
+
/** Contains response data for the listAtSubscriptionScopePost operation. */
|
|
4737
|
+
export type MetricsListAtSubscriptionScopePostResponse = Response;
|
|
4738
|
+
/** Optional parameters. */
|
|
4739
|
+
export interface MetricsListOptionalParams extends coreClient.OperationOptions {
|
|
4740
|
+
/** Metric namespace where the metrics you want reside. */
|
|
4741
|
+
metricnamespace?: string;
|
|
4742
|
+
/** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
|
|
4743
|
+
timespan?: string;
|
|
4744
|
+
/**
|
|
4745
|
+
* The interval (i.e. timegrain) of the query in ISO 8601 duration format. Defaults to PT1M. Special case for 'FULL' value that returns single datapoint for entire time span requested.
|
|
4746
|
+
* *Examples: PT15M, PT1H, P1D, FULL*
|
|
4747
|
+
*/
|
|
4748
|
+
interval?: string;
|
|
4749
|
+
/** The names of the metrics (comma separated) to retrieve. */
|
|
4750
|
+
metricnames?: string;
|
|
4751
|
+
/**
|
|
4752
|
+
* The list of aggregation types (comma separated) to retrieve.
|
|
4753
|
+
* *Examples: average, minimum, maximum*
|
|
4754
|
+
*/
|
|
4755
|
+
aggregation?: string;
|
|
4756
|
+
/**
|
|
4757
|
+
* The maximum number of records to retrieve per resource ID in the request.
|
|
4758
|
+
* Valid only if filter is specified.
|
|
4759
|
+
* Defaults to 10.
|
|
4760
|
+
*/
|
|
4761
|
+
top?: number;
|
|
4762
|
+
/**
|
|
4763
|
+
* The aggregation to use for sorting results and the direction of the sort.
|
|
4764
|
+
* Only one order can be specified.
|
|
4765
|
+
* *Examples: sum asc*
|
|
4766
|
+
*/
|
|
4767
|
+
orderby?: string;
|
|
4768
|
+
/** The **$filter** is used to reduce the set of metric data returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**. */
|
|
4769
|
+
filter?: string;
|
|
4770
|
+
/** When set to true, if the timespan passed in is not supported by this metric, the API will return the result using the closest supported timespan. When set to false, an error is returned for invalid timespan parameters. Defaults to false. */
|
|
4771
|
+
autoAdjustTimegrain?: boolean;
|
|
4772
|
+
/** When set to false, invalid filter parameter values will be ignored. When set to true, an error is returned for invalid filter parameters. Defaults to true. */
|
|
4773
|
+
validateDimensions?: boolean;
|
|
4774
|
+
/** Dimension name(s) to rollup results by. For example if you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. */
|
|
4775
|
+
rollupby?: string;
|
|
4776
|
+
/** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
|
|
4777
|
+
resultType?: ResultType;
|
|
4778
|
+
}
|
|
4779
|
+
/** Contains response data for the list operation. */
|
|
4780
|
+
export type MetricsListResponse = Response;
|
|
4781
|
+
/** Optional parameters. */
|
|
4782
|
+
export interface AzureMonitorWorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
4783
|
+
}
|
|
4784
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
4785
|
+
export type AzureMonitorWorkspacesListByResourceGroupResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4786
|
+
/** Optional parameters. */
|
|
4787
|
+
export interface AzureMonitorWorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
4788
|
+
}
|
|
4789
|
+
/** Contains response data for the listBySubscription operation. */
|
|
4790
|
+
export type AzureMonitorWorkspacesListBySubscriptionResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4791
|
+
/** Optional parameters. */
|
|
4792
|
+
export interface AzureMonitorWorkspacesGetOptionalParams extends coreClient.OperationOptions {
|
|
4793
|
+
}
|
|
4794
|
+
/** Contains response data for the get operation. */
|
|
4795
|
+
export type AzureMonitorWorkspacesGetResponse = AzureMonitorWorkspaceResource;
|
|
4796
|
+
/** Optional parameters. */
|
|
4797
|
+
export interface AzureMonitorWorkspacesCreateOptionalParams extends coreClient.OperationOptions {
|
|
4798
|
+
}
|
|
4799
|
+
/** Contains response data for the create operation. */
|
|
4800
|
+
export type AzureMonitorWorkspacesCreateResponse = AzureMonitorWorkspaceResource;
|
|
4801
|
+
/** Optional parameters. */
|
|
4802
|
+
export interface AzureMonitorWorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
4803
|
+
/** The payload */
|
|
4804
|
+
azureMonitorWorkspaceProperties?: AzureMonitorWorkspaceResourceForUpdate;
|
|
4805
|
+
}
|
|
4806
|
+
/** Contains response data for the update operation. */
|
|
4807
|
+
export type AzureMonitorWorkspacesUpdateResponse = AzureMonitorWorkspaceResource;
|
|
4808
|
+
/** Optional parameters. */
|
|
4809
|
+
export interface AzureMonitorWorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
4810
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
4811
|
+
updateIntervalInMs?: number;
|
|
4812
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
4813
|
+
resumeFrom?: string;
|
|
4814
|
+
}
|
|
4815
|
+
/** Contains response data for the delete operation. */
|
|
4816
|
+
export type AzureMonitorWorkspacesDeleteResponse = AzureMonitorWorkspacesDeleteHeaders;
|
|
4817
|
+
/** Optional parameters. */
|
|
4818
|
+
export interface AzureMonitorWorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
3886
4819
|
}
|
|
3887
|
-
/**
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
* ### Known values supported by the service
|
|
3892
|
-
* **Average** \
|
|
3893
|
-
* **Count** \
|
|
3894
|
-
* **Minimum** \
|
|
3895
|
-
* **Maximum** \
|
|
3896
|
-
* **Total**
|
|
3897
|
-
*/
|
|
3898
|
-
export type AggregationTypeEnum = string;
|
|
3899
|
-
/** Known values of {@link DynamicThresholdOperator} that the service accepts. */
|
|
3900
|
-
export declare enum KnownDynamicThresholdOperator {
|
|
3901
|
-
/** GreaterThan */
|
|
3902
|
-
GreaterThan = "GreaterThan",
|
|
3903
|
-
/** LessThan */
|
|
3904
|
-
LessThan = "LessThan",
|
|
3905
|
-
/** GreaterOrLessThan */
|
|
3906
|
-
GreaterOrLessThan = "GreaterOrLessThan"
|
|
4820
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
4821
|
+
export type AzureMonitorWorkspacesListByResourceGroupNextResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4822
|
+
/** Optional parameters. */
|
|
4823
|
+
export interface AzureMonitorWorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
3907
4824
|
}
|
|
3908
|
-
/**
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
* ### Known values supported by the service
|
|
3913
|
-
* **GreaterThan** \
|
|
3914
|
-
* **LessThan** \
|
|
3915
|
-
* **GreaterOrLessThan**
|
|
3916
|
-
*/
|
|
3917
|
-
export type DynamicThresholdOperator = string;
|
|
3918
|
-
/** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
|
|
3919
|
-
export declare enum KnownDynamicThresholdSensitivity {
|
|
3920
|
-
/** Low */
|
|
3921
|
-
Low = "Low",
|
|
3922
|
-
/** Medium */
|
|
3923
|
-
Medium = "Medium",
|
|
3924
|
-
/** High */
|
|
3925
|
-
High = "High"
|
|
4825
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
4826
|
+
export type AzureMonitorWorkspacesListBySubscriptionNextResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4827
|
+
/** Optional parameters. */
|
|
4828
|
+
export interface MonitorOperationsListOptionalParams extends coreClient.OperationOptions {
|
|
3926
4829
|
}
|
|
3927
|
-
/**
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
* **High**
|
|
3935
|
-
*/
|
|
3936
|
-
export type DynamicThresholdSensitivity = string;
|
|
3937
|
-
/** Defines values for MetricStatisticType. */
|
|
3938
|
-
export type MetricStatisticType = "Average" | "Min" | "Max" | "Sum" | "Count";
|
|
3939
|
-
/** Defines values for TimeAggregationType. */
|
|
3940
|
-
export type TimeAggregationType = "Average" | "Minimum" | "Maximum" | "Total" | "Count" | "Last";
|
|
3941
|
-
/** Defines values for ComparisonOperationType. */
|
|
3942
|
-
export type ComparisonOperationType = "Equals" | "NotEquals" | "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual";
|
|
3943
|
-
/** Defines values for ScaleDirection. */
|
|
3944
|
-
export type ScaleDirection = "None" | "Increase" | "Decrease";
|
|
3945
|
-
/** Defines values for ScaleType. */
|
|
3946
|
-
export type ScaleType = "ChangeCount" | "PercentChangeCount" | "ExactCount" | "ServiceAllowedNextValue";
|
|
3947
|
-
/** Defines values for RecurrenceFrequency. */
|
|
3948
|
-
export type RecurrenceFrequency = "None" | "Second" | "Minute" | "Hour" | "Day" | "Week" | "Month" | "Year";
|
|
3949
|
-
/** Defines values for PredictiveAutoscalePolicyScaleMode. */
|
|
3950
|
-
export type PredictiveAutoscalePolicyScaleMode = "Disabled" | "ForecastOnly" | "Enabled";
|
|
3951
|
-
/** Defines values for ReceiverStatus. */
|
|
3952
|
-
export type ReceiverStatus = "NotSpecified" | "Enabled" | "Disabled";
|
|
3953
|
-
/** Defines values for EventLevel. */
|
|
3954
|
-
export type EventLevel = "Critical" | "Error" | "Warning" | "Informational" | "Verbose";
|
|
3955
|
-
/** Defines values for AggregationType. */
|
|
3956
|
-
export type AggregationType = "None" | "Average" | "Count" | "Minimum" | "Maximum" | "Total";
|
|
3957
|
-
/** Defines values for ResultType. */
|
|
3958
|
-
export type ResultType = "Data" | "Metadata";
|
|
3959
|
-
/** Defines values for IdentityType. */
|
|
3960
|
-
export type IdentityType = "SystemAssigned" | "UserAssigned" | "None";
|
|
3961
|
-
/** Defines values for ConditionOperator. */
|
|
3962
|
-
export type ConditionOperator = "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual" | "Equals";
|
|
3963
|
-
/** Defines values for TimeAggregationOperator. */
|
|
3964
|
-
export type TimeAggregationOperator = "Average" | "Minimum" | "Maximum" | "Total" | "Last";
|
|
4830
|
+
/** Contains response data for the list operation. */
|
|
4831
|
+
export type MonitorOperationsListResponse = OperationListResult;
|
|
4832
|
+
/** Optional parameters. */
|
|
4833
|
+
export interface MonitorOperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
4834
|
+
}
|
|
4835
|
+
/** Contains response data for the listNext operation. */
|
|
4836
|
+
export type MonitorOperationsListNextResponse = OperationListResult;
|
|
3965
4837
|
/** Optional parameters. */
|
|
3966
4838
|
export interface AutoscaleSettingsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
3967
4839
|
}
|
|
@@ -4009,7 +4881,7 @@ export type PredictiveMetricGetResponse = PredictiveResponse;
|
|
|
4009
4881
|
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
4010
4882
|
}
|
|
4011
4883
|
/** Contains response data for the list operation. */
|
|
4012
|
-
export type OperationsListResponse =
|
|
4884
|
+
export type OperationsListResponse = OperationListResultAutoGenerated;
|
|
4013
4885
|
/** Optional parameters. */
|
|
4014
4886
|
export interface AlertRuleIncidentsGetOptionalParams extends coreClient.OperationOptions {
|
|
4015
4887
|
}
|
|
@@ -4118,24 +4990,6 @@ export interface ActionGroupsUpdateOptionalParams extends coreClient.OperationOp
|
|
|
4118
4990
|
/** Contains response data for the update operation. */
|
|
4119
4991
|
export type ActionGroupsUpdateResponse = ActionGroupResource;
|
|
4120
4992
|
/** Optional parameters. */
|
|
4121
|
-
export interface ActionGroupsPostTestNotificationsOptionalParams extends coreClient.OperationOptions {
|
|
4122
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
4123
|
-
updateIntervalInMs?: number;
|
|
4124
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
4125
|
-
resumeFrom?: string;
|
|
4126
|
-
}
|
|
4127
|
-
/** Contains response data for the postTestNotifications operation. */
|
|
4128
|
-
export type ActionGroupsPostTestNotificationsResponse = TestNotificationDetailsResponse;
|
|
4129
|
-
/** Optional parameters. */
|
|
4130
|
-
export interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
|
|
4131
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
4132
|
-
updateIntervalInMs?: number;
|
|
4133
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
4134
|
-
resumeFrom?: string;
|
|
4135
|
-
}
|
|
4136
|
-
/** Contains response data for the createNotificationsAtResourceGroupLevel operation. */
|
|
4137
|
-
export type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
|
|
4138
|
-
/** Optional parameters. */
|
|
4139
4993
|
export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
|
|
4140
4994
|
/** Delay to wait until next poll, in milliseconds. */
|
|
4141
4995
|
updateIntervalInMs?: number;
|
|
@@ -4145,16 +4999,6 @@ export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOption
|
|
|
4145
4999
|
/** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
|
|
4146
5000
|
export type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
|
|
4147
5001
|
/** Optional parameters. */
|
|
4148
|
-
export interface ActionGroupsGetTestNotificationsOptionalParams extends coreClient.OperationOptions {
|
|
4149
|
-
}
|
|
4150
|
-
/** Contains response data for the getTestNotifications operation. */
|
|
4151
|
-
export type ActionGroupsGetTestNotificationsResponse = TestNotificationDetailsResponse;
|
|
4152
|
-
/** Optional parameters. */
|
|
4153
|
-
export interface ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
|
|
4154
|
-
}
|
|
4155
|
-
/** Contains response data for the getTestNotificationsAtResourceGroupLevel operation. */
|
|
4156
|
-
export type ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
|
|
4157
|
-
/** Optional parameters. */
|
|
4158
5002
|
export interface ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
|
|
4159
5003
|
}
|
|
4160
5004
|
/** Contains response data for the getTestNotificationsAtActionGroupResourceLevel operation. */
|
|
@@ -4173,6 +5017,43 @@ export type ActionGroupsListByResourceGroupResponse = ActionGroupList;
|
|
|
4173
5017
|
export interface ActionGroupsEnableReceiverOptionalParams extends coreClient.OperationOptions {
|
|
4174
5018
|
}
|
|
4175
5019
|
/** Optional parameters. */
|
|
5020
|
+
export interface TenantActionGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
5021
|
+
}
|
|
5022
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
5023
|
+
export type TenantActionGroupsCreateOrUpdateResponse = TenantActionGroupResource;
|
|
5024
|
+
/** Optional parameters. */
|
|
5025
|
+
export interface TenantActionGroupsGetOptionalParams extends coreClient.OperationOptions {
|
|
5026
|
+
}
|
|
5027
|
+
/** Contains response data for the get operation. */
|
|
5028
|
+
export type TenantActionGroupsGetResponse = TenantActionGroupResource;
|
|
5029
|
+
/** Optional parameters. */
|
|
5030
|
+
export interface TenantActionGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
5031
|
+
}
|
|
5032
|
+
/** Optional parameters. */
|
|
5033
|
+
export interface TenantActionGroupsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
5034
|
+
}
|
|
5035
|
+
/** Contains response data for the update operation. */
|
|
5036
|
+
export type TenantActionGroupsUpdateResponse = TenantActionGroupResource;
|
|
5037
|
+
/** Optional parameters. */
|
|
5038
|
+
export interface TenantActionGroupsListByManagementGroupIdOptionalParams extends coreClient.OperationOptions {
|
|
5039
|
+
}
|
|
5040
|
+
/** Contains response data for the listByManagementGroupId operation. */
|
|
5041
|
+
export type TenantActionGroupsListByManagementGroupIdResponse = TenantActionGroupList;
|
|
5042
|
+
/** Optional parameters. */
|
|
5043
|
+
export interface CreateNotificationsAtTenantActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
|
|
5044
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
5045
|
+
updateIntervalInMs?: number;
|
|
5046
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
5047
|
+
resumeFrom?: string;
|
|
5048
|
+
}
|
|
5049
|
+
/** Contains response data for the createNotificationsAtTenantActionGroupResourceLevel operation. */
|
|
5050
|
+
export type CreateNotificationsAtTenantActionGroupResourceLevelResponse = TestNotificationDetailsResponseAutoGenerated;
|
|
5051
|
+
/** Optional parameters. */
|
|
5052
|
+
export interface GetTestNotificationsAtTenantActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
|
|
5053
|
+
}
|
|
5054
|
+
/** Contains response data for the getTestNotificationsAtTenantActionGroupResourceLevel operation. */
|
|
5055
|
+
export type GetTestNotificationsAtTenantActionGroupResourceLevelResponse = TestNotificationDetailsResponseAutoGenerated;
|
|
5056
|
+
/** Optional parameters. */
|
|
4176
5057
|
export interface ActivityLogsListOptionalParams extends coreClient.OperationOptions {
|
|
4177
5058
|
/** 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* */
|
|
4178
5059
|
select?: string;
|
|
@@ -4191,10 +5072,10 @@ export interface EventCategoriesListOptionalParams extends coreClient.OperationO
|
|
|
4191
5072
|
export type EventCategoriesListResponse = EventCategoryCollection;
|
|
4192
5073
|
/** Optional parameters. */
|
|
4193
5074
|
export interface TenantActivityLogsListOptionalParams extends coreClient.OperationOptions {
|
|
4194
|
-
/** 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* */
|
|
4195
|
-
select?: string;
|
|
4196
5075
|
/** 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. */
|
|
4197
5076
|
filter?: string;
|
|
5077
|
+
/** 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* */
|
|
5078
|
+
select?: string;
|
|
4198
5079
|
}
|
|
4199
5080
|
/** Contains response data for the list operation. */
|
|
4200
5081
|
export type TenantActivityLogsListResponse = EventDataCollection;
|
|
@@ -4204,59 +5085,21 @@ export interface TenantActivityLogsListNextOptionalParams extends coreClient.Ope
|
|
|
4204
5085
|
/** Contains response data for the listNext operation. */
|
|
4205
5086
|
export type TenantActivityLogsListNextResponse = EventDataCollection;
|
|
4206
5087
|
/** Optional parameters. */
|
|
4207
|
-
export interface
|
|
4208
|
-
/** Metric namespace to query metric definitions for. */
|
|
4209
|
-
metricnamespace?: string;
|
|
4210
|
-
}
|
|
4211
|
-
/** Contains response data for the list operation. */
|
|
4212
|
-
export type MetricDefinitionsListResponse = MetricDefinitionCollection;
|
|
4213
|
-
/** Optional parameters. */
|
|
4214
|
-
export interface MetricsListOptionalParams extends coreClient.OperationOptions {
|
|
4215
|
-
/** The **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test) val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "** */
|
|
4216
|
-
filter?: string;
|
|
5088
|
+
export interface BaselinesListOptionalParams extends coreClient.OperationOptions {
|
|
4217
5089
|
/** Metric namespace to query metric definitions for. */
|
|
4218
5090
|
metricnamespace?: string;
|
|
4219
5091
|
/** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
|
|
4220
5092
|
timespan?: string;
|
|
4221
|
-
/** The interval (i.e. timegrain) of the query. */
|
|
4222
|
-
interval?: string;
|
|
4223
5093
|
/** The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'** */
|
|
4224
5094
|
metricnames?: string;
|
|
4225
5095
|
/** The list of aggregation types (comma separated) to retrieve. */
|
|
4226
5096
|
aggregation?: string;
|
|
4227
|
-
/**
|
|
4228
|
-
* The maximum number of records to retrieve.
|
|
4229
|
-
* Valid only if $filter is specified.
|
|
4230
|
-
* Defaults to 10.
|
|
4231
|
-
*/
|
|
4232
|
-
top?: number;
|
|
4233
|
-
/**
|
|
4234
|
-
* The aggregation to use for sorting results and the direction of the sort.
|
|
4235
|
-
* Only one order can be specified.
|
|
4236
|
-
* Examples: sum asc.
|
|
4237
|
-
*/
|
|
4238
|
-
orderby?: string;
|
|
4239
|
-
/** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */
|
|
4240
|
-
resultType?: ResultType;
|
|
4241
|
-
}
|
|
4242
|
-
/** Contains response data for the list operation. */
|
|
4243
|
-
export type MetricsListResponse = Response;
|
|
4244
|
-
/** Optional parameters. */
|
|
4245
|
-
export interface BaselinesListOptionalParams extends coreClient.OperationOptions {
|
|
4246
5097
|
/** The **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test) val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "** */
|
|
4247
5098
|
filter?: string;
|
|
4248
|
-
/** Metric namespace to query metric definitions for. */
|
|
4249
|
-
metricnamespace?: string;
|
|
4250
|
-
/** The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'. */
|
|
4251
|
-
timespan?: string;
|
|
4252
|
-
/** The interval (i.e. timegrain) of the query. */
|
|
4253
|
-
interval?: string;
|
|
4254
|
-
/** The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'** */
|
|
4255
|
-
metricnames?: string;
|
|
4256
|
-
/** The list of aggregation types (comma separated) to retrieve. */
|
|
4257
|
-
aggregation?: string;
|
|
4258
5099
|
/** Allows retrieving only metadata of the baseline. On data request all information is retrieved. */
|
|
4259
5100
|
resultType?: ResultType;
|
|
5101
|
+
/** The interval (i.e. timegrain) of the query. */
|
|
5102
|
+
interval?: string;
|
|
4260
5103
|
/** The list of sensitivities (comma separated) to retrieve. */
|
|
4261
5104
|
sensitivities?: string;
|
|
4262
5105
|
}
|
|
@@ -4339,13 +5182,6 @@ export interface ScheduledQueryRulesListByResourceGroupNextOptionalParams extend
|
|
|
4339
5182
|
/** Contains response data for the listByResourceGroupNext operation. */
|
|
4340
5183
|
export type ScheduledQueryRulesListByResourceGroupNextResponse = ScheduledQueryRuleResourceCollection;
|
|
4341
5184
|
/** Optional parameters. */
|
|
4342
|
-
export interface MetricNamespacesListOptionalParams extends coreClient.OperationOptions {
|
|
4343
|
-
/** The ISO 8601 conform Date start time from which to query for metric namespaces. */
|
|
4344
|
-
startTime?: string;
|
|
4345
|
-
}
|
|
4346
|
-
/** Contains response data for the list operation. */
|
|
4347
|
-
export type MetricNamespacesListResponse = MetricNamespaceCollection;
|
|
4348
|
-
/** Optional parameters. */
|
|
4349
5185
|
export interface VMInsightsGetOnboardingStatusOptionalParams extends coreClient.OperationOptions {
|
|
4350
5186
|
}
|
|
4351
5187
|
/** Contains response data for the getOnboardingStatus operation. */
|
|
@@ -4411,7 +5247,7 @@ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
|
|
|
4411
5247
|
export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
4412
5248
|
}
|
|
4413
5249
|
/** Contains response data for the get operation. */
|
|
4414
|
-
export type PrivateEndpointConnectionsGetResponse =
|
|
5250
|
+
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnectionAutoGenerated;
|
|
4415
5251
|
/** Optional parameters. */
|
|
4416
5252
|
export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
4417
5253
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -4420,7 +5256,7 @@ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends
|
|
|
4420
5256
|
resumeFrom?: string;
|
|
4421
5257
|
}
|
|
4422
5258
|
/** Contains response data for the createOrUpdate operation. */
|
|
4423
|
-
export type PrivateEndpointConnectionsCreateOrUpdateResponse =
|
|
5259
|
+
export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnectionAutoGenerated;
|
|
4424
5260
|
/** Optional parameters. */
|
|
4425
5261
|
export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
4426
5262
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -4632,56 +5468,6 @@ export interface DataCollectionRulesListBySubscriptionNextOptionalParams extends
|
|
|
4632
5468
|
/** Contains response data for the listBySubscriptionNext operation. */
|
|
4633
5469
|
export type DataCollectionRulesListBySubscriptionNextResponse = DataCollectionRuleResourceListResult;
|
|
4634
5470
|
/** Optional parameters. */
|
|
4635
|
-
export interface AzureMonitorWorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
4636
|
-
}
|
|
4637
|
-
/** Contains response data for the listByResourceGroup operation. */
|
|
4638
|
-
export type AzureMonitorWorkspacesListByResourceGroupResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4639
|
-
/** Optional parameters. */
|
|
4640
|
-
export interface AzureMonitorWorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
4641
|
-
}
|
|
4642
|
-
/** Contains response data for the listBySubscription operation. */
|
|
4643
|
-
export type AzureMonitorWorkspacesListBySubscriptionResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4644
|
-
/** Optional parameters. */
|
|
4645
|
-
export interface AzureMonitorWorkspacesGetOptionalParams extends coreClient.OperationOptions {
|
|
4646
|
-
}
|
|
4647
|
-
/** Contains response data for the get operation. */
|
|
4648
|
-
export type AzureMonitorWorkspacesGetResponse = AzureMonitorWorkspaceResource;
|
|
4649
|
-
/** Optional parameters. */
|
|
4650
|
-
export interface AzureMonitorWorkspacesCreateOptionalParams extends coreClient.OperationOptions {
|
|
4651
|
-
}
|
|
4652
|
-
/** Contains response data for the create operation. */
|
|
4653
|
-
export 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 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 type AzureMonitorWorkspacesListByResourceGroupNextResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4669
|
-
/** Optional parameters. */
|
|
4670
|
-
export interface AzureMonitorWorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
4671
|
-
}
|
|
4672
|
-
/** Contains response data for the listBySubscriptionNext operation. */
|
|
4673
|
-
export type AzureMonitorWorkspacesListBySubscriptionNextResponse = AzureMonitorWorkspaceResourceListResult;
|
|
4674
|
-
/** Optional parameters. */
|
|
4675
|
-
export interface MonitorOperationsListOptionalParams extends coreClient.OperationOptions {
|
|
4676
|
-
}
|
|
4677
|
-
/** Contains response data for the list operation. */
|
|
4678
|
-
export type MonitorOperationsListResponse = OperationListResultAutoGenerated;
|
|
4679
|
-
/** Optional parameters. */
|
|
4680
|
-
export interface MonitorOperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
4681
|
-
}
|
|
4682
|
-
/** Contains response data for the listNext operation. */
|
|
4683
|
-
export type MonitorOperationsListNextResponse = OperationListResultAutoGenerated;
|
|
4684
|
-
/** Optional parameters. */
|
|
4685
5471
|
export interface MonitorClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
4686
5472
|
/** server parameter */
|
|
4687
5473
|
$host?: string;
|