@azure/arm-monitor 8.0.0-beta.2 → 8.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -2
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +456 -223
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsCreateNotificationsAtResourceGroupLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsGetSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtActionGroupResourceLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsAtResourceGroupLevelSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js +10 -2
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js +10 -2
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js +10 -2
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js.map +1 -1
- package/dist-esm/samples-dev/actionGroupsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/actionGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js +19 -9
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsGetSample.js +11 -3
- package/dist-esm/samples-dev/activityLogAlertsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js +10 -2
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/activityLogsListSample.js +13 -4
- package/dist-esm/samples-dev/activityLogsListSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js +11 -3
- package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js +11 -3
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesGetSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesUpdateSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/baselinesListSample.js +10 -2
- package/dist-esm/samples-dev/baselinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByDataCollectionEndpointSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js +16 -8
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesGetSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js +11 -3
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +10 -2
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +10 -2
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +13 -4
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +10 -2
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +13 -4
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js +13 -4
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/eventCategoriesListSample.js +10 -2
- package/dist-esm/samples-dev/eventCategoriesListSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesDeleteSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesGetSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesListSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesListSample.js.map +1 -1
- package/dist-esm/samples-dev/logProfilesUpdateSample.js +10 -2
- package/dist-esm/samples-dev/logProfilesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js +40 -25
- package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/metricAlertsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsGetSample.js +35 -21
- package/dist-esm/samples-dev/metricAlertsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js +11 -3
- package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsStatusListSample.js +11 -3
- package/dist-esm/samples-dev/metricAlertsStatusListSample.js.map +1 -1
- package/dist-esm/samples-dev/metricAlertsUpdateSample.js +12 -4
- package/dist-esm/samples-dev/metricAlertsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/metricDefinitionsListSample.js +16 -6
- package/dist-esm/samples-dev/metricDefinitionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/metricNamespacesListSample.js +10 -2
- package/dist-esm/samples-dev/metricNamespacesListSample.js.map +1 -1
- package/dist-esm/samples-dev/metricsListSample.js +16 -6
- package/dist-esm/samples-dev/metricsListSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +10 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/predictiveMetricGetSample.js +11 -3
- package/dist-esm/samples-dev/predictiveMetricGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +11 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +15 -6
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListSample.js +10 -2
- package/dist-esm/samples-dev/privateLinkScopesListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +10 -3
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +19 -9
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +11 -3
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +11 -3
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +10 -2
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +10 -3
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/tenantActivityLogsListSample.js +19 -8
- package/dist-esm/samples-dev/tenantActivityLogsListSample.js.map +1 -1
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js +22 -10
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +0 -6
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/monitorClient.d.ts.map +1 -1
- package/dist-esm/src/monitorClient.js +4 -7
- package/dist-esm/src/monitorClient.js.map +1 -1
- package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/actionGroups.js +16 -8
- package/dist-esm/src/operations/actionGroups.js.map +1 -1
- package/dist-esm/src/operations/activityLogAlerts.d.ts.map +1 -1
- package/dist-esm/src/operations/activityLogAlerts.js +37 -16
- package/dist-esm/src/operations/activityLogAlerts.js.map +1 -1
- package/dist-esm/src/operations/activityLogs.d.ts +0 -13
- package/dist-esm/src/operations/activityLogs.d.ts.map +1 -1
- package/dist-esm/src/operations/activityLogs.js +22 -28
- package/dist-esm/src/operations/activityLogs.js.map +1 -1
- package/dist-esm/src/operations/alertRuleIncidents.d.ts.map +1 -1
- package/dist-esm/src/operations/alertRuleIncidents.js +8 -4
- package/dist-esm/src/operations/alertRuleIncidents.js.map +1 -1
- package/dist-esm/src/operations/alertRules.d.ts.map +1 -1
- package/dist-esm/src/operations/alertRules.js +16 -8
- package/dist-esm/src/operations/alertRules.js.map +1 -1
- package/dist-esm/src/operations/autoscaleSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/autoscaleSettings.js +37 -16
- package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
- package/dist-esm/src/operations/baselines.d.ts.map +1 -1
- package/dist-esm/src/operations/baselines.js +8 -4
- package/dist-esm/src/operations/baselines.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionEndpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/dataCollectionEndpoints.js +37 -16
- package/dist-esm/src/operations/dataCollectionEndpoints.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionRuleAssociations.d.ts.map +1 -1
- package/dist-esm/src/operations/dataCollectionRuleAssociations.js +55 -24
- package/dist-esm/src/operations/dataCollectionRuleAssociations.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionRules.d.ts.map +1 -1
- package/dist-esm/src/operations/dataCollectionRules.js +37 -16
- package/dist-esm/src/operations/dataCollectionRules.js.map +1 -1
- package/dist-esm/src/operations/diagnosticSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettings.js +8 -4
- package/dist-esm/src/operations/diagnosticSettings.js.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.js +8 -4
- package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
- package/dist-esm/src/operations/eventCategories.d.ts.map +1 -1
- package/dist-esm/src/operations/eventCategories.js +8 -4
- package/dist-esm/src/operations/eventCategories.js.map +1 -1
- package/dist-esm/src/operations/logProfiles.d.ts.map +1 -1
- package/dist-esm/src/operations/logProfiles.js +8 -4
- package/dist-esm/src/operations/logProfiles.js.map +1 -1
- package/dist-esm/src/operations/metricAlerts.d.ts.map +1 -1
- package/dist-esm/src/operations/metricAlerts.js +16 -8
- package/dist-esm/src/operations/metricAlerts.js.map +1 -1
- package/dist-esm/src/operations/metricDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operations/metricDefinitions.js +8 -4
- package/dist-esm/src/operations/metricDefinitions.js.map +1 -1
- package/dist-esm/src/operations/metricNamespaces.d.ts.map +1 -1
- package/dist-esm/src/operations/metricNamespaces.js +8 -4
- package/dist-esm/src/operations/metricNamespaces.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.js +19 -8
- package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.js +37 -16
- package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.d.ts.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.js +16 -8
- package/dist-esm/src/operations/scheduledQueryRules.js.map +1 -1
- package/dist-esm/src/operations/tenantActivityLogs.d.ts.map +1 -1
- package/dist-esm/src/operations/tenantActivityLogs.js +19 -12
- package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/package.json +8 -6
- package/review/arm-monitor.api.md +3 -3
- package/src/index.ts +1 -0
- package/src/models/index.ts +2 -10
- package/src/monitorClient.ts +5 -6
- package/src/operations/actionGroups.ts +25 -11
- package/src/operations/activityLogAlerts.ts +46 -19
- package/src/operations/activityLogs.ts +23 -29
- package/src/operations/alertRuleIncidents.ts +13 -11
- package/src/operations/alertRules.ts +26 -12
- package/src/operations/autoscaleSettings.ts +46 -19
- package/src/operations/baselines.ts +10 -5
- package/src/operations/dataCollectionEndpoints.ts +45 -18
- package/src/operations/dataCollectionRuleAssociations.ts +71 -35
- package/src/operations/dataCollectionRules.ts +45 -18
- package/src/operations/diagnosticSettings.ts +12 -7
- package/src/operations/diagnosticSettingsCategory.ts +12 -7
- package/src/operations/eventCategories.ts +10 -5
- package/src/operations/logProfiles.ts +12 -7
- package/src/operations/metricAlerts.ts +24 -10
- package/src/operations/metricDefinitions.ts +10 -5
- package/src/operations/metricNamespaces.ts +10 -5
- package/src/operations/privateLinkScopedResources.ts +27 -14
- package/src/operations/privateLinkScopes.ts +45 -18
- package/src/operations/scheduledQueryRules.ts +26 -12
- package/src/operations/tenantActivityLogs.ts +21 -13
- package/src/pagingHelper.ts +39 -0
- package/types/arm-monitor.d.ts +9 -6
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28,6 +28,38 @@ function _interopNamespace(e) {
|
|
|
28
28
|
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
29
29
|
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
30
30
|
|
|
31
|
+
/*
|
|
32
|
+
* Copyright (c) Microsoft Corporation.
|
|
33
|
+
* Licensed under the MIT License.
|
|
34
|
+
*
|
|
35
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
36
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
37
|
+
*/
|
|
38
|
+
const pageMap = new WeakMap();
|
|
39
|
+
/**
|
|
40
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
41
|
+
* returns a continuation token that can be used to begin paging from
|
|
42
|
+
* that point later.
|
|
43
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
44
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
45
|
+
*/
|
|
46
|
+
function getContinuationToken(page) {
|
|
47
|
+
var _a;
|
|
48
|
+
if (typeof page !== "object" || page === null) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
52
|
+
}
|
|
53
|
+
function setContinuationToken(page, continuationToken) {
|
|
54
|
+
var _a;
|
|
55
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
59
|
+
pageInfo.continuationToken = continuationToken;
|
|
60
|
+
pageMap.set(page, pageInfo);
|
|
61
|
+
}
|
|
62
|
+
|
|
31
63
|
/*
|
|
32
64
|
* Copyright (c) Microsoft Corporation.
|
|
33
65
|
* Licensed under the MIT License.
|
|
@@ -8766,20 +8798,31 @@ class AutoscaleSettingsImpl {
|
|
|
8766
8798
|
[Symbol.asyncIterator]() {
|
|
8767
8799
|
return this;
|
|
8768
8800
|
},
|
|
8769
|
-
byPage: () => {
|
|
8770
|
-
|
|
8801
|
+
byPage: (settings) => {
|
|
8802
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
8803
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
8804
|
+
}
|
|
8805
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
8771
8806
|
}
|
|
8772
8807
|
};
|
|
8773
8808
|
}
|
|
8774
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
8809
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
8775
8810
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
8776
|
-
let result
|
|
8777
|
-
|
|
8778
|
-
|
|
8811
|
+
let result;
|
|
8812
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
8813
|
+
if (!continuationToken) {
|
|
8814
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
8815
|
+
let page = result.value || [];
|
|
8816
|
+
continuationToken = result.nextLink;
|
|
8817
|
+
setContinuationToken(page, continuationToken);
|
|
8818
|
+
yield yield tslib.__await(page);
|
|
8819
|
+
}
|
|
8779
8820
|
while (continuationToken) {
|
|
8780
8821
|
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
8781
8822
|
continuationToken = result.nextLink;
|
|
8782
|
-
|
|
8823
|
+
let page = result.value || [];
|
|
8824
|
+
setContinuationToken(page, continuationToken);
|
|
8825
|
+
yield yield tslib.__await(page);
|
|
8783
8826
|
}
|
|
8784
8827
|
});
|
|
8785
8828
|
}
|
|
@@ -8814,20 +8857,31 @@ class AutoscaleSettingsImpl {
|
|
|
8814
8857
|
[Symbol.asyncIterator]() {
|
|
8815
8858
|
return this;
|
|
8816
8859
|
},
|
|
8817
|
-
byPage: () => {
|
|
8818
|
-
|
|
8860
|
+
byPage: (settings) => {
|
|
8861
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
8862
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
8863
|
+
}
|
|
8864
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
8819
8865
|
}
|
|
8820
8866
|
};
|
|
8821
8867
|
}
|
|
8822
|
-
listBySubscriptionPagingPage(options) {
|
|
8868
|
+
listBySubscriptionPagingPage(options, settings) {
|
|
8823
8869
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
8824
|
-
let result
|
|
8825
|
-
|
|
8826
|
-
|
|
8870
|
+
let result;
|
|
8871
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
8872
|
+
if (!continuationToken) {
|
|
8873
|
+
result = yield tslib.__await(this._listBySubscription(options));
|
|
8874
|
+
let page = result.value || [];
|
|
8875
|
+
continuationToken = result.nextLink;
|
|
8876
|
+
setContinuationToken(page, continuationToken);
|
|
8877
|
+
yield yield tslib.__await(page);
|
|
8878
|
+
}
|
|
8827
8879
|
while (continuationToken) {
|
|
8828
8880
|
result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
|
|
8829
8881
|
continuationToken = result.nextLink;
|
|
8830
|
-
|
|
8882
|
+
let page = result.value || [];
|
|
8883
|
+
setContinuationToken(page, continuationToken);
|
|
8884
|
+
yield yield tslib.__await(page);
|
|
8831
8885
|
}
|
|
8832
8886
|
});
|
|
8833
8887
|
}
|
|
@@ -9064,7 +9118,6 @@ const listByResourceGroupNextOperationSpec$4 = {
|
|
|
9064
9118
|
bodyMapper: AutoscaleErrorResponse
|
|
9065
9119
|
}
|
|
9066
9120
|
},
|
|
9067
|
-
queryParameters: [apiVersion],
|
|
9068
9121
|
urlParameters: [
|
|
9069
9122
|
$host,
|
|
9070
9123
|
resourceGroupName,
|
|
@@ -9085,7 +9138,6 @@ const listBySubscriptionNextOperationSpec$2 = {
|
|
|
9085
9138
|
bodyMapper: AutoscaleErrorResponse
|
|
9086
9139
|
}
|
|
9087
9140
|
},
|
|
9088
|
-
queryParameters: [apiVersion],
|
|
9089
9141
|
urlParameters: [
|
|
9090
9142
|
$host,
|
|
9091
9143
|
subscriptionId,
|
|
@@ -9241,14 +9293,18 @@ class AlertRuleIncidentsImpl {
|
|
|
9241
9293
|
[Symbol.asyncIterator]() {
|
|
9242
9294
|
return this;
|
|
9243
9295
|
},
|
|
9244
|
-
byPage: () => {
|
|
9245
|
-
|
|
9296
|
+
byPage: (settings) => {
|
|
9297
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9298
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9299
|
+
}
|
|
9300
|
+
return this.listByAlertRulePagingPage(resourceGroupName, ruleName, options, settings);
|
|
9246
9301
|
}
|
|
9247
9302
|
};
|
|
9248
9303
|
}
|
|
9249
|
-
listByAlertRulePagingPage(resourceGroupName, ruleName, options) {
|
|
9304
|
+
listByAlertRulePagingPage(resourceGroupName, ruleName, options, _settings) {
|
|
9250
9305
|
return tslib.__asyncGenerator(this, arguments, function* listByAlertRulePagingPage_1() {
|
|
9251
|
-
let result
|
|
9306
|
+
let result;
|
|
9307
|
+
result = yield tslib.__await(this._listByAlertRule(resourceGroupName, ruleName, options));
|
|
9252
9308
|
yield yield tslib.__await(result.value || []);
|
|
9253
9309
|
});
|
|
9254
9310
|
}
|
|
@@ -9364,14 +9420,18 @@ class AlertRulesImpl {
|
|
|
9364
9420
|
[Symbol.asyncIterator]() {
|
|
9365
9421
|
return this;
|
|
9366
9422
|
},
|
|
9367
|
-
byPage: () => {
|
|
9368
|
-
|
|
9423
|
+
byPage: (settings) => {
|
|
9424
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9425
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9426
|
+
}
|
|
9427
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
9369
9428
|
}
|
|
9370
9429
|
};
|
|
9371
9430
|
}
|
|
9372
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
9431
|
+
listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
|
|
9373
9432
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
9374
|
-
let result
|
|
9433
|
+
let result;
|
|
9434
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
9375
9435
|
yield yield tslib.__await(result.value || []);
|
|
9376
9436
|
});
|
|
9377
9437
|
}
|
|
@@ -9406,14 +9466,18 @@ class AlertRulesImpl {
|
|
|
9406
9466
|
[Symbol.asyncIterator]() {
|
|
9407
9467
|
return this;
|
|
9408
9468
|
},
|
|
9409
|
-
byPage: () => {
|
|
9410
|
-
|
|
9469
|
+
byPage: (settings) => {
|
|
9470
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9471
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9472
|
+
}
|
|
9473
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
9411
9474
|
}
|
|
9412
9475
|
};
|
|
9413
9476
|
}
|
|
9414
|
-
listBySubscriptionPagingPage(options) {
|
|
9477
|
+
listBySubscriptionPagingPage(options, _settings) {
|
|
9415
9478
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
9416
|
-
let result
|
|
9479
|
+
let result;
|
|
9480
|
+
result = yield tslib.__await(this._listBySubscription(options));
|
|
9417
9481
|
yield yield tslib.__await(result.value || []);
|
|
9418
9482
|
});
|
|
9419
9483
|
}
|
|
@@ -9652,14 +9716,18 @@ class LogProfilesImpl {
|
|
|
9652
9716
|
[Symbol.asyncIterator]() {
|
|
9653
9717
|
return this;
|
|
9654
9718
|
},
|
|
9655
|
-
byPage: () => {
|
|
9656
|
-
|
|
9719
|
+
byPage: (settings) => {
|
|
9720
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9721
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9722
|
+
}
|
|
9723
|
+
return this.listPagingPage(options, settings);
|
|
9657
9724
|
}
|
|
9658
9725
|
};
|
|
9659
9726
|
}
|
|
9660
|
-
listPagingPage(options) {
|
|
9727
|
+
listPagingPage(options, _settings) {
|
|
9661
9728
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
9662
|
-
let result
|
|
9729
|
+
let result;
|
|
9730
|
+
result = yield tslib.__await(this._list(options));
|
|
9663
9731
|
yield yield tslib.__await(result.value || []);
|
|
9664
9732
|
});
|
|
9665
9733
|
}
|
|
@@ -9843,14 +9911,18 @@ class DiagnosticSettingsImpl {
|
|
|
9843
9911
|
[Symbol.asyncIterator]() {
|
|
9844
9912
|
return this;
|
|
9845
9913
|
},
|
|
9846
|
-
byPage: () => {
|
|
9847
|
-
|
|
9914
|
+
byPage: (settings) => {
|
|
9915
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9916
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9917
|
+
}
|
|
9918
|
+
return this.listPagingPage(resourceUri, options, settings);
|
|
9848
9919
|
}
|
|
9849
9920
|
};
|
|
9850
9921
|
}
|
|
9851
|
-
listPagingPage(resourceUri, options) {
|
|
9922
|
+
listPagingPage(resourceUri, options, _settings) {
|
|
9852
9923
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
9853
|
-
let result
|
|
9924
|
+
let result;
|
|
9925
|
+
result = yield tslib.__await(this._list(resourceUri, options));
|
|
9854
9926
|
yield yield tslib.__await(result.value || []);
|
|
9855
9927
|
});
|
|
9856
9928
|
}
|
|
@@ -10008,14 +10080,18 @@ class DiagnosticSettingsCategoryImpl {
|
|
|
10008
10080
|
[Symbol.asyncIterator]() {
|
|
10009
10081
|
return this;
|
|
10010
10082
|
},
|
|
10011
|
-
byPage: () => {
|
|
10012
|
-
|
|
10083
|
+
byPage: (settings) => {
|
|
10084
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10085
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
10086
|
+
}
|
|
10087
|
+
return this.listPagingPage(resourceUri, options, settings);
|
|
10013
10088
|
}
|
|
10014
10089
|
};
|
|
10015
10090
|
}
|
|
10016
|
-
listPagingPage(resourceUri, options) {
|
|
10091
|
+
listPagingPage(resourceUri, options, _settings) {
|
|
10017
10092
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
10018
|
-
let result
|
|
10093
|
+
let result;
|
|
10094
|
+
result = yield tslib.__await(this._list(resourceUri, options));
|
|
10019
10095
|
yield yield tslib.__await(result.value || []);
|
|
10020
10096
|
});
|
|
10021
10097
|
}
|
|
@@ -10148,14 +10224,18 @@ class ActionGroupsImpl {
|
|
|
10148
10224
|
[Symbol.asyncIterator]() {
|
|
10149
10225
|
return this;
|
|
10150
10226
|
},
|
|
10151
|
-
byPage: () => {
|
|
10152
|
-
|
|
10227
|
+
byPage: (settings) => {
|
|
10228
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10229
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
10230
|
+
}
|
|
10231
|
+
return this.listBySubscriptionIdPagingPage(options, settings);
|
|
10153
10232
|
}
|
|
10154
10233
|
};
|
|
10155
10234
|
}
|
|
10156
|
-
listBySubscriptionIdPagingPage(options) {
|
|
10235
|
+
listBySubscriptionIdPagingPage(options, _settings) {
|
|
10157
10236
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingPage_1() {
|
|
10158
|
-
let result
|
|
10237
|
+
let result;
|
|
10238
|
+
result = yield tslib.__await(this._listBySubscriptionId(options));
|
|
10159
10239
|
yield yield tslib.__await(result.value || []);
|
|
10160
10240
|
});
|
|
10161
10241
|
}
|
|
@@ -10191,14 +10271,18 @@ class ActionGroupsImpl {
|
|
|
10191
10271
|
[Symbol.asyncIterator]() {
|
|
10192
10272
|
return this;
|
|
10193
10273
|
},
|
|
10194
|
-
byPage: () => {
|
|
10195
|
-
|
|
10274
|
+
byPage: (settings) => {
|
|
10275
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10276
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
10277
|
+
}
|
|
10278
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
10196
10279
|
}
|
|
10197
10280
|
};
|
|
10198
10281
|
}
|
|
10199
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
10282
|
+
listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
|
|
10200
10283
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
10201
|
-
let result
|
|
10284
|
+
let result;
|
|
10285
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
10202
10286
|
yield yield tslib.__await(result.value || []);
|
|
10203
10287
|
});
|
|
10204
10288
|
}
|
|
@@ -10817,20 +10901,31 @@ class ActivityLogsImpl {
|
|
|
10817
10901
|
[Symbol.asyncIterator]() {
|
|
10818
10902
|
return this;
|
|
10819
10903
|
},
|
|
10820
|
-
byPage: () => {
|
|
10821
|
-
|
|
10904
|
+
byPage: (settings) => {
|
|
10905
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10906
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
10907
|
+
}
|
|
10908
|
+
return this.listPagingPage(filter, options, settings);
|
|
10822
10909
|
}
|
|
10823
10910
|
};
|
|
10824
10911
|
}
|
|
10825
|
-
listPagingPage(filter, options) {
|
|
10912
|
+
listPagingPage(filter, options, settings) {
|
|
10826
10913
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
10827
|
-
let result
|
|
10828
|
-
|
|
10829
|
-
|
|
10914
|
+
let result;
|
|
10915
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10916
|
+
if (!continuationToken) {
|
|
10917
|
+
result = yield tslib.__await(this._list(filter, options));
|
|
10918
|
+
let page = result.value || [];
|
|
10919
|
+
continuationToken = result.nextLink;
|
|
10920
|
+
setContinuationToken(page, continuationToken);
|
|
10921
|
+
yield yield tslib.__await(page);
|
|
10922
|
+
}
|
|
10830
10923
|
while (continuationToken) {
|
|
10831
|
-
result = yield tslib.__await(this._listNext(
|
|
10924
|
+
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
10832
10925
|
continuationToken = result.nextLink;
|
|
10833
|
-
|
|
10926
|
+
let page = result.value || [];
|
|
10927
|
+
setContinuationToken(page, continuationToken);
|
|
10928
|
+
yield yield tslib.__await(page);
|
|
10834
10929
|
}
|
|
10835
10930
|
});
|
|
10836
10931
|
}
|
|
@@ -10874,24 +10969,11 @@ class ActivityLogsImpl {
|
|
|
10874
10969
|
}
|
|
10875
10970
|
/**
|
|
10876
10971
|
* ListNext
|
|
10877
|
-
* @param filter Reduces the set of data collected.<br>This argument is required and it also requires
|
|
10878
|
-
* at least the start date/time.<br>The **$filter** argument is very restricted and allows only the
|
|
10879
|
-
* following patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
|
|
10880
|
-
* '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and
|
|
10881
|
-
* resourceGroupName eq 'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge
|
|
10882
|
-
* '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri
|
|
10883
|
-
* eq 'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge
|
|
10884
|
-
* '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List
|
|
10885
|
-
* events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and
|
|
10886
|
-
* eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq
|
|
10887
|
-
* 'resourceProviderName'.<br>- *List events for a correlation Id*: $filter=eventTimestamp ge
|
|
10888
|
-
* '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and
|
|
10889
|
-
* correlationId eq 'correlationID'.<br><br>**NOTE**: No other syntax is allowed.
|
|
10890
10972
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
10891
10973
|
* @param options The options parameters.
|
|
10892
10974
|
*/
|
|
10893
|
-
_listNext(
|
|
10894
|
-
return this.client.sendOperationRequest({
|
|
10975
|
+
_listNext(nextLink, options) {
|
|
10976
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$2);
|
|
10895
10977
|
}
|
|
10896
10978
|
}
|
|
10897
10979
|
// Operation Specifications
|
|
@@ -10927,11 +11009,6 @@ const listNextOperationSpec$2 = {
|
|
|
10927
11009
|
bodyMapper: ErrorResponse
|
|
10928
11010
|
}
|
|
10929
11011
|
},
|
|
10930
|
-
queryParameters: [
|
|
10931
|
-
apiVersion1,
|
|
10932
|
-
filter,
|
|
10933
|
-
select
|
|
10934
|
-
],
|
|
10935
11012
|
urlParameters: [
|
|
10936
11013
|
$host,
|
|
10937
11014
|
subscriptionId,
|
|
@@ -10972,14 +11049,18 @@ class EventCategoriesImpl {
|
|
|
10972
11049
|
[Symbol.asyncIterator]() {
|
|
10973
11050
|
return this;
|
|
10974
11051
|
},
|
|
10975
|
-
byPage: () => {
|
|
10976
|
-
|
|
11052
|
+
byPage: (settings) => {
|
|
11053
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11054
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
11055
|
+
}
|
|
11056
|
+
return this.listPagingPage(options, settings);
|
|
10977
11057
|
}
|
|
10978
11058
|
};
|
|
10979
11059
|
}
|
|
10980
|
-
listPagingPage(options) {
|
|
11060
|
+
listPagingPage(options, _settings) {
|
|
10981
11061
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
10982
|
-
let result
|
|
11062
|
+
let result;
|
|
11063
|
+
result = yield tslib.__await(this._list(options));
|
|
10983
11064
|
yield yield tslib.__await(result.value || []);
|
|
10984
11065
|
});
|
|
10985
11066
|
}
|
|
@@ -11062,20 +11143,31 @@ class TenantActivityLogsImpl {
|
|
|
11062
11143
|
[Symbol.asyncIterator]() {
|
|
11063
11144
|
return this;
|
|
11064
11145
|
},
|
|
11065
|
-
byPage: () => {
|
|
11066
|
-
|
|
11146
|
+
byPage: (settings) => {
|
|
11147
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11148
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
11149
|
+
}
|
|
11150
|
+
return this.listPagingPage(options, settings);
|
|
11067
11151
|
}
|
|
11068
11152
|
};
|
|
11069
11153
|
}
|
|
11070
|
-
listPagingPage(options) {
|
|
11154
|
+
listPagingPage(options, settings) {
|
|
11071
11155
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
11072
|
-
let result
|
|
11073
|
-
|
|
11074
|
-
|
|
11156
|
+
let result;
|
|
11157
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
11158
|
+
if (!continuationToken) {
|
|
11159
|
+
result = yield tslib.__await(this._list(options));
|
|
11160
|
+
let page = result.value || [];
|
|
11161
|
+
continuationToken = result.nextLink;
|
|
11162
|
+
setContinuationToken(page, continuationToken);
|
|
11163
|
+
yield yield tslib.__await(page);
|
|
11164
|
+
}
|
|
11075
11165
|
while (continuationToken) {
|
|
11076
11166
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
11077
11167
|
continuationToken = result.nextLink;
|
|
11078
|
-
|
|
11168
|
+
let page = result.value || [];
|
|
11169
|
+
setContinuationToken(page, continuationToken);
|
|
11170
|
+
yield yield tslib.__await(page);
|
|
11079
11171
|
}
|
|
11080
11172
|
});
|
|
11081
11173
|
}
|
|
@@ -11149,11 +11241,6 @@ const listNextOperationSpec$1 = {
|
|
|
11149
11241
|
bodyMapper: ErrorResponse
|
|
11150
11242
|
}
|
|
11151
11243
|
},
|
|
11152
|
-
queryParameters: [
|
|
11153
|
-
apiVersion1,
|
|
11154
|
-
select,
|
|
11155
|
-
filter1
|
|
11156
|
-
],
|
|
11157
11244
|
urlParameters: [$host, nextLink],
|
|
11158
11245
|
headerParameters: [accept],
|
|
11159
11246
|
serializer: serializer$h
|
|
@@ -11190,14 +11277,18 @@ class MetricDefinitionsImpl {
|
|
|
11190
11277
|
[Symbol.asyncIterator]() {
|
|
11191
11278
|
return this;
|
|
11192
11279
|
},
|
|
11193
|
-
byPage: () => {
|
|
11194
|
-
|
|
11280
|
+
byPage: (settings) => {
|
|
11281
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11282
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
11283
|
+
}
|
|
11284
|
+
return this.listPagingPage(resourceUri, options, settings);
|
|
11195
11285
|
}
|
|
11196
11286
|
};
|
|
11197
11287
|
}
|
|
11198
|
-
listPagingPage(resourceUri, options) {
|
|
11288
|
+
listPagingPage(resourceUri, options, _settings) {
|
|
11199
11289
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
11200
|
-
let result
|
|
11290
|
+
let result;
|
|
11291
|
+
result = yield tslib.__await(this._list(resourceUri, options));
|
|
11201
11292
|
yield yield tslib.__await(result.value || []);
|
|
11202
11293
|
});
|
|
11203
11294
|
}
|
|
@@ -11333,14 +11424,18 @@ class BaselinesImpl {
|
|
|
11333
11424
|
[Symbol.asyncIterator]() {
|
|
11334
11425
|
return this;
|
|
11335
11426
|
},
|
|
11336
|
-
byPage: () => {
|
|
11337
|
-
|
|
11427
|
+
byPage: (settings) => {
|
|
11428
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11429
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
11430
|
+
}
|
|
11431
|
+
return this.listPagingPage(resourceUri, options, settings);
|
|
11338
11432
|
}
|
|
11339
11433
|
};
|
|
11340
11434
|
}
|
|
11341
|
-
listPagingPage(resourceUri, options) {
|
|
11435
|
+
listPagingPage(resourceUri, options, _settings) {
|
|
11342
11436
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
11343
|
-
let result
|
|
11437
|
+
let result;
|
|
11438
|
+
result = yield tslib.__await(this._list(resourceUri, options));
|
|
11344
11439
|
yield yield tslib.__await(result.value || []);
|
|
11345
11440
|
});
|
|
11346
11441
|
}
|
|
@@ -11430,14 +11525,18 @@ class MetricAlertsImpl {
|
|
|
11430
11525
|
[Symbol.asyncIterator]() {
|
|
11431
11526
|
return this;
|
|
11432
11527
|
},
|
|
11433
|
-
byPage: () => {
|
|
11434
|
-
|
|
11528
|
+
byPage: (settings) => {
|
|
11529
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11530
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
11531
|
+
}
|
|
11532
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
11435
11533
|
}
|
|
11436
11534
|
};
|
|
11437
11535
|
}
|
|
11438
|
-
listBySubscriptionPagingPage(options) {
|
|
11536
|
+
listBySubscriptionPagingPage(options, _settings) {
|
|
11439
11537
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
11440
|
-
let result
|
|
11538
|
+
let result;
|
|
11539
|
+
result = yield tslib.__await(this._listBySubscription(options));
|
|
11441
11540
|
yield yield tslib.__await(result.value || []);
|
|
11442
11541
|
});
|
|
11443
11542
|
}
|
|
@@ -11473,14 +11572,18 @@ class MetricAlertsImpl {
|
|
|
11473
11572
|
[Symbol.asyncIterator]() {
|
|
11474
11573
|
return this;
|
|
11475
11574
|
},
|
|
11476
|
-
byPage: () => {
|
|
11477
|
-
|
|
11575
|
+
byPage: (settings) => {
|
|
11576
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11577
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
11578
|
+
}
|
|
11579
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
11478
11580
|
}
|
|
11479
11581
|
};
|
|
11480
11582
|
}
|
|
11481
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
11583
|
+
listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
|
|
11482
11584
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
11483
|
-
let result
|
|
11585
|
+
let result;
|
|
11586
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
11484
11587
|
yield yield tslib.__await(result.value || []);
|
|
11485
11588
|
});
|
|
11486
11589
|
}
|
|
@@ -11794,14 +11897,18 @@ class ScheduledQueryRulesImpl {
|
|
|
11794
11897
|
[Symbol.asyncIterator]() {
|
|
11795
11898
|
return this;
|
|
11796
11899
|
},
|
|
11797
|
-
byPage: () => {
|
|
11798
|
-
|
|
11900
|
+
byPage: (settings) => {
|
|
11901
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11902
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
11903
|
+
}
|
|
11904
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
11799
11905
|
}
|
|
11800
11906
|
};
|
|
11801
11907
|
}
|
|
11802
|
-
listBySubscriptionPagingPage(options) {
|
|
11908
|
+
listBySubscriptionPagingPage(options, _settings) {
|
|
11803
11909
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
11804
|
-
let result
|
|
11910
|
+
let result;
|
|
11911
|
+
result = yield tslib.__await(this._listBySubscription(options));
|
|
11805
11912
|
yield yield tslib.__await(result.value || []);
|
|
11806
11913
|
});
|
|
11807
11914
|
}
|
|
@@ -11837,14 +11944,18 @@ class ScheduledQueryRulesImpl {
|
|
|
11837
11944
|
[Symbol.asyncIterator]() {
|
|
11838
11945
|
return this;
|
|
11839
11946
|
},
|
|
11840
|
-
byPage: () => {
|
|
11841
|
-
|
|
11947
|
+
byPage: (settings) => {
|
|
11948
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11949
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
11950
|
+
}
|
|
11951
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
11842
11952
|
}
|
|
11843
11953
|
};
|
|
11844
11954
|
}
|
|
11845
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
11955
|
+
listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
|
|
11846
11956
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
11847
|
-
let result
|
|
11957
|
+
let result;
|
|
11958
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
11848
11959
|
yield yield tslib.__await(result.value || []);
|
|
11849
11960
|
});
|
|
11850
11961
|
}
|
|
@@ -12080,14 +12191,18 @@ class MetricNamespacesImpl {
|
|
|
12080
12191
|
[Symbol.asyncIterator]() {
|
|
12081
12192
|
return this;
|
|
12082
12193
|
},
|
|
12083
|
-
byPage: () => {
|
|
12084
|
-
|
|
12194
|
+
byPage: (settings) => {
|
|
12195
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
12196
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
12197
|
+
}
|
|
12198
|
+
return this.listPagingPage(resourceUri, options, settings);
|
|
12085
12199
|
}
|
|
12086
12200
|
};
|
|
12087
12201
|
}
|
|
12088
|
-
listPagingPage(resourceUri, options) {
|
|
12202
|
+
listPagingPage(resourceUri, options, _settings) {
|
|
12089
12203
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
12090
|
-
let result
|
|
12204
|
+
let result;
|
|
12205
|
+
result = yield tslib.__await(this._list(resourceUri, options));
|
|
12091
12206
|
yield yield tslib.__await(result.value || []);
|
|
12092
12207
|
});
|
|
12093
12208
|
}
|
|
@@ -12212,20 +12327,31 @@ class PrivateLinkScopesImpl {
|
|
|
12212
12327
|
[Symbol.asyncIterator]() {
|
|
12213
12328
|
return this;
|
|
12214
12329
|
},
|
|
12215
|
-
byPage: () => {
|
|
12216
|
-
|
|
12330
|
+
byPage: (settings) => {
|
|
12331
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
12332
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
12333
|
+
}
|
|
12334
|
+
return this.listPagingPage(options, settings);
|
|
12217
12335
|
}
|
|
12218
12336
|
};
|
|
12219
12337
|
}
|
|
12220
|
-
listPagingPage(options) {
|
|
12338
|
+
listPagingPage(options, settings) {
|
|
12221
12339
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
12222
|
-
let result
|
|
12223
|
-
|
|
12224
|
-
|
|
12340
|
+
let result;
|
|
12341
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
12342
|
+
if (!continuationToken) {
|
|
12343
|
+
result = yield tslib.__await(this._list(options));
|
|
12344
|
+
let page = result.value || [];
|
|
12345
|
+
continuationToken = result.nextLink;
|
|
12346
|
+
setContinuationToken(page, continuationToken);
|
|
12347
|
+
yield yield tslib.__await(page);
|
|
12348
|
+
}
|
|
12225
12349
|
while (continuationToken) {
|
|
12226
12350
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
12227
12351
|
continuationToken = result.nextLink;
|
|
12228
|
-
|
|
12352
|
+
let page = result.value || [];
|
|
12353
|
+
setContinuationToken(page, continuationToken);
|
|
12354
|
+
yield yield tslib.__await(page);
|
|
12229
12355
|
}
|
|
12230
12356
|
});
|
|
12231
12357
|
}
|
|
@@ -12261,20 +12387,31 @@ class PrivateLinkScopesImpl {
|
|
|
12261
12387
|
[Symbol.asyncIterator]() {
|
|
12262
12388
|
return this;
|
|
12263
12389
|
},
|
|
12264
|
-
byPage: () => {
|
|
12265
|
-
|
|
12390
|
+
byPage: (settings) => {
|
|
12391
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
12392
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
12393
|
+
}
|
|
12394
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
12266
12395
|
}
|
|
12267
12396
|
};
|
|
12268
12397
|
}
|
|
12269
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
12398
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
12270
12399
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
12271
|
-
let result
|
|
12272
|
-
|
|
12273
|
-
|
|
12400
|
+
let result;
|
|
12401
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
12402
|
+
if (!continuationToken) {
|
|
12403
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
12404
|
+
let page = result.value || [];
|
|
12405
|
+
continuationToken = result.nextLink;
|
|
12406
|
+
setContinuationToken(page, continuationToken);
|
|
12407
|
+
yield yield tslib.__await(page);
|
|
12408
|
+
}
|
|
12274
12409
|
while (continuationToken) {
|
|
12275
12410
|
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
12276
12411
|
continuationToken = result.nextLink;
|
|
12277
|
-
|
|
12412
|
+
let page = result.value || [];
|
|
12413
|
+
setContinuationToken(page, continuationToken);
|
|
12414
|
+
yield yield tslib.__await(page);
|
|
12278
12415
|
}
|
|
12279
12416
|
});
|
|
12280
12417
|
}
|
|
@@ -12557,7 +12694,6 @@ const listNextOperationSpec = {
|
|
|
12557
12694
|
bodyMapper: DefaultErrorResponse
|
|
12558
12695
|
}
|
|
12559
12696
|
},
|
|
12560
|
-
queryParameters: [apiVersion11],
|
|
12561
12697
|
urlParameters: [
|
|
12562
12698
|
$host,
|
|
12563
12699
|
subscriptionId,
|
|
@@ -12577,7 +12713,6 @@ const listByResourceGroupNextOperationSpec$3 = {
|
|
|
12577
12713
|
bodyMapper: DefaultErrorResponse
|
|
12578
12714
|
}
|
|
12579
12715
|
},
|
|
12580
|
-
queryParameters: [apiVersion11],
|
|
12581
12716
|
urlParameters: [
|
|
12582
12717
|
$host,
|
|
12583
12718
|
resourceGroupName,
|
|
@@ -13004,20 +13139,31 @@ class PrivateLinkScopedResourcesImpl {
|
|
|
13004
13139
|
[Symbol.asyncIterator]() {
|
|
13005
13140
|
return this;
|
|
13006
13141
|
},
|
|
13007
|
-
byPage: () => {
|
|
13008
|
-
|
|
13142
|
+
byPage: (settings) => {
|
|
13143
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
13144
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
13145
|
+
}
|
|
13146
|
+
return this.listByPrivateLinkScopePagingPage(resourceGroupName, scopeName, options, settings);
|
|
13009
13147
|
}
|
|
13010
13148
|
};
|
|
13011
13149
|
}
|
|
13012
|
-
listByPrivateLinkScopePagingPage(resourceGroupName, scopeName, options) {
|
|
13150
|
+
listByPrivateLinkScopePagingPage(resourceGroupName, scopeName, options, settings) {
|
|
13013
13151
|
return tslib.__asyncGenerator(this, arguments, function* listByPrivateLinkScopePagingPage_1() {
|
|
13014
|
-
let result
|
|
13015
|
-
|
|
13016
|
-
|
|
13152
|
+
let result;
|
|
13153
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
13154
|
+
if (!continuationToken) {
|
|
13155
|
+
result = yield tslib.__await(this._listByPrivateLinkScope(resourceGroupName, scopeName, options));
|
|
13156
|
+
let page = result.value || [];
|
|
13157
|
+
continuationToken = result.nextLink;
|
|
13158
|
+
setContinuationToken(page, continuationToken);
|
|
13159
|
+
yield yield tslib.__await(page);
|
|
13160
|
+
}
|
|
13017
13161
|
while (continuationToken) {
|
|
13018
13162
|
result = yield tslib.__await(this._listByPrivateLinkScopeNext(resourceGroupName, scopeName, continuationToken, options));
|
|
13019
13163
|
continuationToken = result.nextLink;
|
|
13020
|
-
|
|
13164
|
+
let page = result.value || [];
|
|
13165
|
+
setContinuationToken(page, continuationToken);
|
|
13166
|
+
yield yield tslib.__await(page);
|
|
13021
13167
|
}
|
|
13022
13168
|
});
|
|
13023
13169
|
}
|
|
@@ -13289,7 +13435,6 @@ const listByPrivateLinkScopeNextOperationSpec = {
|
|
|
13289
13435
|
bodyMapper: DefaultErrorResponse
|
|
13290
13436
|
}
|
|
13291
13437
|
},
|
|
13292
|
-
queryParameters: [apiVersion11],
|
|
13293
13438
|
urlParameters: [
|
|
13294
13439
|
$host,
|
|
13295
13440
|
resourceGroupName,
|
|
@@ -13331,20 +13476,31 @@ class ActivityLogAlertsImpl {
|
|
|
13331
13476
|
[Symbol.asyncIterator]() {
|
|
13332
13477
|
return this;
|
|
13333
13478
|
},
|
|
13334
|
-
byPage: () => {
|
|
13335
|
-
|
|
13479
|
+
byPage: (settings) => {
|
|
13480
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
13481
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
13482
|
+
}
|
|
13483
|
+
return this.listBySubscriptionIdPagingPage(options, settings);
|
|
13336
13484
|
}
|
|
13337
13485
|
};
|
|
13338
13486
|
}
|
|
13339
|
-
listBySubscriptionIdPagingPage(options) {
|
|
13487
|
+
listBySubscriptionIdPagingPage(options, settings) {
|
|
13340
13488
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingPage_1() {
|
|
13341
|
-
let result
|
|
13342
|
-
|
|
13343
|
-
|
|
13489
|
+
let result;
|
|
13490
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
13491
|
+
if (!continuationToken) {
|
|
13492
|
+
result = yield tslib.__await(this._listBySubscriptionId(options));
|
|
13493
|
+
let page = result.value || [];
|
|
13494
|
+
continuationToken = result.nextLink;
|
|
13495
|
+
setContinuationToken(page, continuationToken);
|
|
13496
|
+
yield yield tslib.__await(page);
|
|
13497
|
+
}
|
|
13344
13498
|
while (continuationToken) {
|
|
13345
13499
|
result = yield tslib.__await(this._listBySubscriptionIdNext(continuationToken, options));
|
|
13346
13500
|
continuationToken = result.nextLink;
|
|
13347
|
-
|
|
13501
|
+
let page = result.value || [];
|
|
13502
|
+
setContinuationToken(page, continuationToken);
|
|
13503
|
+
yield yield tslib.__await(page);
|
|
13348
13504
|
}
|
|
13349
13505
|
});
|
|
13350
13506
|
}
|
|
@@ -13380,20 +13536,31 @@ class ActivityLogAlertsImpl {
|
|
|
13380
13536
|
[Symbol.asyncIterator]() {
|
|
13381
13537
|
return this;
|
|
13382
13538
|
},
|
|
13383
|
-
byPage: () => {
|
|
13384
|
-
|
|
13539
|
+
byPage: (settings) => {
|
|
13540
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
13541
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
13542
|
+
}
|
|
13543
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
13385
13544
|
}
|
|
13386
13545
|
};
|
|
13387
13546
|
}
|
|
13388
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
13547
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
13389
13548
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
13390
|
-
let result
|
|
13391
|
-
|
|
13392
|
-
|
|
13549
|
+
let result;
|
|
13550
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
13551
|
+
if (!continuationToken) {
|
|
13552
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
13553
|
+
let page = result.value || [];
|
|
13554
|
+
continuationToken = result.nextLink;
|
|
13555
|
+
setContinuationToken(page, continuationToken);
|
|
13556
|
+
yield yield tslib.__await(page);
|
|
13557
|
+
}
|
|
13393
13558
|
while (continuationToken) {
|
|
13394
13559
|
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
13395
13560
|
continuationToken = result.nextLink;
|
|
13396
|
-
|
|
13561
|
+
let page = result.value || [];
|
|
13562
|
+
setContinuationToken(page, continuationToken);
|
|
13563
|
+
yield yield tslib.__await(page);
|
|
13397
13564
|
}
|
|
13398
13565
|
});
|
|
13399
13566
|
}
|
|
@@ -13637,7 +13804,6 @@ const listBySubscriptionIdNextOperationSpec = {
|
|
|
13637
13804
|
bodyMapper: ErrorResponseAutoGenerated
|
|
13638
13805
|
}
|
|
13639
13806
|
},
|
|
13640
|
-
queryParameters: [apiVersion12],
|
|
13641
13807
|
urlParameters: [
|
|
13642
13808
|
$host,
|
|
13643
13809
|
subscriptionId,
|
|
@@ -13657,7 +13823,6 @@ const listByResourceGroupNextOperationSpec$2 = {
|
|
|
13657
13823
|
bodyMapper: ErrorResponseAutoGenerated
|
|
13658
13824
|
}
|
|
13659
13825
|
},
|
|
13660
|
-
queryParameters: [apiVersion12],
|
|
13661
13826
|
urlParameters: [
|
|
13662
13827
|
$host,
|
|
13663
13828
|
resourceGroupName,
|
|
@@ -13699,20 +13864,31 @@ class DataCollectionEndpointsImpl {
|
|
|
13699
13864
|
[Symbol.asyncIterator]() {
|
|
13700
13865
|
return this;
|
|
13701
13866
|
},
|
|
13702
|
-
byPage: () => {
|
|
13703
|
-
|
|
13867
|
+
byPage: (settings) => {
|
|
13868
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
13869
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
13870
|
+
}
|
|
13871
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
13704
13872
|
}
|
|
13705
13873
|
};
|
|
13706
13874
|
}
|
|
13707
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
13875
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
13708
13876
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
13709
|
-
let result
|
|
13710
|
-
|
|
13711
|
-
|
|
13877
|
+
let result;
|
|
13878
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
13879
|
+
if (!continuationToken) {
|
|
13880
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
13881
|
+
let page = result.value || [];
|
|
13882
|
+
continuationToken = result.nextLink;
|
|
13883
|
+
setContinuationToken(page, continuationToken);
|
|
13884
|
+
yield yield tslib.__await(page);
|
|
13885
|
+
}
|
|
13712
13886
|
while (continuationToken) {
|
|
13713
13887
|
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
13714
13888
|
continuationToken = result.nextLink;
|
|
13715
|
-
|
|
13889
|
+
let page = result.value || [];
|
|
13890
|
+
setContinuationToken(page, continuationToken);
|
|
13891
|
+
yield yield tslib.__await(page);
|
|
13716
13892
|
}
|
|
13717
13893
|
});
|
|
13718
13894
|
}
|
|
@@ -13747,20 +13923,31 @@ class DataCollectionEndpointsImpl {
|
|
|
13747
13923
|
[Symbol.asyncIterator]() {
|
|
13748
13924
|
return this;
|
|
13749
13925
|
},
|
|
13750
|
-
byPage: () => {
|
|
13751
|
-
|
|
13926
|
+
byPage: (settings) => {
|
|
13927
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
13928
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
13929
|
+
}
|
|
13930
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
13752
13931
|
}
|
|
13753
13932
|
};
|
|
13754
13933
|
}
|
|
13755
|
-
listBySubscriptionPagingPage(options) {
|
|
13934
|
+
listBySubscriptionPagingPage(options, settings) {
|
|
13756
13935
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
13757
|
-
let result
|
|
13758
|
-
|
|
13759
|
-
|
|
13936
|
+
let result;
|
|
13937
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
13938
|
+
if (!continuationToken) {
|
|
13939
|
+
result = yield tslib.__await(this._listBySubscription(options));
|
|
13940
|
+
let page = result.value || [];
|
|
13941
|
+
continuationToken = result.nextLink;
|
|
13942
|
+
setContinuationToken(page, continuationToken);
|
|
13943
|
+
yield yield tslib.__await(page);
|
|
13944
|
+
}
|
|
13760
13945
|
while (continuationToken) {
|
|
13761
13946
|
result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
|
|
13762
13947
|
continuationToken = result.nextLink;
|
|
13763
|
-
|
|
13948
|
+
let page = result.value || [];
|
|
13949
|
+
setContinuationToken(page, continuationToken);
|
|
13950
|
+
yield yield tslib.__await(page);
|
|
13764
13951
|
}
|
|
13765
13952
|
});
|
|
13766
13953
|
}
|
|
@@ -13994,7 +14181,6 @@ const listByResourceGroupNextOperationSpec$1 = {
|
|
|
13994
14181
|
bodyMapper: ErrorResponseCommonV2
|
|
13995
14182
|
}
|
|
13996
14183
|
},
|
|
13997
|
-
queryParameters: [apiVersion13],
|
|
13998
14184
|
urlParameters: [
|
|
13999
14185
|
$host,
|
|
14000
14186
|
resourceGroupName,
|
|
@@ -14015,7 +14201,6 @@ const listBySubscriptionNextOperationSpec$1 = {
|
|
|
14015
14201
|
bodyMapper: ErrorResponseCommonV2
|
|
14016
14202
|
}
|
|
14017
14203
|
},
|
|
14018
|
-
queryParameters: [apiVersion13],
|
|
14019
14204
|
urlParameters: [
|
|
14020
14205
|
$host,
|
|
14021
14206
|
subscriptionId,
|
|
@@ -14056,20 +14241,31 @@ class DataCollectionRuleAssociationsImpl {
|
|
|
14056
14241
|
[Symbol.asyncIterator]() {
|
|
14057
14242
|
return this;
|
|
14058
14243
|
},
|
|
14059
|
-
byPage: () => {
|
|
14060
|
-
|
|
14244
|
+
byPage: (settings) => {
|
|
14245
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
14246
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
14247
|
+
}
|
|
14248
|
+
return this.listByResourcePagingPage(resourceUri, options, settings);
|
|
14061
14249
|
}
|
|
14062
14250
|
};
|
|
14063
14251
|
}
|
|
14064
|
-
listByResourcePagingPage(resourceUri, options) {
|
|
14252
|
+
listByResourcePagingPage(resourceUri, options, settings) {
|
|
14065
14253
|
return tslib.__asyncGenerator(this, arguments, function* listByResourcePagingPage_1() {
|
|
14066
|
-
let result
|
|
14067
|
-
|
|
14068
|
-
|
|
14254
|
+
let result;
|
|
14255
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
14256
|
+
if (!continuationToken) {
|
|
14257
|
+
result = yield tslib.__await(this._listByResource(resourceUri, options));
|
|
14258
|
+
let page = result.value || [];
|
|
14259
|
+
continuationToken = result.nextLink;
|
|
14260
|
+
setContinuationToken(page, continuationToken);
|
|
14261
|
+
yield yield tslib.__await(page);
|
|
14262
|
+
}
|
|
14069
14263
|
while (continuationToken) {
|
|
14070
14264
|
result = yield tslib.__await(this._listByResourceNext(resourceUri, continuationToken, options));
|
|
14071
14265
|
continuationToken = result.nextLink;
|
|
14072
|
-
|
|
14266
|
+
let page = result.value || [];
|
|
14267
|
+
setContinuationToken(page, continuationToken);
|
|
14268
|
+
yield yield tslib.__await(page);
|
|
14073
14269
|
}
|
|
14074
14270
|
});
|
|
14075
14271
|
}
|
|
@@ -14106,20 +14302,31 @@ class DataCollectionRuleAssociationsImpl {
|
|
|
14106
14302
|
[Symbol.asyncIterator]() {
|
|
14107
14303
|
return this;
|
|
14108
14304
|
},
|
|
14109
|
-
byPage: () => {
|
|
14110
|
-
|
|
14305
|
+
byPage: (settings) => {
|
|
14306
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
14307
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
14308
|
+
}
|
|
14309
|
+
return this.listByRulePagingPage(resourceGroupName, dataCollectionRuleName, options, settings);
|
|
14111
14310
|
}
|
|
14112
14311
|
};
|
|
14113
14312
|
}
|
|
14114
|
-
listByRulePagingPage(resourceGroupName, dataCollectionRuleName, options) {
|
|
14313
|
+
listByRulePagingPage(resourceGroupName, dataCollectionRuleName, options, settings) {
|
|
14115
14314
|
return tslib.__asyncGenerator(this, arguments, function* listByRulePagingPage_1() {
|
|
14116
|
-
let result
|
|
14117
|
-
|
|
14118
|
-
|
|
14315
|
+
let result;
|
|
14316
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
14317
|
+
if (!continuationToken) {
|
|
14318
|
+
result = yield tslib.__await(this._listByRule(resourceGroupName, dataCollectionRuleName, options));
|
|
14319
|
+
let page = result.value || [];
|
|
14320
|
+
continuationToken = result.nextLink;
|
|
14321
|
+
setContinuationToken(page, continuationToken);
|
|
14322
|
+
yield yield tslib.__await(page);
|
|
14323
|
+
}
|
|
14119
14324
|
while (continuationToken) {
|
|
14120
14325
|
result = yield tslib.__await(this._listByRuleNext(resourceGroupName, dataCollectionRuleName, continuationToken, options));
|
|
14121
14326
|
continuationToken = result.nextLink;
|
|
14122
|
-
|
|
14327
|
+
let page = result.value || [];
|
|
14328
|
+
setContinuationToken(page, continuationToken);
|
|
14329
|
+
yield yield tslib.__await(page);
|
|
14123
14330
|
}
|
|
14124
14331
|
});
|
|
14125
14332
|
}
|
|
@@ -14157,20 +14364,31 @@ class DataCollectionRuleAssociationsImpl {
|
|
|
14157
14364
|
[Symbol.asyncIterator]() {
|
|
14158
14365
|
return this;
|
|
14159
14366
|
},
|
|
14160
|
-
byPage: () => {
|
|
14161
|
-
|
|
14367
|
+
byPage: (settings) => {
|
|
14368
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
14369
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
14370
|
+
}
|
|
14371
|
+
return this.listByDataCollectionEndpointPagingPage(resourceGroupName, dataCollectionEndpointName, options, settings);
|
|
14162
14372
|
}
|
|
14163
14373
|
};
|
|
14164
14374
|
}
|
|
14165
|
-
listByDataCollectionEndpointPagingPage(resourceGroupName, dataCollectionEndpointName, options) {
|
|
14375
|
+
listByDataCollectionEndpointPagingPage(resourceGroupName, dataCollectionEndpointName, options, settings) {
|
|
14166
14376
|
return tslib.__asyncGenerator(this, arguments, function* listByDataCollectionEndpointPagingPage_1() {
|
|
14167
|
-
let result
|
|
14168
|
-
|
|
14169
|
-
|
|
14377
|
+
let result;
|
|
14378
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
14379
|
+
if (!continuationToken) {
|
|
14380
|
+
result = yield tslib.__await(this._listByDataCollectionEndpoint(resourceGroupName, dataCollectionEndpointName, options));
|
|
14381
|
+
let page = result.value || [];
|
|
14382
|
+
continuationToken = result.nextLink;
|
|
14383
|
+
setContinuationToken(page, continuationToken);
|
|
14384
|
+
yield yield tslib.__await(page);
|
|
14385
|
+
}
|
|
14170
14386
|
while (continuationToken) {
|
|
14171
14387
|
result = yield tslib.__await(this._listByDataCollectionEndpointNext(resourceGroupName, dataCollectionEndpointName, continuationToken, options));
|
|
14172
14388
|
continuationToken = result.nextLink;
|
|
14173
|
-
|
|
14389
|
+
let page = result.value || [];
|
|
14390
|
+
setContinuationToken(page, continuationToken);
|
|
14391
|
+
yield yield tslib.__await(page);
|
|
14174
14392
|
}
|
|
14175
14393
|
});
|
|
14176
14394
|
}
|
|
@@ -14413,7 +14631,6 @@ const listByResourceNextOperationSpec = {
|
|
|
14413
14631
|
bodyMapper: ErrorResponseCommonV2
|
|
14414
14632
|
}
|
|
14415
14633
|
},
|
|
14416
|
-
queryParameters: [apiVersion13],
|
|
14417
14634
|
urlParameters: [
|
|
14418
14635
|
$host,
|
|
14419
14636
|
nextLink,
|
|
@@ -14433,7 +14650,6 @@ const listByRuleNextOperationSpec = {
|
|
|
14433
14650
|
bodyMapper: ErrorResponseCommonV2
|
|
14434
14651
|
}
|
|
14435
14652
|
},
|
|
14436
|
-
queryParameters: [apiVersion13],
|
|
14437
14653
|
urlParameters: [
|
|
14438
14654
|
$host,
|
|
14439
14655
|
resourceGroupName,
|
|
@@ -14455,7 +14671,6 @@ const listByDataCollectionEndpointNextOperationSpec = {
|
|
|
14455
14671
|
bodyMapper: ErrorResponseCommonV2
|
|
14456
14672
|
}
|
|
14457
14673
|
},
|
|
14458
|
-
queryParameters: [apiVersion13],
|
|
14459
14674
|
urlParameters: [
|
|
14460
14675
|
$host,
|
|
14461
14676
|
resourceGroupName,
|
|
@@ -14498,20 +14713,31 @@ class DataCollectionRulesImpl {
|
|
|
14498
14713
|
[Symbol.asyncIterator]() {
|
|
14499
14714
|
return this;
|
|
14500
14715
|
},
|
|
14501
|
-
byPage: () => {
|
|
14502
|
-
|
|
14716
|
+
byPage: (settings) => {
|
|
14717
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
14718
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
14719
|
+
}
|
|
14720
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
14503
14721
|
}
|
|
14504
14722
|
};
|
|
14505
14723
|
}
|
|
14506
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
14724
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
14507
14725
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
14508
|
-
let result
|
|
14509
|
-
|
|
14510
|
-
|
|
14726
|
+
let result;
|
|
14727
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
14728
|
+
if (!continuationToken) {
|
|
14729
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
14730
|
+
let page = result.value || [];
|
|
14731
|
+
continuationToken = result.nextLink;
|
|
14732
|
+
setContinuationToken(page, continuationToken);
|
|
14733
|
+
yield yield tslib.__await(page);
|
|
14734
|
+
}
|
|
14511
14735
|
while (continuationToken) {
|
|
14512
14736
|
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
14513
14737
|
continuationToken = result.nextLink;
|
|
14514
|
-
|
|
14738
|
+
let page = result.value || [];
|
|
14739
|
+
setContinuationToken(page, continuationToken);
|
|
14740
|
+
yield yield tslib.__await(page);
|
|
14515
14741
|
}
|
|
14516
14742
|
});
|
|
14517
14743
|
}
|
|
@@ -14546,20 +14772,31 @@ class DataCollectionRulesImpl {
|
|
|
14546
14772
|
[Symbol.asyncIterator]() {
|
|
14547
14773
|
return this;
|
|
14548
14774
|
},
|
|
14549
|
-
byPage: () => {
|
|
14550
|
-
|
|
14775
|
+
byPage: (settings) => {
|
|
14776
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
14777
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
14778
|
+
}
|
|
14779
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
14551
14780
|
}
|
|
14552
14781
|
};
|
|
14553
14782
|
}
|
|
14554
|
-
listBySubscriptionPagingPage(options) {
|
|
14783
|
+
listBySubscriptionPagingPage(options, settings) {
|
|
14555
14784
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
14556
|
-
let result
|
|
14557
|
-
|
|
14558
|
-
|
|
14785
|
+
let result;
|
|
14786
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
14787
|
+
if (!continuationToken) {
|
|
14788
|
+
result = yield tslib.__await(this._listBySubscription(options));
|
|
14789
|
+
let page = result.value || [];
|
|
14790
|
+
continuationToken = result.nextLink;
|
|
14791
|
+
setContinuationToken(page, continuationToken);
|
|
14792
|
+
yield yield tslib.__await(page);
|
|
14793
|
+
}
|
|
14559
14794
|
while (continuationToken) {
|
|
14560
14795
|
result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
|
|
14561
14796
|
continuationToken = result.nextLink;
|
|
14562
|
-
|
|
14797
|
+
let page = result.value || [];
|
|
14798
|
+
setContinuationToken(page, continuationToken);
|
|
14799
|
+
yield yield tslib.__await(page);
|
|
14563
14800
|
}
|
|
14564
14801
|
});
|
|
14565
14802
|
}
|
|
@@ -14789,7 +15026,6 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
14789
15026
|
bodyMapper: ErrorResponseCommonV2
|
|
14790
15027
|
}
|
|
14791
15028
|
},
|
|
14792
|
-
queryParameters: [apiVersion13],
|
|
14793
15029
|
urlParameters: [
|
|
14794
15030
|
$host,
|
|
14795
15031
|
resourceGroupName,
|
|
@@ -14810,7 +15046,6 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
14810
15046
|
bodyMapper: ErrorResponseCommonV2
|
|
14811
15047
|
}
|
|
14812
15048
|
},
|
|
14813
|
-
queryParameters: [apiVersion13],
|
|
14814
15049
|
urlParameters: [
|
|
14815
15050
|
$host,
|
|
14816
15051
|
subscriptionId,
|
|
@@ -14835,7 +15070,7 @@ class MonitorClient extends coreClient__namespace.ServiceClient {
|
|
|
14835
15070
|
* @param options The parameter options
|
|
14836
15071
|
*/
|
|
14837
15072
|
constructor(credentials, subscriptionId, options) {
|
|
14838
|
-
var _a, _b;
|
|
15073
|
+
var _a, _b, _c;
|
|
14839
15074
|
if (credentials === undefined) {
|
|
14840
15075
|
throw new Error("'credentials' cannot be null");
|
|
14841
15076
|
}
|
|
@@ -14850,16 +15085,13 @@ class MonitorClient extends coreClient__namespace.ServiceClient {
|
|
|
14850
15085
|
requestContentType: "application/json; charset=utf-8",
|
|
14851
15086
|
credential: credentials
|
|
14852
15087
|
};
|
|
14853
|
-
const packageDetails = `azsdk-js-arm-monitor/8.0.0-beta.
|
|
15088
|
+
const packageDetails = `azsdk-js-arm-monitor/8.0.0-beta.3`;
|
|
14854
15089
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
14855
15090
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
14856
15091
|
: `${packageDetails}`;
|
|
14857
|
-
if (!options.credentialScopes) {
|
|
14858
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
14859
|
-
}
|
|
14860
15092
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
14861
15093
|
userAgentPrefix
|
|
14862
|
-
},
|
|
15094
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
14863
15095
|
super(optionsWithDefaults);
|
|
14864
15096
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
14865
15097
|
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
@@ -14876,7 +15108,7 @@ class MonitorClient extends coreClient__namespace.ServiceClient {
|
|
|
14876
15108
|
});
|
|
14877
15109
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
14878
15110
|
credential: credentials,
|
|
14879
|
-
scopes: `${optionsWithDefaults.
|
|
15111
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
14880
15112
|
challengeCallbacks: {
|
|
14881
15113
|
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
14882
15114
|
}
|
|
@@ -14919,4 +15151,5 @@ class MonitorClient extends coreClient__namespace.ServiceClient {
|
|
|
14919
15151
|
}
|
|
14920
15152
|
|
|
14921
15153
|
exports.MonitorClient = MonitorClient;
|
|
15154
|
+
exports.getContinuationToken = getContinuationToken;
|
|
14922
15155
|
//# sourceMappingURL=index.js.map
|