@azure/arm-monitor 7.0.1-alpha.20220427.1 → 8.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +149 -4
- package/README.md +1 -1
- package/dist/index.js +2634 -1068
- 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.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js +138 -0
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js +137 -0
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js +1 -1
- 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.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js +32 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js +31 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js +3 -3
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js +3 -3
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js +3 -3
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js +15 -3
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js +100 -14
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js +7 -7
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsGetSample.js +7 -7
- package/dist-esm/samples-dev/activityLogAlertsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js +4 -4
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js +5 -5
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js +9 -9
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +3 -2
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +3 -3
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +3 -4
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js +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 +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js +45 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js +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 +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +18 -4
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +44 -3
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +19 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js +49 -4
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/predictiveMetricGetSample.js +36 -0
- package/dist-esm/samples-dev/predictiveMetricGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +4 -18
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +4 -18
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +12 -2
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +1054 -394
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +234 -8
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +55 -28
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1394 -651
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +20 -14
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +88 -27
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/monitorClient.d.ts +2 -1
- package/dist-esm/src/monitorClient.d.ts.map +1 -1
- package/dist-esm/src/monitorClient.js +20 -14
- package/dist-esm/src/monitorClient.js.map +1 -1
- package/dist-esm/src/operations/actionGroups.d.ts +46 -1
- package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/actionGroups.js +244 -13
- package/dist-esm/src/operations/actionGroups.js.map +1 -1
- package/dist-esm/src/operations/activityLogAlerts.d.ts +32 -18
- package/dist-esm/src/operations/activityLogAlerts.d.ts.map +1 -1
- package/dist-esm/src/operations/activityLogAlerts.js +117 -41
- package/dist-esm/src/operations/activityLogAlerts.js.map +1 -1
- package/dist-esm/src/operations/activityLogs.js +2 -2
- package/dist-esm/src/operations/activityLogs.js.map +1 -1
- package/dist-esm/src/operations/alertRuleIncidents.js +2 -2
- package/dist-esm/src/operations/alertRules.js +6 -6
- package/dist-esm/src/operations/autoscaleSettings.js +8 -8
- package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
- package/dist-esm/src/operations/baselines.js +4 -4
- package/dist-esm/src/operations/baselines.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionEndpoints.js +8 -8
- package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts +29 -1
- package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts.map +1 -1
- package/dist-esm/src/operations/dataCollectionRuleAssociations.js +123 -7
- package/dist-esm/src/operations/dataCollectionRuleAssociations.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionRules.js +8 -8
- package/dist-esm/src/operations/diagnosticSettings.d.ts +11 -2
- package/dist-esm/src/operations/diagnosticSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettings.js +50 -5
- package/dist-esm/src/operations/diagnosticSettings.js.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts +11 -2
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.js +48 -3
- package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
- package/dist-esm/src/operations/eventCategories.js +1 -1
- package/dist-esm/src/operations/eventCategories.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/logProfiles.js +5 -5
- package/dist-esm/src/operations/metricAlerts.js +6 -6
- package/dist-esm/src/operations/metricAlertsStatus.js +2 -2
- package/dist-esm/src/operations/metricDefinitions.js +1 -1
- package/dist-esm/src/operations/metricNamespaces.js +1 -1
- package/dist-esm/src/operations/metrics.js +4 -4
- package/dist-esm/src/operations/metrics.js.map +1 -1
- package/dist-esm/src/operations/operations.js +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/predictiveMetric.d.ts +28 -0
- package/dist-esm/src/operations/predictiveMetric.d.ts.map +1 -0
- package/dist-esm/src/operations/predictiveMetric.js +77 -0
- package/dist-esm/src/operations/predictiveMetric.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +4 -22
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +27 -89
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts +2 -20
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +8 -83
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopeOperationStatus.js +4 -1
- package/dist-esm/src/operations/privateLinkScopeOperationStatus.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.js +27 -6
- package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.js +39 -9
- package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.js +6 -6
- package/dist-esm/src/operations/tenantActivityLogs.js +2 -2
- package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
- package/dist-esm/src/operations/vMInsights.js +1 -1
- package/dist-esm/src/operations/vMInsights.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +46 -1
- package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/activityLogAlerts.d.ts +17 -16
- package/dist-esm/src/operationsInterfaces/activityLogAlerts.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/dataCollectionRuleAssociations.d.ts +9 -1
- package/dist-esm/src/operationsInterfaces/dataCollectionRuleAssociations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts +8 -7
- package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts +7 -6
- package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/predictiveMetric.js +9 -0
- package/dist-esm/src/operationsInterfaces/predictiveMetric.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +10 -11
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +2 -3
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/test/monitor_examples.d.ts.map +1 -1
- package/dist-esm/test/monitor_examples.js +25 -31
- package/dist-esm/test/monitor_examples.js.map +1 -1
- package/package.json +9 -6
- package/review/arm-monitor.api.md +585 -376
- package/src/models/index.ts +1137 -435
- package/src/models/mappers.ts +1481 -688
- package/src/models/parameters.ts +94 -27
- package/src/monitorClient.ts +27 -16
- package/src/operations/actionGroups.ts +356 -13
- package/src/operations/activityLogAlerts.ts +142 -43
- package/src/operations/activityLogs.ts +2 -2
- package/src/operations/alertRuleIncidents.ts +2 -2
- package/src/operations/alertRules.ts +6 -6
- package/src/operations/autoscaleSettings.ts +8 -8
- package/src/operations/baselines.ts +4 -4
- package/src/operations/dataCollectionEndpoints.ts +8 -8
- package/src/operations/dataCollectionRuleAssociations.ts +175 -8
- package/src/operations/dataCollectionRules.ts +8 -8
- package/src/operations/diagnosticSettings.ts +49 -7
- package/src/operations/diagnosticSettingsCategory.ts +47 -4
- package/src/operations/eventCategories.ts +1 -1
- package/src/operations/index.ts +1 -0
- package/src/operations/logProfiles.ts +5 -5
- package/src/operations/metricAlerts.ts +6 -6
- package/src/operations/metricAlertsStatus.ts +2 -2
- package/src/operations/metricDefinitions.ts +1 -1
- package/src/operations/metricNamespaces.ts +1 -1
- package/src/operations/metrics.ts +4 -4
- package/src/operations/operations.ts +1 -1
- package/src/operations/predictiveMetric.ts +101 -0
- package/src/operations/privateEndpointConnections.ts +29 -124
- package/src/operations/privateLinkResources.ts +10 -118
- package/src/operations/privateLinkScopeOperationStatus.ts +4 -1
- package/src/operations/privateLinkScopedResources.ts +27 -6
- package/src/operations/privateLinkScopes.ts +39 -9
- package/src/operations/scheduledQueryRules.ts +6 -6
- package/src/operations/tenantActivityLogs.ts +2 -2
- package/src/operations/vMInsights.ts +1 -1
- package/src/operationsInterfaces/actionGroups.ts +96 -0
- package/src/operationsInterfaces/activityLogAlerts.ts +17 -16
- package/src/operationsInterfaces/dataCollectionRuleAssociations.ts +13 -0
- package/src/operationsInterfaces/diagnosticSettings.ts +14 -13
- package/src/operationsInterfaces/diagnosticSettingsCategory.ts +14 -12
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/predictiveMetric.ts +40 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +17 -18
- package/src/operationsInterfaces/privateLinkResources.ts +2 -4
- package/types/arm-monitor.d.ts +1082 -293
package/src/models/index.ts
CHANGED
|
@@ -177,7 +177,15 @@ export interface WebhookNotification {
|
|
|
177
177
|
properties?: { [propertyName: string]: string };
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
/**
|
|
180
|
+
/** The parameters for enabling predictive autoscale. */
|
|
181
|
+
export interface PredictiveAutoscalePolicy {
|
|
182
|
+
/** the predictive autoscale mode */
|
|
183
|
+
scaleMode: PredictiveAutoscalePolicyScaleMode;
|
|
184
|
+
/** the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format. */
|
|
185
|
+
scaleLookAheadTime?: string;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** The autoscale setting resource. */
|
|
181
189
|
export interface Resource {
|
|
182
190
|
/**
|
|
183
191
|
* Azure resource Id
|
|
@@ -196,16 +204,52 @@ export interface Resource {
|
|
|
196
204
|
readonly type?: string;
|
|
197
205
|
/** Resource location */
|
|
198
206
|
location: string;
|
|
199
|
-
/**
|
|
207
|
+
/** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */
|
|
200
208
|
tags?: { [propertyName: string]: string };
|
|
209
|
+
/**
|
|
210
|
+
* The system metadata related to the response.
|
|
211
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
212
|
+
*/
|
|
213
|
+
readonly systemData?: SystemData;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
217
|
+
export interface SystemData {
|
|
218
|
+
/** The identity that created the resource. */
|
|
219
|
+
createdBy?: string;
|
|
220
|
+
/** The type of identity that created the resource. */
|
|
221
|
+
createdByType?: CreatedByType;
|
|
222
|
+
/** The timestamp of resource creation (UTC). */
|
|
223
|
+
createdAt?: Date;
|
|
224
|
+
/** The identity that last modified the resource. */
|
|
225
|
+
lastModifiedBy?: string;
|
|
226
|
+
/** The type of identity that last modified the resource. */
|
|
227
|
+
lastModifiedByType?: CreatedByType;
|
|
228
|
+
/** The timestamp of resource last modification (UTC) */
|
|
229
|
+
lastModifiedAt?: Date;
|
|
201
230
|
}
|
|
202
231
|
|
|
203
232
|
/** Describes the format of Error response. */
|
|
204
|
-
export interface
|
|
205
|
-
/**
|
|
233
|
+
export interface AutoscaleErrorResponse {
|
|
234
|
+
/** The error object. */
|
|
235
|
+
error?: AutoscaleErrorResponseError;
|
|
236
|
+
/**
|
|
237
|
+
* The system metadata related to the response.
|
|
238
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
239
|
+
*/
|
|
240
|
+
readonly systemData?: SystemData;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/** The error object. */
|
|
244
|
+
export interface AutoscaleErrorResponseError {
|
|
245
|
+
/** One of a server-defined set of error codes. */
|
|
206
246
|
code?: string;
|
|
207
|
-
/**
|
|
247
|
+
/** A human-readable representation of the error. */
|
|
208
248
|
message?: string;
|
|
249
|
+
/** The target of the particular error. */
|
|
250
|
+
target?: string;
|
|
251
|
+
/** A human-readable representation of the error's details. */
|
|
252
|
+
details?: string;
|
|
209
253
|
}
|
|
210
254
|
|
|
211
255
|
/** The autoscale setting object for patch operations. */
|
|
@@ -216,8 +260,10 @@ export interface AutoscaleSettingResourcePatch {
|
|
|
216
260
|
profiles?: AutoscaleProfile[];
|
|
217
261
|
/** the collection of notifications. */
|
|
218
262
|
notifications?: AutoscaleNotification[];
|
|
219
|
-
/** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is '
|
|
263
|
+
/** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
|
|
220
264
|
enabled?: boolean;
|
|
265
|
+
/** the predictive autoscale policy mode. */
|
|
266
|
+
predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
|
|
221
267
|
/** the name of the autoscale setting. */
|
|
222
268
|
name?: string;
|
|
223
269
|
/** the resource identifier of the resource that the autoscale setting should be added to. */
|
|
@@ -226,6 +272,28 @@ export interface AutoscaleSettingResourcePatch {
|
|
|
226
272
|
targetResourceLocation?: string;
|
|
227
273
|
}
|
|
228
274
|
|
|
275
|
+
/** The response to a metrics query. */
|
|
276
|
+
export interface PredictiveResponse {
|
|
277
|
+
/** 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. */
|
|
278
|
+
timespan?: string;
|
|
279
|
+
/** 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. */
|
|
280
|
+
interval?: string;
|
|
281
|
+
/** The metrics being queried */
|
|
282
|
+
metricName?: string;
|
|
283
|
+
/** resource of the predictive metric. */
|
|
284
|
+
targetResourceId?: string;
|
|
285
|
+
/** the value of the collection. */
|
|
286
|
+
data?: PredictiveValue[];
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/** Represents a predictive metric value in the given bucket. */
|
|
290
|
+
export interface PredictiveValue {
|
|
291
|
+
/** the timestamp for the metric value in ISO 8601 format. */
|
|
292
|
+
timeStamp: Date;
|
|
293
|
+
/** Predictive value in this time bucket. */
|
|
294
|
+
value: number;
|
|
295
|
+
}
|
|
296
|
+
|
|
229
297
|
/** 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. */
|
|
230
298
|
export interface OperationListResult {
|
|
231
299
|
/** List of operations supported by the Microsoft.Insights provider. */
|
|
@@ -281,6 +349,14 @@ export interface Incident {
|
|
|
281
349
|
readonly resolvedTime?: Date;
|
|
282
350
|
}
|
|
283
351
|
|
|
352
|
+
/** Describes the format of Error response. */
|
|
353
|
+
export interface ErrorResponse {
|
|
354
|
+
/** Error code */
|
|
355
|
+
code?: string;
|
|
356
|
+
/** Error message indicating why the operation failed. */
|
|
357
|
+
message?: string;
|
|
358
|
+
}
|
|
359
|
+
|
|
284
360
|
/** The List incidents operation response. */
|
|
285
361
|
export interface IncidentListResult {
|
|
286
362
|
/** the incident collection. */
|
|
@@ -322,6 +398,29 @@ export interface RuleAction {
|
|
|
322
398
|
| "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
|
|
323
399
|
}
|
|
324
400
|
|
|
401
|
+
/** An azure resource object */
|
|
402
|
+
export interface ResourceAutoGenerated {
|
|
403
|
+
/**
|
|
404
|
+
* Azure resource Id
|
|
405
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
406
|
+
*/
|
|
407
|
+
readonly id?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Azure resource name
|
|
410
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
411
|
+
*/
|
|
412
|
+
readonly name?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Azure resource type
|
|
415
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
416
|
+
*/
|
|
417
|
+
readonly type?: string;
|
|
418
|
+
/** Resource location */
|
|
419
|
+
location: string;
|
|
420
|
+
/** Resource tags */
|
|
421
|
+
tags?: { [propertyName: string]: string };
|
|
422
|
+
}
|
|
423
|
+
|
|
325
424
|
/** The alert rule object for patch operations. */
|
|
326
425
|
export interface AlertRuleResourcePatch {
|
|
327
426
|
/** Resource tags */
|
|
@@ -361,6 +460,29 @@ export interface RetentionPolicy {
|
|
|
361
460
|
days: number;
|
|
362
461
|
}
|
|
363
462
|
|
|
463
|
+
/** An azure resource object */
|
|
464
|
+
export interface ResourceAutoGenerated2 {
|
|
465
|
+
/**
|
|
466
|
+
* Azure resource Id
|
|
467
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
468
|
+
*/
|
|
469
|
+
readonly id?: string;
|
|
470
|
+
/**
|
|
471
|
+
* Azure resource name
|
|
472
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
473
|
+
*/
|
|
474
|
+
readonly name?: string;
|
|
475
|
+
/**
|
|
476
|
+
* Azure resource type
|
|
477
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
478
|
+
*/
|
|
479
|
+
readonly type?: string;
|
|
480
|
+
/** Resource location */
|
|
481
|
+
location: string;
|
|
482
|
+
/** Resource tags */
|
|
483
|
+
tags?: { [propertyName: string]: string };
|
|
484
|
+
}
|
|
485
|
+
|
|
364
486
|
/** The log profile resource for patch operations. */
|
|
365
487
|
export interface LogProfileResourcePatch {
|
|
366
488
|
/** Resource tags */
|
|
@@ -399,26 +521,28 @@ export interface MetricSettings {
|
|
|
399
521
|
export interface LogSettings {
|
|
400
522
|
/** Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. */
|
|
401
523
|
category?: string;
|
|
524
|
+
/** Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. */
|
|
525
|
+
categoryGroup?: string;
|
|
402
526
|
/** a value indicating whether this log is enabled. */
|
|
403
527
|
enabled: boolean;
|
|
404
528
|
/** the retention policy for this log. */
|
|
405
529
|
retentionPolicy?: RetentionPolicy;
|
|
406
530
|
}
|
|
407
531
|
|
|
408
|
-
/**
|
|
409
|
-
export interface
|
|
532
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
533
|
+
export interface ResourceAutoGenerated3 {
|
|
410
534
|
/**
|
|
411
|
-
*
|
|
535
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
412
536
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
413
537
|
*/
|
|
414
538
|
readonly id?: string;
|
|
415
539
|
/**
|
|
416
|
-
*
|
|
540
|
+
* The name of the resource
|
|
417
541
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
418
542
|
*/
|
|
419
543
|
readonly name?: string;
|
|
420
544
|
/**
|
|
421
|
-
*
|
|
545
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
422
546
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
423
547
|
*/
|
|
424
548
|
readonly type?: string;
|
|
@@ -603,16 +727,6 @@ export interface AzureResource {
|
|
|
603
727
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
604
728
|
*/
|
|
605
729
|
readonly type?: string;
|
|
606
|
-
/**
|
|
607
|
-
* Azure resource kind
|
|
608
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
609
|
-
*/
|
|
610
|
-
readonly kind?: string;
|
|
611
|
-
/**
|
|
612
|
-
* Azure resource identity
|
|
613
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
614
|
-
*/
|
|
615
|
-
readonly identity?: string;
|
|
616
730
|
/** Resource location */
|
|
617
731
|
location: string;
|
|
618
732
|
/** Resource tags */
|
|
@@ -655,16 +769,6 @@ export interface NotificationRequestBody {
|
|
|
655
769
|
eventHubReceivers?: EventHubReceiver[];
|
|
656
770
|
}
|
|
657
771
|
|
|
658
|
-
/** The response when test notification succeeded */
|
|
659
|
-
export interface TestNotificationResponse {
|
|
660
|
-
/** The notification id */
|
|
661
|
-
notificationId: string;
|
|
662
|
-
/** The correlation id */
|
|
663
|
-
correlationId: string;
|
|
664
|
-
/** The created time */
|
|
665
|
-
createdTime: string;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
772
|
/** The details of the test notification results. */
|
|
669
773
|
export interface TestNotificationDetailsResponse {
|
|
670
774
|
/** The context info */
|
|
@@ -1086,6 +1190,29 @@ export interface MetricAlertAction {
|
|
|
1086
1190
|
webHookProperties?: { [propertyName: string]: string };
|
|
1087
1191
|
}
|
|
1088
1192
|
|
|
1193
|
+
/** An azure resource object */
|
|
1194
|
+
export interface ResourceAutoGenerated4 {
|
|
1195
|
+
/**
|
|
1196
|
+
* Azure resource Id
|
|
1197
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1198
|
+
*/
|
|
1199
|
+
readonly id?: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Azure resource name
|
|
1202
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1203
|
+
*/
|
|
1204
|
+
readonly name?: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* Azure resource type
|
|
1207
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1208
|
+
*/
|
|
1209
|
+
readonly type?: string;
|
|
1210
|
+
/** Resource location */
|
|
1211
|
+
location: string;
|
|
1212
|
+
/** Resource tags */
|
|
1213
|
+
tags?: { [propertyName: string]: string };
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1089
1216
|
/** The metric alert resource for patch operations. */
|
|
1090
1217
|
export interface MetricAlertResourcePatch {
|
|
1091
1218
|
/** Resource tags */
|
|
@@ -1181,7 +1308,7 @@ export interface Action {
|
|
|
1181
1308
|
}
|
|
1182
1309
|
|
|
1183
1310
|
/** An azure resource object */
|
|
1184
|
-
export interface
|
|
1311
|
+
export interface ResourceAutoGenerated5 {
|
|
1185
1312
|
/**
|
|
1186
1313
|
* Azure resource Id
|
|
1187
1314
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1316,46 +1443,92 @@ export interface AzureMonitorPrivateLinkScopeListResult {
|
|
|
1316
1443
|
nextLink?: string;
|
|
1317
1444
|
}
|
|
1318
1445
|
|
|
1319
|
-
/** Private
|
|
1320
|
-
export interface
|
|
1321
|
-
/** Resource id of the private endpoint. */
|
|
1322
|
-
id?: string;
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
/** State of the private endpoint connection. */
|
|
1326
|
-
export interface PrivateLinkServiceConnectionStateProperty {
|
|
1327
|
-
/** The private link service connection status. */
|
|
1328
|
-
status: string;
|
|
1329
|
-
/** The private link service connection description. */
|
|
1330
|
-
description: string;
|
|
1446
|
+
/** The Private Endpoint resource. */
|
|
1447
|
+
export interface PrivateEndpoint {
|
|
1331
1448
|
/**
|
|
1332
|
-
* The
|
|
1449
|
+
* The ARM identifier for Private Endpoint
|
|
1333
1450
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1334
1451
|
*/
|
|
1335
|
-
readonly
|
|
1452
|
+
readonly id?: string;
|
|
1336
1453
|
}
|
|
1337
1454
|
|
|
1338
|
-
/**
|
|
1339
|
-
export interface
|
|
1455
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
1456
|
+
export interface PrivateLinkServiceConnectionState {
|
|
1457
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
1458
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
1459
|
+
/** The reason for approval/rejection of the connection. */
|
|
1460
|
+
description?: string;
|
|
1461
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
1462
|
+
actionsRequired?: string;
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
/** Properties that define the scope private link mode settings. */
|
|
1466
|
+
export interface AccessModeSettings {
|
|
1467
|
+
/** 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. */
|
|
1468
|
+
queryAccessMode: AccessMode;
|
|
1469
|
+
/** Specifies the default access mode of ingestion 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. */
|
|
1470
|
+
ingestionAccessMode: AccessMode;
|
|
1471
|
+
/** List of exclusions that override the default access mode settings for specific private endpoint connections. */
|
|
1472
|
+
exclusions?: AccessModeSettingsExclusion[];
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
/** Properties that define the scope private link mode settings exclusion item. This setting applies to a specific private endpoint connection and overrides the default settings for that private endpoint connection. */
|
|
1476
|
+
export interface AccessModeSettingsExclusion {
|
|
1477
|
+
/** The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings. */
|
|
1478
|
+
privateEndpointConnectionName?: string;
|
|
1479
|
+
/** Specifies the access mode of queries through the specified private endpoint connection in the exclusion. */
|
|
1480
|
+
queryAccessMode?: AccessMode;
|
|
1481
|
+
/** Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion. */
|
|
1482
|
+
ingestionAccessMode?: AccessMode;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
1486
|
+
export interface DefaultErrorResponse {
|
|
1487
|
+
/** The error object. */
|
|
1488
|
+
error?: ErrorDetail;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/** The error detail. */
|
|
1492
|
+
export interface ErrorDetail {
|
|
1340
1493
|
/**
|
|
1341
|
-
*
|
|
1494
|
+
* The error code.
|
|
1342
1495
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1343
1496
|
*/
|
|
1344
|
-
readonly
|
|
1497
|
+
readonly code?: string;
|
|
1345
1498
|
/**
|
|
1346
|
-
*
|
|
1499
|
+
* The error message.
|
|
1347
1500
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1348
1501
|
*/
|
|
1349
|
-
readonly
|
|
1502
|
+
readonly message?: string;
|
|
1350
1503
|
/**
|
|
1351
|
-
*
|
|
1504
|
+
* The error target.
|
|
1505
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1506
|
+
*/
|
|
1507
|
+
readonly target?: string;
|
|
1508
|
+
/**
|
|
1509
|
+
* The error details.
|
|
1510
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1511
|
+
*/
|
|
1512
|
+
readonly details?: ErrorDetail[];
|
|
1513
|
+
/**
|
|
1514
|
+
* The error additional info.
|
|
1515
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1516
|
+
*/
|
|
1517
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
/** The resource management error additional info. */
|
|
1521
|
+
export interface ErrorAdditionalInfo {
|
|
1522
|
+
/**
|
|
1523
|
+
* The additional info type.
|
|
1352
1524
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1353
1525
|
*/
|
|
1354
1526
|
readonly type?: string;
|
|
1355
|
-
/**
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1527
|
+
/**
|
|
1528
|
+
* The additional info.
|
|
1529
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1530
|
+
*/
|
|
1531
|
+
readonly info?: Record<string, unknown>;
|
|
1359
1532
|
}
|
|
1360
1533
|
|
|
1361
1534
|
/** A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance. */
|
|
@@ -1377,49 +1550,19 @@ export interface OperationStatus {
|
|
|
1377
1550
|
/** The status of the operation. */
|
|
1378
1551
|
status?: string;
|
|
1379
1552
|
/** The error detail of the operation if any. */
|
|
1380
|
-
error?:
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
/** The resource management error additional info. */
|
|
1384
|
-
export interface ErrorAdditionalInfo {
|
|
1385
|
-
/**
|
|
1386
|
-
* The additional info type.
|
|
1387
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1388
|
-
*/
|
|
1389
|
-
readonly type?: string;
|
|
1390
|
-
/**
|
|
1391
|
-
* The additional info.
|
|
1392
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1393
|
-
*/
|
|
1394
|
-
readonly info?: Record<string, unknown>;
|
|
1553
|
+
error?: ErrorDetail;
|
|
1395
1554
|
}
|
|
1396
1555
|
|
|
1397
1556
|
/** A list of private link resources */
|
|
1398
1557
|
export interface PrivateLinkResourceListResult {
|
|
1399
|
-
/**
|
|
1400
|
-
|
|
1401
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1402
|
-
*/
|
|
1403
|
-
readonly value?: PrivateLinkResource[];
|
|
1404
|
-
/**
|
|
1405
|
-
* Link to retrieve next page of results.
|
|
1406
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1407
|
-
*/
|
|
1408
|
-
readonly nextLink?: string;
|
|
1558
|
+
/** Array of private link resources */
|
|
1559
|
+
value?: PrivateLinkResource[];
|
|
1409
1560
|
}
|
|
1410
1561
|
|
|
1411
|
-
/**
|
|
1562
|
+
/** List of private endpoint connection associated with the specified storage account */
|
|
1412
1563
|
export interface PrivateEndpointConnectionListResult {
|
|
1413
|
-
/**
|
|
1414
|
-
|
|
1415
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1416
|
-
*/
|
|
1417
|
-
readonly value?: PrivateEndpointConnection[];
|
|
1418
|
-
/**
|
|
1419
|
-
* Link to retrieve next page of results.
|
|
1420
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1421
|
-
*/
|
|
1422
|
-
readonly nextLink?: string;
|
|
1564
|
+
/** Array of private endpoint connections */
|
|
1565
|
+
value?: PrivateEndpointConnection[];
|
|
1423
1566
|
}
|
|
1424
1567
|
|
|
1425
1568
|
/** A list of scoped resources in a private link scope. */
|
|
@@ -1436,68 +1579,113 @@ export interface ScopedResourceListResult {
|
|
|
1436
1579
|
readonly nextLink?: string;
|
|
1437
1580
|
}
|
|
1438
1581
|
|
|
1439
|
-
/** An Activity Log
|
|
1440
|
-
export interface
|
|
1441
|
-
/** The list of
|
|
1442
|
-
allOf:
|
|
1582
|
+
/** An Activity Log Alert rule condition that is met when all its member conditions are met. */
|
|
1583
|
+
export interface AlertRuleAllOfCondition {
|
|
1584
|
+
/** The list of Activity Log Alert rule conditions. */
|
|
1585
|
+
allOf: AlertRuleAnyOfOrLeafCondition[];
|
|
1443
1586
|
}
|
|
1444
1587
|
|
|
1445
|
-
/**
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1588
|
+
/**
|
|
1589
|
+
* An Activity Log Alert rule condition that is met by comparing the field and value of an Activity Log event.
|
|
1590
|
+
* This condition must contain 'field' and either 'equals' or 'containsAny'.
|
|
1591
|
+
*/
|
|
1592
|
+
export interface AlertRuleLeafCondition {
|
|
1593
|
+
/**
|
|
1594
|
+
* The name of the Activity Log event's field that this condition will examine.
|
|
1595
|
+
* The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.
|
|
1596
|
+
*/
|
|
1597
|
+
field?: string;
|
|
1598
|
+
/** The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met. */
|
|
1599
|
+
equals?: string;
|
|
1600
|
+
/** The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met. */
|
|
1601
|
+
containsAny?: string[];
|
|
1451
1602
|
}
|
|
1452
1603
|
|
|
1453
|
-
/** A list of
|
|
1454
|
-
export interface
|
|
1455
|
-
/** The list of
|
|
1456
|
-
actionGroups?:
|
|
1604
|
+
/** A list of Activity Log Alert rule actions. */
|
|
1605
|
+
export interface ActionList {
|
|
1606
|
+
/** The list of the Action Groups. */
|
|
1607
|
+
actionGroups?: ActionGroup[];
|
|
1457
1608
|
}
|
|
1458
1609
|
|
|
1459
1610
|
/** A pointer to an Azure Action Group. */
|
|
1460
|
-
export interface
|
|
1461
|
-
/** The
|
|
1611
|
+
export interface ActionGroup {
|
|
1612
|
+
/** The resource ID of the Action Group. This cannot be null or empty. */
|
|
1462
1613
|
actionGroupId: string;
|
|
1463
1614
|
/** the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. */
|
|
1464
1615
|
webhookProperties?: { [propertyName: string]: string };
|
|
1465
1616
|
}
|
|
1466
1617
|
|
|
1467
|
-
/** An
|
|
1468
|
-
export interface
|
|
1469
|
-
/** Resource tags */
|
|
1470
|
-
tags?: { [propertyName: string]: string };
|
|
1471
|
-
/** Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. */
|
|
1472
|
-
enabled?: boolean;
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
/** A list of activity log alerts. */
|
|
1476
|
-
export interface ActivityLogAlertList {
|
|
1477
|
-
/** The list of activity log alerts. */
|
|
1478
|
-
value?: ActivityLogAlertResource[];
|
|
1479
|
-
/** Provides the link to retrieve the next set of elements. */
|
|
1480
|
-
nextLink?: string;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
/** A pageable list of resources. */
|
|
1484
|
-
export interface DataCollectionEndpointResourceListResult {
|
|
1485
|
-
/** A list of resources. */
|
|
1486
|
-
value: DataCollectionEndpointResource[];
|
|
1487
|
-
/** The URL to use for getting the next set of results. */
|
|
1488
|
-
nextLink?: string;
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
/** Definition of ARM tracked top level resource. */
|
|
1492
|
-
export interface DataCollectionEndpointResource {
|
|
1493
|
-
/** The geo-location where the resource lives. */
|
|
1494
|
-
location: string;
|
|
1495
|
-
/** Resource tags. */
|
|
1496
|
-
tags?: { [propertyName: string]: string };
|
|
1497
|
-
/** The kind of the resource. */
|
|
1498
|
-
kind?: KnownDataCollectionEndpointResourceKind;
|
|
1618
|
+
/** An Azure resource object. */
|
|
1619
|
+
export interface AzureResourceAutoGenerated {
|
|
1499
1620
|
/**
|
|
1500
|
-
*
|
|
1621
|
+
* The resource Id.
|
|
1622
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1623
|
+
*/
|
|
1624
|
+
readonly id?: string;
|
|
1625
|
+
/**
|
|
1626
|
+
* The name of the resource.
|
|
1627
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1628
|
+
*/
|
|
1629
|
+
readonly name?: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* The type of the resource.
|
|
1632
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1633
|
+
*/
|
|
1634
|
+
readonly type?: string;
|
|
1635
|
+
/** The location of the resource. Since Azure Activity Log Alerts is a global service, the location of the rules should always be 'global'. */
|
|
1636
|
+
location?: string;
|
|
1637
|
+
/** The tags of the resource. */
|
|
1638
|
+
tags?: { [propertyName: string]: string };
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
/** The error response. */
|
|
1642
|
+
export interface ErrorResponseAutoGenerated {
|
|
1643
|
+
/**
|
|
1644
|
+
* The error code.
|
|
1645
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1646
|
+
*/
|
|
1647
|
+
readonly code?: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* The error message indicating why the operation failed.
|
|
1650
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1651
|
+
*/
|
|
1652
|
+
readonly message?: string;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
/** An Activity Log Alert rule object for the body of patch operations. */
|
|
1656
|
+
export interface AlertRulePatchObject {
|
|
1657
|
+
/** The resource tags */
|
|
1658
|
+
tags?: { [propertyName: string]: string };
|
|
1659
|
+
/** Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated. */
|
|
1660
|
+
enabled?: boolean;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
/** A list of Activity Log Alert rules. */
|
|
1664
|
+
export interface AlertRuleList {
|
|
1665
|
+
/** The list of Activity Log Alert rules. */
|
|
1666
|
+
value?: ActivityLogAlertResource[];
|
|
1667
|
+
/** Provides the link to retrieve the next set of elements. */
|
|
1668
|
+
nextLink?: string;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
/** A pageable list of resources. */
|
|
1672
|
+
export interface DataCollectionEndpointResourceListResult {
|
|
1673
|
+
/** A list of resources. */
|
|
1674
|
+
value: DataCollectionEndpointResource[];
|
|
1675
|
+
/** The URL to use for getting the next set of results. */
|
|
1676
|
+
nextLink?: string;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
/** Definition of ARM tracked top level resource. */
|
|
1680
|
+
export interface DataCollectionEndpointResource {
|
|
1681
|
+
/** The geo-location where the resource lives. */
|
|
1682
|
+
location: string;
|
|
1683
|
+
/** Resource tags. */
|
|
1684
|
+
tags?: { [propertyName: string]: string };
|
|
1685
|
+
/** The kind of the resource. */
|
|
1686
|
+
kind?: KnownDataCollectionEndpointResourceKind;
|
|
1687
|
+
/**
|
|
1688
|
+
* Fully qualified ID of the resource.
|
|
1501
1689
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1502
1690
|
*/
|
|
1503
1691
|
readonly id?: string;
|
|
@@ -1525,7 +1713,7 @@ export interface DataCollectionEndpointResource {
|
|
|
1525
1713
|
description?: string;
|
|
1526
1714
|
/** The immutable ID of this data collection endpoint resource. This property is READ-ONLY. */
|
|
1527
1715
|
immutableId?: string;
|
|
1528
|
-
/** The endpoint used by
|
|
1716
|
+
/** The endpoint used by clients to access their configuration. */
|
|
1529
1717
|
configurationAccess?: DataCollectionEndpointConfigurationAccess;
|
|
1530
1718
|
/** The endpoint used by clients to ingest logs. */
|
|
1531
1719
|
logsIngestion?: DataCollectionEndpointLogsIngestion;
|
|
@@ -1544,7 +1732,7 @@ export interface DataCollectionEndpoint {
|
|
|
1544
1732
|
description?: string;
|
|
1545
1733
|
/** The immutable ID of this data collection endpoint resource. This property is READ-ONLY. */
|
|
1546
1734
|
immutableId?: string;
|
|
1547
|
-
/** The endpoint used by
|
|
1735
|
+
/** The endpoint used by clients to access their configuration. */
|
|
1548
1736
|
configurationAccess?: DataCollectionEndpointConfigurationAccess;
|
|
1549
1737
|
/** The endpoint used by clients to ingest logs. */
|
|
1550
1738
|
logsIngestion?: DataCollectionEndpointLogsIngestion;
|
|
@@ -1581,57 +1769,12 @@ export interface NetworkRuleSet {
|
|
|
1581
1769
|
publicNetworkAccess?: KnownPublicNetworkAccessOptions;
|
|
1582
1770
|
}
|
|
1583
1771
|
|
|
1584
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
1585
|
-
export interface SystemData {
|
|
1586
|
-
/** The identity that created the resource. */
|
|
1587
|
-
createdBy?: string;
|
|
1588
|
-
/** The type of identity that created the resource. */
|
|
1589
|
-
createdByType?: CreatedByType;
|
|
1590
|
-
/** The timestamp of resource creation (UTC). */
|
|
1591
|
-
createdAt?: Date;
|
|
1592
|
-
/** The identity that last modified the resource. */
|
|
1593
|
-
lastModifiedBy?: string;
|
|
1594
|
-
/** The type of identity that last modified the resource. */
|
|
1595
|
-
lastModifiedByType?: CreatedByType;
|
|
1596
|
-
/** The timestamp of resource last modification (UTC) */
|
|
1597
|
-
lastModifiedAt?: Date;
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
1772
|
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
1601
1773
|
export interface ErrorResponseCommonV2 {
|
|
1602
1774
|
/** The error object. */
|
|
1603
1775
|
error?: ErrorDetail;
|
|
1604
1776
|
}
|
|
1605
1777
|
|
|
1606
|
-
/** The error detail. */
|
|
1607
|
-
export interface ErrorDetail {
|
|
1608
|
-
/**
|
|
1609
|
-
* The error code.
|
|
1610
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1611
|
-
*/
|
|
1612
|
-
readonly code?: string;
|
|
1613
|
-
/**
|
|
1614
|
-
* The error message.
|
|
1615
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1616
|
-
*/
|
|
1617
|
-
readonly message?: string;
|
|
1618
|
-
/**
|
|
1619
|
-
* The error target.
|
|
1620
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1621
|
-
*/
|
|
1622
|
-
readonly target?: string;
|
|
1623
|
-
/**
|
|
1624
|
-
* The error details.
|
|
1625
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1626
|
-
*/
|
|
1627
|
-
readonly details?: ErrorDetail[];
|
|
1628
|
-
/**
|
|
1629
|
-
* The error additional info.
|
|
1630
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1631
|
-
*/
|
|
1632
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
1778
|
/** Definition of ARM tracked top level resource properties for update operation. */
|
|
1636
1779
|
export interface ResourceForUpdate {
|
|
1637
1780
|
/** Resource tags. */
|
|
@@ -1684,6 +1827,11 @@ export interface DataCollectionRuleAssociationProxyOnlyResource {
|
|
|
1684
1827
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1685
1828
|
*/
|
|
1686
1829
|
readonly provisioningState?: KnownDataCollectionRuleAssociationProvisioningState;
|
|
1830
|
+
/**
|
|
1831
|
+
* Metadata about the resource
|
|
1832
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1833
|
+
*/
|
|
1834
|
+
readonly metadata?: DataCollectionRuleAssociationMetadata;
|
|
1687
1835
|
}
|
|
1688
1836
|
|
|
1689
1837
|
/** Definition of association of a data collection rule with a monitored Azure resource. */
|
|
@@ -1699,6 +1847,20 @@ export interface DataCollectionRuleAssociation {
|
|
|
1699
1847
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1700
1848
|
*/
|
|
1701
1849
|
readonly provisioningState?: KnownDataCollectionRuleAssociationProvisioningState;
|
|
1850
|
+
/**
|
|
1851
|
+
* Metadata about the resource
|
|
1852
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1853
|
+
*/
|
|
1854
|
+
readonly metadata?: DataCollectionRuleAssociationMetadata;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
/** Metadata about the resource */
|
|
1858
|
+
export interface Metadata {
|
|
1859
|
+
/**
|
|
1860
|
+
* Azure offering managing this resource on-behalf-of customer.
|
|
1861
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1862
|
+
*/
|
|
1863
|
+
readonly provisionedBy?: string;
|
|
1702
1864
|
}
|
|
1703
1865
|
|
|
1704
1866
|
/** A pageable list of resources. */
|
|
@@ -1749,6 +1911,15 @@ export interface DataCollectionRuleResource {
|
|
|
1749
1911
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1750
1912
|
*/
|
|
1751
1913
|
readonly immutableId?: string;
|
|
1914
|
+
/** The resource ID of the data collection endpoint that this rule can be used with. */
|
|
1915
|
+
dataCollectionEndpointId?: string;
|
|
1916
|
+
/**
|
|
1917
|
+
* Metadata about the resource
|
|
1918
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1919
|
+
*/
|
|
1920
|
+
readonly metadata?: DataCollectionRuleMetadata;
|
|
1921
|
+
/** Declaration of custom streams used in this rule. */
|
|
1922
|
+
streamDeclarations?: { [propertyName: string]: StreamDeclaration };
|
|
1752
1923
|
/**
|
|
1753
1924
|
* The specification of data sources.
|
|
1754
1925
|
* This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
|
|
@@ -1774,6 +1945,15 @@ export interface DataCollectionRule {
|
|
|
1774
1945
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1775
1946
|
*/
|
|
1776
1947
|
readonly immutableId?: string;
|
|
1948
|
+
/** The resource ID of the data collection endpoint that this rule can be used with. */
|
|
1949
|
+
dataCollectionEndpointId?: string;
|
|
1950
|
+
/**
|
|
1951
|
+
* Metadata about the resource
|
|
1952
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1953
|
+
*/
|
|
1954
|
+
readonly metadata?: DataCollectionRuleMetadata;
|
|
1955
|
+
/** Declaration of custom streams used in this rule. */
|
|
1956
|
+
streamDeclarations?: { [propertyName: string]: StreamDeclaration };
|
|
1777
1957
|
/**
|
|
1778
1958
|
* The specification of data sources.
|
|
1779
1959
|
* This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
|
|
@@ -1790,6 +1970,20 @@ export interface DataCollectionRule {
|
|
|
1790
1970
|
readonly provisioningState?: KnownDataCollectionRuleProvisioningState;
|
|
1791
1971
|
}
|
|
1792
1972
|
|
|
1973
|
+
/** Declaration of a custom stream. */
|
|
1974
|
+
export interface StreamDeclaration {
|
|
1975
|
+
/** List of columns used by data in this stream. */
|
|
1976
|
+
columns?: ColumnDefinition[];
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
/** Definition of custom data column. */
|
|
1980
|
+
export interface ColumnDefinition {
|
|
1981
|
+
/** The name of the column. */
|
|
1982
|
+
name?: string;
|
|
1983
|
+
/** The type of the column data. */
|
|
1984
|
+
type?: KnownColumnDefinitionType;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1793
1987
|
/** Specification of data sources that will be collected. */
|
|
1794
1988
|
export interface DataSourcesSpec {
|
|
1795
1989
|
/** The list of performance counter data source configurations. */
|
|
@@ -1800,6 +1994,10 @@ export interface DataSourcesSpec {
|
|
|
1800
1994
|
syslog?: SyslogDataSource[];
|
|
1801
1995
|
/** The list of Azure VM extension data source configurations. */
|
|
1802
1996
|
extensions?: ExtensionDataSource[];
|
|
1997
|
+
/** The list of Log files source configurations. */
|
|
1998
|
+
logFiles?: LogFilesDataSource[];
|
|
1999
|
+
/** The list of IIS logs source configurations. */
|
|
2000
|
+
iisLogs?: IisLogsDataSource[];
|
|
1803
2001
|
}
|
|
1804
2002
|
|
|
1805
2003
|
/**
|
|
@@ -1890,6 +2088,51 @@ export interface ExtensionDataSource {
|
|
|
1890
2088
|
name?: string;
|
|
1891
2089
|
}
|
|
1892
2090
|
|
|
2091
|
+
/** Definition of which custom log files will be collected by this data collection rule */
|
|
2092
|
+
export interface LogFilesDataSource {
|
|
2093
|
+
/**
|
|
2094
|
+
* List of streams that this data source will be sent to.
|
|
2095
|
+
* A stream indicates what schema will be used for this data source
|
|
2096
|
+
*/
|
|
2097
|
+
streams: string[];
|
|
2098
|
+
/** File Patterns where the log files are located */
|
|
2099
|
+
filePatterns: string[];
|
|
2100
|
+
/** The data format of the log files */
|
|
2101
|
+
format: KnownLogFilesDataSourceFormat;
|
|
2102
|
+
/** The log files specific settings. */
|
|
2103
|
+
settings?: LogFilesDataSourceSettings;
|
|
2104
|
+
/**
|
|
2105
|
+
* A friendly name for the data source.
|
|
2106
|
+
* This name should be unique across all data sources (regardless of type) within the data collection rule.
|
|
2107
|
+
*/
|
|
2108
|
+
name?: string;
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
/** Settings for different log file formats */
|
|
2112
|
+
export interface LogFileSettings {
|
|
2113
|
+
/** Text settings */
|
|
2114
|
+
text?: LogFileSettingsText;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
/** Settings for text log files */
|
|
2118
|
+
export interface LogFileTextSettings {
|
|
2119
|
+
/** One of the supported timestamp formats */
|
|
2120
|
+
recordStartTimestampFormat: KnownLogFileTextSettingsRecordStartTimestampFormat;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
/** Enables IIS logs to be collected by this data collection rule. */
|
|
2124
|
+
export interface IisLogsDataSource {
|
|
2125
|
+
/** IIS streams */
|
|
2126
|
+
streams: string[];
|
|
2127
|
+
/** Absolute paths file location */
|
|
2128
|
+
logDirectories?: string[];
|
|
2129
|
+
/**
|
|
2130
|
+
* A friendly name for the data source.
|
|
2131
|
+
* This name should be unique across all data sources (regardless of type) within the data collection rule.
|
|
2132
|
+
*/
|
|
2133
|
+
name?: string;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
1893
2136
|
/** Specification of destinations that can be used in data flows. */
|
|
1894
2137
|
export interface DestinationsSpec {
|
|
1895
2138
|
/** List of Log Analytics destinations. */
|
|
@@ -1929,6 +2172,10 @@ export interface DataFlow {
|
|
|
1929
2172
|
streams?: KnownDataFlowStreams[];
|
|
1930
2173
|
/** List of destinations for this data flow. */
|
|
1931
2174
|
destinations?: string[];
|
|
2175
|
+
/** The KQL query to transform stream data. */
|
|
2176
|
+
transformKql?: string;
|
|
2177
|
+
/** The output stream of the transform. Only required if the transform changes data to a different stream. */
|
|
2178
|
+
outputStream?: string;
|
|
1932
2179
|
}
|
|
1933
2180
|
|
|
1934
2181
|
/** The claims for a rule management event data source. */
|
|
@@ -2036,124 +2283,35 @@ export interface Criteria {
|
|
|
2036
2283
|
}
|
|
2037
2284
|
|
|
2038
2285
|
/** The autoscale setting resource. */
|
|
2039
|
-
export
|
|
2286
|
+
export interface AutoscaleSettingResource extends Resource {
|
|
2040
2287
|
/** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
|
|
2041
2288
|
profiles: AutoscaleProfile[];
|
|
2042
2289
|
/** the collection of notifications. */
|
|
2043
2290
|
notifications?: AutoscaleNotification[];
|
|
2044
|
-
/** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is '
|
|
2291
|
+
/** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
|
|
2045
2292
|
enabled?: boolean;
|
|
2293
|
+
/** the predictive autoscale policy mode. */
|
|
2294
|
+
predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
|
|
2046
2295
|
/** the name of the autoscale setting. */
|
|
2047
2296
|
namePropertiesName?: string;
|
|
2048
2297
|
/** the resource identifier of the resource that the autoscale setting should be added to. */
|
|
2049
2298
|
targetResourceUri?: string;
|
|
2050
2299
|
/** the location of the resource that the autoscale setting should be added to. */
|
|
2051
2300
|
targetResourceLocation?: string;
|
|
2052
|
-
}
|
|
2053
|
-
|
|
2054
|
-
/** The alert rule resource. */
|
|
2055
|
-
export type AlertRuleResource = Resource & {
|
|
2056
|
-
/** the name of the alert rule. */
|
|
2057
|
-
namePropertiesName: string;
|
|
2058
|
-
/** the description of the alert rule that will be included in the alert email. */
|
|
2059
|
-
description?: string;
|
|
2060
|
-
/** the provisioning state. */
|
|
2061
|
-
provisioningState?: string;
|
|
2062
|
-
/** the flag that indicates whether the alert rule is enabled. */
|
|
2063
|
-
isEnabled: boolean;
|
|
2064
|
-
/** the condition that results in the alert rule being activated. */
|
|
2065
|
-
condition: RuleConditionUnion;
|
|
2066
|
-
/** action that is performed when the alert rule becomes active, and when an alert condition is resolved. */
|
|
2067
|
-
action?: RuleActionUnion;
|
|
2068
|
-
/** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
|
|
2069
|
-
actions?: RuleActionUnion[];
|
|
2070
|
-
/**
|
|
2071
|
-
* Last time the rule was updated in ISO8601 format.
|
|
2072
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2073
|
-
*/
|
|
2074
|
-
readonly lastUpdatedTime?: Date;
|
|
2075
|
-
};
|
|
2076
|
-
|
|
2077
|
-
/** The log profile resource. */
|
|
2078
|
-
export type LogProfileResource = Resource & {
|
|
2079
|
-
/** the resource id of the storage account to which you would like to send the Activity Log. */
|
|
2080
|
-
storageAccountId?: string;
|
|
2081
|
-
/** 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}'. */
|
|
2082
|
-
serviceBusRuleId?: string;
|
|
2083
|
-
/** List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. */
|
|
2084
|
-
locations: string[];
|
|
2085
|
-
/** the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.' */
|
|
2086
|
-
categories: string[];
|
|
2087
|
-
/** the retention policy for the events in the log. */
|
|
2088
|
-
retentionPolicy: RetentionPolicy;
|
|
2089
|
-
};
|
|
2301
|
+
}
|
|
2090
2302
|
|
|
2091
|
-
/**
|
|
2092
|
-
export
|
|
2093
|
-
/** the description of the metric alert that will be included in the alert email. */
|
|
2094
|
-
description?: string;
|
|
2095
|
-
/** Alert severity {0, 1, 2, 3, 4} */
|
|
2096
|
-
severity: number;
|
|
2097
|
-
/** the flag that indicates whether the metric alert is enabled. */
|
|
2098
|
-
enabled: boolean;
|
|
2099
|
-
/** the list of resource id's that this metric alert is scoped to. */
|
|
2100
|
-
scopes: string[];
|
|
2101
|
-
/** how often the metric alert is evaluated represented in ISO 8601 duration format. */
|
|
2102
|
-
evaluationFrequency: string;
|
|
2103
|
-
/** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. */
|
|
2104
|
-
windowSize: string;
|
|
2105
|
-
/** the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
|
|
2106
|
-
targetResourceType?: string;
|
|
2107
|
-
/** the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
|
|
2108
|
-
targetResourceRegion?: string;
|
|
2109
|
-
/** defines the specific alert criteria information. */
|
|
2110
|
-
criteria: MetricAlertCriteriaUnion;
|
|
2111
|
-
/** the flag that indicates whether the alert should be auto resolved or not. The default is true. */
|
|
2112
|
-
autoMitigate?: boolean;
|
|
2113
|
-
/** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
|
|
2114
|
-
actions?: MetricAlertAction[];
|
|
2115
|
-
/**
|
|
2116
|
-
* Last time the rule was updated in ISO8601 format.
|
|
2117
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2118
|
-
*/
|
|
2119
|
-
readonly lastUpdatedTime?: Date;
|
|
2120
|
-
/**
|
|
2121
|
-
* the value indicating whether this alert rule is migrated.
|
|
2122
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2123
|
-
*/
|
|
2124
|
-
readonly isMigrated?: boolean;
|
|
2125
|
-
};
|
|
2303
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2304
|
+
export interface DataCollectionEndpointResourceSystemData extends SystemData {}
|
|
2126
2305
|
|
|
2127
|
-
/**
|
|
2128
|
-
export
|
|
2129
|
-
|
|
2130
|
-
scopes?: string[];
|
|
2131
|
-
/** Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. */
|
|
2132
|
-
enabled?: boolean;
|
|
2133
|
-
/** The condition that will cause this alert to activate. */
|
|
2134
|
-
condition?: ActivityLogAlertAllOfCondition;
|
|
2135
|
-
/** The actions that will activate when the condition is met. */
|
|
2136
|
-
actions?: ActivityLogAlertActionList;
|
|
2137
|
-
/** A description of this activity log alert. */
|
|
2138
|
-
description?: string;
|
|
2139
|
-
};
|
|
2306
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2307
|
+
export interface DataCollectionRuleAssociationProxyOnlyResourceSystemData
|
|
2308
|
+
extends SystemData {}
|
|
2140
2309
|
|
|
2141
|
-
/**
|
|
2142
|
-
export
|
|
2143
|
-
/**
|
|
2144
|
-
* The error details.
|
|
2145
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2146
|
-
*/
|
|
2147
|
-
readonly details?: ErrorResponseCommon[];
|
|
2148
|
-
/**
|
|
2149
|
-
* The error additional info.
|
|
2150
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2151
|
-
*/
|
|
2152
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
2153
|
-
};
|
|
2310
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2311
|
+
export interface DataCollectionRuleResourceSystemData extends SystemData {}
|
|
2154
2312
|
|
|
2155
2313
|
/** A rule condition based on a metric crossing a threshold. */
|
|
2156
|
-
export
|
|
2314
|
+
export interface ThresholdRuleCondition extends RuleCondition {
|
|
2157
2315
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2158
2316
|
odataType: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition";
|
|
2159
2317
|
/** the operator used to compare the data and the threshold. */
|
|
@@ -2164,36 +2322,36 @@ export type ThresholdRuleCondition = RuleCondition & {
|
|
|
2164
2322
|
windowSize?: string;
|
|
2165
2323
|
/** the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. */
|
|
2166
2324
|
timeAggregation?: TimeAggregationOperator;
|
|
2167
|
-
}
|
|
2325
|
+
}
|
|
2168
2326
|
|
|
2169
2327
|
/** A rule condition based on a certain number of locations failing. */
|
|
2170
|
-
export
|
|
2328
|
+
export interface LocationThresholdRuleCondition extends RuleCondition {
|
|
2171
2329
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2172
2330
|
odataType: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition";
|
|
2173
2331
|
/** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. */
|
|
2174
2332
|
windowSize?: string;
|
|
2175
2333
|
/** the number of locations that must fail to activate the alert. */
|
|
2176
2334
|
failedLocationCount: number;
|
|
2177
|
-
}
|
|
2335
|
+
}
|
|
2178
2336
|
|
|
2179
2337
|
/** A management event rule condition. */
|
|
2180
|
-
export
|
|
2338
|
+
export interface ManagementEventRuleCondition extends RuleCondition {
|
|
2181
2339
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2182
2340
|
odataType: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition";
|
|
2183
2341
|
/** How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate. */
|
|
2184
2342
|
aggregation?: ManagementEventAggregationCondition;
|
|
2185
|
-
}
|
|
2343
|
+
}
|
|
2186
2344
|
|
|
2187
2345
|
/** A rule metric data source. The discriminator value is always RuleMetricDataSource in this case. */
|
|
2188
|
-
export
|
|
2346
|
+
export interface RuleMetricDataSource extends RuleDataSource {
|
|
2189
2347
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2190
2348
|
odataType: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource";
|
|
2191
2349
|
/** the name of the metric that defines what the rule monitors. */
|
|
2192
2350
|
metricName?: string;
|
|
2193
|
-
}
|
|
2351
|
+
}
|
|
2194
2352
|
|
|
2195
2353
|
/** A rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case. */
|
|
2196
|
-
export
|
|
2354
|
+
export interface RuleManagementEventDataSource extends RuleDataSource {
|
|
2197
2355
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2198
2356
|
odataType: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource";
|
|
2199
2357
|
/** the event name. */
|
|
@@ -2214,30 +2372,72 @@ export type RuleManagementEventDataSource = RuleDataSource & {
|
|
|
2214
2372
|
subStatus?: string;
|
|
2215
2373
|
/** the claims. */
|
|
2216
2374
|
claims?: RuleManagementEventClaimsDataSource;
|
|
2217
|
-
}
|
|
2375
|
+
}
|
|
2218
2376
|
|
|
2219
2377
|
/** Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case. */
|
|
2220
|
-
export
|
|
2378
|
+
export interface RuleEmailAction extends RuleAction {
|
|
2221
2379
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2222
2380
|
odataType: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction";
|
|
2223
2381
|
/** Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated. */
|
|
2224
2382
|
sendToServiceOwners?: boolean;
|
|
2225
2383
|
/** the list of administrator's custom email addresses to notify of the activation of the alert. */
|
|
2226
2384
|
customEmails?: string[];
|
|
2227
|
-
}
|
|
2385
|
+
}
|
|
2228
2386
|
|
|
2229
2387
|
/** Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case. */
|
|
2230
|
-
export
|
|
2388
|
+
export interface RuleWebhookAction extends RuleAction {
|
|
2231
2389
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2232
2390
|
odataType: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
|
|
2233
2391
|
/** the service uri to Post the notification when the alert activates or resolves. */
|
|
2234
2392
|
serviceUri?: string;
|
|
2235
2393
|
/** the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. */
|
|
2236
2394
|
properties?: { [propertyName: string]: string };
|
|
2237
|
-
}
|
|
2395
|
+
}
|
|
2396
|
+
|
|
2397
|
+
/** The alert rule resource. */
|
|
2398
|
+
export interface AlertRuleResource extends ResourceAutoGenerated {
|
|
2399
|
+
/** the name of the alert rule. */
|
|
2400
|
+
namePropertiesName: string;
|
|
2401
|
+
/** the description of the alert rule that will be included in the alert email. */
|
|
2402
|
+
description?: string;
|
|
2403
|
+
/** the provisioning state. */
|
|
2404
|
+
provisioningState?: string;
|
|
2405
|
+
/** the flag that indicates whether the alert rule is enabled. */
|
|
2406
|
+
isEnabled: boolean;
|
|
2407
|
+
/** the condition that results in the alert rule being activated. */
|
|
2408
|
+
condition: RuleConditionUnion;
|
|
2409
|
+
/** action that is performed when the alert rule becomes active, and when an alert condition is resolved. */
|
|
2410
|
+
action?: RuleActionUnion;
|
|
2411
|
+
/** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
|
|
2412
|
+
actions?: RuleActionUnion[];
|
|
2413
|
+
/**
|
|
2414
|
+
* Last time the rule was updated in ISO8601 format.
|
|
2415
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2416
|
+
*/
|
|
2417
|
+
readonly lastUpdatedTime?: Date;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
/** The log profile resource. */
|
|
2421
|
+
export interface LogProfileResource extends ResourceAutoGenerated2 {
|
|
2422
|
+
/** the resource id of the storage account to which you would like to send the Activity Log. */
|
|
2423
|
+
storageAccountId?: string;
|
|
2424
|
+
/** 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}'. */
|
|
2425
|
+
serviceBusRuleId?: string;
|
|
2426
|
+
/** List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. */
|
|
2427
|
+
locations: string[];
|
|
2428
|
+
/** the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.' */
|
|
2429
|
+
categories: string[];
|
|
2430
|
+
/** the retention policy for the events in the log. */
|
|
2431
|
+
retentionPolicy: RetentionPolicy;
|
|
2432
|
+
}
|
|
2238
2433
|
|
|
2239
2434
|
/** The diagnostic setting resource. */
|
|
2240
|
-
export
|
|
2435
|
+
export interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
|
|
2436
|
+
/**
|
|
2437
|
+
* The system metadata related to this resource.
|
|
2438
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2439
|
+
*/
|
|
2440
|
+
readonly systemData?: SystemData;
|
|
2241
2441
|
/** The resource ID of the storage account to which you would like to send Diagnostic Logs. */
|
|
2242
2442
|
storageAccountId?: string;
|
|
2243
2443
|
/** The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */
|
|
@@ -2252,18 +2452,68 @@ export type DiagnosticSettingsResource = ProxyOnlyResource & {
|
|
|
2252
2452
|
logs?: LogSettings[];
|
|
2253
2453
|
/** The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2 */
|
|
2254
2454
|
workspaceId?: string;
|
|
2455
|
+
/** The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. */
|
|
2456
|
+
marketplacePartnerId?: string;
|
|
2255
2457
|
/** A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.) */
|
|
2256
2458
|
logAnalyticsDestinationType?: string;
|
|
2257
|
-
}
|
|
2459
|
+
}
|
|
2258
2460
|
|
|
2259
2461
|
/** The diagnostic settings category resource. */
|
|
2260
|
-
export
|
|
2462
|
+
export interface DiagnosticSettingsCategoryResource
|
|
2463
|
+
extends ResourceAutoGenerated3 {
|
|
2464
|
+
/**
|
|
2465
|
+
* The system metadata related to this resource.
|
|
2466
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2467
|
+
*/
|
|
2468
|
+
readonly systemData?: SystemData;
|
|
2261
2469
|
/** The type of the diagnostic settings category. */
|
|
2262
2470
|
categoryType?: CategoryType;
|
|
2263
|
-
|
|
2471
|
+
/** the collection of what category groups are supported. */
|
|
2472
|
+
categoryGroups?: string[];
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
/** The Private Endpoint Connection resource. */
|
|
2476
|
+
export interface PrivateEndpointConnection extends ResourceAutoGenerated3 {
|
|
2477
|
+
/** The resource of private end point. */
|
|
2478
|
+
privateEndpoint?: PrivateEndpoint;
|
|
2479
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
2480
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
2481
|
+
/**
|
|
2482
|
+
* The provisioning state of the private endpoint connection resource.
|
|
2483
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2484
|
+
*/
|
|
2485
|
+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
2489
|
+
export interface TrackedResource extends ResourceAutoGenerated3 {
|
|
2490
|
+
/** Resource tags. */
|
|
2491
|
+
tags?: { [propertyName: string]: string };
|
|
2492
|
+
/** The geo-location where the resource lives */
|
|
2493
|
+
location: string;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
/** A private link resource */
|
|
2497
|
+
export interface PrivateLinkResource extends ResourceAutoGenerated3 {
|
|
2498
|
+
/**
|
|
2499
|
+
* The private link resource group id.
|
|
2500
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2501
|
+
*/
|
|
2502
|
+
readonly groupId?: string;
|
|
2503
|
+
/**
|
|
2504
|
+
* The private link resource required member names.
|
|
2505
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2506
|
+
*/
|
|
2507
|
+
readonly requiredMembers?: string[];
|
|
2508
|
+
/** The private link resource Private link DNS zone name. */
|
|
2509
|
+
requiredZoneNames?: string[];
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
2513
|
+
export interface ProxyResourceAutoGenerated extends ResourceAutoGenerated3 {}
|
|
2264
2514
|
|
|
2265
2515
|
/** An action group resource. */
|
|
2266
|
-
export
|
|
2516
|
+
export interface ActionGroupResource extends AzureResource {
|
|
2267
2517
|
/** The short name of the action group. This will be used in SMS messages. */
|
|
2268
2518
|
groupShortName?: string;
|
|
2269
2519
|
/** Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. */
|
|
@@ -2290,18 +2540,20 @@ export type ActionGroupResource = AzureResource & {
|
|
|
2290
2540
|
armRoleReceivers?: ArmRoleReceiver[];
|
|
2291
2541
|
/** The list of event hub receivers that are part of this action group. */
|
|
2292
2542
|
eventHubReceivers?: EventHubReceiver[];
|
|
2293
|
-
}
|
|
2543
|
+
}
|
|
2294
2544
|
|
|
2295
2545
|
/** Specifies the metric alert criteria for a single resource that has multiple metric criteria. */
|
|
2296
|
-
export
|
|
2546
|
+
export interface MetricAlertSingleResourceMultipleMetricCriteria
|
|
2547
|
+
extends MetricAlertCriteria {
|
|
2297
2548
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2298
2549
|
odataType: "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria";
|
|
2299
2550
|
/** The list of metric criteria for this 'all of' operation. */
|
|
2300
2551
|
allOf?: MetricCriteria[];
|
|
2301
|
-
}
|
|
2552
|
+
}
|
|
2302
2553
|
|
|
2303
2554
|
/** Specifies the metric alert rule criteria for a web test resource. */
|
|
2304
|
-
export
|
|
2555
|
+
export interface WebtestLocationAvailabilityCriteria
|
|
2556
|
+
extends MetricAlertCriteria {
|
|
2305
2557
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2306
2558
|
odataType: "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria";
|
|
2307
2559
|
/** The Application Insights web test Id. */
|
|
@@ -2310,18 +2562,55 @@ export type WebtestLocationAvailabilityCriteria = MetricAlertCriteria & {
|
|
|
2310
2562
|
componentId: string;
|
|
2311
2563
|
/** The number of failed locations. */
|
|
2312
2564
|
failedLocationCount: number;
|
|
2313
|
-
}
|
|
2565
|
+
}
|
|
2314
2566
|
|
|
2315
2567
|
/** Specifies the metric alert criteria for multiple resource that has multiple metric criteria. */
|
|
2316
|
-
export
|
|
2568
|
+
export interface MetricAlertMultipleResourceMultipleMetricCriteria
|
|
2569
|
+
extends MetricAlertCriteria {
|
|
2317
2570
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2318
2571
|
odataType: "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria";
|
|
2319
2572
|
/** the list of multiple metric criteria for this 'all of' operation. */
|
|
2320
2573
|
allOf?: MultiMetricCriteriaUnion[];
|
|
2321
|
-
}
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
/** The metric alert resource. */
|
|
2577
|
+
export interface MetricAlertResource extends ResourceAutoGenerated4 {
|
|
2578
|
+
/** the description of the metric alert that will be included in the alert email. */
|
|
2579
|
+
description?: string;
|
|
2580
|
+
/** Alert severity {0, 1, 2, 3, 4} */
|
|
2581
|
+
severity: number;
|
|
2582
|
+
/** the flag that indicates whether the metric alert is enabled. */
|
|
2583
|
+
enabled: boolean;
|
|
2584
|
+
/** the list of resource id's that this metric alert is scoped to. */
|
|
2585
|
+
scopes: string[];
|
|
2586
|
+
/** how often the metric alert is evaluated represented in ISO 8601 duration format. */
|
|
2587
|
+
evaluationFrequency: string;
|
|
2588
|
+
/** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. */
|
|
2589
|
+
windowSize: string;
|
|
2590
|
+
/** the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
|
|
2591
|
+
targetResourceType?: string;
|
|
2592
|
+
/** the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
|
|
2593
|
+
targetResourceRegion?: string;
|
|
2594
|
+
/** defines the specific alert criteria information. */
|
|
2595
|
+
criteria: MetricAlertCriteriaUnion;
|
|
2596
|
+
/** the flag that indicates whether the alert should be auto resolved or not. The default is true. */
|
|
2597
|
+
autoMitigate?: boolean;
|
|
2598
|
+
/** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
|
|
2599
|
+
actions?: MetricAlertAction[];
|
|
2600
|
+
/**
|
|
2601
|
+
* Last time the rule was updated in ISO8601 format.
|
|
2602
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2603
|
+
*/
|
|
2604
|
+
readonly lastUpdatedTime?: Date;
|
|
2605
|
+
/**
|
|
2606
|
+
* the value indicating whether this alert rule is migrated.
|
|
2607
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2608
|
+
*/
|
|
2609
|
+
readonly isMigrated?: boolean;
|
|
2610
|
+
}
|
|
2322
2611
|
|
|
2323
2612
|
/** Specify action need to be taken when rule type is Alert */
|
|
2324
|
-
export
|
|
2613
|
+
export interface AlertingAction extends Action {
|
|
2325
2614
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2326
2615
|
odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
|
|
2327
2616
|
/** Severity of the alert */
|
|
@@ -2332,18 +2621,18 @@ export type AlertingAction = Action & {
|
|
|
2332
2621
|
throttlingInMin?: number;
|
|
2333
2622
|
/** The trigger condition that results in the alert rule being. */
|
|
2334
2623
|
trigger: TriggerCondition;
|
|
2335
|
-
}
|
|
2624
|
+
}
|
|
2336
2625
|
|
|
2337
2626
|
/** Specify action need to be taken when rule type is converting log to metric */
|
|
2338
|
-
export
|
|
2627
|
+
export interface LogToMetricAction extends Action {
|
|
2339
2628
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2340
2629
|
odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
|
|
2341
2630
|
/** Criteria of Metric */
|
|
2342
2631
|
criteria: Criteria[];
|
|
2343
|
-
}
|
|
2632
|
+
}
|
|
2344
2633
|
|
|
2345
2634
|
/** The Log Search Rule resource. */
|
|
2346
|
-
export
|
|
2635
|
+
export interface LogSearchRuleResource extends ResourceAutoGenerated5 {
|
|
2347
2636
|
/**
|
|
2348
2637
|
* The api-version used when creating this alert rule
|
|
2349
2638
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2378,10 +2667,10 @@ export type LogSearchRuleResource = ResourceAutoGenerated & {
|
|
|
2378
2667
|
schedule?: Schedule;
|
|
2379
2668
|
/** Action needs to be taken on rule execution. */
|
|
2380
2669
|
action: ActionUnion;
|
|
2381
|
-
}
|
|
2670
|
+
}
|
|
2382
2671
|
|
|
2383
2672
|
/** VM Insights onboarding status for a resource. */
|
|
2384
|
-
export
|
|
2673
|
+
export interface VMInsightsOnboardingStatus extends ProxyResource {
|
|
2385
2674
|
/** Azure Resource Manager identifier of the resource whose onboarding status is being represented. */
|
|
2386
2675
|
resourceId?: string;
|
|
2387
2676
|
/** The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded. */
|
|
@@ -2390,111 +2679,97 @@ export type VMInsightsOnboardingStatus = ProxyResource & {
|
|
|
2390
2679
|
dataStatus?: DataStatus;
|
|
2391
2680
|
/** Containers that currently store VM Insights data for the specified resource. */
|
|
2392
2681
|
data?: DataContainer[];
|
|
2393
|
-
}
|
|
2394
|
-
|
|
2395
|
-
/** A private endpoint connection */
|
|
2396
|
-
export type PrivateEndpointConnection = ProxyResource & {
|
|
2397
|
-
/** Private endpoint which the connection belongs to. */
|
|
2398
|
-
privateEndpoint?: PrivateEndpointProperty;
|
|
2399
|
-
/** Connection state of the private endpoint connection. */
|
|
2400
|
-
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
|
|
2401
|
-
/**
|
|
2402
|
-
* State of the private endpoint connection.
|
|
2403
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2404
|
-
*/
|
|
2405
|
-
readonly provisioningState?: string;
|
|
2406
|
-
};
|
|
2407
|
-
|
|
2408
|
-
/** A private link resource */
|
|
2409
|
-
export type PrivateLinkResource = ProxyResource & {
|
|
2410
|
-
/**
|
|
2411
|
-
* The private link resource group id.
|
|
2412
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2413
|
-
*/
|
|
2414
|
-
readonly groupId?: string;
|
|
2415
|
-
/**
|
|
2416
|
-
* The private link resource required member names.
|
|
2417
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2418
|
-
*/
|
|
2419
|
-
readonly requiredMembers?: string[];
|
|
2420
|
-
};
|
|
2682
|
+
}
|
|
2421
2683
|
|
|
2422
|
-
/**
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
*
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2684
|
+
/**
|
|
2685
|
+
* An Activity Log Alert rule condition that is met when all its member conditions are met.
|
|
2686
|
+
* Each condition can be of one of the following types:
|
|
2687
|
+
* __Important__: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition.
|
|
2688
|
+
* * __Leaf Condition -__ must contain 'field' and either 'equals' or 'containsAny'.
|
|
2689
|
+
* _Please note, 'anyOf' should __not__ be set in a Leaf Condition._
|
|
2690
|
+
* * __AnyOf Condition -__ must contain __only__ 'anyOf' (which is an array of Leaf Conditions).
|
|
2691
|
+
* _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._
|
|
2692
|
+
*
|
|
2693
|
+
*/
|
|
2694
|
+
export interface AlertRuleAnyOfOrLeafCondition extends AlertRuleLeafCondition {
|
|
2695
|
+
/** An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met. */
|
|
2696
|
+
anyOf?: AlertRuleLeafCondition[];
|
|
2697
|
+
}
|
|
2432
2698
|
|
|
2433
|
-
/** An
|
|
2434
|
-
export
|
|
2435
|
-
/**
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
}
|
|
2699
|
+
/** An Activity Log Alert rule resource. */
|
|
2700
|
+
export interface ActivityLogAlertResource extends AzureResourceAutoGenerated {
|
|
2701
|
+
/** A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item. */
|
|
2702
|
+
scopes?: string[];
|
|
2703
|
+
/** The condition that will cause this alert to activate. */
|
|
2704
|
+
condition?: AlertRuleAllOfCondition;
|
|
2705
|
+
/** The actions that will activate when the condition is met. */
|
|
2706
|
+
actions?: ActionList;
|
|
2707
|
+
/** Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated. */
|
|
2708
|
+
enabled?: boolean;
|
|
2709
|
+
/** A description of this Activity Log Alert rule. */
|
|
2710
|
+
description?: string;
|
|
2711
|
+
}
|
|
2446
2712
|
|
|
2447
2713
|
/** Resource properties. */
|
|
2448
|
-
export
|
|
2714
|
+
export interface DataCollectionEndpointResourceProperties
|
|
2715
|
+
extends DataCollectionEndpoint {}
|
|
2449
2716
|
|
|
2450
|
-
/** The endpoint used by
|
|
2451
|
-
export
|
|
2717
|
+
/** The endpoint used by clients to access their configuration. */
|
|
2718
|
+
export interface DataCollectionEndpointConfigurationAccess
|
|
2719
|
+
extends ConfigurationAccessEndpointSpec {}
|
|
2452
2720
|
|
|
2453
2721
|
/** The endpoint used by clients to ingest logs. */
|
|
2454
|
-
export
|
|
2722
|
+
export interface DataCollectionEndpointLogsIngestion
|
|
2723
|
+
extends LogsIngestionEndpointSpec {}
|
|
2455
2724
|
|
|
2456
2725
|
/** Network access control rules for the endpoints. */
|
|
2457
|
-
export
|
|
2458
|
-
|
|
2459
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2460
|
-
export type DataCollectionEndpointResourceSystemData = SystemData & {};
|
|
2726
|
+
export interface DataCollectionEndpointNetworkAcls extends NetworkRuleSet {}
|
|
2461
2727
|
|
|
2462
|
-
/**
|
|
2463
|
-
export
|
|
2728
|
+
/** Resource properties. */
|
|
2729
|
+
export interface DataCollectionRuleAssociationProxyOnlyResourceProperties
|
|
2730
|
+
extends DataCollectionRuleAssociation {}
|
|
2464
2731
|
|
|
2465
|
-
/** Metadata
|
|
2466
|
-
export
|
|
2732
|
+
/** Metadata about the resource */
|
|
2733
|
+
export interface DataCollectionRuleAssociationMetadata extends Metadata {}
|
|
2467
2734
|
|
|
2468
|
-
/**
|
|
2469
|
-
export
|
|
2735
|
+
/** Metadata about the resource */
|
|
2736
|
+
export interface DataCollectionRuleMetadata extends Metadata {}
|
|
2470
2737
|
|
|
2471
2738
|
/** Resource properties. */
|
|
2472
|
-
export
|
|
2739
|
+
export interface DataCollectionRuleResourceProperties
|
|
2740
|
+
extends DataCollectionRule {}
|
|
2473
2741
|
|
|
2474
2742
|
/**
|
|
2475
2743
|
* The specification of data sources.
|
|
2476
2744
|
* This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
|
|
2477
2745
|
*/
|
|
2478
|
-
export
|
|
2746
|
+
export interface DataCollectionRuleDataSources extends DataSourcesSpec {}
|
|
2747
|
+
|
|
2748
|
+
/** The log files specific settings. */
|
|
2749
|
+
export interface LogFilesDataSourceSettings extends LogFileSettings {}
|
|
2750
|
+
|
|
2751
|
+
/** Text settings */
|
|
2752
|
+
export interface LogFileSettingsText extends LogFileTextSettings {}
|
|
2479
2753
|
|
|
2480
2754
|
/** The specification of destinations. */
|
|
2481
|
-
export
|
|
2755
|
+
export interface DataCollectionRuleDestinations extends DestinationsSpec {}
|
|
2482
2756
|
|
|
2483
2757
|
/** Azure Monitor Metrics destination. */
|
|
2484
|
-
export
|
|
2758
|
+
export interface DestinationsSpecAzureMonitorMetrics
|
|
2759
|
+
extends AzureMonitorMetricsDestination {}
|
|
2485
2760
|
|
|
2486
2761
|
/** Criterion to filter metrics. */
|
|
2487
|
-
export
|
|
2762
|
+
export interface MetricCriteria extends MultiMetricCriteria {
|
|
2488
2763
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2489
2764
|
criterionType: "StaticThresholdCriterion";
|
|
2490
2765
|
/** the criteria operator. */
|
|
2491
2766
|
operator: Operator;
|
|
2492
2767
|
/** the criteria threshold value that activates the alert. */
|
|
2493
2768
|
threshold: number;
|
|
2494
|
-
}
|
|
2769
|
+
}
|
|
2495
2770
|
|
|
2496
2771
|
/** Criterion for dynamic threshold. */
|
|
2497
|
-
export
|
|
2772
|
+
export interface DynamicMetricCriteria extends MultiMetricCriteria {
|
|
2498
2773
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2499
2774
|
criterionType: "DynamicThresholdCriterion";
|
|
2500
2775
|
/** The operator used to compare the metric value against the threshold. */
|
|
@@ -2505,11 +2780,68 @@ export type DynamicMetricCriteria = MultiMetricCriteria & {
|
|
|
2505
2780
|
failingPeriods: DynamicThresholdFailingPeriods;
|
|
2506
2781
|
/** Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format) */
|
|
2507
2782
|
ignoreDataBefore?: Date;
|
|
2508
|
-
}
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
/** An Azure Monitor PrivateLinkScope definition. */
|
|
2786
|
+
export interface AzureMonitorPrivateLinkScope extends TrackedResource {
|
|
2787
|
+
/**
|
|
2788
|
+
* System data
|
|
2789
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2790
|
+
*/
|
|
2791
|
+
readonly systemData?: SystemData;
|
|
2792
|
+
/**
|
|
2793
|
+
* Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.
|
|
2794
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2795
|
+
*/
|
|
2796
|
+
readonly provisioningState?: string;
|
|
2797
|
+
/**
|
|
2798
|
+
* List of private endpoint connections.
|
|
2799
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2800
|
+
*/
|
|
2801
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
2802
|
+
/** Access mode settings */
|
|
2803
|
+
accessModeSettings: AccessModeSettings;
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
/** A private link scoped resource */
|
|
2807
|
+
export interface ScopedResource extends ProxyResourceAutoGenerated {
|
|
2808
|
+
/**
|
|
2809
|
+
* System data
|
|
2810
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2811
|
+
*/
|
|
2812
|
+
readonly systemData?: SystemData;
|
|
2813
|
+
/** The resource id of the scoped Azure monitor resource. */
|
|
2814
|
+
linkedResourceId?: string;
|
|
2815
|
+
/**
|
|
2816
|
+
* State of the private endpoint connection.
|
|
2817
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2818
|
+
*/
|
|
2819
|
+
readonly provisioningState?: string;
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
/** Defines headers for ActionGroups_postTestNotifications operation. */
|
|
2823
|
+
export interface ActionGroupsPostTestNotificationsHeaders {
|
|
2824
|
+
/** The location header that has the polling uri. */
|
|
2825
|
+
location?: string;
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
/** Defines headers for ActionGroups_createNotificationsAtResourceGroupLevel operation. */
|
|
2829
|
+
export interface ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders {
|
|
2830
|
+
/** The location header that has the polling uri. */
|
|
2831
|
+
location?: string;
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
/** Defines headers for ActionGroups_createNotificationsAtActionGroupResourceLevel operation. */
|
|
2835
|
+
export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders {
|
|
2836
|
+
/** The location header that has the polling uri. */
|
|
2837
|
+
location?: string;
|
|
2838
|
+
}
|
|
2509
2839
|
|
|
2510
2840
|
/** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
|
|
2511
2841
|
export enum KnownScaleRuleMetricDimensionOperationType {
|
|
2842
|
+
/** Equals */
|
|
2512
2843
|
Equals = "Equals",
|
|
2844
|
+
/** NotEquals */
|
|
2513
2845
|
NotEquals = "NotEquals"
|
|
2514
2846
|
}
|
|
2515
2847
|
|
|
@@ -2523,12 +2855,59 @@ export enum KnownScaleRuleMetricDimensionOperationType {
|
|
|
2523
2855
|
*/
|
|
2524
2856
|
export type ScaleRuleMetricDimensionOperationType = string;
|
|
2525
2857
|
|
|
2858
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
2859
|
+
export enum KnownCreatedByType {
|
|
2860
|
+
/** User */
|
|
2861
|
+
User = "User",
|
|
2862
|
+
/** Application */
|
|
2863
|
+
Application = "Application",
|
|
2864
|
+
/** ManagedIdentity */
|
|
2865
|
+
ManagedIdentity = "ManagedIdentity",
|
|
2866
|
+
/** Key */
|
|
2867
|
+
Key = "Key"
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
/**
|
|
2871
|
+
* Defines values for CreatedByType. \
|
|
2872
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
2873
|
+
* this enum contains the known values that the service supports.
|
|
2874
|
+
* ### Known values supported by the service
|
|
2875
|
+
* **User** \
|
|
2876
|
+
* **Application** \
|
|
2877
|
+
* **ManagedIdentity** \
|
|
2878
|
+
* **Key**
|
|
2879
|
+
*/
|
|
2880
|
+
export type CreatedByType = string;
|
|
2881
|
+
|
|
2882
|
+
/** Known values of {@link CategoryType} that the service accepts. */
|
|
2883
|
+
export enum KnownCategoryType {
|
|
2884
|
+
/** Metrics */
|
|
2885
|
+
Metrics = "Metrics",
|
|
2886
|
+
/** Logs */
|
|
2887
|
+
Logs = "Logs"
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
* Defines values for CategoryType. \
|
|
2892
|
+
* {@link KnownCategoryType} can be used interchangeably with CategoryType,
|
|
2893
|
+
* this enum contains the known values that the service supports.
|
|
2894
|
+
* ### Known values supported by the service
|
|
2895
|
+
* **Metrics** \
|
|
2896
|
+
* **Logs**
|
|
2897
|
+
*/
|
|
2898
|
+
export type CategoryType = string;
|
|
2899
|
+
|
|
2526
2900
|
/** Known values of {@link MetricClass} that the service accepts. */
|
|
2527
2901
|
export enum KnownMetricClass {
|
|
2902
|
+
/** Availability */
|
|
2528
2903
|
Availability = "Availability",
|
|
2904
|
+
/** Transactions */
|
|
2529
2905
|
Transactions = "Transactions",
|
|
2906
|
+
/** Errors */
|
|
2530
2907
|
Errors = "Errors",
|
|
2908
|
+
/** Latency */
|
|
2531
2909
|
Latency = "Latency",
|
|
2910
|
+
/** Saturation */
|
|
2532
2911
|
Saturation = "Saturation"
|
|
2533
2912
|
}
|
|
2534
2913
|
|
|
@@ -2547,18 +2926,31 @@ export type MetricClass = string;
|
|
|
2547
2926
|
|
|
2548
2927
|
/** Known values of {@link MetricUnit} that the service accepts. */
|
|
2549
2928
|
export enum KnownMetricUnit {
|
|
2929
|
+
/** Count */
|
|
2550
2930
|
Count = "Count",
|
|
2931
|
+
/** Bytes */
|
|
2551
2932
|
Bytes = "Bytes",
|
|
2933
|
+
/** Seconds */
|
|
2552
2934
|
Seconds = "Seconds",
|
|
2935
|
+
/** CountPerSecond */
|
|
2553
2936
|
CountPerSecond = "CountPerSecond",
|
|
2937
|
+
/** BytesPerSecond */
|
|
2554
2938
|
BytesPerSecond = "BytesPerSecond",
|
|
2939
|
+
/** Percent */
|
|
2555
2940
|
Percent = "Percent",
|
|
2941
|
+
/** MilliSeconds */
|
|
2556
2942
|
MilliSeconds = "MilliSeconds",
|
|
2943
|
+
/** ByteSeconds */
|
|
2557
2944
|
ByteSeconds = "ByteSeconds",
|
|
2945
|
+
/** Unspecified */
|
|
2558
2946
|
Unspecified = "Unspecified",
|
|
2947
|
+
/** Cores */
|
|
2559
2948
|
Cores = "Cores",
|
|
2949
|
+
/** MilliCores */
|
|
2560
2950
|
MilliCores = "MilliCores",
|
|
2951
|
+
/** NanoCores */
|
|
2561
2952
|
NanoCores = "NanoCores",
|
|
2953
|
+
/** BitsPerSecond */
|
|
2562
2954
|
BitsPerSecond = "BitsPerSecond"
|
|
2563
2955
|
}
|
|
2564
2956
|
|
|
@@ -2585,8 +2977,11 @@ export type MetricUnit = string;
|
|
|
2585
2977
|
|
|
2586
2978
|
/** Known values of {@link BaselineSensitivity} that the service accepts. */
|
|
2587
2979
|
export enum KnownBaselineSensitivity {
|
|
2980
|
+
/** Low */
|
|
2588
2981
|
Low = "Low",
|
|
2982
|
+
/** Medium */
|
|
2589
2983
|
Medium = "Medium",
|
|
2984
|
+
/** High */
|
|
2590
2985
|
High = "High"
|
|
2591
2986
|
}
|
|
2592
2987
|
|
|
@@ -2603,8 +2998,11 @@ export type BaselineSensitivity = string;
|
|
|
2603
2998
|
|
|
2604
2999
|
/** Known values of {@link Odatatype} that the service accepts. */
|
|
2605
3000
|
export enum KnownOdatatype {
|
|
3001
|
+
/** MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria */
|
|
2606
3002
|
MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
|
|
3003
|
+
/** MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria */
|
|
2607
3004
|
MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
|
|
3005
|
+
/** MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria */
|
|
2608
3006
|
MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
|
|
2609
3007
|
}
|
|
2610
3008
|
|
|
@@ -2621,7 +3019,9 @@ export type Odatatype = string;
|
|
|
2621
3019
|
|
|
2622
3020
|
/** Known values of {@link Enabled} that the service accepts. */
|
|
2623
3021
|
export enum KnownEnabled {
|
|
3022
|
+
/** True */
|
|
2624
3023
|
True = "true",
|
|
3024
|
+
/** False */
|
|
2625
3025
|
False = "false"
|
|
2626
3026
|
}
|
|
2627
3027
|
|
|
@@ -2637,9 +3037,13 @@ export type Enabled = string;
|
|
|
2637
3037
|
|
|
2638
3038
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
2639
3039
|
export enum KnownProvisioningState {
|
|
3040
|
+
/** Succeeded */
|
|
2640
3041
|
Succeeded = "Succeeded",
|
|
3042
|
+
/** Deploying */
|
|
2641
3043
|
Deploying = "Deploying",
|
|
3044
|
+
/** Canceled */
|
|
2642
3045
|
Canceled = "Canceled",
|
|
3046
|
+
/** Failed */
|
|
2643
3047
|
Failed = "Failed"
|
|
2644
3048
|
}
|
|
2645
3049
|
|
|
@@ -2657,6 +3061,7 @@ export type ProvisioningState = string;
|
|
|
2657
3061
|
|
|
2658
3062
|
/** Known values of {@link QueryType} that the service accepts. */
|
|
2659
3063
|
export enum KnownQueryType {
|
|
3064
|
+
/** ResultCount */
|
|
2660
3065
|
ResultCount = "ResultCount"
|
|
2661
3066
|
}
|
|
2662
3067
|
|
|
@@ -2671,8 +3076,11 @@ export type QueryType = string;
|
|
|
2671
3076
|
|
|
2672
3077
|
/** Known values of {@link NamespaceClassification} that the service accepts. */
|
|
2673
3078
|
export enum KnownNamespaceClassification {
|
|
3079
|
+
/** Platform */
|
|
2674
3080
|
Platform = "Platform",
|
|
3081
|
+
/** Custom */
|
|
2675
3082
|
Custom = "Custom",
|
|
3083
|
+
/** Qos */
|
|
2676
3084
|
Qos = "Qos"
|
|
2677
3085
|
}
|
|
2678
3086
|
|
|
@@ -2689,8 +3097,11 @@ export type NamespaceClassification = string;
|
|
|
2689
3097
|
|
|
2690
3098
|
/** Known values of {@link OnboardingStatus} that the service accepts. */
|
|
2691
3099
|
export enum KnownOnboardingStatus {
|
|
3100
|
+
/** Onboarded */
|
|
2692
3101
|
Onboarded = "onboarded",
|
|
3102
|
+
/** NotOnboarded */
|
|
2693
3103
|
NotOnboarded = "notOnboarded",
|
|
3104
|
+
/** Unknown */
|
|
2694
3105
|
Unknown = "unknown"
|
|
2695
3106
|
}
|
|
2696
3107
|
|
|
@@ -2707,7 +3118,9 @@ export type OnboardingStatus = string;
|
|
|
2707
3118
|
|
|
2708
3119
|
/** Known values of {@link DataStatus} that the service accepts. */
|
|
2709
3120
|
export enum KnownDataStatus {
|
|
3121
|
+
/** Present */
|
|
2710
3122
|
Present = "present",
|
|
3123
|
+
/** NotPresent */
|
|
2711
3124
|
NotPresent = "notPresent"
|
|
2712
3125
|
}
|
|
2713
3126
|
|
|
@@ -2721,9 +3134,74 @@ export enum KnownDataStatus {
|
|
|
2721
3134
|
*/
|
|
2722
3135
|
export type DataStatus = string;
|
|
2723
3136
|
|
|
3137
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
3138
|
+
export enum KnownPrivateEndpointServiceConnectionStatus {
|
|
3139
|
+
/** Pending */
|
|
3140
|
+
Pending = "Pending",
|
|
3141
|
+
/** Approved */
|
|
3142
|
+
Approved = "Approved",
|
|
3143
|
+
/** Rejected */
|
|
3144
|
+
Rejected = "Rejected"
|
|
3145
|
+
}
|
|
3146
|
+
|
|
3147
|
+
/**
|
|
3148
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
|
3149
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
3150
|
+
* this enum contains the known values that the service supports.
|
|
3151
|
+
* ### Known values supported by the service
|
|
3152
|
+
* **Pending** \
|
|
3153
|
+
* **Approved** \
|
|
3154
|
+
* **Rejected**
|
|
3155
|
+
*/
|
|
3156
|
+
export type PrivateEndpointServiceConnectionStatus = string;
|
|
3157
|
+
|
|
3158
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
3159
|
+
export enum KnownPrivateEndpointConnectionProvisioningState {
|
|
3160
|
+
/** Succeeded */
|
|
3161
|
+
Succeeded = "Succeeded",
|
|
3162
|
+
/** Creating */
|
|
3163
|
+
Creating = "Creating",
|
|
3164
|
+
/** Deleting */
|
|
3165
|
+
Deleting = "Deleting",
|
|
3166
|
+
/** Failed */
|
|
3167
|
+
Failed = "Failed"
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
/**
|
|
3171
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
|
3172
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
|
3173
|
+
* this enum contains the known values that the service supports.
|
|
3174
|
+
* ### Known values supported by the service
|
|
3175
|
+
* **Succeeded** \
|
|
3176
|
+
* **Creating** \
|
|
3177
|
+
* **Deleting** \
|
|
3178
|
+
* **Failed**
|
|
3179
|
+
*/
|
|
3180
|
+
export type PrivateEndpointConnectionProvisioningState = string;
|
|
3181
|
+
|
|
3182
|
+
/** Known values of {@link AccessMode} that the service accepts. */
|
|
3183
|
+
export enum KnownAccessMode {
|
|
3184
|
+
/** Open */
|
|
3185
|
+
Open = "Open",
|
|
3186
|
+
/** PrivateOnly */
|
|
3187
|
+
PrivateOnly = "PrivateOnly"
|
|
3188
|
+
}
|
|
3189
|
+
|
|
3190
|
+
/**
|
|
3191
|
+
* Defines values for AccessMode. \
|
|
3192
|
+
* {@link KnownAccessMode} can be used interchangeably with AccessMode,
|
|
3193
|
+
* this enum contains the known values that the service supports.
|
|
3194
|
+
* ### Known values supported by the service
|
|
3195
|
+
* **Open** \
|
|
3196
|
+
* **PrivateOnly**
|
|
3197
|
+
*/
|
|
3198
|
+
export type AccessMode = string;
|
|
3199
|
+
|
|
2724
3200
|
/** Known values of {@link KnownPublicNetworkAccessOptions} that the service accepts. */
|
|
2725
3201
|
export enum KnownKnownPublicNetworkAccessOptions {
|
|
3202
|
+
/** Enabled */
|
|
2726
3203
|
Enabled = "Enabled",
|
|
3204
|
+
/** Disabled */
|
|
2727
3205
|
Disabled = "Disabled"
|
|
2728
3206
|
}
|
|
2729
3207
|
|
|
@@ -2739,10 +3217,15 @@ export type KnownPublicNetworkAccessOptions = string;
|
|
|
2739
3217
|
|
|
2740
3218
|
/** Known values of {@link KnownDataCollectionEndpointProvisioningState} that the service accepts. */
|
|
2741
3219
|
export enum KnownKnownDataCollectionEndpointProvisioningState {
|
|
3220
|
+
/** Creating */
|
|
2742
3221
|
Creating = "Creating",
|
|
3222
|
+
/** Updating */
|
|
2743
3223
|
Updating = "Updating",
|
|
3224
|
+
/** Deleting */
|
|
2744
3225
|
Deleting = "Deleting",
|
|
3226
|
+
/** Succeeded */
|
|
2745
3227
|
Succeeded = "Succeeded",
|
|
3228
|
+
/** Failed */
|
|
2746
3229
|
Failed = "Failed"
|
|
2747
3230
|
}
|
|
2748
3231
|
|
|
@@ -2761,7 +3244,9 @@ export type KnownDataCollectionEndpointProvisioningState = string;
|
|
|
2761
3244
|
|
|
2762
3245
|
/** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
|
|
2763
3246
|
export enum KnownKnownDataCollectionEndpointResourceKind {
|
|
3247
|
+
/** Linux */
|
|
2764
3248
|
Linux = "Linux",
|
|
3249
|
+
/** Windows */
|
|
2765
3250
|
Windows = "Windows"
|
|
2766
3251
|
}
|
|
2767
3252
|
|
|
@@ -2775,32 +3260,17 @@ export enum KnownKnownDataCollectionEndpointResourceKind {
|
|
|
2775
3260
|
*/
|
|
2776
3261
|
export type KnownDataCollectionEndpointResourceKind = string;
|
|
2777
3262
|
|
|
2778
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
2779
|
-
export enum KnownCreatedByType {
|
|
2780
|
-
User = "User",
|
|
2781
|
-
Application = "Application",
|
|
2782
|
-
ManagedIdentity = "ManagedIdentity",
|
|
2783
|
-
Key = "Key"
|
|
2784
|
-
}
|
|
2785
|
-
|
|
2786
|
-
/**
|
|
2787
|
-
* Defines values for CreatedByType. \
|
|
2788
|
-
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
2789
|
-
* this enum contains the known values that the service supports.
|
|
2790
|
-
* ### Known values supported by the service
|
|
2791
|
-
* **User** \
|
|
2792
|
-
* **Application** \
|
|
2793
|
-
* **ManagedIdentity** \
|
|
2794
|
-
* **Key**
|
|
2795
|
-
*/
|
|
2796
|
-
export type CreatedByType = string;
|
|
2797
|
-
|
|
2798
3263
|
/** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
|
|
2799
3264
|
export enum KnownKnownDataCollectionRuleAssociationProvisioningState {
|
|
3265
|
+
/** Creating */
|
|
2800
3266
|
Creating = "Creating",
|
|
3267
|
+
/** Updating */
|
|
2801
3268
|
Updating = "Updating",
|
|
3269
|
+
/** Deleting */
|
|
2802
3270
|
Deleting = "Deleting",
|
|
3271
|
+
/** Succeeded */
|
|
2803
3272
|
Succeeded = "Succeeded",
|
|
3273
|
+
/** Failed */
|
|
2804
3274
|
Failed = "Failed"
|
|
2805
3275
|
}
|
|
2806
3276
|
|
|
@@ -2817,9 +3287,44 @@ export enum KnownKnownDataCollectionRuleAssociationProvisioningState {
|
|
|
2817
3287
|
*/
|
|
2818
3288
|
export type KnownDataCollectionRuleAssociationProvisioningState = string;
|
|
2819
3289
|
|
|
3290
|
+
/** Known values of {@link KnownColumnDefinitionType} that the service accepts. */
|
|
3291
|
+
export enum KnownKnownColumnDefinitionType {
|
|
3292
|
+
/** String */
|
|
3293
|
+
String = "string",
|
|
3294
|
+
/** Int */
|
|
3295
|
+
Int = "int",
|
|
3296
|
+
/** Long */
|
|
3297
|
+
Long = "long",
|
|
3298
|
+
/** Real */
|
|
3299
|
+
Real = "real",
|
|
3300
|
+
/** Boolean */
|
|
3301
|
+
Boolean = "boolean",
|
|
3302
|
+
/** Datetime */
|
|
3303
|
+
Datetime = "datetime",
|
|
3304
|
+
/** Dynamic */
|
|
3305
|
+
Dynamic = "dynamic"
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
/**
|
|
3309
|
+
* Defines values for KnownColumnDefinitionType. \
|
|
3310
|
+
* {@link KnownKnownColumnDefinitionType} can be used interchangeably with KnownColumnDefinitionType,
|
|
3311
|
+
* this enum contains the known values that the service supports.
|
|
3312
|
+
* ### Known values supported by the service
|
|
3313
|
+
* **string** \
|
|
3314
|
+
* **int** \
|
|
3315
|
+
* **long** \
|
|
3316
|
+
* **real** \
|
|
3317
|
+
* **boolean** \
|
|
3318
|
+
* **datetime** \
|
|
3319
|
+
* **dynamic**
|
|
3320
|
+
*/
|
|
3321
|
+
export type KnownColumnDefinitionType = string;
|
|
3322
|
+
|
|
2820
3323
|
/** Known values of {@link KnownPerfCounterDataSourceStreams} that the service accepts. */
|
|
2821
3324
|
export enum KnownKnownPerfCounterDataSourceStreams {
|
|
3325
|
+
/** MicrosoftPerf */
|
|
2822
3326
|
MicrosoftPerf = "Microsoft-Perf",
|
|
3327
|
+
/** MicrosoftInsightsMetrics */
|
|
2823
3328
|
MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics"
|
|
2824
3329
|
}
|
|
2825
3330
|
|
|
@@ -2835,7 +3340,9 @@ export type KnownPerfCounterDataSourceStreams = string;
|
|
|
2835
3340
|
|
|
2836
3341
|
/** Known values of {@link KnownWindowsEventLogDataSourceStreams} that the service accepts. */
|
|
2837
3342
|
export enum KnownKnownWindowsEventLogDataSourceStreams {
|
|
3343
|
+
/** MicrosoftWindowsEvent */
|
|
2838
3344
|
MicrosoftWindowsEvent = "Microsoft-WindowsEvent",
|
|
3345
|
+
/** MicrosoftEvent */
|
|
2839
3346
|
MicrosoftEvent = "Microsoft-Event"
|
|
2840
3347
|
}
|
|
2841
3348
|
|
|
@@ -2851,6 +3358,7 @@ export type KnownWindowsEventLogDataSourceStreams = string;
|
|
|
2851
3358
|
|
|
2852
3359
|
/** Known values of {@link KnownSyslogDataSourceStreams} that the service accepts. */
|
|
2853
3360
|
export enum KnownKnownSyslogDataSourceStreams {
|
|
3361
|
+
/** MicrosoftSyslog */
|
|
2854
3362
|
MicrosoftSyslog = "Microsoft-Syslog"
|
|
2855
3363
|
}
|
|
2856
3364
|
|
|
@@ -2865,26 +3373,47 @@ export type KnownSyslogDataSourceStreams = string;
|
|
|
2865
3373
|
|
|
2866
3374
|
/** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
|
|
2867
3375
|
export enum KnownKnownSyslogDataSourceFacilityNames {
|
|
3376
|
+
/** Auth */
|
|
2868
3377
|
Auth = "auth",
|
|
3378
|
+
/** Authpriv */
|
|
2869
3379
|
Authpriv = "authpriv",
|
|
3380
|
+
/** Cron */
|
|
2870
3381
|
Cron = "cron",
|
|
3382
|
+
/** Daemon */
|
|
2871
3383
|
Daemon = "daemon",
|
|
3384
|
+
/** Kern */
|
|
2872
3385
|
Kern = "kern",
|
|
3386
|
+
/** Lpr */
|
|
2873
3387
|
Lpr = "lpr",
|
|
3388
|
+
/** Mail */
|
|
2874
3389
|
Mail = "mail",
|
|
3390
|
+
/** Mark */
|
|
2875
3391
|
Mark = "mark",
|
|
3392
|
+
/** News */
|
|
2876
3393
|
News = "news",
|
|
3394
|
+
/** Syslog */
|
|
2877
3395
|
Syslog = "syslog",
|
|
3396
|
+
/** User */
|
|
2878
3397
|
User = "user",
|
|
3398
|
+
/** Uucp */
|
|
2879
3399
|
Uucp = "uucp",
|
|
3400
|
+
/** Local0 */
|
|
2880
3401
|
Local0 = "local0",
|
|
3402
|
+
/** Local1 */
|
|
2881
3403
|
Local1 = "local1",
|
|
3404
|
+
/** Local2 */
|
|
2882
3405
|
Local2 = "local2",
|
|
3406
|
+
/** Local3 */
|
|
2883
3407
|
Local3 = "local3",
|
|
3408
|
+
/** Local4 */
|
|
2884
3409
|
Local4 = "local4",
|
|
3410
|
+
/** Local5 */
|
|
2885
3411
|
Local5 = "local5",
|
|
3412
|
+
/** Local6 */
|
|
2886
3413
|
Local6 = "local6",
|
|
3414
|
+
/** Local7 */
|
|
2887
3415
|
Local7 = "local7",
|
|
3416
|
+
/** Asterisk */
|
|
2888
3417
|
Asterisk = "*"
|
|
2889
3418
|
}
|
|
2890
3419
|
|
|
@@ -2919,14 +3448,23 @@ export type KnownSyslogDataSourceFacilityNames = string;
|
|
|
2919
3448
|
|
|
2920
3449
|
/** Known values of {@link KnownSyslogDataSourceLogLevels} that the service accepts. */
|
|
2921
3450
|
export enum KnownKnownSyslogDataSourceLogLevels {
|
|
3451
|
+
/** Debug */
|
|
2922
3452
|
Debug = "Debug",
|
|
3453
|
+
/** Info */
|
|
2923
3454
|
Info = "Info",
|
|
3455
|
+
/** Notice */
|
|
2924
3456
|
Notice = "Notice",
|
|
3457
|
+
/** Warning */
|
|
2925
3458
|
Warning = "Warning",
|
|
3459
|
+
/** Error */
|
|
2926
3460
|
Error = "Error",
|
|
3461
|
+
/** Critical */
|
|
2927
3462
|
Critical = "Critical",
|
|
3463
|
+
/** Alert */
|
|
2928
3464
|
Alert = "Alert",
|
|
3465
|
+
/** Emergency */
|
|
2929
3466
|
Emergency = "Emergency",
|
|
3467
|
+
/** Asterisk */
|
|
2930
3468
|
Asterisk = "*"
|
|
2931
3469
|
}
|
|
2932
3470
|
|
|
@@ -2949,10 +3487,15 @@ export type KnownSyslogDataSourceLogLevels = string;
|
|
|
2949
3487
|
|
|
2950
3488
|
/** Known values of {@link KnownExtensionDataSourceStreams} that the service accepts. */
|
|
2951
3489
|
export enum KnownKnownExtensionDataSourceStreams {
|
|
3490
|
+
/** MicrosoftEvent */
|
|
2952
3491
|
MicrosoftEvent = "Microsoft-Event",
|
|
3492
|
+
/** MicrosoftInsightsMetrics */
|
|
2953
3493
|
MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
|
|
3494
|
+
/** MicrosoftPerf */
|
|
2954
3495
|
MicrosoftPerf = "Microsoft-Perf",
|
|
3496
|
+
/** MicrosoftSyslog */
|
|
2955
3497
|
MicrosoftSyslog = "Microsoft-Syslog",
|
|
3498
|
+
/** MicrosoftWindowsEvent */
|
|
2956
3499
|
MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
|
|
2957
3500
|
}
|
|
2958
3501
|
|
|
@@ -2969,12 +3512,71 @@ export enum KnownKnownExtensionDataSourceStreams {
|
|
|
2969
3512
|
*/
|
|
2970
3513
|
export type KnownExtensionDataSourceStreams = string;
|
|
2971
3514
|
|
|
3515
|
+
/** Known values of {@link KnownLogFilesDataSourceFormat} that the service accepts. */
|
|
3516
|
+
export enum KnownKnownLogFilesDataSourceFormat {
|
|
3517
|
+
/** Text */
|
|
3518
|
+
Text = "text"
|
|
3519
|
+
}
|
|
3520
|
+
|
|
3521
|
+
/**
|
|
3522
|
+
* Defines values for KnownLogFilesDataSourceFormat. \
|
|
3523
|
+
* {@link KnownKnownLogFilesDataSourceFormat} can be used interchangeably with KnownLogFilesDataSourceFormat,
|
|
3524
|
+
* this enum contains the known values that the service supports.
|
|
3525
|
+
* ### Known values supported by the service
|
|
3526
|
+
* **text**
|
|
3527
|
+
*/
|
|
3528
|
+
export type KnownLogFilesDataSourceFormat = string;
|
|
3529
|
+
|
|
3530
|
+
/** Known values of {@link KnownLogFileTextSettingsRecordStartTimestampFormat} that the service accepts. */
|
|
3531
|
+
export enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
|
|
3532
|
+
/** ISO8601 */
|
|
3533
|
+
ISO8601 = "ISO 8601",
|
|
3534
|
+
/** YyyyMMDDHHMMSS */
|
|
3535
|
+
YyyyMMDDHHMMSS = "YYYY-MM-DD HH:MM:SS",
|
|
3536
|
+
/** MDYyyyHHMMSSAMPM */
|
|
3537
|
+
MDYyyyHHMMSSAMPM = "M/D/YYYY HH:MM:SS AM/PM",
|
|
3538
|
+
/** MonDDYyyyHHMMSS */
|
|
3539
|
+
MonDDYyyyHHMMSS = "Mon DD, YYYY HH:MM:SS",
|
|
3540
|
+
/** YyMMddHHMmSs */
|
|
3541
|
+
YyMMddHHMmSs = "yyMMdd HH:mm:ss",
|
|
3542
|
+
/** DdMMyyHHMmSs */
|
|
3543
|
+
DdMMyyHHMmSs = "ddMMyy HH:mm:ss",
|
|
3544
|
+
/** MMMDHhMmSs */
|
|
3545
|
+
MMMDHhMmSs = "MMM d hh:mm:ss",
|
|
3546
|
+
/** DdMMMYyyyHHMmSsZzz */
|
|
3547
|
+
DdMMMYyyyHHMmSsZzz = "dd/MMM/yyyy:HH:mm:ss zzz",
|
|
3548
|
+
/** YyyyMMDdTHHMmSsK */
|
|
3549
|
+
YyyyMMDdTHHMmSsK = "yyyy-MM-ddTHH:mm:ssK"
|
|
3550
|
+
}
|
|
3551
|
+
|
|
3552
|
+
/**
|
|
3553
|
+
* Defines values for KnownLogFileTextSettingsRecordStartTimestampFormat. \
|
|
3554
|
+
* {@link KnownKnownLogFileTextSettingsRecordStartTimestampFormat} can be used interchangeably with KnownLogFileTextSettingsRecordStartTimestampFormat,
|
|
3555
|
+
* this enum contains the known values that the service supports.
|
|
3556
|
+
* ### Known values supported by the service
|
|
3557
|
+
* **ISO 8601** \
|
|
3558
|
+
* **YYYY-MM-DD HH:MM:SS** \
|
|
3559
|
+
* **M\/D\/YYYY HH:MM:SS AM\/PM** \
|
|
3560
|
+
* **Mon DD, YYYY HH:MM:SS** \
|
|
3561
|
+
* **yyMMdd HH:mm:ss** \
|
|
3562
|
+
* **ddMMyy HH:mm:ss** \
|
|
3563
|
+
* **MMM d hh:mm:ss** \
|
|
3564
|
+
* **dd\/MMM\/yyyy:HH:mm:ss zzz** \
|
|
3565
|
+
* **yyyy-MM-ddTHH:mm:ssK**
|
|
3566
|
+
*/
|
|
3567
|
+
export type KnownLogFileTextSettingsRecordStartTimestampFormat = string;
|
|
3568
|
+
|
|
2972
3569
|
/** Known values of {@link KnownDataFlowStreams} that the service accepts. */
|
|
2973
3570
|
export enum KnownKnownDataFlowStreams {
|
|
3571
|
+
/** MicrosoftEvent */
|
|
2974
3572
|
MicrosoftEvent = "Microsoft-Event",
|
|
3573
|
+
/** MicrosoftInsightsMetrics */
|
|
2975
3574
|
MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
|
|
3575
|
+
/** MicrosoftPerf */
|
|
2976
3576
|
MicrosoftPerf = "Microsoft-Perf",
|
|
3577
|
+
/** MicrosoftSyslog */
|
|
2977
3578
|
MicrosoftSyslog = "Microsoft-Syslog",
|
|
3579
|
+
/** MicrosoftWindowsEvent */
|
|
2978
3580
|
MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
|
|
2979
3581
|
}
|
|
2980
3582
|
|
|
@@ -2993,10 +3595,15 @@ export type KnownDataFlowStreams = string;
|
|
|
2993
3595
|
|
|
2994
3596
|
/** Known values of {@link KnownDataCollectionRuleProvisioningState} that the service accepts. */
|
|
2995
3597
|
export enum KnownKnownDataCollectionRuleProvisioningState {
|
|
3598
|
+
/** Creating */
|
|
2996
3599
|
Creating = "Creating",
|
|
3600
|
+
/** Updating */
|
|
2997
3601
|
Updating = "Updating",
|
|
3602
|
+
/** Deleting */
|
|
2998
3603
|
Deleting = "Deleting",
|
|
3604
|
+
/** Succeeded */
|
|
2999
3605
|
Succeeded = "Succeeded",
|
|
3606
|
+
/** Failed */
|
|
3000
3607
|
Failed = "Failed"
|
|
3001
3608
|
}
|
|
3002
3609
|
|
|
@@ -3015,7 +3622,9 @@ export type KnownDataCollectionRuleProvisioningState = string;
|
|
|
3015
3622
|
|
|
3016
3623
|
/** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
|
|
3017
3624
|
export enum KnownKnownDataCollectionRuleResourceKind {
|
|
3625
|
+
/** Linux */
|
|
3018
3626
|
Linux = "Linux",
|
|
3627
|
+
/** Windows */
|
|
3019
3628
|
Windows = "Windows"
|
|
3020
3629
|
}
|
|
3021
3630
|
|
|
@@ -3031,11 +3640,17 @@ export type KnownDataCollectionRuleResourceKind = string;
|
|
|
3031
3640
|
|
|
3032
3641
|
/** Known values of {@link Operator} that the service accepts. */
|
|
3033
3642
|
export enum KnownOperator {
|
|
3643
|
+
/** Equals */
|
|
3034
3644
|
Equals = "Equals",
|
|
3645
|
+
/** GreaterThan */
|
|
3035
3646
|
GreaterThan = "GreaterThan",
|
|
3647
|
+
/** GreaterThanOrEqual */
|
|
3036
3648
|
GreaterThanOrEqual = "GreaterThanOrEqual",
|
|
3649
|
+
/** LessThan */
|
|
3037
3650
|
LessThan = "LessThan",
|
|
3651
|
+
/** LessThanOrEqual */
|
|
3038
3652
|
LessThanOrEqual = "LessThanOrEqual",
|
|
3653
|
+
/** Include */
|
|
3039
3654
|
Include = "Include"
|
|
3040
3655
|
}
|
|
3041
3656
|
|
|
@@ -3055,7 +3670,9 @@ export type Operator = string;
|
|
|
3055
3670
|
|
|
3056
3671
|
/** Known values of {@link CriterionType} that the service accepts. */
|
|
3057
3672
|
export enum KnownCriterionType {
|
|
3673
|
+
/** StaticThresholdCriterion */
|
|
3058
3674
|
StaticThresholdCriterion = "StaticThresholdCriterion",
|
|
3675
|
+
/** DynamicThresholdCriterion */
|
|
3059
3676
|
DynamicThresholdCriterion = "DynamicThresholdCriterion"
|
|
3060
3677
|
}
|
|
3061
3678
|
|
|
@@ -3071,10 +3688,15 @@ export type CriterionType = string;
|
|
|
3071
3688
|
|
|
3072
3689
|
/** Known values of {@link AggregationTypeEnum} that the service accepts. */
|
|
3073
3690
|
export enum KnownAggregationTypeEnum {
|
|
3691
|
+
/** Average */
|
|
3074
3692
|
Average = "Average",
|
|
3693
|
+
/** Count */
|
|
3075
3694
|
Count = "Count",
|
|
3695
|
+
/** Minimum */
|
|
3076
3696
|
Minimum = "Minimum",
|
|
3697
|
+
/** Maximum */
|
|
3077
3698
|
Maximum = "Maximum",
|
|
3699
|
+
/** Total */
|
|
3078
3700
|
Total = "Total"
|
|
3079
3701
|
}
|
|
3080
3702
|
|
|
@@ -3093,8 +3715,11 @@ export type AggregationTypeEnum = string;
|
|
|
3093
3715
|
|
|
3094
3716
|
/** Known values of {@link DynamicThresholdOperator} that the service accepts. */
|
|
3095
3717
|
export enum KnownDynamicThresholdOperator {
|
|
3718
|
+
/** GreaterThan */
|
|
3096
3719
|
GreaterThan = "GreaterThan",
|
|
3720
|
+
/** LessThan */
|
|
3097
3721
|
LessThan = "LessThan",
|
|
3722
|
+
/** GreaterOrLessThan */
|
|
3098
3723
|
GreaterOrLessThan = "GreaterOrLessThan"
|
|
3099
3724
|
}
|
|
3100
3725
|
|
|
@@ -3111,8 +3736,11 @@ export type DynamicThresholdOperator = string;
|
|
|
3111
3736
|
|
|
3112
3737
|
/** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
|
|
3113
3738
|
export enum KnownDynamicThresholdSensitivity {
|
|
3739
|
+
/** Low */
|
|
3114
3740
|
Low = "Low",
|
|
3741
|
+
/** Medium */
|
|
3115
3742
|
Medium = "Medium",
|
|
3743
|
+
/** High */
|
|
3116
3744
|
High = "High"
|
|
3117
3745
|
}
|
|
3118
3746
|
|
|
@@ -3129,10 +3757,15 @@ export type DynamicThresholdSensitivity = string;
|
|
|
3129
3757
|
|
|
3130
3758
|
/** Known values of {@link ConditionalOperator} that the service accepts. */
|
|
3131
3759
|
export enum KnownConditionalOperator {
|
|
3760
|
+
/** GreaterThanOrEqual */
|
|
3132
3761
|
GreaterThanOrEqual = "GreaterThanOrEqual",
|
|
3762
|
+
/** LessThanOrEqual */
|
|
3133
3763
|
LessThanOrEqual = "LessThanOrEqual",
|
|
3764
|
+
/** GreaterThan */
|
|
3134
3765
|
GreaterThan = "GreaterThan",
|
|
3766
|
+
/** LessThan */
|
|
3135
3767
|
LessThan = "LessThan",
|
|
3768
|
+
/** Equal */
|
|
3136
3769
|
Equal = "Equal"
|
|
3137
3770
|
}
|
|
3138
3771
|
|
|
@@ -3151,7 +3784,9 @@ export type ConditionalOperator = string;
|
|
|
3151
3784
|
|
|
3152
3785
|
/** Known values of {@link MetricTriggerType} that the service accepts. */
|
|
3153
3786
|
export enum KnownMetricTriggerType {
|
|
3787
|
+
/** Consecutive */
|
|
3154
3788
|
Consecutive = "Consecutive",
|
|
3789
|
+
/** Total */
|
|
3155
3790
|
Total = "Total"
|
|
3156
3791
|
}
|
|
3157
3792
|
|
|
@@ -3167,10 +3802,15 @@ export type MetricTriggerType = string;
|
|
|
3167
3802
|
|
|
3168
3803
|
/** Known values of {@link AlertSeverity} that the service accepts. */
|
|
3169
3804
|
export enum KnownAlertSeverity {
|
|
3805
|
+
/** Zero */
|
|
3170
3806
|
Zero = "0",
|
|
3807
|
+
/** One */
|
|
3171
3808
|
One = "1",
|
|
3809
|
+
/** Two */
|
|
3172
3810
|
Two = "2",
|
|
3811
|
+
/** Three */
|
|
3173
3812
|
Three = "3",
|
|
3813
|
+
/** Four */
|
|
3174
3814
|
Four = "4"
|
|
3175
3815
|
}
|
|
3176
3816
|
|
|
@@ -3222,8 +3862,11 @@ export type RecurrenceFrequency =
|
|
|
3222
3862
|
| "Week"
|
|
3223
3863
|
| "Month"
|
|
3224
3864
|
| "Year";
|
|
3225
|
-
/** Defines values for
|
|
3226
|
-
export type
|
|
3865
|
+
/** Defines values for PredictiveAutoscalePolicyScaleMode. */
|
|
3866
|
+
export type PredictiveAutoscalePolicyScaleMode =
|
|
3867
|
+
| "Disabled"
|
|
3868
|
+
| "ForecastOnly"
|
|
3869
|
+
| "Enabled";
|
|
3227
3870
|
/** Defines values for ReceiverStatus. */
|
|
3228
3871
|
export type ReceiverStatus = "NotSpecified" | "Enabled" | "Disabled";
|
|
3229
3872
|
/** Defines values for EventLevel. */
|
|
@@ -3310,6 +3953,13 @@ export interface AutoscaleSettingsListBySubscriptionNextOptionalParams
|
|
|
3310
3953
|
/** Contains response data for the listBySubscriptionNext operation. */
|
|
3311
3954
|
export type AutoscaleSettingsListBySubscriptionNextResponse = AutoscaleSettingResourceCollection;
|
|
3312
3955
|
|
|
3956
|
+
/** Optional parameters. */
|
|
3957
|
+
export interface PredictiveMetricGetOptionalParams
|
|
3958
|
+
extends coreClient.OperationOptions {}
|
|
3959
|
+
|
|
3960
|
+
/** Contains response data for the get operation. */
|
|
3961
|
+
export type PredictiveMetricGetResponse = PredictiveResponse;
|
|
3962
|
+
|
|
3313
3963
|
/** Optional parameters. */
|
|
3314
3964
|
export interface OperationsListOptionalParams
|
|
3315
3965
|
extends coreClient.OperationOptions {}
|
|
@@ -3476,7 +4126,31 @@ export interface ActionGroupsPostTestNotificationsOptionalParams
|
|
|
3476
4126
|
}
|
|
3477
4127
|
|
|
3478
4128
|
/** Contains response data for the postTestNotifications operation. */
|
|
3479
|
-
export type ActionGroupsPostTestNotificationsResponse =
|
|
4129
|
+
export type ActionGroupsPostTestNotificationsResponse = TestNotificationDetailsResponse;
|
|
4130
|
+
|
|
4131
|
+
/** Optional parameters. */
|
|
4132
|
+
export interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams
|
|
4133
|
+
extends coreClient.OperationOptions {
|
|
4134
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
4135
|
+
updateIntervalInMs?: number;
|
|
4136
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
4137
|
+
resumeFrom?: string;
|
|
4138
|
+
}
|
|
4139
|
+
|
|
4140
|
+
/** Contains response data for the createNotificationsAtResourceGroupLevel operation. */
|
|
4141
|
+
export type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
|
|
4142
|
+
|
|
4143
|
+
/** Optional parameters. */
|
|
4144
|
+
export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams
|
|
4145
|
+
extends coreClient.OperationOptions {
|
|
4146
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
4147
|
+
updateIntervalInMs?: number;
|
|
4148
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
4149
|
+
resumeFrom?: string;
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
/** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
|
|
4153
|
+
export type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
|
|
3480
4154
|
|
|
3481
4155
|
/** Optional parameters. */
|
|
3482
4156
|
export interface ActionGroupsGetTestNotificationsOptionalParams
|
|
@@ -3485,6 +4159,20 @@ export interface ActionGroupsGetTestNotificationsOptionalParams
|
|
|
3485
4159
|
/** Contains response data for the getTestNotifications operation. */
|
|
3486
4160
|
export type ActionGroupsGetTestNotificationsResponse = TestNotificationDetailsResponse;
|
|
3487
4161
|
|
|
4162
|
+
/** Optional parameters. */
|
|
4163
|
+
export interface ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams
|
|
4164
|
+
extends coreClient.OperationOptions {}
|
|
4165
|
+
|
|
4166
|
+
/** Contains response data for the getTestNotificationsAtResourceGroupLevel operation. */
|
|
4167
|
+
export type ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
|
|
4168
|
+
|
|
4169
|
+
/** Optional parameters. */
|
|
4170
|
+
export interface ActionGroupsGetTestNotificationsAtActionGroupResourceLevelOptionalParams
|
|
4171
|
+
extends coreClient.OperationOptions {}
|
|
4172
|
+
|
|
4173
|
+
/** Contains response data for the getTestNotificationsAtActionGroupResourceLevel operation. */
|
|
4174
|
+
export type ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
|
|
4175
|
+
|
|
3488
4176
|
/** Optional parameters. */
|
|
3489
4177
|
export interface ActionGroupsListBySubscriptionIdOptionalParams
|
|
3490
4178
|
extends coreClient.OperationOptions {}
|
|
@@ -3815,13 +4503,6 @@ export interface PrivateLinkResourcesGetOptionalParams
|
|
|
3815
4503
|
/** Contains response data for the get operation. */
|
|
3816
4504
|
export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
|
|
3817
4505
|
|
|
3818
|
-
/** Optional parameters. */
|
|
3819
|
-
export interface PrivateLinkResourcesListByPrivateLinkScopeNextOptionalParams
|
|
3820
|
-
extends coreClient.OperationOptions {}
|
|
3821
|
-
|
|
3822
|
-
/** Contains response data for the listByPrivateLinkScopeNext operation. */
|
|
3823
|
-
export type PrivateLinkResourcesListByPrivateLinkScopeNextResponse = PrivateLinkResourceListResult;
|
|
3824
|
-
|
|
3825
4506
|
/** Optional parameters. */
|
|
3826
4507
|
export interface PrivateEndpointConnectionsGetOptionalParams
|
|
3827
4508
|
extends coreClient.OperationOptions {}
|
|
@@ -3857,13 +4538,6 @@ export interface PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
|
|
|
3857
4538
|
/** Contains response data for the listByPrivateLinkScope operation. */
|
|
3858
4539
|
export type PrivateEndpointConnectionsListByPrivateLinkScopeResponse = PrivateEndpointConnectionListResult;
|
|
3859
4540
|
|
|
3860
|
-
/** Optional parameters. */
|
|
3861
|
-
export interface PrivateEndpointConnectionsListByPrivateLinkScopeNextOptionalParams
|
|
3862
|
-
extends coreClient.OperationOptions {}
|
|
3863
|
-
|
|
3864
|
-
/** Contains response data for the listByPrivateLinkScopeNext operation. */
|
|
3865
|
-
export type PrivateEndpointConnectionsListByPrivateLinkScopeNextResponse = PrivateEndpointConnectionListResult;
|
|
3866
|
-
|
|
3867
4541
|
/** Optional parameters. */
|
|
3868
4542
|
export interface PrivateLinkScopedResourcesGetOptionalParams
|
|
3869
4543
|
extends coreClient.OperationOptions {}
|
|
@@ -3936,14 +4610,28 @@ export interface ActivityLogAlertsListBySubscriptionIdOptionalParams
|
|
|
3936
4610
|
extends coreClient.OperationOptions {}
|
|
3937
4611
|
|
|
3938
4612
|
/** Contains response data for the listBySubscriptionId operation. */
|
|
3939
|
-
export type ActivityLogAlertsListBySubscriptionIdResponse =
|
|
4613
|
+
export type ActivityLogAlertsListBySubscriptionIdResponse = AlertRuleList;
|
|
3940
4614
|
|
|
3941
4615
|
/** Optional parameters. */
|
|
3942
4616
|
export interface ActivityLogAlertsListByResourceGroupOptionalParams
|
|
3943
4617
|
extends coreClient.OperationOptions {}
|
|
3944
4618
|
|
|
3945
4619
|
/** Contains response data for the listByResourceGroup operation. */
|
|
3946
|
-
export type ActivityLogAlertsListByResourceGroupResponse =
|
|
4620
|
+
export type ActivityLogAlertsListByResourceGroupResponse = AlertRuleList;
|
|
4621
|
+
|
|
4622
|
+
/** Optional parameters. */
|
|
4623
|
+
export interface ActivityLogAlertsListBySubscriptionIdNextOptionalParams
|
|
4624
|
+
extends coreClient.OperationOptions {}
|
|
4625
|
+
|
|
4626
|
+
/** Contains response data for the listBySubscriptionIdNext operation. */
|
|
4627
|
+
export type ActivityLogAlertsListBySubscriptionIdNextResponse = AlertRuleList;
|
|
4628
|
+
|
|
4629
|
+
/** Optional parameters. */
|
|
4630
|
+
export interface ActivityLogAlertsListByResourceGroupNextOptionalParams
|
|
4631
|
+
extends coreClient.OperationOptions {}
|
|
4632
|
+
|
|
4633
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
4634
|
+
export type ActivityLogAlertsListByResourceGroupNextResponse = AlertRuleList;
|
|
3947
4635
|
|
|
3948
4636
|
/** Optional parameters. */
|
|
3949
4637
|
export interface DataCollectionEndpointsListByResourceGroupOptionalParams
|
|
@@ -4018,6 +4706,13 @@ export interface DataCollectionRuleAssociationsListByRuleOptionalParams
|
|
|
4018
4706
|
/** Contains response data for the listByRule operation. */
|
|
4019
4707
|
export type DataCollectionRuleAssociationsListByRuleResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
|
|
4020
4708
|
|
|
4709
|
+
/** Optional parameters. */
|
|
4710
|
+
export interface DataCollectionRuleAssociationsListByDataCollectionEndpointOptionalParams
|
|
4711
|
+
extends coreClient.OperationOptions {}
|
|
4712
|
+
|
|
4713
|
+
/** Contains response data for the listByDataCollectionEndpoint operation. */
|
|
4714
|
+
export type DataCollectionRuleAssociationsListByDataCollectionEndpointResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
|
|
4715
|
+
|
|
4021
4716
|
/** Optional parameters. */
|
|
4022
4717
|
export interface DataCollectionRuleAssociationsGetOptionalParams
|
|
4023
4718
|
extends coreClient.OperationOptions {}
|
|
@@ -4053,6 +4748,13 @@ export interface DataCollectionRuleAssociationsListByRuleNextOptionalParams
|
|
|
4053
4748
|
/** Contains response data for the listByRuleNext operation. */
|
|
4054
4749
|
export type DataCollectionRuleAssociationsListByRuleNextResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
|
|
4055
4750
|
|
|
4751
|
+
/** Optional parameters. */
|
|
4752
|
+
export interface DataCollectionRuleAssociationsListByDataCollectionEndpointNextOptionalParams
|
|
4753
|
+
extends coreClient.OperationOptions {}
|
|
4754
|
+
|
|
4755
|
+
/** Contains response data for the listByDataCollectionEndpointNext operation. */
|
|
4756
|
+
export type DataCollectionRuleAssociationsListByDataCollectionEndpointNextResponse = DataCollectionRuleAssociationProxyOnlyResourceListResult;
|
|
4757
|
+
|
|
4056
4758
|
/** Optional parameters. */
|
|
4057
4759
|
export interface DataCollectionRulesListByResourceGroupOptionalParams
|
|
4058
4760
|
extends coreClient.OperationOptions {}
|