From 86db15a68870cbd49fa4660be8d06c04025e020b Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Mar 2019 14:47:57 -0700 Subject: [PATCH] Generated from 3db75735b23d7ad733668c5f03e1682016c86d58 (#1542) move global settings before packages --- .../lib/models/actionGroupsMappers.ts | 133 +- .../lib/models/activityLogAlertsMappers.ts | 129 +- .../lib/models/activityLogsMappers.ts | 15 +- .../lib/models/alertRuleIncidentsMappers.ts | 13 +- .../lib/models/alertRulesMappers.ts | 131 +- .../lib/models/autoscaleSettingsMappers.ts | 133 +- ...nosticSettingsCategoryOperationsMappers.ts | 131 +- .../diagnosticSettingsOperationsMappers.ts | 131 +- .../lib/models/eventCategoriesMappers.ts | 11 +- .../@azure/arm-monitor/lib/models/index.ts | 2292 +++++++++++------ .../lib/models/logProfilesMappers.ts | 137 +- .../@azure/arm-monitor/lib/models/mappers.ts | 7 +- .../lib/models/metricAlertsMappers.ts | 137 +- .../lib/models/metricAlertsStatusMappers.ts | 13 +- .../lib/models/metricBaselineMappers.ts | 15 +- .../lib/models/metricDefinitionsMappers.ts | 13 +- .../lib/models/metricNamespacesMappers.ts | 13 +- .../arm-monitor/lib/models/metricsMappers.ts | 15 +- .../lib/models/operationsMappers.ts | 11 +- .../lib/models/scheduledQueryRulesMappers.ts | 133 +- .../lib/models/tenantActivityLogsMappers.ts | 15 +- .../lib/models/vMInsightsMappers.ts | 133 +- .../lib/monitorManagementClientContext.ts | 2 +- packages/@azure/arm-monitor/package.json | 8 +- 24 files changed, 2258 insertions(+), 1513 deletions(-) diff --git a/packages/@azure/arm-monitor/lib/models/actionGroupsMappers.ts b/packages/@azure/arm-monitor/lib/models/actionGroupsMappers.ts index a1a4a94394eb..f82386176f02 100644 --- a/packages/@azure/arm-monitor/lib/models/actionGroupsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/actionGroupsMappers.ts @@ -1,88 +1,91 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - Action, - ActionGroupList, - ActionGroupPatchBody, ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, - ActivityLogAlertAllOfCondition, - ActivityLogAlertLeafCondition, - ActivityLogAlertResource, - AlertingAction, - AlertRuleResource, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, - AutoscaleSettingResource, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, + Resource, BaseResource, - Criteria, - DataContainer, - DiagnosticSettingsCategoryResource, - DiagnosticSettingsResource, - Dimension, - EmailNotification, EmailReceiver, - EnableRequest, - ErrorResponse, + SmsReceiver, + WebhookReceiver, ItsmReceiver, - LocationThresholdRuleCondition, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, LogicAppReceiver, - LogMetricTrigger, + AzureFunctionReceiver, + ArmRoleReceiver, + ErrorResponse, + ActionGroupPatchBody, + ActionGroupList, + EnableRequest, + AutoscaleSettingResource, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, + MetricTrigger, + ScaleAction, + TimeWindow, + Recurrence, + RecurrentSchedule, + AutoscaleNotification, + EmailNotification, + WebhookNotification, + AlertRuleResource, + RuleCondition, + RuleDataSource, + RuleAction, LogProfileResource, - LogSearchRuleResource, + RetentionPolicy, + ProxyOnlyResource, + DiagnosticSettingsResource, + MetricSettings, LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, - MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, + DiagnosticSettingsCategoryResource, + ActivityLogAlertResource, + ActivityLogAlertAllOfCondition, + ActivityLogAlertLeafCondition, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, MetricAlertResource, + MetricAlertCriteria, + MetricAlertAction, MetricAlertSingleResourceMultipleMetricCriteria, MetricCriteria, - MetricDimension, - MetricSettings, - MetricTrigger, MultiMetricCriteria, - ProxyOnlyResource, - ProxyResource, - Recurrence, - RecurrentSchedule, - Resource, - RetentionPolicy, - RuleAction, - RuleCondition, - RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, - RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, - SmsReceiver, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + LogSearchRuleResource, Source, - ThresholdRuleCondition, - TimeWindow, + Schedule, + Action, + AlertingAction, + AzNsActionGroup, TriggerCondition, + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, + ProxyResource, VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, - WorkspaceInfo + DataContainer, + WorkspaceInfo, + RuleMetricDataSource, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, + ThresholdRuleCondition, + LocationThresholdRuleCondition, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/activityLogAlertsMappers.ts b/packages/@azure/arm-monitor/lib/models/activityLogAlertsMappers.ts index 116ac91bc880..67f2f8620315 100644 --- a/packages/@azure/arm-monitor/lib/models/activityLogAlertsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/activityLogAlertsMappers.ts @@ -1,87 +1,90 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - Action, - ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, + ActivityLogAlertResource, + Resource, + BaseResource, ActivityLogAlertAllOfCondition, ActivityLogAlertLeafCondition, - ActivityLogAlertList, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, + ErrorResponse, ActivityLogAlertPatchBody, - ActivityLogAlertResource, - AlertingAction, - AlertRuleResource, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, + ActivityLogAlertList, AutoscaleSettingResource, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, - BaseResource, - Criteria, - DataContainer, - DiagnosticSettingsCategoryResource, - DiagnosticSettingsResource, - Dimension, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, + MetricTrigger, + ScaleAction, + TimeWindow, + Recurrence, + RecurrentSchedule, + AutoscaleNotification, EmailNotification, + WebhookNotification, + AlertRuleResource, + RuleCondition, + RuleDataSource, + RuleAction, + LogProfileResource, + RetentionPolicy, + ProxyOnlyResource, + DiagnosticSettingsResource, + MetricSettings, + LogSettings, + DiagnosticSettingsCategoryResource, + ActionGroupResource, EmailReceiver, - ErrorResponse, + SmsReceiver, + WebhookReceiver, ItsmReceiver, - LocationThresholdRuleCondition, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, LogicAppReceiver, - LogMetricTrigger, - LogProfileResource, - LogSearchRuleResource, - LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, - MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, + AzureFunctionReceiver, + ArmRoleReceiver, MetricAlertResource, + MetricAlertCriteria, + MetricAlertAction, MetricAlertSingleResourceMultipleMetricCriteria, MetricCriteria, - MetricDimension, - MetricSettings, - MetricTrigger, MultiMetricCriteria, - ProxyOnlyResource, - ProxyResource, - Recurrence, - RecurrentSchedule, - Resource, - RetentionPolicy, - RuleAction, - RuleCondition, - RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, - RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, - SmsReceiver, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + LogSearchRuleResource, Source, - ThresholdRuleCondition, - TimeWindow, + Schedule, + Action, + AlertingAction, + AzNsActionGroup, TriggerCondition, + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, + ProxyResource, VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, - WorkspaceInfo + DataContainer, + WorkspaceInfo, + RuleMetricDataSource, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, + ThresholdRuleCondition, + LocationThresholdRuleCondition, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/activityLogsMappers.ts b/packages/@azure/arm-monitor/lib/models/activityLogsMappers.ts index 80edb96348be..d8566b13f281 100644 --- a/packages/@azure/arm-monitor/lib/models/activityLogsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/activityLogsMappers.ts @@ -1,17 +1,20 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - ErrorResponse, - EventData, EventDataCollection, - HttpRequestInfo, + EventData, + SenderAuthorization, LocalizableString, - SenderAuthorization + HttpRequestInfo, + ErrorResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/alertRuleIncidentsMappers.ts b/packages/@azure/arm-monitor/lib/models/alertRuleIncidentsMappers.ts index 1980277abff7..2b85b971dca6 100644 --- a/packages/@azure/arm-monitor/lib/models/alertRuleIncidentsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/alertRuleIncidentsMappers.ts @@ -1,15 +1,18 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - CloudError, - ErrorResponse, Incident, - IncidentListResult + ErrorResponse, + IncidentListResult, + CloudError } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/alertRulesMappers.ts b/packages/@azure/arm-monitor/lib/models/alertRulesMappers.ts index ebb564bc0f59..6bc1621bff66 100644 --- a/packages/@azure/arm-monitor/lib/models/alertRulesMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/alertRulesMappers.ts @@ -1,88 +1,91 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - Action, - ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, - ActivityLogAlertAllOfCondition, - ActivityLogAlertLeafCondition, - ActivityLogAlertResource, - AlertingAction, AlertRuleResource, - AlertRuleResourceCollection, - AlertRuleResourcePatch, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, - AutoscaleSettingResource, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, + Resource, BaseResource, + RuleCondition, + RuleDataSource, + RuleAction, + ErrorResponse, CloudError, - Criteria, - DataContainer, - DiagnosticSettingsCategoryResource, - DiagnosticSettingsResource, - Dimension, + AlertRuleResourcePatch, + AlertRuleResourceCollection, + AutoscaleSettingResource, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, + MetricTrigger, + ScaleAction, + TimeWindow, + Recurrence, + RecurrentSchedule, + AutoscaleNotification, EmailNotification, - EmailReceiver, - ErrorResponse, - ItsmReceiver, + WebhookNotification, + RuleMetricDataSource, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, + ThresholdRuleCondition, LocationThresholdRuleCondition, - LogicAppReceiver, - LogMetricTrigger, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction, LogProfileResource, - LogSearchRuleResource, + RetentionPolicy, + ProxyOnlyResource, + DiagnosticSettingsResource, + MetricSettings, LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, - MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, + DiagnosticSettingsCategoryResource, + ActionGroupResource, + EmailReceiver, + SmsReceiver, + WebhookReceiver, + ItsmReceiver, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, + LogicAppReceiver, + AzureFunctionReceiver, + ArmRoleReceiver, + ActivityLogAlertResource, + ActivityLogAlertAllOfCondition, + ActivityLogAlertLeafCondition, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, MetricAlertResource, + MetricAlertCriteria, + MetricAlertAction, MetricAlertSingleResourceMultipleMetricCriteria, MetricCriteria, - MetricDimension, - MetricSettings, - MetricTrigger, MultiMetricCriteria, - ProxyOnlyResource, - ProxyResource, - Recurrence, - RecurrentSchedule, - Resource, - RetentionPolicy, - RuleAction, - RuleCondition, - RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, - RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, - SmsReceiver, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + LogSearchRuleResource, Source, - ThresholdRuleCondition, - TimeWindow, + Schedule, + Action, + AlertingAction, + AzNsActionGroup, TriggerCondition, + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, + ProxyResource, VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, + DataContainer, WorkspaceInfo } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/autoscaleSettingsMappers.ts b/packages/@azure/arm-monitor/lib/models/autoscaleSettingsMappers.ts index be88d17158e4..2bc95305002c 100644 --- a/packages/@azure/arm-monitor/lib/models/autoscaleSettingsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/autoscaleSettingsMappers.ts @@ -1,87 +1,90 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - Action, - ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, - ActivityLogAlertAllOfCondition, - ActivityLogAlertLeafCondition, - ActivityLogAlertResource, - AlertingAction, - AlertRuleResource, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, - AutoscaleSettingResource, AutoscaleSettingResourceCollection, - AutoscaleSettingResourcePatch, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, + AutoscaleSettingResource, + Resource, BaseResource, - Criteria, - DataContainer, - DiagnosticSettingsCategoryResource, - DiagnosticSettingsResource, - Dimension, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, + MetricTrigger, + ScaleAction, + TimeWindow, + Recurrence, + RecurrentSchedule, + AutoscaleNotification, EmailNotification, - EmailReceiver, + WebhookNotification, ErrorResponse, - ItsmReceiver, - LocationThresholdRuleCondition, - LogicAppReceiver, - LogMetricTrigger, + AutoscaleSettingResourcePatch, + AlertRuleResource, + RuleCondition, + RuleDataSource, + RuleAction, LogProfileResource, - LogSearchRuleResource, + RetentionPolicy, + ProxyOnlyResource, + DiagnosticSettingsResource, + MetricSettings, LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, - MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, + DiagnosticSettingsCategoryResource, + ActionGroupResource, + EmailReceiver, + SmsReceiver, + WebhookReceiver, + ItsmReceiver, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, + LogicAppReceiver, + AzureFunctionReceiver, + ArmRoleReceiver, + ActivityLogAlertResource, + ActivityLogAlertAllOfCondition, + ActivityLogAlertLeafCondition, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, MetricAlertResource, + MetricAlertCriteria, + MetricAlertAction, MetricAlertSingleResourceMultipleMetricCriteria, MetricCriteria, - MetricDimension, - MetricSettings, - MetricTrigger, MultiMetricCriteria, - ProxyOnlyResource, - ProxyResource, - Recurrence, - RecurrentSchedule, - Resource, - RetentionPolicy, - RuleAction, - RuleCondition, - RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, - RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, - SmsReceiver, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + LogSearchRuleResource, Source, - ThresholdRuleCondition, - TimeWindow, + Schedule, + Action, + AlertingAction, + AzNsActionGroup, TriggerCondition, + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, + ProxyResource, VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, - WorkspaceInfo + DataContainer, + WorkspaceInfo, + RuleMetricDataSource, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, + ThresholdRuleCondition, + LocationThresholdRuleCondition, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/diagnosticSettingsCategoryOperationsMappers.ts b/packages/@azure/arm-monitor/lib/models/diagnosticSettingsCategoryOperationsMappers.ts index 69ea5f6576f6..f07e074b42e6 100644 --- a/packages/@azure/arm-monitor/lib/models/diagnosticSettingsCategoryOperationsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/diagnosticSettingsCategoryOperationsMappers.ts @@ -1,86 +1,89 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - Action, - ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, - ActivityLogAlertAllOfCondition, - ActivityLogAlertLeafCondition, - ActivityLogAlertResource, - AlertingAction, - AlertRuleResource, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, - AutoscaleSettingResource, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, - BaseResource, - Criteria, - DataContainer, DiagnosticSettingsCategoryResource, + ProxyOnlyResource, + BaseResource, + ErrorResponse, DiagnosticSettingsCategoryResourceCollection, - DiagnosticSettingsResource, - Dimension, + Resource, + AutoscaleSettingResource, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, + MetricTrigger, + ScaleAction, + TimeWindow, + Recurrence, + RecurrentSchedule, + AutoscaleNotification, EmailNotification, + WebhookNotification, + AlertRuleResource, + RuleCondition, + RuleDataSource, + RuleAction, + LogProfileResource, + RetentionPolicy, + DiagnosticSettingsResource, + MetricSettings, + LogSettings, + ActionGroupResource, EmailReceiver, - ErrorResponse, + SmsReceiver, + WebhookReceiver, ItsmReceiver, - LocationThresholdRuleCondition, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, LogicAppReceiver, - LogMetricTrigger, - LogProfileResource, - LogSearchRuleResource, - LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, - MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, + AzureFunctionReceiver, + ArmRoleReceiver, + ActivityLogAlertResource, + ActivityLogAlertAllOfCondition, + ActivityLogAlertLeafCondition, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, MetricAlertResource, + MetricAlertCriteria, + MetricAlertAction, MetricAlertSingleResourceMultipleMetricCriteria, MetricCriteria, - MetricDimension, - MetricSettings, - MetricTrigger, MultiMetricCriteria, - ProxyOnlyResource, - ProxyResource, - Recurrence, - RecurrentSchedule, - Resource, - RetentionPolicy, - RuleAction, - RuleCondition, - RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, - RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, - SmsReceiver, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + LogSearchRuleResource, Source, - ThresholdRuleCondition, - TimeWindow, + Schedule, + Action, + AlertingAction, + AzNsActionGroup, TriggerCondition, + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, + ProxyResource, VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, - WorkspaceInfo + DataContainer, + WorkspaceInfo, + RuleMetricDataSource, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, + ThresholdRuleCondition, + LocationThresholdRuleCondition, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/diagnosticSettingsOperationsMappers.ts b/packages/@azure/arm-monitor/lib/models/diagnosticSettingsOperationsMappers.ts index ce2aa63c0e1e..863aeb561391 100644 --- a/packages/@azure/arm-monitor/lib/models/diagnosticSettingsOperationsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/diagnosticSettingsOperationsMappers.ts @@ -1,86 +1,89 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - Action, - ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, - ActivityLogAlertAllOfCondition, - ActivityLogAlertLeafCondition, - ActivityLogAlertResource, - AlertingAction, - AlertRuleResource, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, - AutoscaleSettingResource, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, - BaseResource, - Criteria, - DataContainer, - DiagnosticSettingsCategoryResource, DiagnosticSettingsResource, + ProxyOnlyResource, + BaseResource, + MetricSettings, + RetentionPolicy, + LogSettings, + ErrorResponse, DiagnosticSettingsResourceCollection, - Dimension, + Resource, + AutoscaleSettingResource, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, + MetricTrigger, + ScaleAction, + TimeWindow, + Recurrence, + RecurrentSchedule, + AutoscaleNotification, EmailNotification, + WebhookNotification, + AlertRuleResource, + RuleCondition, + RuleDataSource, + RuleAction, + LogProfileResource, + DiagnosticSettingsCategoryResource, + ActionGroupResource, EmailReceiver, - ErrorResponse, + SmsReceiver, + WebhookReceiver, ItsmReceiver, - LocationThresholdRuleCondition, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, LogicAppReceiver, - LogMetricTrigger, - LogProfileResource, - LogSearchRuleResource, - LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, - MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, + AzureFunctionReceiver, + ArmRoleReceiver, + ActivityLogAlertResource, + ActivityLogAlertAllOfCondition, + ActivityLogAlertLeafCondition, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, MetricAlertResource, + MetricAlertCriteria, + MetricAlertAction, MetricAlertSingleResourceMultipleMetricCriteria, MetricCriteria, - MetricDimension, - MetricSettings, - MetricTrigger, MultiMetricCriteria, - ProxyOnlyResource, - ProxyResource, - Recurrence, - RecurrentSchedule, - Resource, - RetentionPolicy, - RuleAction, - RuleCondition, - RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, - RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, - SmsReceiver, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + LogSearchRuleResource, Source, - ThresholdRuleCondition, - TimeWindow, + Schedule, + Action, + AlertingAction, + AzNsActionGroup, TriggerCondition, + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, + ProxyResource, VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, - WorkspaceInfo + DataContainer, + WorkspaceInfo, + RuleMetricDataSource, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, + ThresholdRuleCondition, + LocationThresholdRuleCondition, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/eventCategoriesMappers.ts b/packages/@azure/arm-monitor/lib/models/eventCategoriesMappers.ts index 3be0e41dbda8..4245939c2192 100644 --- a/packages/@azure/arm-monitor/lib/models/eventCategoriesMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/eventCategoriesMappers.ts @@ -1,14 +1,17 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - ErrorResponse, EventCategoryCollection, - LocalizableString + LocalizableString, + ErrorResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/index.ts b/packages/@azure/arm-monitor/lib/models/index.ts index 096f4fbf24f4..1ad81771314c 100644 --- a/packages/@azure/arm-monitor/lib/models/index.ts +++ b/packages/@azure/arm-monitor/lib/models/index.ts @@ -1,9 +1,11 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -11,485 +13,613 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; + /** + * @interface + * An interface representing Resource. * An azure resource object + * + * @extends BaseResource */ export interface Resource extends BaseResource { /** - * Azure resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [id] Azure resource Id + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly id?: string; /** - * Azure resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] Azure resource name + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * Azure resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [type] Azure resource type + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly type?: string; /** - * Resource location + * @member {string} location Resource location */ location: string; /** - * Resource tags + * @member {{ [propertyName: string]: string }} [tags] Resource tags */ tags?: { [propertyName: string]: string }; } /** + * @interface + * An interface representing ScaleCapacity. * The number of instances that can be used during this profile. + * */ export interface ScaleCapacity { /** - * the minimum number of instances for the resource. + * @member {string} minimum the minimum number of instances for the resource. */ minimum: string; /** - * the maximum number of instances for the resource. The actual maximum number of instances is - * limited by the cores that are available in the subscription. + * @member {string} maximum the maximum number of instances for the resource. + * The actual maximum number of instances is limited by the cores that are + * available in the subscription. */ maximum: string; /** - * the number of instances that will be set if metrics are not available for evaluation. The - * default is only used if the current instance count is lower than the default. + * @member {string} default the number of instances that will be set if + * metrics are not available for evaluation. The default is only used if the + * current instance count is lower than the default. */ default: string; } /** + * @interface + * An interface representing MetricTrigger. * The trigger that results in a scaling action. + * */ export interface MetricTrigger { /** - * the name of the metric that defines what the rule monitors. + * @member {string} metricName the name of the metric that defines what the + * rule monitors. */ metricName: string; /** - * the resource identifier of the resource the rule monitors. + * @member {string} metricResourceUri the resource identifier of the resource + * the rule monitors. */ metricResourceUri: string; /** - * the granularity of metrics the rule monitors. Must be one of the predefined values returned - * from metric definitions for the metric. Must be between 12 hours and 1 minute. + * @member {string} timeGrain the granularity of metrics the rule monitors. + * Must be one of the predefined values returned from metric definitions for + * the metric. Must be between 12 hours and 1 minute. */ timeGrain: string; /** - * the metric statistic type. How the metrics from multiple instances are combined. Possible - * values include: 'Average', 'Min', 'Max', 'Sum' + * @member {MetricStatisticType} statistic the metric statistic type. How the + * metrics from multiple instances are combined. Possible values include: + * 'Average', 'Min', 'Max', 'Sum' */ statistic: MetricStatisticType; /** - * the range of time in which instance data is collected. This value must be greater than the - * delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours - * and 5 minutes. + * @member {string} timeWindow the range of time in which instance data is + * collected. This value must be greater than the delay in metric collection, + * which can vary from resource-to-resource. Must be between 12 hours and 5 + * minutes. */ timeWindow: string; /** - * time aggregation type. How the data that is collected should be combined over time. The - * default value is Average. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', - * 'Count', 'Last' + * @member {TimeAggregationType} timeAggregation time aggregation type. How + * the data that is collected should be combined over time. The default value + * is Average. Possible values include: 'Average', 'Minimum', 'Maximum', + * 'Total', 'Count', 'Last' */ timeAggregation: TimeAggregationType; /** - * the operator that is used to compare the metric data and the threshold. Possible values - * include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', + * @member {ComparisonOperationType} operator the operator that is used to + * compare the metric data and the threshold. Possible values include: + * 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', * 'LessThanOrEqual' */ operator: ComparisonOperationType; /** - * the threshold of the metric that triggers the scale action. + * @member {number} threshold the threshold of the metric that triggers the + * scale action. */ threshold: number; } /** + * @interface + * An interface representing ScaleAction. * The parameters for the scaling action. + * */ export interface ScaleAction { /** - * the scale direction. Whether the scaling action increases or decreases the number of - * instances. Possible values include: 'None', 'Increase', 'Decrease' + * @member {ScaleDirection} direction the scale direction. Whether the + * scaling action increases or decreases the number of instances. Possible + * values include: 'None', 'Increase', 'Decrease' */ direction: ScaleDirection; /** - * the type of action that should occur when the scale rule fires. Possible values include: - * 'ChangeCount', 'PercentChangeCount', 'ExactCount' + * @member {ScaleType} type the type of action that should occur when the + * scale rule fires. Possible values include: 'ChangeCount', + * 'PercentChangeCount', 'ExactCount' */ type: ScaleType; /** - * the number of instances that are involved in the scaling action. This value must be 1 or - * greater. The default value is 1. Default value: '1'. + * @member {string} [value] the number of instances that are involved in the + * scaling action. This value must be 1 or greater. The default value is 1. + * Default value: '1' . */ value?: string; /** - * the amount of time to wait since the last scaling action before this action occurs. It must be - * between 1 week and 1 minute in ISO 8601 format. + * @member {string} cooldown the amount of time to wait since the last + * scaling action before this action occurs. It must be between 1 week and 1 + * minute in ISO 8601 format. */ cooldown: string; } /** + * @interface + * An interface representing ScaleRule. * A rule that provide the triggers and parameters for the scaling action. + * */ export interface ScaleRule { /** - * the trigger that results in a scaling action. + * @member {MetricTrigger} metricTrigger the trigger that results in a + * scaling action. */ metricTrigger: MetricTrigger; /** - * the parameters for the scaling action. + * @member {ScaleAction} scaleAction the parameters for the scaling action. */ scaleAction: ScaleAction; } /** + * @interface + * An interface representing TimeWindow. * A specific date-time for the profile. + * */ export interface TimeWindow { /** - * the timezone of the start and end times for the profile. Some examples of valid time zones - * are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific - * Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard - * Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, - * Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, - * Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard - * Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, - * Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, - * Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo - * Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, - * Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard - * Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central - * European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan - * Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria - * Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey - * Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic - * Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa - * Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia - * Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, - * Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan - * Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia - * Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, - * SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard - * Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar - * Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia - * Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard - * Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok - * Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New - * Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard + * @member {string} [timeZone] the timezone of the start and end times for + * the profile. Some examples of valid time zones are: Dateline Standard + * Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific + * Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, + * Mountain Standard Time (Mexico), Mountain Standard Time, Central America + * Standard Time, Central Standard Time, Central Standard Time (Mexico), + * Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard + * Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard + * Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western + * Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. + * South America Standard Time, Argentina Standard Time, SA Eastern Standard + * Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard + * Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde + * Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich + * Standard Time, W. Europe Standard Time, Central Europe Standard Time, + * Romance Standard Time, Central European Standard Time, W. Central Africa + * Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard + * Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, + * E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, + * Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, + * Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus + * Standard Time, Russian Standard Time, E. Africa Standard Time, Iran + * Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia + * Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus + * Standard Time, Afghanistan Standard Time, West Asia Standard Time, + * Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, + * Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, + * Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard + * Time, SE Asia Standard Time, North Asia Standard Time, China Standard + * Time, North Asia East Standard Time, Singapore Standard Time, W. Australia + * Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo + * Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia + * Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS + * Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, + * Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, + * Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard + * Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard * Time, Samoa Standard Time, Line Islands Standard Time */ timeZone?: string; /** - * the start time for the profile in ISO 8601 format. + * @member {Date} start the start time for the profile in ISO 8601 format. */ start: Date; /** - * the end time for the profile in ISO 8601 format. + * @member {Date} end the end time for the profile in ISO 8601 format. */ end: Date; } /** + * @interface + * An interface representing RecurrentSchedule. * The scheduling constraints for when the profile begins. + * */ export interface RecurrentSchedule { /** - * the timezone for the hours of the profile. Some examples of valid time zones are: Dateline - * Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time - * (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), - * Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard - * Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, - * US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard - * Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, - * Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA - * Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, - * UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco - * Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, - * Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. - * Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, - * Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, - * South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, - * Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, - * Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, - * Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, - * Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard - * Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka - * Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. - * Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard - * Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. - * Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, - * Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard - * Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, - * Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, - * Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji - * Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands - * Standard Time + * @member {string} timeZone the timezone for the hours of the profile. Some + * examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian + * Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), + * Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time + * (Mexico), Mountain Standard Time, Central America Standard Time, Central + * Standard Time, Central Standard Time (Mexico), Canada Central Standard + * Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard + * Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard + * Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific + * SA Standard Time, Newfoundland Standard Time, E. South America Standard + * Time, Argentina Standard Time, SA Eastern Standard Time, Greenland + * Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, + * Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard + * Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard + * Time, W. Europe Standard Time, Central Europe Standard Time, Romance + * Standard Time, Central European Standard Time, W. Central Africa Standard + * Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, + * Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. + * Europe Standard Time, South Africa Standard Time, FLE Standard Time, + * Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, + * Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus + * Standard Time, Russian Standard Time, E. Africa Standard Time, Iran + * Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia + * Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus + * Standard Time, Afghanistan Standard Time, West Asia Standard Time, + * Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, + * Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, + * Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard + * Time, SE Asia Standard Time, North Asia Standard Time, China Standard + * Time, North Asia East Standard Time, Singapore Standard Time, W. Australia + * Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo + * Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia + * Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS + * Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, + * Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, + * Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard + * Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard + * Time, Samoa Standard Time, Line Islands Standard Time */ timeZone: string; /** - * the collection of days that the profile takes effect on. Possible values are Sunday through - * Saturday. + * @member {string[]} days the collection of days that the profile takes + * effect on. Possible values are Sunday through Saturday. */ days: string[]; /** - * A collection of hours that the profile takes effect on. Values supported are 0 to 23 on the - * 24-hour clock (AM/PM times are not supported). + * @member {number[]} hours A collection of hours that the profile takes + * effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times + * are not supported). */ hours: number[]; /** - * A collection of minutes at which the profile takes effect at. + * @member {number[]} minutes A collection of minutes at which the profile + * takes effect at. */ minutes: number[]; } /** - * The repeating times at which this profile begins. This element is not used if the FixedDate - * element is used. + * @interface + * An interface representing Recurrence. + * The repeating times at which this profile begins. This element is not used + * if the FixedDate element is used. + * */ export interface Recurrence { /** - * the recurrence frequency. How often the schedule profile should take effect. This value must - * be Week, meaning each week will have the same set of profiles. For example, to set a daily - * schedule, set **schedule** to every day of the week. The frequency property specifies that the - * schedule is repeated weekly. Possible values include: 'None', 'Second', 'Minute', 'Hour', - * 'Day', 'Week', 'Month', 'Year' + * @member {RecurrenceFrequency} frequency the recurrence frequency. How + * often the schedule profile should take effect. This value must be Week, + * meaning each week will have the same set of profiles. For example, to set + * a daily schedule, set **schedule** to every day of the week. The frequency + * property specifies that the schedule is repeated weekly. Possible values + * include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', + * 'Year' */ frequency: RecurrenceFrequency; /** - * the scheduling constraints for when the profile begins. + * @member {RecurrentSchedule} schedule the scheduling constraints for when + * the profile begins. */ schedule: RecurrentSchedule; } /** + * @interface + * An interface representing AutoscaleProfile. * Autoscale profile. + * */ export interface AutoscaleProfile { /** - * the name of the profile. + * @member {string} name the name of the profile. */ name: string; /** - * the number of instances that can be used during this profile. + * @member {ScaleCapacity} capacity the number of instances that can be used + * during this profile. */ capacity: ScaleCapacity; /** - * the collection of rules that provide the triggers and parameters for the scaling action. A - * maximum of 10 rules can be specified. + * @member {ScaleRule[]} rules the collection of rules that provide the + * triggers and parameters for the scaling action. A maximum of 10 rules can + * be specified. */ rules: ScaleRule[]; /** - * the specific date-time for the profile. This element is not used if the Recurrence element is - * used. + * @member {TimeWindow} [fixedDate] the specific date-time for the profile. + * This element is not used if the Recurrence element is used. */ fixedDate?: TimeWindow; /** - * the repeating times at which this profile begins. This element is not used if the FixedDate - * element is used. + * @member {Recurrence} [recurrence] the repeating times at which this + * profile begins. This element is not used if the FixedDate element is used. */ recurrence?: Recurrence; } /** + * @interface + * An interface representing EmailNotification. * Email notification of an autoscale event. + * */ export interface EmailNotification { /** - * a value indicating whether to send email to subscription administrator. + * @member {boolean} [sendToSubscriptionAdministrator] a value indicating + * whether to send email to subscription administrator. */ sendToSubscriptionAdministrator?: boolean; /** - * a value indicating whether to send email to subscription co-administrators. + * @member {boolean} [sendToSubscriptionCoAdministrators] a value indicating + * whether to send email to subscription co-administrators. */ sendToSubscriptionCoAdministrators?: boolean; /** - * the custom e-mails list. This value can be null or empty, in which case this attribute will be - * ignored. + * @member {string[]} [customEmails] the custom e-mails list. This value can + * be null or empty, in which case this attribute will be ignored. */ customEmails?: string[]; } /** + * @interface + * An interface representing WebhookNotification. * Webhook notification of an autoscale event. + * */ export interface WebhookNotification { /** - * the service address to receive the notification. + * @member {string} [serviceUri] the service address to receive the + * notification. */ serviceUri?: string; /** - * a property bag of settings. This value can be empty. + * @member {{ [propertyName: string]: string }} [properties] a property bag + * of settings. This value can be empty. */ properties?: { [propertyName: string]: string }; } /** + * @interface + * An interface representing AutoscaleNotification. * Autoscale notification. + * */ export interface AutoscaleNotification { /** - * the email notification. + * @member {EmailNotification} [email] the email notification. */ email?: EmailNotification; /** - * the collection of webhook notifications. + * @member {WebhookNotification[]} [webhooks] the collection of webhook + * notifications. */ webhooks?: WebhookNotification[]; } /** + * @interface + * An interface representing AutoscaleSettingResource. * The autoscale setting resource. + * + * @extends Resource */ export interface AutoscaleSettingResource extends Resource { /** - * the collection of automatic scaling profiles that specify different scaling parameters for - * different time periods. A maximum of 20 profiles can be specified. + * @member {AutoscaleProfile[]} profiles the collection of automatic scaling + * profiles that specify different scaling parameters for different time + * periods. A maximum of 20 profiles can be specified. */ profiles: AutoscaleProfile[]; /** - * the collection of notifications. + * @member {AutoscaleNotification[]} [notifications] the collection of + * notifications. */ notifications?: AutoscaleNotification[]; /** - * the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default - * value is 'true'. Default value: true. + * @member {boolean} [enabled] the enabled flag. Specifies whether automatic + * scaling is enabled for the resource. The default value is 'true'. Default + * value: true . */ enabled?: boolean; /** - * the name of the autoscale setting. + * @member {string} [autoscaleSettingResourceName] the name of the autoscale + * setting. */ autoscaleSettingResourceName?: string; /** - * the resource identifier of the resource that the autoscale setting should be added to. + * @member {string} [targetResourceUri] the resource identifier of the + * resource that the autoscale setting should be added to. */ targetResourceUri?: string; } /** + * @interface + * An interface representing AutoscaleSettingResourcePatch. * The autoscale setting object for patch operations. + * */ export interface AutoscaleSettingResourcePatch { /** - * Resource tags + * @member {{ [propertyName: string]: string }} [tags] Resource tags */ tags?: { [propertyName: string]: string }; /** - * the collection of automatic scaling profiles that specify different scaling parameters for - * different time periods. A maximum of 20 profiles can be specified. + * @member {AutoscaleProfile[]} profiles the collection of automatic scaling + * profiles that specify different scaling parameters for different time + * periods. A maximum of 20 profiles can be specified. */ profiles: AutoscaleProfile[]; /** - * the collection of notifications. + * @member {AutoscaleNotification[]} [notifications] the collection of + * notifications. */ notifications?: AutoscaleNotification[]; /** - * the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default - * value is 'true'. Default value: true. + * @member {boolean} [enabled] the enabled flag. Specifies whether automatic + * scaling is enabled for the resource. The default value is 'true'. Default + * value: true . */ enabled?: boolean; /** - * the name of the autoscale setting. + * @member {string} [name] the name of the autoscale setting. */ name?: string; /** - * the resource identifier of the resource that the autoscale setting should be added to. + * @member {string} [targetResourceUri] the resource identifier of the + * resource that the autoscale setting should be added to. */ targetResourceUri?: string; } /** + * @interface + * An interface representing ErrorResponse. * Describes the format of Error response. + * */ export interface ErrorResponse { /** - * Error code + * @member {string} [code] Error code */ code?: string; /** - * Error message indicating why the operation failed. + * @member {string} [message] Error message indicating why the operation + * failed. */ message?: string; } /** + * @interface + * An interface representing OperationDisplay. * Display metadata associated with the operation. + * */ export interface OperationDisplay { /** - * Service provider: Microsoft.Insights + * @member {string} [provider] Service provider: Microsoft.Insights */ provider?: string; /** - * Resource on which the operation is performed: AlertRules, Autoscale, etc. + * @member {string} [resource] Resource on which the operation is performed: + * AlertRules, Autoscale, etc. */ resource?: string; /** - * Operation type: Read, write, delete, etc. + * @member {string} [operation] Operation type: Read, write, delete, etc. */ operation?: string; } /** + * @interface + * An interface representing Operation. * Microsoft Insights API operation definition. + * */ export interface Operation { /** - * Operation name: {provider}/{resource}/{operation} + * @member {string} [name] Operation name: {provider}/{resource}/{operation} */ name?: string; /** - * Display metadata associated with the operation. + * @member {OperationDisplay} [display] Display metadata associated with the + * operation. */ display?: OperationDisplay; } /** - * 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. + * @interface + * An interface representing OperationListResult. + * 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. + * */ export interface OperationListResult { /** - * List of operations supported by the Microsoft.Insights provider. + * @member {Operation[]} [value] List of operations supported by the + * Microsoft.Insights provider. */ value?: Operation[]; /** - * URL to get the next set of operation list results if there are any. + * @member {string} [nextLink] URL to get the next set of operation list + * results if there are any. */ nextLink?: string; } /** + * @interface + * An interface representing Incident. * An alert incident indicates the activation status of an alert rule. + * */ export interface Incident { /** - * Incident name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] Incident name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * Rule name that is associated with the incident. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [ruleName] Rule name that is associated with the + * incident. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly ruleName?: string; /** - * A boolean to indicate whether the incident is active or resolved. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {boolean} [isActive] A boolean to indicate whether the incident is + * active or resolved. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly isActive?: boolean; /** - * The time at which the incident was activated in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [activatedTime] The time at which the incident was + * activated in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly activatedTime?: Date; /** - * The time at which the incident was resolved in ISO8601 format. If null, it means the incident - * is still active. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [resolvedTime] The time at which the incident was resolved + * in ISO8601 format. If null, it means the incident is still active. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resolvedTime?: Date; } @@ -500,16 +630,20 @@ export interface Incident { export type RuleDataSourceUnion = RuleDataSource | RuleMetricDataSource | RuleManagementEventDataSource; /** + * @interface + * An interface representing RuleDataSource. * The resource from which the rule collects its data. + * */ export interface RuleDataSource { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "RuleDataSource"; /** - * the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be - * updated for an existing rule. + * @member {string} [resourceUri] the resource identifier of the resource the + * rule monitors. **NOTE**: this property cannot be updated for an existing + * rule. */ resourceUri?: string; } @@ -520,199 +654,239 @@ export interface RuleDataSource { export type RuleConditionUnion = RuleCondition | ThresholdRuleCondition | LocationThresholdRuleCondition | ManagementEventRuleCondition; /** + * @interface + * An interface representing RuleCondition. * The condition that results in the alert rule being activated. + * */ export interface RuleCondition { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "RuleCondition"; /** - * the resource from which the rule collects its data. For this type dataSource will always be of - * type RuleMetricDataSource. + * @member {RuleDataSourceUnion} [dataSource] the resource from which the + * rule collects its data. For this type dataSource will always be of type + * RuleMetricDataSource. */ dataSource?: RuleDataSourceUnion; } /** - * A rule metric data source. The discriminator value is always RuleMetricDataSource in this case. + * @interface + * An interface representing RuleMetricDataSource. + * A rule metric data source. The discriminator value is always + * RuleMetricDataSource in this case. + * */ export interface RuleMetricDataSource { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"; /** - * the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be - * updated for an existing rule. + * @member {string} [resourceUri] the resource identifier of the resource the + * rule monitors. **NOTE**: this property cannot be updated for an existing + * rule. */ resourceUri?: string; /** - * the name of the metric that defines what the rule monitors. + * @member {string} [metricName] the name of the metric that defines what the + * rule monitors. */ metricName?: string; } /** + * @interface + * An interface representing RuleManagementEventClaimsDataSource. * The claims for a rule management event data source. + * */ export interface RuleManagementEventClaimsDataSource { /** - * the email address. + * @member {string} [emailAddress] the email address. */ emailAddress?: string; } /** + * @interface + * An interface representing RuleManagementEventDataSource. * A rule management event data source. The discriminator fields is always * RuleManagementEventDataSource in this case. + * */ export interface RuleManagementEventDataSource { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"; /** - * the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be - * updated for an existing rule. + * @member {string} [resourceUri] the resource identifier of the resource the + * rule monitors. **NOTE**: this property cannot be updated for an existing + * rule. */ resourceUri?: string; /** - * the event name. + * @member {string} [eventName] the event name. */ eventName?: string; /** - * the event source. + * @member {string} [eventSource] the event source. */ eventSource?: string; /** - * the level. + * @member {string} [level] the level. */ level?: string; /** - * The name of the operation that should be checked for. If no name is provided, any operation - * will match. + * @member {string} [operationName] The name of the operation that should be + * checked for. If no name is provided, any operation will match. */ operationName?: string; /** - * the resource group name. + * @member {string} [resourceGroupName] the resource group name. */ resourceGroupName?: string; /** - * the resource provider name. + * @member {string} [resourceProviderName] the resource provider name. */ resourceProviderName?: string; /** - * The status of the operation that should be checked for. If no status is provided, any status - * will match. + * @member {string} [status] The status of the operation that should be + * checked for. If no status is provided, any status will match. */ status?: string; /** - * the substatus. + * @member {string} [subStatus] the substatus. */ subStatus?: string; /** - * the claims. + * @member {RuleManagementEventClaimsDataSource} [claims] the claims. */ claims?: RuleManagementEventClaimsDataSource; } /** + * @interface + * An interface representing ThresholdRuleCondition. * A rule condition based on a metric crossing a threshold. + * */ export interface ThresholdRuleCondition { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"; /** - * the resource from which the rule collects its data. For this type dataSource will always be of - * type RuleMetricDataSource. + * @member {RuleDataSourceUnion} [dataSource] the resource from which the + * rule collects its data. For this type dataSource will always be of type + * RuleMetricDataSource. */ dataSource?: RuleDataSourceUnion; /** - * the operator used to compare the data and the threshold. Possible values include: - * 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual' + * @member {ConditionOperator} operator the operator used to compare the data + * and the threshold. Possible values include: 'GreaterThan', + * 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual' */ operator: ConditionOperator; /** - * the threshold value that activates the alert. + * @member {number} threshold the threshold value that activates the alert. */ threshold: number; /** - * 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. + * @member {string} [windowSize] 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. */ windowSize?: string; /** - * the time aggregation operator. How the data that are collected should be combined over time. - * The default value is the PrimaryAggregationType of the Metric. Possible values include: - * 'Average', 'Minimum', 'Maximum', 'Total', 'Last' + * @member {TimeAggregationOperator} [timeAggregation] the time aggregation + * operator. How the data that are collected should be combined over time. + * The default value is the PrimaryAggregationType of the Metric. Possible + * values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Last' */ timeAggregation?: TimeAggregationOperator; } /** + * @interface + * An interface representing LocationThresholdRuleCondition. * A rule condition based on a certain number of locations failing. + * */ export interface LocationThresholdRuleCondition { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"; /** - * the resource from which the rule collects its data. For this type dataSource will always be of - * type RuleMetricDataSource. + * @member {RuleDataSourceUnion} [dataSource] the resource from which the + * rule collects its data. For this type dataSource will always be of type + * RuleMetricDataSource. */ dataSource?: RuleDataSourceUnion; /** - * 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. + * @member {string} [windowSize] 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. */ windowSize?: string; /** - * the number of locations that must fail to activate the alert. + * @member {number} failedLocationCount the number of locations that must + * fail to activate the alert. */ failedLocationCount: number; } /** + * @interface + * An interface representing ManagementEventAggregationCondition. * How the data that is collected should be combined over time. + * */ export interface ManagementEventAggregationCondition { /** - * the condition operator. Possible values include: 'GreaterThan', 'GreaterThanOrEqual', - * 'LessThan', 'LessThanOrEqual' + * @member {ConditionOperator} [operator] the condition operator. Possible + * values include: 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', + * 'LessThanOrEqual' */ operator?: ConditionOperator; /** - * The threshold value that activates the alert. + * @member {number} [threshold] The threshold value that activates the alert. */ threshold?: number; /** - * 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. + * @member {string} [windowSize] 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. */ windowSize?: string; } /** + * @interface + * An interface representing ManagementEventRuleCondition. * A management event rule condition. + * */ export interface ManagementEventRuleCondition { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"; /** - * the resource from which the rule collects its data. For this type dataSource will always be of - * type RuleMetricDataSource. + * @member {RuleDataSourceUnion} [dataSource] the resource from which the + * rule collects its data. For this type dataSource will always be of type + * RuleMetricDataSource. */ dataSource?: RuleDataSourceUnion; /** - * 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. + * @member {ManagementEventAggregationCondition} [aggregation] 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. */ aggregation?: ManagementEventAggregationCondition; } @@ -723,1236 +897,1553 @@ export interface ManagementEventRuleCondition { export type RuleActionUnion = RuleAction | RuleEmailAction | RuleWebhookAction; /** - * The action that is performed when the alert rule becomes active, and when an alert condition is - * resolved. + * @interface + * An interface representing RuleAction. + * The action that is performed when the alert rule becomes active, and when an + * alert condition is resolved. + * */ export interface RuleAction { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "RuleAction"; } /** - * Specifies the action to send email when the rule condition is evaluated. The discriminator is - * always RuleEmailAction in this case. + * @interface + * An interface representing RuleEmailAction. + * Specifies the action to send email when the rule condition is evaluated. The + * discriminator is always RuleEmailAction in this case. + * */ export interface RuleEmailAction { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction"; /** - * Whether the administrators (service and co-administrators) of the service should be notified - * when the alert is activated. + * @member {boolean} [sendToServiceOwners] Whether the administrators + * (service and co-administrators) of the service should be notified when the + * alert is activated. */ sendToServiceOwners?: boolean; /** - * the list of administrator's custom email addresses to notify of the activation of the alert. + * @member {string[]} [customEmails] the list of administrator's custom email + * addresses to notify of the activation of the alert. */ customEmails?: string[]; } /** - * Specifies the action to post to service when the rule condition is evaluated. The discriminator - * is always RuleWebhookAction in this case. + * @interface + * An interface representing RuleWebhookAction. + * Specifies the action to post to service when the rule condition is + * evaluated. The discriminator is always RuleWebhookAction in this case. + * */ export interface RuleWebhookAction { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"; /** - * the service uri to Post the notification when the alert activates or resolves. + * @member {string} [serviceUri] the service uri to Post the notification + * when the alert activates or resolves. */ serviceUri?: string; /** - * the dictionary of custom properties to include with the post operation. These data are + * @member {{ [propertyName: string]: string }} [properties] the dictionary + * of custom properties to include with the post operation. These data are * appended to the webhook payload. */ properties?: { [propertyName: string]: string }; } /** + * @interface + * An interface representing AlertRuleResource. * The alert rule resource. + * + * @extends Resource */ export interface AlertRuleResource extends Resource { /** - * the name of the alert rule. + * @member {string} alertRuleResourceName the name of the alert rule. */ alertRuleResourceName: string; /** - * the description of the alert rule that will be included in the alert email. + * @member {string} [description] the description of the alert rule that will + * be included in the alert email. */ description?: string; /** - * the flag that indicates whether the alert rule is enabled. + * @member {boolean} isEnabled the flag that indicates whether the alert rule + * is enabled. */ isEnabled: boolean; /** - * the condition that results in the alert rule being activated. + * @member {RuleConditionUnion} condition the condition that results in the + * alert rule being activated. */ condition: RuleConditionUnion; /** - * the array of actions that are performed when the alert rule becomes active, and when an alert - * condition is resolved. + * @member {RuleActionUnion[]} [actions] the array of actions that are + * performed when the alert rule becomes active, and when an alert condition + * is resolved. */ actions?: RuleActionUnion[]; /** - * Last time the rule was updated in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastUpdatedTime] Last time the rule was updated in ISO8601 + * format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastUpdatedTime?: Date; } /** + * @interface + * An interface representing AlertRuleResourcePatch. * The alert rule object for patch operations. + * */ export interface AlertRuleResourcePatch { /** - * Resource tags + * @member {{ [propertyName: string]: string }} [tags] Resource tags */ tags?: { [propertyName: string]: string }; /** - * the name of the alert rule. + * @member {string} name the name of the alert rule. */ name: string; /** - * the description of the alert rule that will be included in the alert email. + * @member {string} [description] the description of the alert rule that will + * be included in the alert email. */ description?: string; /** - * the flag that indicates whether the alert rule is enabled. + * @member {boolean} isEnabled the flag that indicates whether the alert rule + * is enabled. */ isEnabled: boolean; /** - * the condition that results in the alert rule being activated. + * @member {RuleConditionUnion} condition the condition that results in the + * alert rule being activated. */ condition: RuleConditionUnion; /** - * the array of actions that are performed when the alert rule becomes active, and when an alert - * condition is resolved. + * @member {RuleActionUnion[]} [actions] the array of actions that are + * performed when the alert rule becomes active, and when an alert condition + * is resolved. */ actions?: RuleActionUnion[]; /** - * Last time the rule was updated in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastUpdatedTime] Last time the rule was updated in ISO8601 + * format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastUpdatedTime?: Date; } /** + * @interface + * An interface representing RetentionPolicy. * Specifies the retention policy for the log. + * */ export interface RetentionPolicy { /** - * a value indicating whether the retention policy is enabled. + * @member {boolean} enabled a value indicating whether the retention policy + * is enabled. */ enabled: boolean; /** - * the number of days for the retention in days. A value of 0 will retain the events - * indefinitely. + * @member {number} days the number of days for the retention in days. A + * value of 0 will retain the events indefinitely. */ days: number; } /** + * @interface + * An interface representing LogProfileResource. * The log profile resource. + * + * @extends Resource */ export interface LogProfileResource extends Resource { /** - * the resource id of the storage account to which you would like to send the Activity Log. + * @member {string} [storageAccountId] the resource id of the storage account + * to which you would like to send the Activity Log. */ storageAccountId?: string; /** - * 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 + * @member {string} [serviceBusRuleId] 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}'. */ serviceBusRuleId?: string; /** - * 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. + * @member {string[]} locations 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. */ locations: string[]; /** - * the categories of the logs. These categories are created as is convenient to the user. Some - * values are: 'Write', 'Delete', and/or 'Action.' + * @member {string[]} categories the categories of the logs. These categories + * are created as is convenient to the user. Some values are: 'Write', + * 'Delete', and/or 'Action.' */ categories: string[]; /** - * the retention policy for the events in the log. + * @member {RetentionPolicy} retentionPolicy the retention policy for the + * events in the log. */ retentionPolicy: RetentionPolicy; } /** + * @interface + * An interface representing LogProfileResourcePatch. * The log profile resource for patch operations. + * */ export interface LogProfileResourcePatch { /** - * Resource tags + * @member {{ [propertyName: string]: string }} [tags] Resource tags */ tags?: { [propertyName: string]: string }; /** - * the resource id of the storage account to which you would like to send the Activity Log. + * @member {string} [storageAccountId] the resource id of the storage account + * to which you would like to send the Activity Log. */ storageAccountId?: string; /** - * 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 + * @member {string} [serviceBusRuleId] 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}'. */ serviceBusRuleId?: string; /** - * 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. + * @member {string[]} locations 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. */ locations: string[]; /** - * the categories of the logs. These categories are created as is convenient to the user. Some - * values are: 'Write', 'Delete', and/or 'Action.' + * @member {string[]} categories the categories of the logs. These categories + * are created as is convenient to the user. Some values are: 'Write', + * 'Delete', and/or 'Action.' */ categories: string[]; /** - * the retention policy for the events in the log. + * @member {RetentionPolicy} retentionPolicy the retention policy for the + * events in the log. */ retentionPolicy: RetentionPolicy; } /** + * @interface + * An interface representing ProxyOnlyResource. * A proxy only azure resource object + * + * @extends BaseResource */ export interface ProxyOnlyResource extends BaseResource { /** - * Azure resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [id] Azure resource Id + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly id?: string; /** - * Azure resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] Azure resource name + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * Azure resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [type] Azure resource type + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly type?: string; } /** - * Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. + * @interface + * An interface representing MetricSettings. + * Part of MultiTenantDiagnosticSettings. Specifies the settings for a + * particular metric. + * */ export interface MetricSettings { /** - * the timegrain of the metric in ISO8601 format. + * @member {string} [timeGrain] the timegrain of the metric in ISO8601 + * format. */ timeGrain?: string; /** - * Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain - * the list of Diagnostic metric categories for a resource, first perform a GET diagnostic - * settings operation. + * @member {string} [category] Name of a Diagnostic Metric category for a + * resource type this setting is applied to. To obtain the list of Diagnostic + * metric categories for a resource, first perform a GET diagnostic settings + * operation. */ category?: string; /** - * a value indicating whether this category is enabled. + * @member {boolean} enabled a value indicating whether this category is + * enabled. */ enabled: boolean; /** - * the retention policy for this category. + * @member {RetentionPolicy} [retentionPolicy] the retention policy for this + * category. */ retentionPolicy?: RetentionPolicy; } /** - * Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. + * @interface + * An interface representing LogSettings. + * Part of MultiTenantDiagnosticSettings. Specifies the settings for a + * particular log. + * */ export interface LogSettings { /** - * 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 + * @member {string} [category] 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. */ category?: string; /** - * a value indicating whether this log is enabled. + * @member {boolean} enabled a value indicating whether this log is enabled. */ enabled: boolean; /** - * the retention policy for this log. + * @member {RetentionPolicy} [retentionPolicy] the retention policy for this + * log. */ retentionPolicy?: RetentionPolicy; } /** + * @interface + * An interface representing DiagnosticSettingsResource. * The diagnostic setting resource. + * + * @extends ProxyOnlyResource */ export interface DiagnosticSettingsResource extends ProxyOnlyResource { /** - * The resource ID of the storage account to which you would like to send Diagnostic Logs. + * @member {string} [storageAccountId] The resource ID of the storage account + * to which you would like to send Diagnostic Logs. */ storageAccountId?: string; /** - * The service bus rule Id of the diagnostic setting. This is here to maintain backwards - * compatibility. + * @member {string} [serviceBusRuleId] The service bus rule Id of the + * diagnostic setting. This is here to maintain backwards compatibility. */ serviceBusRuleId?: string; /** - * The resource Id for the event hub authorization rule. + * @member {string} [eventHubAuthorizationRuleId] The resource Id for the + * event hub authorization rule. */ eventHubAuthorizationRuleId?: string; /** - * The name of the event hub. If none is specified, the default event hub will be selected. + * @member {string} [eventHubName] The name of the event hub. If none is + * specified, the default event hub will be selected. */ eventHubName?: string; /** - * the list of metric settings. + * @member {MetricSettings[]} [metrics] the list of metric settings. */ metrics?: MetricSettings[]; /** - * the list of logs settings. + * @member {LogSettings[]} [logs] the list of logs settings. */ logs?: LogSettings[]; /** - * The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to - * which you would like to send Diagnostic Logs. Example: + * @member {string} [workspaceId] The workspace ID (resource ID of a Log + * Analytics workspace) for a 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 */ workspaceId?: string; } /** + * @interface + * An interface representing DiagnosticSettingsResourceCollection. * Represents a collection of alert rule resources. + * */ export interface DiagnosticSettingsResourceCollection { /** - * The collection of diagnostic settings resources;. + * @member {DiagnosticSettingsResource[]} [value] The collection of + * diagnostic settings resources;. */ value?: DiagnosticSettingsResource[]; } /** + * @interface + * An interface representing DiagnosticSettingsCategoryResource. * The diagnostic settings category resource. + * + * @extends ProxyOnlyResource */ export interface DiagnosticSettingsCategoryResource extends ProxyOnlyResource { /** - * The type of the diagnostic settings category. Possible values include: 'Metrics', 'Logs' + * @member {CategoryType} [categoryType] The type of the diagnostic settings + * category. Possible values include: 'Metrics', 'Logs' */ categoryType?: CategoryType; } /** + * @interface + * An interface representing DiagnosticSettingsCategoryResourceCollection. * Represents a collection of diagnostic setting category resources. + * */ export interface DiagnosticSettingsCategoryResourceCollection { /** - * The collection of diagnostic settings category resources. + * @member {DiagnosticSettingsCategoryResource[]} [value] The collection of + * diagnostic settings category resources. */ value?: DiagnosticSettingsCategoryResource[]; } /** + * @interface + * An interface representing EmailReceiver. * An email receiver. + * */ export interface EmailReceiver { /** - * The name of the email receiver. Names must be unique across all receivers within an action - * group. + * @member {string} name The name of the email receiver. Names must be unique + * across all receivers within an action group. */ name: string; /** - * The email address of this receiver. + * @member {string} emailAddress The email address of this receiver. */ emailAddress: string; /** - * The receiver status of the e-mail. Possible values include: 'NotSpecified', 'Enabled', - * 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {ReceiverStatus} [status] The receiver status of the e-mail. + * Possible values include: 'NotSpecified', 'Enabled', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly status?: ReceiverStatus; } /** + * @interface + * An interface representing SmsReceiver. * An SMS receiver. + * */ export interface SmsReceiver { /** - * The name of the SMS receiver. Names must be unique across all receivers within an action - * group. + * @member {string} name The name of the SMS receiver. Names must be unique + * across all receivers within an action group. */ name: string; /** - * The country code of the SMS receiver. + * @member {string} countryCode The country code of the SMS receiver. */ countryCode: string; /** - * The phone number of the SMS receiver. + * @member {string} phoneNumber The phone number of the SMS receiver. */ phoneNumber: string; /** - * The status of the receiver. Possible values include: 'NotSpecified', 'Enabled', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {ReceiverStatus} [status] The status of the receiver. Possible + * values include: 'NotSpecified', 'Enabled', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly status?: ReceiverStatus; } /** + * @interface + * An interface representing WebhookReceiver. * A webhook receiver. + * */ export interface WebhookReceiver { /** - * The name of the webhook receiver. Names must be unique across all receivers within an action - * group. + * @member {string} name The name of the webhook receiver. Names must be + * unique across all receivers within an action group. */ name: string; /** - * The URI where webhooks should be sent. + * @member {string} serviceUri The URI where webhooks should be sent. */ serviceUri: string; } /** + * @interface + * An interface representing ItsmReceiver. * An Itsm receiver. + * */ export interface ItsmReceiver { /** - * The name of the Itsm receiver. Names must be unique across all receivers within an action - * group. + * @member {string} name The name of the Itsm receiver. Names must be unique + * across all receivers within an action group. */ name: string; /** - * OMS LA instance identifier. + * @member {string} workspaceId OMS LA instance identifier. */ workspaceId: string; /** - * Unique identification of ITSM connection among multiple defined in above workspace. + * @member {string} connectionId Unique identification of ITSM connection + * among multiple defined in above workspace. */ connectionId: string; /** - * JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be - * part of this blob as well. + * @member {string} ticketConfiguration JSON blob for the configurations of + * the ITSM action. CreateMultipleWorkItems option will be part of this blob + * as well. */ ticketConfiguration: string; /** - * Region in which workspace resides. Supported + * @member {string} region Region in which workspace resides. Supported * values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope' */ region: string; } /** + * @interface + * An interface representing AzureAppPushReceiver. * The Azure mobile App push notification receiver. + * */ export interface AzureAppPushReceiver { /** - * The name of the Azure mobile app push receiver. Names must be unique across all receivers - * within an action group. + * @member {string} name The name of the Azure mobile app push receiver. + * Names must be unique across all receivers within an action group. */ name: string; /** - * The email address registered for the Azure mobile app. + * @member {string} emailAddress The email address registered for the Azure + * mobile app. */ emailAddress: string; } /** + * @interface + * An interface representing AutomationRunbookReceiver. * The Azure Automation Runbook notification receiver. + * */ export interface AutomationRunbookReceiver { /** - * The Azure automation account Id which holds this runbook and authenticate to Azure resource. + * @member {string} automationAccountId The Azure automation account Id which + * holds this runbook and authenticate to Azure resource. */ automationAccountId: string; /** - * The name for this runbook. + * @member {string} runbookName The name for this runbook. */ runbookName: string; /** - * The resource id for webhook linked to this runbook. + * @member {string} webhookResourceId The resource id for webhook linked to + * this runbook. */ webhookResourceId: string; /** - * Indicates whether this instance is global runbook. + * @member {boolean} isGlobalRunbook Indicates whether this instance is + * global runbook. */ isGlobalRunbook: boolean; /** - * Indicates name of the webhook. + * @member {string} [name] Indicates name of the webhook. */ name?: string; /** - * The URI where webhooks should be sent. + * @member {string} [serviceUri] The URI where webhooks should be sent. */ serviceUri?: string; } /** + * @interface + * An interface representing VoiceReceiver. * A voice receiver. + * */ export interface VoiceReceiver { /** - * The name of the voice receiver. Names must be unique across all receivers within an action - * group. + * @member {string} name The name of the voice receiver. Names must be unique + * across all receivers within an action group. */ name: string; /** - * The country code of the voice receiver. + * @member {string} countryCode The country code of the voice receiver. */ countryCode: string; /** - * The phone number of the voice receiver. + * @member {string} phoneNumber The phone number of the voice receiver. */ phoneNumber: string; } /** + * @interface + * An interface representing LogicAppReceiver. * A logic app receiver. + * */ export interface LogicAppReceiver { /** - * The name of the logic app receiver. Names must be unique across all receivers within an action - * group. + * @member {string} name The name of the logic app receiver. Names must be + * unique across all receivers within an action group. */ name: string; /** - * The azure resource id of the logic app receiver. + * @member {string} resourceId The azure resource id of the logic app + * receiver. */ resourceId: string; /** - * The callback url where http request sent to. + * @member {string} callbackUrl The callback url where http request sent to. */ callbackUrl: string; } /** + * @interface + * An interface representing AzureFunctionReceiver. * An azure function receiver. + * */ export interface AzureFunctionReceiver { /** - * The name of the azure function receiver. Names must be unique across all receivers within an - * action group. + * @member {string} name The name of the azure function receiver. Names must + * be unique across all receivers within an action group. */ name: string; /** - * The azure resource id of the function app. + * @member {string} functionAppResourceId The azure resource id of the + * function app. */ functionAppResourceId: string; /** - * The function name in the function app. + * @member {string} functionName The function name in the function app. */ functionName: string; /** - * The http trigger url where http request sent to. + * @member {string} httpTriggerUrl The http trigger url where http request + * sent to. */ httpTriggerUrl: string; } /** + * @interface + * An interface representing ArmRoleReceiver. * An arm role receiver. + * */ export interface ArmRoleReceiver { /** - * The name of the arm role receiver. Names must be unique across all receivers within an action - * group. + * @member {string} name The name of the arm role receiver. Names must be + * unique across all receivers within an action group. */ name: string; /** - * The arm role id. + * @member {string} roleId The arm role id. */ roleId: string; } /** + * @interface + * An interface representing ActionGroupResource. * An action group resource. + * + * @extends Resource */ export interface ActionGroupResource extends Resource { /** - * The short name of the action group. This will be used in SMS messages. + * @member {string} groupShortName The short name of the action group. This + * will be used in SMS messages. */ groupShortName: string; /** - * Indicates whether this action group is enabled. If an action group is not enabled, then none - * of its receivers will receive communications. Default value: true. + * @member {boolean} enabled Indicates whether this action group is enabled. + * If an action group is not enabled, then none of its receivers will receive + * communications. Default value: true . */ enabled: boolean; /** - * The list of email receivers that are part of this action group. + * @member {EmailReceiver[]} [emailReceivers] The list of email receivers + * that are part of this action group. */ emailReceivers?: EmailReceiver[]; /** - * The list of SMS receivers that are part of this action group. + * @member {SmsReceiver[]} [smsReceivers] The list of SMS receivers that are + * part of this action group. */ smsReceivers?: SmsReceiver[]; /** - * The list of webhook receivers that are part of this action group. + * @member {WebhookReceiver[]} [webhookReceivers] The list of webhook + * receivers that are part of this action group. */ webhookReceivers?: WebhookReceiver[]; /** - * The list of ITSM receivers that are part of this action group. + * @member {ItsmReceiver[]} [itsmReceivers] The list of ITSM receivers that + * are part of this action group. */ itsmReceivers?: ItsmReceiver[]; /** - * The list of AzureAppPush receivers that are part of this action group. + * @member {AzureAppPushReceiver[]} [azureAppPushReceivers] The list of + * AzureAppPush receivers that are part of this action group. */ azureAppPushReceivers?: AzureAppPushReceiver[]; /** - * The list of AutomationRunbook receivers that are part of this action group. + * @member {AutomationRunbookReceiver[]} [automationRunbookReceivers] The + * list of AutomationRunbook receivers that are part of this action group. */ automationRunbookReceivers?: AutomationRunbookReceiver[]; /** - * The list of voice receivers that are part of this action group. + * @member {VoiceReceiver[]} [voiceReceivers] The list of voice receivers + * that are part of this action group. */ voiceReceivers?: VoiceReceiver[]; /** - * The list of logic app receivers that are part of this action group. + * @member {LogicAppReceiver[]} [logicAppReceivers] The list of logic app + * receivers that are part of this action group. */ logicAppReceivers?: LogicAppReceiver[]; /** - * The list of azure function receivers that are part of this action group. + * @member {AzureFunctionReceiver[]} [azureFunctionReceivers] The list of + * azure function receivers that are part of this action group. */ azureFunctionReceivers?: AzureFunctionReceiver[]; /** - * The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles + * @member {ArmRoleReceiver[]} [armRoleReceivers] The list of ARM role + * receivers that are part of this action group. Roles are Azure RBAC roles * and only built-in roles are supported. */ armRoleReceivers?: ArmRoleReceiver[]; } /** + * @interface + * An interface representing EnableRequest. * Describes a receiver that should be resubscribed. + * */ export interface EnableRequest { /** - * The name of the receiver to resubscribe. + * @member {string} receiverName The name of the receiver to resubscribe. */ receiverName: string; } /** + * @interface + * An interface representing ActionGroupPatchBody. * An action group object for the body of patch operations. + * */ export interface ActionGroupPatchBody { /** - * Resource tags + * @member {{ [propertyName: string]: string }} [tags] Resource tags */ tags?: { [propertyName: string]: string }; /** - * Indicates whether this action group is enabled. If an action group is not enabled, then none - * of its actions will be activated. Default value: true. + * @member {boolean} [enabled] Indicates whether this action group is + * enabled. If an action group is not enabled, then none of its actions will + * be activated. Default value: true . */ enabled?: boolean; } /** - * An Activity Log alert condition that is met by comparing an activity log field and value. + * @interface + * An interface representing ActivityLogAlertLeafCondition. + * An Activity Log alert condition that is met by comparing an activity log + * field and value. + * */ export interface ActivityLogAlertLeafCondition { /** - * The name of the field that this condition will examine. The possible values for this field are - * (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', - * 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything - * beginning with 'properties.'. + * @member {string} field The name of the field that this condition will + * examine. The possible values for this field are (case-insensitive): + * 'resourceId', 'category', 'caller', 'level', 'operationName', + * 'resourceGroup', 'resourceProvider', 'status', 'subStatus', + * 'resourceType', or anything beginning with 'properties.'. */ field: string; /** - * The field value will be compared to this value (case-insensitive) to determine if the - * condition is met. + * @member {string} equals The field value will be compared to this value + * (case-insensitive) to determine if the condition is met. */ equals: string; } /** - * An Activity Log alert condition that is met when all its member conditions are met. + * @interface + * An interface representing ActivityLogAlertAllOfCondition. + * An Activity Log alert condition that is met when all its member conditions + * are met. + * */ export interface ActivityLogAlertAllOfCondition { /** - * The list of activity log alert conditions. + * @member {ActivityLogAlertLeafCondition[]} allOf The list of activity log + * alert conditions. */ allOf: ActivityLogAlertLeafCondition[]; } /** + * @interface + * An interface representing ActivityLogAlertActionGroup. * A pointer to an Azure Action Group. + * */ export interface ActivityLogAlertActionGroup { /** - * The resourceId of the action group. This cannot be null or empty. + * @member {string} actionGroupId The resourceId of the action group. This + * cannot be null or empty. */ actionGroupId: string; /** - * the dictionary of custom properties to include with the post operation. These data are - * appended to the webhook payload. + * @member {{ [propertyName: string]: string }} [webhookProperties] the + * dictionary of custom properties to include with the post operation. These + * data are appended to the webhook payload. */ webhookProperties?: { [propertyName: string]: string }; } /** + * @interface + * An interface representing ActivityLogAlertActionList. * A list of activity log alert actions. + * */ export interface ActivityLogAlertActionList { /** - * The list of activity log alerts. + * @member {ActivityLogAlertActionGroup[]} [actionGroups] The list of + * activity log alerts. */ actionGroups?: ActivityLogAlertActionGroup[]; } /** + * @interface + * An interface representing ActivityLogAlertResource. * An activity log alert resource. + * + * @extends Resource */ export interface ActivityLogAlertResource extends Resource { /** - * A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs - * with resourceIds that fall under one of these prefixes. This list must include at least one + * @member {string[]} scopes A list of resourceIds that will be used as + * prefixes. The alert will only apply to activityLogs with resourceIds that + * fall under one of these prefixes. This list must include at least one * item. */ scopes: string[]; /** - * Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, - * then none of its actions will be activated. Default value: true. + * @member {boolean} [enabled] Indicates whether this activity log alert is + * enabled. If an activity log alert is not enabled, then none of its actions + * will be activated. Default value: true . */ enabled?: boolean; /** - * The condition that will cause this alert to activate. + * @member {ActivityLogAlertAllOfCondition} condition The condition that will + * cause this alert to activate. */ condition: ActivityLogAlertAllOfCondition; /** - * The actions that will activate when the condition is met. + * @member {ActivityLogAlertActionList} actions The actions that will + * activate when the condition is met. */ actions: ActivityLogAlertActionList; /** - * A description of this activity log alert. + * @member {string} [description] A description of this activity log alert. */ description?: string; } /** + * @interface + * An interface representing ActivityLogAlertPatchBody. * An activity log alert object for the body of patch operations. + * */ export interface ActivityLogAlertPatchBody { /** - * Resource tags + * @member {{ [propertyName: string]: string }} [tags] Resource tags */ tags?: { [propertyName: string]: string }; /** - * Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, - * then none of its actions will be activated. Default value: true. + * @member {boolean} [enabled] Indicates whether this activity log alert is + * enabled. If an activity log alert is not enabled, then none of its actions + * will be activated. Default value: true . */ enabled?: boolean; } /** + * @interface + * An interface representing LocalizableString. * The localizable string class. + * */ export interface LocalizableString { /** - * the invariant value. + * @member {string} value the invariant value. */ value: string; /** - * the locale specific value. + * @member {string} [localizedValue] the locale specific value. */ localizedValue?: string; } /** - * the authorization used by the user who has performed the operation that led to this event. This - * captures the RBAC properties of the event. These usually include the 'action', 'role' and the - * 'scope' + * @interface + * An interface representing SenderAuthorization. + * the authorization used by the user who has performed the operation that led + * to this event. This captures the RBAC properties of the event. These usually + * include the 'action', 'role' and the 'scope' + * */ export interface SenderAuthorization { /** - * the permissible actions. For instance: microsoft.support/supporttickets/write + * @member {string} [action] the permissible actions. For instance: + * microsoft.support/supporttickets/write */ action?: string; /** - * the role of the user. For instance: Subscription Admin + * @member {string} [role] the role of the user. For instance: Subscription + * Admin */ role?: string; /** - * the scope. + * @member {string} [scope] the scope. */ scope?: string; } /** + * @interface + * An interface representing HttpRequestInfo. * The Http request info. + * */ export interface HttpRequestInfo { /** - * the client request id. + * @member {string} [clientRequestId] the client request id. */ clientRequestId?: string; /** - * the client Ip Address + * @member {string} [clientIpAddress] the client Ip Address */ clientIpAddress?: string; /** - * the Http request method. + * @member {string} [method] the Http request method. */ method?: string; /** - * the Uri. + * @member {string} [uri] the Uri. */ uri?: string; } /** + * @interface + * An interface representing EventData. * The Azure event log entries are of type EventData + * */ export interface EventData { /** - * The sender authorization information. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {SenderAuthorization} [authorization] The sender authorization + * information. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly authorization?: SenderAuthorization; /** - * key value pairs to identify ARM permissions. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {{ [propertyName: string]: string }} [claims] key value pairs to + * identify ARM permissions. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly claims?: { [propertyName: string]: string }; /** - * the email address of the user who has performed the operation, the UPN claim or SPN claim - * based on availability. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [caller] the email address of the user who has performed + * the operation, the UPN claim or SPN claim based on availability. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly caller?: string; /** - * the description of the event. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [description] the description of the event. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly description?: string; /** - * the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp - * information. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [id] the Id of this event as required by ARM for RBAC. It + * contains the EventDataID and a timestamp information. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly id?: string; /** - * the event data Id. This is a unique identifier for an event. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [eventDataId] the event data Id. This is a unique + * identifier for an event. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly eventDataId?: string; /** - * the correlation Id, usually a GUID in the string format. The correlation Id is shared among - * the events that belong to the same uber operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [correlationId] the correlation Id, usually a GUID in the + * string format. The correlation Id is shared among the events that belong + * to the same uber operation. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly correlationId?: string; /** - * the event name. This value should not be confused with OperationName. For practical purposes, - * OperationName might be more appealing to end users. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {LocalizableString} [eventName] the event name. This value should + * not be confused with OperationName. For practical purposes, OperationName + * might be more appealing to end users. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly eventName?: LocalizableString; /** - * the event category. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {LocalizableString} [category] the event category. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly category?: LocalizableString; /** - * the HTTP request info. Usually includes the 'clientRequestId', 'clientIpAddress' (IP address - * of the user who initiated the event) and 'method' (HTTP method e.g. PUT). - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {HttpRequestInfo} [httpRequest] the HTTP request info. Usually + * includes the 'clientRequestId', 'clientIpAddress' (IP address of the user + * who initiated the event) and 'method' (HTTP method e.g. PUT). + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly httpRequest?: HttpRequestInfo; /** - * the event level. Possible values include: 'Critical', 'Error', 'Warning', 'Informational', - * 'Verbose' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {EventLevel} [level] the event level. Possible values include: + * 'Critical', 'Error', 'Warning', 'Informational', 'Verbose' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly level?: EventLevel; /** - * the resource group name of the impacted resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [resourceGroupName] the resource group name of the + * impacted resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceGroupName?: string; /** - * the resource provider name of the impacted resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {LocalizableString} [resourceProviderName] the resource provider + * name of the impacted resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceProviderName?: LocalizableString; /** - * the resource uri that uniquely identifies the resource that caused this event. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [resourceId] the resource uri that uniquely identifies + * the resource that caused this event. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceId?: string; /** - * the resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {LocalizableString} [resourceType] the resource type + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly resourceType?: LocalizableString; /** - * It is usually a GUID shared among the events corresponding to single operation. This value - * should not be confused with EventName. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [operationId] It is usually a GUID shared among the + * events corresponding to single operation. This value should not be + * confused with EventName. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly operationId?: string; /** - * the operation name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {LocalizableString} [operationName] the operation name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly operationName?: LocalizableString; /** - * the set of pairs (usually a Dictionary) that includes details + * @member {{ [propertyName: string]: string }} [properties] the set of pairs (usually a Dictionary) that includes details * about the event. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly properties?: { [propertyName: string]: string }; /** - * a string describing the status of the operation. Some typical values are: Started, In - * progress, Succeeded, Failed, Resolved. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {LocalizableString} [status] a string describing the status of the + * operation. Some typical values are: Started, In progress, Succeeded, + * Failed, Resolved. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly status?: LocalizableString; /** - * the event sub status. Most of the time, when included, this captures the HTTP status code of - * the REST call. Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: 201), - * Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: 204), Bad Request(HTTP Status - * Code: 400), Not Found (HTTP Status Code: 404), Conflict (HTTP Status Code: 409), Internal - * Server Error (HTTP Status Code: 500), Service Unavailable (HTTP Status Code:503), Gateway - * Timeout (HTTP Status Code: 504) - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {LocalizableString} [subStatus] the event sub status. Most of the + * time, when included, this captures the HTTP status code of the REST call. + * Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: + * 201), Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: + * 204), Bad Request(HTTP Status Code: 400), Not Found (HTTP Status Code: + * 404), Conflict (HTTP Status Code: 409), Internal Server Error (HTTP Status + * Code: 500), Service Unavailable (HTTP Status Code:503), Gateway Timeout + * (HTTP Status Code: 504) + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly subStatus?: LocalizableString; /** - * the timestamp of when the event was generated by the Azure service processing the request - * corresponding the event. It in ISO 8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [eventTimestamp] the timestamp of when the event was + * generated by the Azure service processing the request corresponding the + * event. It in ISO 8601 format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly eventTimestamp?: Date; /** - * the timestamp of when the event became available for querying via this API. It is in ISO 8601 - * format. This value should not be confused eventTimestamp. As there might be a delay between - * the occurrence time of the event, and the time that the event is submitted to the Azure - * logging infrastructure. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [submissionTimestamp] the timestamp of when the event + * became available for querying via this API. It is in ISO 8601 format. This + * value should not be confused eventTimestamp. As there might be a delay + * between the occurrence time of the event, and the time that the event is + * submitted to the Azure logging infrastructure. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly submissionTimestamp?: Date; /** - * the Azure subscription Id usually a GUID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [subscriptionId] the Azure subscription Id usually a + * GUID. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly subscriptionId?: string; /** - * the Azure tenant Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [tenantId] the Azure tenant Id + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly tenantId?: string; } /** - * Metric availability specifies the time grain (aggregation interval or frequency) and the - * retention period for that time grain. + * @interface + * An interface representing MetricAvailability. + * Metric availability specifies the time grain (aggregation interval or + * frequency) and the retention period for that time grain. + * */ export interface MetricAvailability { /** - * the time grain specifies the aggregation interval for the metric. Expressed as a duration - * 'PT1M', 'P1D', etc. + * @member {string} [timeGrain] the time grain specifies the aggregation + * interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. */ timeGrain?: string; /** - * the retention period for the metric at the specified timegrain. Expressed as a duration - * 'PT1M', 'P1D', etc. + * @member {string} [retention] the retention period for the metric at the + * specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. */ retention?: string; } /** + * @interface + * An interface representing MetricDefinition. * Metric definition class specifies the metadata for a metric. + * */ export interface MetricDefinition { /** - * Flag to indicate whether the dimension is required. + * @member {boolean} [isDimensionRequired] Flag to indicate whether the + * dimension is required. */ isDimensionRequired?: boolean; /** - * the resource identifier of the resource that emitted the metric. + * @member {string} [resourceId] the resource identifier of the resource that + * emitted the metric. */ resourceId?: string; /** - * the namespace the metric belongs to. + * @member {string} [namespace] the namespace the metric belongs to. */ namespace?: string; /** - * the name and the display name of the metric, i.e. it is a localizable string. + * @member {LocalizableString} [name] the name and the display name of the + * metric, i.e. it is a localizable string. */ name?: LocalizableString; /** - * the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', - * 'CountPerSecond', 'BytesPerSecond', 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified' + * @member {Unit} [unit] the unit of the metric. Possible values include: + * 'Count', 'Bytes', 'Seconds', 'CountPerSecond', 'BytesPerSecond', + * 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified' */ unit?: Unit; /** - * the primary aggregation type value defining how to use the values for display. Possible values + * @member {AggregationType} [primaryAggregationType] the primary aggregation + * type value defining how to use the values for display. Possible values * include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total' */ primaryAggregationType?: AggregationType; /** - * the collection of what aggregation types are supported. + * @member {AggregationType[]} [supportedAggregationTypes] the collection of + * what aggregation types are supported. */ supportedAggregationTypes?: AggregationType[]; /** - * the collection of what aggregation intervals are available to be queried. + * @member {MetricAvailability[]} [metricAvailabilities] the collection of + * what aggregation intervals are available to be queried. */ metricAvailabilities?: MetricAvailability[]; /** - * the resource identifier of the metric definition. + * @member {string} [id] the resource identifier of the metric definition. */ id?: string; /** - * the name and the display name of the dimension, i.e. it is a localizable string. + * @member {LocalizableString[]} [dimensions] the name and the display name + * of the dimension, i.e. it is a localizable string. */ dimensions?: LocalizableString[]; } /** + * @interface + * An interface representing MetricValue. * Represents a metric value. + * */ export interface MetricValue { /** - * the timestamp for the metric value in ISO 8601 format. + * @member {Date} timeStamp the timestamp for the metric value in ISO 8601 + * format. */ timeStamp: Date; /** - * the average value in the time range. + * @member {number} [average] the average value in the time range. */ average?: number; /** - * the least value in the time range. + * @member {number} [minimum] the least value in the time range. */ minimum?: number; /** - * the greatest value in the time range. + * @member {number} [maximum] the greatest value in the time range. */ maximum?: number; /** - * the sum of all of the values in the time range. + * @member {number} [total] the sum of all of the values in the time range. */ total?: number; /** - * the number of samples in the time range. Can be used to determine the number of values that - * contributed to the average value. + * @member {number} [count] the number of samples in the time range. Can be + * used to determine the number of values that contributed to the average + * value. */ count?: number; } /** + * @interface + * An interface representing MetadataValue. * Represents a metric metadata value. + * */ export interface MetadataValue { /** - * the name of the metadata. + * @member {LocalizableString} [name] the name of the metadata. */ name?: LocalizableString; /** - * the value of the metadata. + * @member {string} [value] the value of the metadata. */ value?: string; } /** - * A time series result type. The discriminator value is always TimeSeries in this case. + * @interface + * An interface representing TimeSeriesElement. + * A time series result type. The discriminator value is always TimeSeries in + * this case. + * */ export interface TimeSeriesElement { /** - * the metadata values returned if $filter was specified in the call. + * @member {MetadataValue[]} [metadatavalues] the metadata values returned if + * $filter was specified in the call. */ metadatavalues?: MetadataValue[]; /** - * An array of data points representing the metric values. This is only returned if a result - * type of data is specified. + * @member {MetricValue[]} [data] An array of data points representing the + * metric values. This is only returned if a result type of data is + * specified. */ data?: MetricValue[]; } /** + * @interface + * An interface representing Metric. * The result data of a query. + * */ export interface Metric { /** - * the metric Id. + * @member {string} id the metric Id. */ id: string; /** - * the resource type of the metric resource. + * @member {string} type the resource type of the metric resource. */ type: string; /** - * the name and the display name of the metric, i.e. it is localizable string. + * @member {LocalizableString} name the name and the display name of the + * metric, i.e. it is localizable string. */ name: LocalizableString; /** - * the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', - * 'CountPerSecond', 'BytesPerSecond', 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified' + * @member {Unit} unit the unit of the metric. Possible values include: + * 'Count', 'Bytes', 'Seconds', 'CountPerSecond', 'BytesPerSecond', + * 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified' */ unit: Unit; /** - * the time series returned when a data query is performed. + * @member {TimeSeriesElement[]} timeseries the time series returned when a + * data query is performed. */ timeseries: TimeSeriesElement[]; } /** + * @interface + * An interface representing Response. * The response to a metrics query. + * */ export interface Response { /** - * The integer value representing the cost of the query, for data case. + * @member {number} [cost] The integer value representing the cost of the + * query, for data case. */ cost?: number; /** - * 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. + * @member {string} timespan 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. */ timespan: string; /** - * 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. + * @member {string} [interval] 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. */ interval?: string; /** - * The namespace of the metrics been queried + * @member {string} [namespace] The namespace of the metrics been queried */ namespace?: string; /** - * The region of the resource been queried for metrics. + * @member {string} [resourceregion] The region of the resource been queried + * for metrics. */ resourceregion?: string; /** - * the value of the collection. + * @member {Metric[]} value the value of the collection. */ value: Metric[]; } /** + * @interface + * An interface representing BaselineMetadataValue. * Represents a baseline metadata value. + * */ export interface BaselineMetadataValue { /** - * the name of the metadata. + * @member {LocalizableString} [name] the name of the metadata. */ name?: LocalizableString; /** - * the value of the metadata. + * @member {string} [value] the value of the metadata. */ value?: string; } /** + * @interface + * An interface representing Baseline. * The baseline values for a single sensitivity value. + * */ export interface Baseline { /** - * the sensitivity of the baseline. Possible values include: 'Low', 'Medium', 'High' + * @member {Sensitivity} sensitivity the sensitivity of the baseline. + * Possible values include: 'Low', 'Medium', 'High' */ sensitivity: Sensitivity; /** - * The low thresholds of the baseline. + * @member {number[]} lowThresholds The low thresholds of the baseline. */ lowThresholds: number[]; /** - * The high thresholds of the baseline. + * @member {number[]} highThresholds The high thresholds of the baseline. */ highThresholds: number[]; } /** + * @interface + * An interface representing BaselineResponse. * The response to a baseline query. + * */ export interface BaselineResponse { /** - * the metric baseline Id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [id] the metric baseline Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly id?: string; /** - * the resource type of the baseline resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [type] the resource type of the baseline resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly type?: string; /** - * the name and the display name of the metric, i.e. it is localizable string. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {LocalizableString} [name] the name and the display name of the + * metric, i.e. it is localizable string. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: LocalizableString; /** - * 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. + * @member {string} [timespan] 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. */ timespan?: string; /** - * 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. + * @member {string} [interval] 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. */ interval?: string; /** - * The aggregation type of the metric. + * @member {string} [aggregation] The aggregation type of the metric. */ aggregation?: string; /** - * the array of timestamps of the baselines. + * @member {Date[] | string[]} [timestamps] the array of timestamps of the + * baselines. */ timestamps?: Date[] | string[]; /** - * the baseline values for each sensitivity. + * @member {Baseline[]} [baseline] the baseline values for each sensitivity. */ baseline?: Baseline[]; /** - * the baseline metadata values. + * @member {BaselineMetadataValue[]} [metadata] the baseline metadata values. */ metadata?: BaselineMetadataValue[]; } /** + * @interface + * An interface representing TimeSeriesInformation. * The time series info needed for calculating the baseline. + * */ export interface TimeSeriesInformation { /** - * the list of sensitivities for calculating the baseline. + * @member {string[]} sensitivities the list of sensitivities for calculating + * the baseline. */ sensitivities: string[]; /** - * The metric values to calculate the baseline. + * @member {number[]} values The metric values to calculate the baseline. */ values: number[]; /** - * the array of timestamps of the baselines. + * @member {Date[] | string[]} [timestamps] the array of timestamps of the + * baselines. */ timestamps?: Date[] | string[]; } /** + * @interface + * An interface representing CalculateBaselineResponse. * The response to a calculate baseline call. + * */ export interface CalculateBaselineResponse { /** - * the resource type of the baseline resource. + * @member {string} type the resource type of the baseline resource. */ type: string; /** - * the array of timestamps of the baselines. + * @member {Date[] | string[]} [timestamps] the array of timestamps of the + * baselines. */ timestamps?: Date[] | string[]; /** - * the baseline values for each sensitivity. + * @member {Baseline[]} baseline the baseline values for each sensitivity. */ baseline: Baseline[]; } /** + * @interface + * An interface representing MetricAlertAction. * An alert action. + * */ export interface MetricAlertAction { /** - * the id of the action group to use. + * @member {string} [actionGroupId] the id of the action group to use. */ actionGroupId?: string; /** - * The properties of a webhook object. + * @member {{ [propertyName: string]: string }} [webhookProperties] The + * properties of a webhook object. */ webhookProperties?: { [propertyName: string]: string }; } @@ -1963,205 +2454,254 @@ export interface MetricAlertAction { export type MetricAlertCriteriaUnion = MetricAlertCriteria | MetricAlertSingleResourceMultipleMetricCriteria | MetricAlertMultipleResourceMultipleMetricCriteria; /** + * @interface + * An interface representing MetricAlertCriteria. * The rule criteria that defines the conditions of the alert rule. + * */ export interface MetricAlertCriteria { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "MetricAlertCriteria"; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. */ [property: string]: any; } /** + * @interface + * An interface representing MetricAlertResource. * The metric alert resource. + * + * @extends Resource */ export interface MetricAlertResource extends Resource { /** - * the description of the metric alert that will be included in the alert email. + * @member {string} description the description of the metric alert that will + * be included in the alert email. */ description: string; /** - * Alert severity {0, 1, 2, 3, 4} + * @member {number} severity Alert severity {0, 1, 2, 3, 4} */ severity: number; /** - * the flag that indicates whether the metric alert is enabled. + * @member {boolean} enabled the flag that indicates whether the metric alert + * is enabled. */ enabled: boolean; /** - * the list of resource id's that this metric alert is scoped to. + * @member {string[]} [scopes] the list of resource id's that this metric + * alert is scoped to. */ scopes?: string[]; /** - * how often the metric alert is evaluated represented in ISO 8601 duration format. + * @member {string} evaluationFrequency how often the metric alert is + * evaluated represented in ISO 8601 duration format. */ evaluationFrequency: string; /** - * the period of time (in ISO 8601 duration format) that is used to monitor alert activity based - * on the threshold. + * @member {string} windowSize the period of time (in ISO 8601 duration + * format) that is used to monitor alert activity based on the threshold. */ windowSize: string; /** - * the resource type of the target resource(s) on which the alert is created/updated. Mandatory - * for MultipleResourceMultipleMetricCriteria. + * @member {string} [targetResourceType] the resource type of the target + * resource(s) on which the alert is created/updated. Mandatory for + * MultipleResourceMultipleMetricCriteria. */ targetResourceType?: string; /** - * the region of the target resource(s) on which the alert is created/updated. Mandatory for + * @member {string} [targetResourceRegion] the region of the target + * resource(s) on which the alert is created/updated. Mandatory for * MultipleResourceMultipleMetricCriteria. */ targetResourceRegion?: string; /** - * defines the specific alert criteria information. + * @member {MetricAlertCriteriaUnion} criteria defines the specific alert + * criteria information. */ criteria: MetricAlertCriteriaUnion; /** - * the flag that indicates whether the alert should be auto resolved or not. + * @member {boolean} [autoMitigate] the flag that indicates whether the alert + * should be auto resolved or not. */ autoMitigate?: boolean; /** - * the array of actions that are performed when the alert rule becomes active, and when an alert - * condition is resolved. + * @member {MetricAlertAction[]} [actions] the array of actions that are + * performed when the alert rule becomes active, and when an alert condition + * is resolved. */ actions?: MetricAlertAction[]; /** - * Last time the rule was updated in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastUpdatedTime] Last time the rule was updated in ISO8601 + * format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastUpdatedTime?: Date; } /** + * @interface + * An interface representing MetricAlertResourcePatch. * The metric alert resource for patch operations. + * */ export interface MetricAlertResourcePatch { /** - * Resource tags + * @member {{ [propertyName: string]: string }} [tags] Resource tags */ tags?: { [propertyName: string]: string }; /** - * the description of the metric alert that will be included in the alert email. + * @member {string} description the description of the metric alert that will + * be included in the alert email. */ description: string; /** - * Alert severity {0, 1, 2, 3, 4} + * @member {number} severity Alert severity {0, 1, 2, 3, 4} */ severity: number; /** - * the flag that indicates whether the metric alert is enabled. + * @member {boolean} enabled the flag that indicates whether the metric alert + * is enabled. */ enabled: boolean; /** - * the list of resource id's that this metric alert is scoped to. + * @member {string[]} [scopes] the list of resource id's that this metric + * alert is scoped to. */ scopes?: string[]; /** - * how often the metric alert is evaluated represented in ISO 8601 duration format. + * @member {string} evaluationFrequency how often the metric alert is + * evaluated represented in ISO 8601 duration format. */ evaluationFrequency: string; /** - * the period of time (in ISO 8601 duration format) that is used to monitor alert activity based - * on the threshold. + * @member {string} windowSize the period of time (in ISO 8601 duration + * format) that is used to monitor alert activity based on the threshold. */ windowSize: string; /** - * the resource type of the target resource(s) on which the alert is created/updated. Mandatory - * for MultipleResourceMultipleMetricCriteria. + * @member {string} [targetResourceType] the resource type of the target + * resource(s) on which the alert is created/updated. Mandatory for + * MultipleResourceMultipleMetricCriteria. */ targetResourceType?: string; /** - * the region of the target resource(s) on which the alert is created/updated. Mandatory for + * @member {string} [targetResourceRegion] the region of the target + * resource(s) on which the alert is created/updated. Mandatory for * MultipleResourceMultipleMetricCriteria. */ targetResourceRegion?: string; /** - * defines the specific alert criteria information. + * @member {MetricAlertCriteriaUnion} criteria defines the specific alert + * criteria information. */ criteria: MetricAlertCriteriaUnion; /** - * the flag that indicates whether the alert should be auto resolved or not. + * @member {boolean} [autoMitigate] the flag that indicates whether the alert + * should be auto resolved or not. */ autoMitigate?: boolean; /** - * the array of actions that are performed when the alert rule becomes active, and when an alert - * condition is resolved. + * @member {MetricAlertAction[]} [actions] the array of actions that are + * performed when the alert rule becomes active, and when an alert condition + * is resolved. */ actions?: MetricAlertAction[]; /** - * Last time the rule was updated in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastUpdatedTime] Last time the rule was updated in ISO8601 + * format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastUpdatedTime?: Date; } /** + * @interface + * An interface representing MetricAlertStatusProperties. * An alert status properties. + * */ export interface MetricAlertStatusProperties { /** - * An object describing the type of the dimensions. + * @member {{ [propertyName: string]: string }} [dimensions] An object + * describing the type of the dimensions. */ dimensions?: { [propertyName: string]: string }; /** - * status value + * @member {string} [status] status value */ status?: string; /** - * UTC time when the status was checked. + * @member {Date} [timestamp] UTC time when the status was checked. */ timestamp?: Date; } /** + * @interface + * An interface representing MetricAlertStatus. * An alert status. + * */ export interface MetricAlertStatus { /** - * The status name. + * @member {string} [name] The status name. */ name?: string; /** - * The alert rule arm id. + * @member {string} [id] The alert rule arm id. */ id?: string; /** - * The extended resource type name. + * @member {string} [type] The extended resource type name. */ type?: string; /** - * The alert status properties of the metric alert status. + * @member {MetricAlertStatusProperties} [properties] The alert status + * properties of the metric alert status. */ properties?: MetricAlertStatusProperties; } /** + * @interface + * An interface representing MetricAlertStatusCollection. * Represents a collection of alert rule resources. + * */ export interface MetricAlertStatusCollection { /** - * the values for the alert rule resources. + * @member {MetricAlertStatus[]} [value] the values for the alert rule + * resources. */ value?: MetricAlertStatus[]; } /** + * @interface + * An interface representing MetricDimension. * Specifies a metric dimension. + * */ export interface MetricDimension { /** - * Name of the dimension. + * @member {string} name Name of the dimension. */ name: string; /** - * the dimension operator. Only 'Include' and 'Exclude' are supported + * @member {string} operator the dimension operator. Only 'Include' and + * 'Exclude' are supported */ operator: string; /** - * list of dimension values. + * @member {string[]} values list of dimension values. */ values: string[]; } @@ -2172,117 +2712,147 @@ export interface MetricDimension { export type MultiMetricCriteriaUnion = MultiMetricCriteria | MetricCriteria; /** + * @interface + * An interface representing MultiMetricCriteria. * The types of conditions for a multi resource alert + * */ export interface MultiMetricCriteria { /** - * Polymorphic Discriminator + * @member {string} criterionType Polymorphic Discriminator */ criterionType: "MultiMetricCriteria"; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. */ [property: string]: any; } /** + * @interface + * An interface representing MetricCriteria. * Criterion to filter metrics. + * */ export interface MetricCriteria { /** - * Polymorphic Discriminator + * @member {string} criterionType Polymorphic Discriminator */ criterionType: "StaticThresholdCriterion"; /** - * Name of the criteria. + * @member {string} name Name of the criteria. */ name: string; /** - * Name of the metric. + * @member {string} metricName Name of the metric. */ metricName: string; /** - * Namespace of the metric. + * @member {string} [metricNamespace] Namespace of the metric. */ metricNamespace?: string; /** - * the criteria operator. + * @member {any} operator the criteria operator. */ operator: any; /** - * the criteria time aggregation types. + * @member {any} timeAggregation the criteria time aggregation types. */ timeAggregation: any; /** - * the criteria threshold value that activates the alert. + * @member {number} threshold the criteria threshold value that activates the + * alert. */ threshold: number; /** - * List of dimension conditions. + * @member {MetricDimension[]} [dimensions] List of dimension conditions. */ dimensions?: MetricDimension[]; } /** - * Specifies the metric alert criteria for a single resource that has multiple metric criteria. + * @interface + * An interface representing MetricAlertSingleResourceMultipleMetricCriteria. + * Specifies the metric alert criteria for a single resource that has multiple + * metric criteria. + * */ export interface MetricAlertSingleResourceMultipleMetricCriteria { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria"; /** - * The list of metric criteria for this 'all of' operation. + * @member {MetricCriteria[]} [allOf] The list of metric criteria for this + * 'all of' operation. */ allOf?: MetricCriteria[]; } /** - * Specifies the metric alert criteria for multiple resource that has multiple metric criteria. + * @interface + * An interface representing MetricAlertMultipleResourceMultipleMetricCriteria. + * Specifies the metric alert criteria for multiple resource that has multiple + * metric criteria. + * */ export interface MetricAlertMultipleResourceMultipleMetricCriteria { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria"; /** - * the list of multiple metric criteria for this 'all of' operation. + * @member {MultiMetricCriteriaUnion[]} [allOf] the list of multiple metric + * criteria for this 'all of' operation. */ allOf?: MultiMetricCriteriaUnion[]; } /** + * @interface + * An interface representing Source. * Specifies the log search query. + * */ export interface Source { /** - * Log search query. Required for action type - AlertingAction + * @member {string} [query] Log search query. Required for action type - + * AlertingAction */ query?: string; /** - * List of Resource referred into query + * @member {string[]} [authorizedResources] List of Resource referred into + * query */ authorizedResources?: string[]; /** - * The resource uri over which log search query is to be run. + * @member {string} dataSourceId The resource uri over which log search query + * is to be run. */ dataSourceId: string; /** - * Set value to 'ResultCount'. Possible values include: 'ResultCount' + * @member {QueryType} [queryType] Set value to 'ResultCount'. Possible + * values include: 'ResultCount' */ queryType?: QueryType; } /** + * @interface + * An interface representing Schedule. * Defines how often to run the search and the time interval. + * */ export interface Schedule { /** - * frequency (in minutes) at which rule condition should be evaluated. + * @member {number} frequencyInMinutes frequency (in minutes) at which rule + * condition should be evaluated. */ frequencyInMinutes: number; /** - * Time window for which data needs to be fetched for query (should be greater than or equal to + * @member {number} timeWindowInMinutes Time window for which data needs to + * be fetched for query (should be greater than or equal to * frequencyInMinutes). */ timeWindowInMinutes: number; @@ -2294,538 +2864,688 @@ export interface Schedule { export type ActionUnion = Action | AlertingAction | LogToMetricAction; /** + * @interface + * An interface representing Action. * Action descriptor. + * */ export interface Action { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Action"; } /** + * @interface + * An interface representing LogSearchRuleResource. * The Log Search Rule resource. + * + * @extends Resource */ export interface LogSearchRuleResource extends Resource { /** - * The description of the Log Search rule. + * @member {string} [description] The description of the Log Search rule. */ description?: string; /** - * The flag which indicates whether the Log Search rule is enabled. Value should be true or - * false. Possible values include: 'true', 'false' + * @member {Enabled} [enabled] The flag which indicates whether the Log + * Search rule is enabled. Value should be true or false. Possible values + * include: 'true', 'false' */ enabled?: Enabled; /** - * Last time the rule was updated in IS08601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {Date} [lastUpdatedTime] Last time the rule was updated in IS08601 + * format. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly lastUpdatedTime?: Date; /** - * Provisioning state of the scheduled query rule. Possible values include: 'Succeeded', - * 'Deploying', 'Canceled', 'Failed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {ProvisioningState} [provisioningState] Provisioning state of the + * scheduled query rule. Possible values include: 'Succeeded', 'Deploying', + * 'Canceled', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly provisioningState?: ProvisioningState; /** - * Data Source against which rule will Query Data + * @member {Source} source Data Source against which rule will Query Data */ source: Source; /** - * Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction + * @member {Schedule} [schedule] Schedule (Frequency, Time Window) for rule. + * Required for action type - AlertingAction */ schedule?: Schedule; /** - * Action needs to be taken on rule execution. + * @member {ActionUnion} action Action needs to be taken on rule execution. */ action: ActionUnion; } /** + * @interface + * An interface representing LogSearchRuleResourcePatch. * The log search rule resource for patch operations. + * */ export interface LogSearchRuleResourcePatch { /** - * Resource tags + * @member {{ [propertyName: string]: string }} [tags] Resource tags */ tags?: { [propertyName: string]: string }; /** - * The flag which indicates whether the Log Search rule is enabled. Value should be true or - * false. Possible values include: 'true', 'false' + * @member {Enabled} [enabled] The flag which indicates whether the Log + * Search rule is enabled. Value should be true or false. Possible values + * include: 'true', 'false' */ enabled?: Enabled; } /** + * @interface + * An interface representing LogMetricTrigger. * A log metrics trigger descriptor. + * */ export interface LogMetricTrigger { /** - * Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'. Possible values - * include: 'GreaterThan', 'LessThan', 'Equal' + * @member {ConditionalOperator} [thresholdOperator] Evaluation operation for + * Metric -'GreaterThan' or 'LessThan' or 'Equal'. Possible values include: + * 'GreaterThan', 'LessThan', 'Equal' */ thresholdOperator?: ConditionalOperator; /** - * The threshold of the metric trigger. + * @member {number} [threshold] The threshold of the metric trigger. */ threshold?: number; /** - * Metric Trigger Type - 'Consecutive' or 'Total'. Possible values include: 'Consecutive', - * 'Total' + * @member {MetricTriggerType} [metricTriggerType] Metric Trigger Type - + * 'Consecutive' or 'Total'. Possible values include: 'Consecutive', 'Total' */ metricTriggerType?: MetricTriggerType; /** - * Evaluation of metric on a particular column + * @member {string} [metricColumn] Evaluation of metric on a particular + * column */ metricColumn?: string; } /** + * @interface + * An interface representing TriggerCondition. * The condition that results in the Log Search rule. + * */ export interface TriggerCondition { /** - * Evaluation operation for rule - 'GreaterThan' or 'LessThan. Possible values include: - * 'GreaterThan', 'LessThan', 'Equal' + * @member {ConditionalOperator} thresholdOperator Evaluation operation for + * rule - 'GreaterThan' or 'LessThan. Possible values include: 'GreaterThan', + * 'LessThan', 'Equal' */ thresholdOperator: ConditionalOperator; /** - * Result or count threshold based on which rule should be triggered. + * @member {number} threshold Result or count threshold based on which rule + * should be triggered. */ threshold: number; /** - * Trigger condition for metric query rule + * @member {LogMetricTrigger} [metricTrigger] Trigger condition for metric + * query rule */ metricTrigger?: LogMetricTrigger; } /** + * @interface + * An interface representing AzNsActionGroup. * Azure action group + * */ export interface AzNsActionGroup { /** - * Azure Action Group reference. + * @member {string[]} [actionGroup] Azure Action Group reference. */ actionGroup?: string[]; /** - * Custom subject override for all email ids in Azure action group + * @member {string} [emailSubject] Custom subject override for all email ids + * in Azure action group */ emailSubject?: string; /** - * Custom payload to be sent for all webhook URI in Azure action group + * @member {string} [customWebhookPayload] Custom payload to be sent for all + * webhook URI in Azure action group */ customWebhookPayload?: string; } /** + * @interface + * An interface representing AlertingAction. * Specify action need to be taken when rule type is Alert + * */ export interface AlertingAction { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction"; /** - * Severity of the alert. Possible values include: '0', '1', '2', '3', '4' + * @member {AlertSeverity} severity Severity of the alert. Possible values + * include: '0', '1', '2', '3', '4' */ severity: AlertSeverity; /** - * Azure action group reference. + * @member {AzNsActionGroup} [aznsAction] Azure action group reference. */ aznsAction?: AzNsActionGroup; /** - * time (in minutes) for which Alerts should be throttled or suppressed. + * @member {number} [throttlingInMin] time (in minutes) for which Alerts + * should be throttled or suppressed. */ throttlingInMin?: number; /** - * The trigger condition that results in the alert rule being. + * @member {TriggerCondition} trigger The trigger condition that results in + * the alert rule being. */ trigger: TriggerCondition; } /** + * @interface + * An interface representing Dimension. * Specifies the criteria for converting log to metric. + * */ export interface Dimension { /** - * Name of the dimension + * @member {string} name Name of the dimension */ name: string; /** - * List of dimension values + * @member {string[]} values List of dimension values */ values: string[]; } /** + * @interface + * An interface representing Criteria. * Specifies the criteria for converting log to metric. + * */ export interface Criteria { /** - * Name of the metric + * @member {string} metricName Name of the metric */ metricName: string; /** - * List of Dimensions for creating metric + * @member {Dimension[]} [dimensions] List of Dimensions for creating metric */ dimensions?: Dimension[]; } /** + * @interface + * An interface representing LogToMetricAction. * Specify action need to be taken when rule type is converting log to metric + * */ export interface LogToMetricAction { /** - * Polymorphic Discriminator + * @member {string} odatatype Polymorphic Discriminator */ odatatype: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction"; /** - * Severity of the alert + * @member {Criteria} criteria Severity of the alert */ criteria: Criteria; } /** + * @interface + * An interface representing MetricNamespaceName. * The fully qualified metric namespace name. + * */ export interface MetricNamespaceName { /** - * The metric namespace name. + * @member {string} [metricNamespaceName] The metric namespace name. */ metricNamespaceName?: string; } /** + * @interface + * An interface representing MetricNamespace. * Metric namespace class specifies the metadata for a metric namespace. + * */ export interface MetricNamespace { /** - * The ID of the metricNamespace. + * @member {string} [id] The ID of the metricNamespace. */ id?: string; /** - * The type of the namespace. + * @member {string} [type] The type of the namespace. */ type?: string; /** - * The name of the namespace. + * @member {string} [name] The name of the namespace. */ name?: string; /** - * Properties which include the fully qualified namespace name. + * @member {MetricNamespaceName} [properties] Properties which include the + * fully qualified namespace name. */ properties?: MetricNamespaceName; } /** + * @interface + * An interface representing ProxyResource. * An azure resource object + * + * @extends BaseResource */ export interface ProxyResource extends BaseResource { /** - * Azure resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [id] Azure resource Id + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly id?: string; /** - * Azure resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] Azure resource name + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * Azure resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [type] Azure resource type + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly type?: string; } /** + * @interface + * An interface representing ErrorModel. * Error details. + * */ export interface ErrorModel { /** - * Error code identifying the specific error. + * @member {string} code Error code identifying the specific error. */ code: string; /** - * Error message in the caller's locale. + * @member {string} [message] Error message in the caller's locale. */ message?: string; } /** + * @interface + * An interface representing ResponseWithError. * An error response from the API. + * */ export interface ResponseWithError { /** - * Error information. + * @member {ErrorModel} error Error information. */ error: ErrorModel; } /** + * @interface + * An interface representing WorkspaceInfo. * Information about a Log Analytics Workspace. + * */ export interface WorkspaceInfo { /** - * Azure Resource Manager identifier of the Log Analytics Workspace. + * @member {string} id Azure Resource Manager identifier of the Log Analytics + * Workspace. */ id: string; /** - * Location of the Log Analytics workspace. + * @member {string} location Location of the Log Analytics workspace. */ location: string; /** - * Log Analytics workspace identifier. + * @member {string} customerId Log Analytics workspace identifier. */ customerId: string; } /** + * @interface + * An interface representing DataContainer. * Information about a container with data for a given resource. + * */ export interface DataContainer { /** - * Log Analytics workspace information. + * @member {WorkspaceInfo} workspace Log Analytics workspace information. */ workspace: WorkspaceInfo; } /** + * @interface + * An interface representing VMInsightsOnboardingStatus. * VM Insights onboarding status for a resource. + * + * @extends ProxyResource */ export interface VMInsightsOnboardingStatus extends ProxyResource { /** - * Azure Resource Manager identifier of the resource whose onboarding status is being - * represented. + * @member {string} resourceId Azure Resource Manager identifier of the + * resource whose onboarding status is being represented. */ resourceId: string; /** - * 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. - * Possible values include: 'onboarded', 'notOnboarded', 'unknown' + * @member {OnboardingStatus} onboardingStatus 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. Possible values include: 'onboarded', 'notOnboarded', 'unknown' */ onboardingStatus: OnboardingStatus; /** - * The status of VM Insights data from the resource. When reported as `present` the data array - * will contain information about the data containers to which data for the specified resource is - * being routed. Possible values include: 'present', 'notPresent' + * @member {DataStatus} dataStatus The status of VM Insights data from the + * resource. When reported as `present` the data array will contain + * information about the data containers to which data for the specified + * resource is being routed. Possible values include: 'present', 'notPresent' */ dataStatus: DataStatus; /** - * Containers that currently store VM Insights data for the specified resource. + * @member {DataContainer[]} [data] Containers that currently store VM + * Insights data for the specified resource. */ data?: DataContainer[]; } /** + * @interface + * An interface representing ActivityLogsListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface ActivityLogsListOptionalParams extends msRest.RequestOptionsBase { /** - * Reduces the set of data collected.
The **$filter** argument is very restricted and allows - * only the following patterns.
- *List events for a resource group*: $filter=eventTimestamp - * ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and - * resourceGroupName eq 'resourceGroupName'.
- *List events for resource*: - * $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le - * '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.
- *List events for a - * subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and - * eventTimestamp le '2014-07-20T04:36:37.6407898Z'.
- *List events for a resource provider*: - * $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le - * '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.
- *List - * events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and + * @member {string} [filter] Reduces the set of data collected.
The + * **$filter** argument is very restricted and allows only the following + * patterns.
- *List events for a resource group*: $filter=eventTimestamp + * ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le + * '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq + * 'resourceGroupName'.
- *List events for resource*: + * $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and + * eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq + * 'resourceURI'.
- *List events for a subscription in a time range*: + * $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and + * eventTimestamp le '2014-07-20T04:36:37.6407898Z'.
- *List events for a + * resource provider*: $filter=eventTimestamp ge + * '2014-07-16T04:36:37.6407898Z' and eventTimestamp le + * '2014-07-20T04:36:37.6407898Z' and resourceProvider eq + * 'resourceProviderName'.
- *List events for a correlation Id*: + * $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and * eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq * 'correlationID'.

**NOTE**: No other syntax is allowed. */ filter?: string; /** - * Used to fetch events with only the given properties.
The **$select** argument is a comma - * separated list of property names to be returned. Possible values are: *authorization*, - * *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, - * *httpRequest*, *level*, *operationId*, *operationName*, *properties*, *resourceGroupName*, - * *resourceProviderName*, *resourceId*, *status*, *submissionTimestamp*, *subStatus*, - * *subscriptionId* + * @member {string} [select] Used to fetch events with only the given + * properties.
The **$select** argument is a comma separated list of + * property names to be returned. Possible values are: *authorization*, + * *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, + * *eventTimestamp*, *httpRequest*, *level*, *operationId*, *operationName*, + * *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*, + * *status*, *submissionTimestamp*, *subStatus*, *subscriptionId* */ select?: string; } /** + * @interface + * An interface representing TenantActivityLogsListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface TenantActivityLogsListOptionalParams extends msRest.RequestOptionsBase { /** - * Reduces the set of data collected.
The **$filter** is very restricted and allows only the - * following patterns.
- List events for a resource group: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and - * resourceGroupName eq ''.
- List events for resource: - * $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels - * eq 'Admin, Operation' and resourceUri eq ''.
- List events for a subscription: - * $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels - * eq 'Admin, Operation'.
- List events for a resource provider: $filter=eventTimestamp ge - * '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and - * resourceProvider eq ''.
- List events for a correlation Id: - * api-version=2014-04-01&$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and - * eventTimestamp le '2014-07-20T04:36:37.6407898Z' and eventChannels eq 'Admin, Operation' and - * correlationId eq ''.
**NOTE**: No other syntax is allowed. + * @member {string} [filter] Reduces the set of data collected.
The + * **$filter** is very restricted and allows only the following + * patterns.
- List events for a resource group: $filter=eventTimestamp ge + * '' and eventTimestamp le '' and eventChannels eq + * 'Admin, Operation' and resourceGroupName eq ''.
- + * List events for resource: $filter=eventTimestamp ge '' and + * eventTimestamp le '' and eventChannels eq 'Admin, Operation' and + * resourceUri eq ''.
- List events for a subscription: + * $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation'.
- List events for a + * resource provider: $filter=eventTimestamp ge '' and + * eventTimestamp le '' and eventChannels eq 'Admin, Operation' and + * resourceProvider eq ''.
- List events for a + * correlation Id: api-version=2014-04-01&$filter=eventTimestamp ge + * '2014-07-16T04:36:37.6407898Z' and eventTimestamp le + * '2014-07-20T04:36:37.6407898Z' and eventChannels eq 'Admin, Operation' and + * correlationId eq ''.
**NOTE**: No other syntax is + * allowed. */ filter?: string; /** - * Used to fetch events with only the given properties.
The **$select** argument is a comma - * separated list of property names to be returned. Possible values are: *authorization*, - * *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, - * *httpRequest*, *level*, *operationId*, *operationName*, *properties*, *resourceGroupName*, - * *resourceProviderName*, *resourceId*, *status*, *submissionTimestamp*, *subStatus*, - * *subscriptionId* + * @member {string} [select] Used to fetch events with only the given + * properties.
The **$select** argument is a comma separated list of + * property names to be returned. Possible values are: *authorization*, + * *claims*, *correlationId*, *description*, *eventDataId*, *eventName*, + * *eventTimestamp*, *httpRequest*, *level*, *operationId*, *operationName*, + * *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*, + * *status*, *submissionTimestamp*, *subStatus*, *subscriptionId* */ select?: string; } /** + * @interface + * An interface representing MetricDefinitionsListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface MetricDefinitionsListOptionalParams extends msRest.RequestOptionsBase { /** - * Metric namespace to query metric definitions for. + * @member {string} [metricnamespace] Metric namespace to query metric + * definitions for. */ metricnamespace?: string; } /** + * @interface + * An interface representing MetricsListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface MetricsListOptionalParams extends msRest.RequestOptionsBase { /** - * The timespan of the query. It is a string with the following format - * 'startDateTime_ISO/endDateTime_ISO'. + * @member {string} [timespan] The timespan of the query. It is a string with + * the following format 'startDateTime_ISO/endDateTime_ISO'. */ timespan?: string; /** - * The interval (i.e. timegrain) of the query. + * @member {string} [interval] The interval (i.e. timegrain) of the query. */ interval?: string; /** - * The names of the metrics (comma separated) to retrieve. + * @member {string} [metricnames] The names of the metrics (comma separated) + * to retrieve. */ metricnames?: string; /** - * The list of aggregation types (comma separated) to retrieve. + * @member {string} [aggregation] The list of aggregation types (comma + * separated) to retrieve. */ aggregation?: string; /** - * The maximum number of records to retrieve. + * @member {number} [top] The maximum number of records to retrieve. * Valid only if $filter is specified. * Defaults to 10. */ top?: number; /** - * The aggregation to use for sorting results and the direction of the sort. + * @member {string} [orderby] The aggregation to use for sorting results and + * the direction of the sort. * Only one order can be specified. * Examples: sum asc. */ orderby?: string; /** - * The **$filter** is used to reduce the set of metric data returned.
Example:
Metric - * contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or - * b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid - * variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid - * because the logical or operator cannot separate two different metadata names.
- Return all - * time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq - * ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq - * ‘*’**. + * @member {string} [filter] The **$filter** is used to reduce the set of + * metric data returned.
Example:
Metric contains metadata A, B and + * C.
- Return all time series of C where A = a1 and B = b1 or + * b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- + * Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = + * ‘b2’**
This is invalid because the logical or operator cannot separate + * two different metadata names.
- Return all time series where A = a1, B + * = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- + * Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ + * and C eq ‘*’**. */ filter?: string; /** - * Reduces the set of data collected. The syntax allowed depends on the operation. See the - * operation's description for details. Possible values include: 'Data', 'Metadata' + * @member {ResultType} [resultType] Reduces the set of data collected. The + * syntax allowed depends on the operation. See the operation's description + * for details. Possible values include: 'Data', 'Metadata' */ resultType?: ResultType; /** - * Metric namespace to query metric definitions for. + * @member {string} [metricnamespace] Metric namespace to query metric + * definitions for. */ metricnamespace?: string; } /** + * @interface + * An interface representing MetricBaselineGetOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface MetricBaselineGetOptionalParams extends msRest.RequestOptionsBase { /** - * The timespan of the query. It is a string with the following format - * 'startDateTime_ISO/endDateTime_ISO'. + * @member {string} [timespan] The timespan of the query. It is a string with + * the following format 'startDateTime_ISO/endDateTime_ISO'. */ timespan?: string; /** - * The interval (i.e. timegrain) of the query. + * @member {string} [interval] The interval (i.e. timegrain) of the query. */ interval?: string; /** - * The aggregation type of the metric to retrieve the baseline for. + * @member {string} [aggregation] The aggregation type of the metric to + * retrieve the baseline for. */ aggregation?: string; /** - * The list of sensitivities (comma separated) to retrieve. + * @member {string} [sensitivities] The list of sensitivities (comma + * separated) to retrieve. */ sensitivities?: string; /** - * Allows retrieving only metadata of the baseline. On data request all information is retrieved. - * Possible values include: 'Data', 'Metadata' + * @member {ResultType} [resultType] Allows retrieving only metadata of the + * baseline. On data request all information is retrieved. Possible values + * include: 'Data', 'Metadata' */ resultType?: ResultType; } /** + * @interface + * An interface representing ScheduledQueryRulesListBySubscriptionOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface ScheduledQueryRulesListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. For more information please see + * @member {string} [filter] The filter to apply on the operation. For more + * information please see * https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx */ filter?: string; } /** + * @interface + * An interface representing ScheduledQueryRulesListByResourceGroupOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface ScheduledQueryRulesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * The filter to apply on the operation. For more information please see + * @member {string} [filter] The filter to apply on the operation. For more + * information please see * https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx */ filter?: string; } /** + * @interface + * An interface representing MetricNamespacesListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface MetricNamespacesListOptionalParams extends msRest.RequestOptionsBase { /** - * The ISO 8601 conform Date start time from which to query for metric namespaces. + * @member {string} [startTime] The ISO 8601 conform Date start time from + * which to query for metric namespaces. */ startTime?: string; } /** + * @interface * An interface representing MonitorManagementClientOptions. + * @extends AzureServiceClientOptions */ export interface MonitorManagementClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ baseUri?: string; } + /** * @interface + * An interface representing the AutoscaleSettingResourceCollection. * Represents a collection of autoscale setting resources. + * * @extends Array */ export interface AutoscaleSettingResourceCollection extends Array { /** - * URL to get the next set of results. + * @member {string} [nextLink] URL to get the next set of results. */ nextLink?: string; } /** * @interface + * An interface representing the IncidentListResult. * The List incidents operation response. + * * @extends Array */ export interface IncidentListResult extends Array { @@ -2833,7 +3553,9 @@ export interface IncidentListResult extends Array { /** * @interface + * An interface representing the AlertRuleResourceCollection. * Represents a collection of alert rule resources. + * * @extends Array */ export interface AlertRuleResourceCollection extends Array { @@ -2841,7 +3563,9 @@ export interface AlertRuleResourceCollection extends Array { /** * @interface + * An interface representing the LogProfileCollection. * Represents a collection of log profiles. + * * @extends Array */ export interface LogProfileCollection extends Array { @@ -2849,44 +3573,55 @@ export interface LogProfileCollection extends Array { /** * @interface + * An interface representing the ActionGroupList. * A list of action groups. + * * @extends Array */ export interface ActionGroupList extends Array { /** - * Provides the link to retrieve the next set of elements. + * @member {string} [nextLink] Provides the link to retrieve the next set of + * elements. */ nextLink?: string; } /** * @interface + * An interface representing the ActivityLogAlertList. * A list of activity log alerts. + * * @extends Array */ export interface ActivityLogAlertList extends Array { /** - * Provides the link to retrieve the next set of elements. + * @member {string} [nextLink] Provides the link to retrieve the next set of + * elements. */ nextLink?: string; } /** * @interface + * An interface representing the EventDataCollection. * Represents collection of events. + * * @extends Array */ export interface EventDataCollection extends Array { /** - * Provides the link to retrieve the next set of events. + * @member {string} [nextLink] Provides the link to retrieve the next set of + * events. */ nextLink?: string; } /** * @interface - * A collection of event categories. Currently possible values are: Administrative, Security, - * ServiceHealth, Alert, Recommendation, Policy. + * An interface representing the EventCategoryCollection. + * A collection of event categories. Currently possible values are: + * Administrative, Security, ServiceHealth, Alert, Recommendation, Policy. + * * @extends Array */ export interface EventCategoryCollection extends Array { @@ -2894,7 +3629,9 @@ export interface EventCategoryCollection extends Array { /** * @interface + * An interface representing the MetricDefinitionCollection. * Represents collection of metric definitions. + * * @extends Array */ export interface MetricDefinitionCollection extends Array { @@ -2902,7 +3639,9 @@ export interface MetricDefinitionCollection extends Array { /** * @interface + * An interface representing the MetricAlertResourceCollection. * Represents a collection of alert rule resources. + * * @extends Array */ export interface MetricAlertResourceCollection extends Array { @@ -2910,7 +3649,9 @@ export interface MetricAlertResourceCollection extends Array */ export interface LogSearchRuleResourceCollection extends Array { @@ -2918,7 +3659,9 @@ export interface LogSearchRuleResourceCollection extends Array */ export interface MetricNamespaceCollection extends Array { @@ -3122,7 +3865,6 @@ export type AutoscaleSettingsListByResourceGroupResponse = AutoscaleSettingResou * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3142,7 +3884,6 @@ export type AutoscaleSettingsCreateOrUpdateResponse = AutoscaleSettingResource & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3162,7 +3903,6 @@ export type AutoscaleSettingsGetResponse = AutoscaleSettingResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3182,7 +3922,6 @@ export type AutoscaleSettingsUpdateResponse = AutoscaleSettingResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3202,7 +3941,6 @@ export type AutoscaleSettingsListBySubscriptionResponse = AutoscaleSettingResour * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3222,7 +3960,6 @@ export type AutoscaleSettingsListByResourceGroupNextResponse = AutoscaleSettingR * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3242,7 +3979,6 @@ export type AutoscaleSettingsListBySubscriptionNextResponse = AutoscaleSettingRe * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3262,7 +3998,6 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3282,7 +4017,6 @@ export type AlertRuleIncidentsGetResponse = Incident & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3302,7 +4036,6 @@ export type AlertRuleIncidentsListByAlertRuleResponse = IncidentListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3322,7 +4055,6 @@ export type AlertRulesCreateOrUpdateResponse = AlertRuleResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3342,7 +4074,6 @@ export type AlertRulesGetResponse = AlertRuleResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3362,7 +4093,6 @@ export type AlertRulesUpdateResponse = AlertRuleResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3382,7 +4112,6 @@ export type AlertRulesListByResourceGroupResponse = AlertRuleResourceCollection * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3402,7 +4131,6 @@ export type AlertRulesListBySubscriptionResponse = AlertRuleResourceCollection & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3422,7 +4150,6 @@ export type LogProfilesGetResponse = LogProfileResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3442,7 +4169,6 @@ export type LogProfilesCreateOrUpdateResponse = LogProfileResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3462,7 +4188,6 @@ export type LogProfilesUpdateResponse = LogProfileResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3482,7 +4207,6 @@ export type LogProfilesListResponse = LogProfileCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3502,7 +4226,6 @@ export type DiagnosticSettingsGetResponse = DiagnosticSettingsResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3522,7 +4245,6 @@ export type DiagnosticSettingsCreateOrUpdateResponse = DiagnosticSettingsResourc * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3542,7 +4264,6 @@ export type DiagnosticSettingsListResponse = DiagnosticSettingsResourceCollectio * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3562,7 +4283,6 @@ export type DiagnosticSettingsCategoryGetResponse = DiagnosticSettingsCategoryRe * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3582,7 +4302,6 @@ export type DiagnosticSettingsCategoryListResponse = DiagnosticSettingsCategoryR * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3602,7 +4321,6 @@ export type ActionGroupsCreateOrUpdateResponse = ActionGroupResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3622,7 +4340,6 @@ export type ActionGroupsGetResponse = ActionGroupResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3642,7 +4359,6 @@ export type ActionGroupsUpdateResponse = ActionGroupResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3662,7 +4378,6 @@ export type ActionGroupsListBySubscriptionIdResponse = ActionGroupList & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3682,7 +4397,6 @@ export type ActionGroupsListByResourceGroupResponse = ActionGroupList & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3702,7 +4416,6 @@ export type ActivityLogAlertsCreateOrUpdateResponse = ActivityLogAlertResource & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3722,7 +4435,6 @@ export type ActivityLogAlertsGetResponse = ActivityLogAlertResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3742,7 +4454,6 @@ export type ActivityLogAlertsUpdateResponse = ActivityLogAlertResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3762,7 +4473,6 @@ export type ActivityLogAlertsListBySubscriptionIdResponse = ActivityLogAlertList * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3782,7 +4492,6 @@ export type ActivityLogAlertsListByResourceGroupResponse = ActivityLogAlertList * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3802,7 +4511,6 @@ export type ActivityLogsListResponse = EventDataCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3822,7 +4530,6 @@ export type ActivityLogsListNextResponse = EventDataCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3842,7 +4549,6 @@ export type EventCategoriesListResponse = EventCategoryCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3862,7 +4568,6 @@ export type TenantActivityLogsListResponse = EventDataCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3882,7 +4587,6 @@ export type TenantActivityLogsListNextResponse = EventDataCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3902,7 +4606,6 @@ export type MetricDefinitionsListResponse = MetricDefinitionCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3922,7 +4625,6 @@ export type MetricsListResponse = Response & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3942,7 +4644,6 @@ export type MetricBaselineGetResponse = BaselineResponse & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3962,7 +4663,6 @@ export type MetricBaselineCalculateBaselineResponse = CalculateBaselineResponse * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -3982,7 +4682,6 @@ export type MetricAlertsListBySubscriptionResponse = MetricAlertResourceCollecti * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4002,7 +4701,6 @@ export type MetricAlertsListByResourceGroupResponse = MetricAlertResourceCollect * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4022,7 +4720,6 @@ export type MetricAlertsGetResponse = MetricAlertResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4042,7 +4739,6 @@ export type MetricAlertsCreateOrUpdateResponse = MetricAlertResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4062,7 +4758,6 @@ export type MetricAlertsUpdateResponse = MetricAlertResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4082,7 +4777,6 @@ export type MetricAlertsStatusListResponse = MetricAlertStatusCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4102,7 +4796,6 @@ export type MetricAlertsStatusListByNameResponse = MetricAlertStatusCollection & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4122,7 +4815,6 @@ export type ScheduledQueryRulesCreateOrUpdateResponse = LogSearchRuleResource & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4142,7 +4834,6 @@ export type ScheduledQueryRulesGetResponse = LogSearchRuleResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4162,7 +4853,6 @@ export type ScheduledQueryRulesUpdateResponse = LogSearchRuleResource & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4182,7 +4872,6 @@ export type ScheduledQueryRulesListBySubscriptionResponse = LogSearchRuleResourc * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4202,7 +4891,6 @@ export type ScheduledQueryRulesListByResourceGroupResponse = LogSearchRuleResour * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4222,7 +4910,6 @@ export type MetricNamespacesListResponse = MetricNamespaceCollection & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -4242,7 +4929,6 @@ export type VMInsightsGetOnboardingStatusResponse = VMInsightsOnboardingStatus & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ diff --git a/packages/@azure/arm-monitor/lib/models/logProfilesMappers.ts b/packages/@azure/arm-monitor/lib/models/logProfilesMappers.ts index 7535e7ef7fb1..ead70ba0e22f 100644 --- a/packages/@azure/arm-monitor/lib/models/logProfilesMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/logProfilesMappers.ts @@ -1,88 +1,91 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - Action, - ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, - ActivityLogAlertAllOfCondition, - ActivityLogAlertLeafCondition, - ActivityLogAlertResource, - AlertingAction, - AlertRuleResource, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, - AutoscaleSettingResource, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, - BaseResource, CloudError, - Criteria, - DataContainer, - DiagnosticSettingsCategoryResource, - DiagnosticSettingsResource, - Dimension, - EmailNotification, - EmailReceiver, - ErrorResponse, - ItsmReceiver, - LocationThresholdRuleCondition, - LogicAppReceiver, - LogMetricTrigger, - LogProfileCollection, LogProfileResource, + Resource, + BaseResource, + RetentionPolicy, + ErrorResponse, LogProfileResourcePatch, - LogSearchRuleResource, - LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, - MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, - MetricAlertResource, - MetricAlertSingleResourceMultipleMetricCriteria, - MetricCriteria, - MetricDimension, - MetricSettings, + LogProfileCollection, + AutoscaleSettingResource, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, MetricTrigger, - MultiMetricCriteria, - ProxyOnlyResource, - ProxyResource, + ScaleAction, + TimeWindow, Recurrence, RecurrentSchedule, - Resource, - RetentionPolicy, - RuleAction, + AutoscaleNotification, + EmailNotification, + WebhookNotification, + AlertRuleResource, RuleCondition, RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, - RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, + RuleAction, + ProxyOnlyResource, + DiagnosticSettingsResource, + MetricSettings, + LogSettings, + DiagnosticSettingsCategoryResource, + ActionGroupResource, + EmailReceiver, SmsReceiver, + WebhookReceiver, + ItsmReceiver, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, + LogicAppReceiver, + AzureFunctionReceiver, + ArmRoleReceiver, + ActivityLogAlertResource, + ActivityLogAlertAllOfCondition, + ActivityLogAlertLeafCondition, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, + MetricAlertResource, + MetricAlertCriteria, + MetricAlertAction, + MetricAlertSingleResourceMultipleMetricCriteria, + MetricCriteria, + MultiMetricCriteria, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + LogSearchRuleResource, Source, - ThresholdRuleCondition, - TimeWindow, + Schedule, + Action, + AlertingAction, + AzNsActionGroup, TriggerCondition, + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, + ProxyResource, VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, - WorkspaceInfo + DataContainer, + WorkspaceInfo, + RuleMetricDataSource, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, + ThresholdRuleCondition, + LocationThresholdRuleCondition, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/mappers.ts b/packages/@azure/arm-monitor/lib/models/mappers.ts index ea4a47c9912c..92bc3bed4eb4 100644 --- a/packages/@azure/arm-monitor/lib/models/mappers.ts +++ b/packages/@azure/arm-monitor/lib/models/mappers.ts @@ -1,9 +1,11 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -4752,5 +4754,4 @@ export const discriminators = { 'Action' : Action, 'Action.Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction' : AlertingAction, 'Action.Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction' : LogToMetricAction - }; diff --git a/packages/@azure/arm-monitor/lib/models/metricAlertsMappers.ts b/packages/@azure/arm-monitor/lib/models/metricAlertsMappers.ts index 943c974071e4..6a82999404da 100644 --- a/packages/@azure/arm-monitor/lib/models/metricAlertsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/metricAlertsMappers.ts @@ -1,88 +1,91 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - Action, - ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, - ActivityLogAlertAllOfCondition, - ActivityLogAlertLeafCondition, - ActivityLogAlertResource, - AlertingAction, - AlertRuleResource, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, - AutoscaleSettingResource, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, + MetricAlertResourceCollection, + MetricAlertResource, + Resource, BaseResource, - CloudError, - Criteria, - DataContainer, - DiagnosticSettingsCategoryResource, - DiagnosticSettingsResource, - Dimension, - EmailNotification, - EmailReceiver, - ErrorResponse, - ItsmReceiver, - LocationThresholdRuleCondition, - LogicAppReceiver, - LogMetricTrigger, - LogProfileResource, - LogSearchRuleResource, - LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, - MetricAlertResource, - MetricAlertResourceCollection, + MetricAlertAction, + ErrorResponse, MetricAlertResourcePatch, - MetricAlertSingleResourceMultipleMetricCriteria, - MetricCriteria, - MetricDimension, - MetricSettings, + CloudError, + AutoscaleSettingResource, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, MetricTrigger, - MultiMetricCriteria, - ProxyOnlyResource, - ProxyResource, + ScaleAction, + TimeWindow, Recurrence, RecurrentSchedule, - Resource, - RetentionPolicy, - RuleAction, + AutoscaleNotification, + EmailNotification, + WebhookNotification, + AlertRuleResource, RuleCondition, RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, - RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, + RuleAction, + LogProfileResource, + RetentionPolicy, + ProxyOnlyResource, + DiagnosticSettingsResource, + MetricSettings, + LogSettings, + DiagnosticSettingsCategoryResource, + ActionGroupResource, + EmailReceiver, SmsReceiver, + WebhookReceiver, + ItsmReceiver, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, + LogicAppReceiver, + AzureFunctionReceiver, + ArmRoleReceiver, + ActivityLogAlertResource, + ActivityLogAlertAllOfCondition, + ActivityLogAlertLeafCondition, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, + MetricAlertSingleResourceMultipleMetricCriteria, + MetricCriteria, + MultiMetricCriteria, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + LogSearchRuleResource, Source, - ThresholdRuleCondition, - TimeWindow, + Schedule, + Action, + AlertingAction, + AzNsActionGroup, TriggerCondition, + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, + ProxyResource, VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, - WorkspaceInfo + DataContainer, + WorkspaceInfo, + RuleMetricDataSource, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, + ThresholdRuleCondition, + LocationThresholdRuleCondition, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/metricAlertsStatusMappers.ts b/packages/@azure/arm-monitor/lib/models/metricAlertsStatusMappers.ts index a044e8994582..4fad043d034d 100644 --- a/packages/@azure/arm-monitor/lib/models/metricAlertsStatusMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/metricAlertsStatusMappers.ts @@ -1,15 +1,18 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - ErrorResponse, - MetricAlertStatus, MetricAlertStatusCollection, - MetricAlertStatusProperties + MetricAlertStatus, + MetricAlertStatusProperties, + ErrorResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/metricBaselineMappers.ts b/packages/@azure/arm-monitor/lib/models/metricBaselineMappers.ts index 7fbb371a4578..c70ba6543590 100644 --- a/packages/@azure/arm-monitor/lib/models/metricBaselineMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/metricBaselineMappers.ts @@ -1,18 +1,21 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, + BaselineResponse, + LocalizableString, Baseline, BaselineMetadataValue, - BaselineResponse, - CalculateBaselineResponse, ErrorResponse, - LocalizableString, - TimeSeriesInformation + TimeSeriesInformation, + CalculateBaselineResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/metricDefinitionsMappers.ts b/packages/@azure/arm-monitor/lib/models/metricDefinitionsMappers.ts index 31046db255a5..d1134e0ae106 100644 --- a/packages/@azure/arm-monitor/lib/models/metricDefinitionsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/metricDefinitionsMappers.ts @@ -1,16 +1,19 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - ErrorResponse, + MetricDefinitionCollection, + MetricDefinition, LocalizableString, MetricAvailability, - MetricDefinition, - MetricDefinitionCollection + ErrorResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/metricNamespacesMappers.ts b/packages/@azure/arm-monitor/lib/models/metricNamespacesMappers.ts index 2e78b28244cd..d7fea3f0fa2e 100644 --- a/packages/@azure/arm-monitor/lib/models/metricNamespacesMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/metricNamespacesMappers.ts @@ -1,15 +1,18 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - ErrorResponse, - MetricNamespace, MetricNamespaceCollection, - MetricNamespaceName + MetricNamespace, + MetricNamespaceName, + ErrorResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/metricsMappers.ts b/packages/@azure/arm-monitor/lib/models/metricsMappers.ts index 0796246e9fe7..950c2c7c6470 100644 --- a/packages/@azure/arm-monitor/lib/models/metricsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/metricsMappers.ts @@ -1,18 +1,21 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - ErrorResponse, + Response, + Metric, LocalizableString, + TimeSeriesElement, MetadataValue, - Metric, MetricValue, - Response, - TimeSeriesElement + ErrorResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/operationsMappers.ts b/packages/@azure/arm-monitor/lib/models/operationsMappers.ts index 65fc7dd1800a..19f09b391246 100644 --- a/packages/@azure/arm-monitor/lib/models/operationsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/operationsMappers.ts @@ -1,15 +1,18 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - CloudError, + OperationListResult, Operation, OperationDisplay, - OperationListResult + CloudError } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/scheduledQueryRulesMappers.ts b/packages/@azure/arm-monitor/lib/models/scheduledQueryRulesMappers.ts index 0eca9aa4e361..8ec8287c4650 100644 --- a/packages/@azure/arm-monitor/lib/models/scheduledQueryRulesMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/scheduledQueryRulesMappers.ts @@ -1,87 +1,90 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, + LogSearchRuleResource, + Resource, + BaseResource, + Source, + Schedule, Action, - ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, - ActivityLogAlertAllOfCondition, - ActivityLogAlertLeafCondition, - ActivityLogAlertResource, - AlertingAction, - AlertRuleResource, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, + ErrorResponse, + LogSearchRuleResourcePatch, + LogSearchRuleResourceCollection, AutoscaleSettingResource, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, - BaseResource, - Criteria, - DataContainer, - DiagnosticSettingsCategoryResource, - DiagnosticSettingsResource, - Dimension, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, + MetricTrigger, + ScaleAction, + TimeWindow, + Recurrence, + RecurrentSchedule, + AutoscaleNotification, EmailNotification, + WebhookNotification, + AlertRuleResource, + RuleCondition, + RuleDataSource, + RuleAction, + LogProfileResource, + RetentionPolicy, + ProxyOnlyResource, + DiagnosticSettingsResource, + MetricSettings, + LogSettings, + DiagnosticSettingsCategoryResource, + ActionGroupResource, EmailReceiver, - ErrorResponse, + SmsReceiver, + WebhookReceiver, ItsmReceiver, - LocationThresholdRuleCondition, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, LogicAppReceiver, - LogMetricTrigger, - LogProfileResource, - LogSearchRuleResource, - LogSearchRuleResourceCollection, - LogSearchRuleResourcePatch, - LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, - MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, + AzureFunctionReceiver, + ArmRoleReceiver, + ActivityLogAlertResource, + ActivityLogAlertAllOfCondition, + ActivityLogAlertLeafCondition, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, MetricAlertResource, + MetricAlertCriteria, + MetricAlertAction, MetricAlertSingleResourceMultipleMetricCriteria, MetricCriteria, - MetricDimension, - MetricSettings, - MetricTrigger, MultiMetricCriteria, - ProxyOnlyResource, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + AlertingAction, + AzNsActionGroup, + TriggerCondition, + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, ProxyResource, - Recurrence, - RecurrentSchedule, - Resource, - RetentionPolicy, - RuleAction, - RuleCondition, - RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, + VMInsightsOnboardingStatus, + DataContainer, + WorkspaceInfo, RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, - SmsReceiver, - Source, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, ThresholdRuleCondition, - TimeWindow, - TriggerCondition, - VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, - WorkspaceInfo + LocationThresholdRuleCondition, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/tenantActivityLogsMappers.ts b/packages/@azure/arm-monitor/lib/models/tenantActivityLogsMappers.ts index 80edb96348be..d8566b13f281 100644 --- a/packages/@azure/arm-monitor/lib/models/tenantActivityLogsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/tenantActivityLogsMappers.ts @@ -1,17 +1,20 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - ErrorResponse, - EventData, EventDataCollection, - HttpRequestInfo, + EventData, + SenderAuthorization, LocalizableString, - SenderAuthorization + HttpRequestInfo, + ErrorResponse } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/models/vMInsightsMappers.ts b/packages/@azure/arm-monitor/lib/models/vMInsightsMappers.ts index 257346a9d360..09baeb99f62e 100644 --- a/packages/@azure/arm-monitor/lib/models/vMInsightsMappers.ts +++ b/packages/@azure/arm-monitor/lib/models/vMInsightsMappers.ts @@ -1,86 +1,89 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the project root for + * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. */ export { discriminators, - Action, - ActionGroupResource, - ActivityLogAlertActionGroup, - ActivityLogAlertActionList, - ActivityLogAlertAllOfCondition, - ActivityLogAlertLeafCondition, - ActivityLogAlertResource, - AlertingAction, - AlertRuleResource, - ArmRoleReceiver, - AutomationRunbookReceiver, - AutoscaleNotification, - AutoscaleProfile, - AutoscaleSettingResource, - AzNsActionGroup, - AzureAppPushReceiver, - AzureFunctionReceiver, + VMInsightsOnboardingStatus, + ProxyResource, BaseResource, - Criteria, DataContainer, - DiagnosticSettingsCategoryResource, - DiagnosticSettingsResource, - Dimension, + WorkspaceInfo, + ResponseWithError, + ErrorModel, + Resource, + AutoscaleSettingResource, + AutoscaleProfile, + ScaleCapacity, + ScaleRule, + MetricTrigger, + ScaleAction, + TimeWindow, + Recurrence, + RecurrentSchedule, + AutoscaleNotification, EmailNotification, + WebhookNotification, + AlertRuleResource, + RuleCondition, + RuleDataSource, + RuleAction, + LogProfileResource, + RetentionPolicy, + ProxyOnlyResource, + DiagnosticSettingsResource, + MetricSettings, + LogSettings, + DiagnosticSettingsCategoryResource, + ActionGroupResource, EmailReceiver, - ErrorModel, + SmsReceiver, + WebhookReceiver, ItsmReceiver, - LocationThresholdRuleCondition, + AzureAppPushReceiver, + AutomationRunbookReceiver, + VoiceReceiver, LogicAppReceiver, - LogMetricTrigger, - LogProfileResource, - LogSearchRuleResource, - LogSettings, - LogToMetricAction, - ManagementEventAggregationCondition, - ManagementEventRuleCondition, - MetricAlertAction, - MetricAlertCriteria, - MetricAlertMultipleResourceMultipleMetricCriteria, + AzureFunctionReceiver, + ArmRoleReceiver, + ActivityLogAlertResource, + ActivityLogAlertAllOfCondition, + ActivityLogAlertLeafCondition, + ActivityLogAlertActionList, + ActivityLogAlertActionGroup, MetricAlertResource, + MetricAlertCriteria, + MetricAlertAction, MetricAlertSingleResourceMultipleMetricCriteria, MetricCriteria, - MetricDimension, - MetricSettings, - MetricTrigger, MultiMetricCriteria, - ProxyOnlyResource, - ProxyResource, - Recurrence, - RecurrentSchedule, - Resource, - ResponseWithError, - RetentionPolicy, - RuleAction, - RuleCondition, - RuleDataSource, - RuleEmailAction, - RuleManagementEventClaimsDataSource, - RuleManagementEventDataSource, - RuleMetricDataSource, - RuleWebhookAction, - ScaleAction, - ScaleCapacity, - ScaleRule, - Schedule, - SmsReceiver, + MetricDimension, + MetricAlertMultipleResourceMultipleMetricCriteria, + LogSearchRuleResource, Source, - ThresholdRuleCondition, - TimeWindow, + Schedule, + Action, + AlertingAction, + AzNsActionGroup, TriggerCondition, - VMInsightsOnboardingStatus, - VoiceReceiver, - WebhookNotification, - WebhookReceiver, - WorkspaceInfo + LogMetricTrigger, + LogToMetricAction, + Criteria, + Dimension, + RuleMetricDataSource, + RuleManagementEventDataSource, + RuleManagementEventClaimsDataSource, + ThresholdRuleCondition, + LocationThresholdRuleCondition, + ManagementEventRuleCondition, + ManagementEventAggregationCondition, + RuleEmailAction, + RuleWebhookAction } from "../models/mappers"; + diff --git a/packages/@azure/arm-monitor/lib/monitorManagementClientContext.ts b/packages/@azure/arm-monitor/lib/monitorManagementClientContext.ts index dc9c114e8eb4..caf62c5e9c4f 100644 --- a/packages/@azure/arm-monitor/lib/monitorManagementClientContext.ts +++ b/packages/@azure/arm-monitor/lib/monitorManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-monitor"; -const packageVersion = "5.2.0"; +const packageVersion = "5.3.0"; export class MonitorManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/packages/@azure/arm-monitor/package.json b/packages/@azure/arm-monitor/package.json index 1cd6f71c87b5..eeb8501943d0 100644 --- a/packages/@azure/arm-monitor/package.json +++ b/packages/@azure/arm-monitor/package.json @@ -4,8 +4,8 @@ "description": "MonitorManagementClient Library with typescript type definitions for node.js and browser.", "version": "5.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.6.0", + "@azure/ms-rest-azure-js": "^1.2.0", + "@azure/ms-rest-js": "^1.2.0", "tslib": "^1.9.3" }, "keywords": [ @@ -44,7 +44,6 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "lib/**/*.ts", - "README.md", "rollup.config.js", "tsconfig.json" ], @@ -53,6 +52,5 @@ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-monitor.js.map'\" -o ./dist/arm-monitor.min.js ./dist/arm-monitor.js", "prepack": "npm install && npm run build" }, - "sideEffects": false, - "autoPublish": true + "sideEffects": false }