@azure/arm-monitor 7.0.1-alpha.20220420.2 → 7.0.1-alpha.20220427.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -7
- package/LICENSE +1 -1
- package/README.md +11 -0
- package/dist/index.js +450 -333
- 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/actionGroupsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js +136 -0
- package/dist-esm/samples-dev/actionGroupsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/actionGroupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js +32 -0
- package/dist-esm/samples-dev/actionGroupsEnableReceiverSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsGetSample.js +31 -0
- package/dist-esm/samples-dev/actionGroupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js +30 -0
- package/dist-esm/samples-dev/actionGroupsGetTestNotificationsSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/actionGroupsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js +43 -0
- package/dist-esm/samples-dev/actionGroupsListBySubscriptionIdSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js +124 -0
- package/dist-esm/samples-dev/actionGroupsPostTestNotificationsSample.js.map +1 -0
- package/dist-esm/samples-dev/actionGroupsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/actionGroupsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/actionGroupsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/actionGroupsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js +52 -0
- package/dist-esm/samples-dev/activityLogAlertsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/activityLogAlertsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/activityLogAlertsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsGetSample.js +31 -0
- package/dist-esm/samples-dev/activityLogAlertsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/activityLogAlertsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js +43 -0
- package/dist-esm/samples-dev/activityLogAlertsListBySubscriptionIdSample.js.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/activityLogAlertsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/activityLogsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/activityLogsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/activityLogsListSample.js +77 -0
- package/dist-esm/samples-dev/activityLogsListSample.js.map +1 -0
- package/dist-esm/samples-dev/alertRuleIncidentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertRuleIncidentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js +32 -0
- package/dist-esm/samples-dev/alertRuleIncidentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js +45 -0
- package/dist-esm/samples-dev/alertRuleIncidentsListByAlertRuleSample.js.map +1 -0
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +51 -0
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/alertRulesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertRulesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertRulesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/alertRulesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/alertRulesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertRulesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertRulesGetSample.js +31 -0
- package/dist-esm/samples-dev/alertRulesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/alertRulesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/alertRulesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/alertRulesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertRulesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertRulesUpdateSample.js +52 -0
- package/dist-esm/samples-dev/alertRulesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +147 -0
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +31 -0
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +148 -0
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/baselinesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/baselinesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/baselinesListSample.js +54 -0
- package/dist-esm/samples-dev/baselinesListSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js +36 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js +31 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js +33 -0
- package/dist-esm/samples-dev/dataCollectionEndpointsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js +35 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js +31 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js +44 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js +45 -0
- package/dist-esm/samples-dev/dataCollectionRuleAssociationsListByRuleSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js +103 -0
- package/dist-esm/samples-dev/dataCollectionRulesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/dataCollectionRulesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRulesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesGetSample.js +31 -0
- package/dist-esm/samples-dev/dataCollectionRulesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/dataCollectionRulesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/dataCollectionRulesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js +33 -0
- package/dist-esm/samples-dev/dataCollectionRulesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +31 -0
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.d.ts +2 -0
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +30 -0
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +52 -0
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +31 -0
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/diagnosticSettingsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js +30 -0
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -0
- package/dist-esm/samples-dev/eventCategoriesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventCategoriesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventCategoriesListSample.js +43 -0
- package/dist-esm/samples-dev/eventCategoriesListSample.js.map +1 -0
- package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js +39 -0
- package/dist-esm/samples-dev/logProfilesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/logProfilesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/logProfilesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/logProfilesDeleteSample.js +30 -0
- package/dist-esm/samples-dev/logProfilesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/logProfilesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/logProfilesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/logProfilesGetSample.js +30 -0
- package/dist-esm/samples-dev/logProfilesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/logProfilesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/logProfilesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/logProfilesListSample.js +43 -0
- package/dist-esm/samples-dev/logProfilesListSample.js.map +1 -0
- package/dist-esm/samples-dev/logProfilesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/logProfilesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/logProfilesUpdateSample.js +38 -0
- package/dist-esm/samples-dev/logProfilesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js +438 -0
- package/dist-esm/samples-dev/metricAlertsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/metricAlertsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricAlertsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricAlertsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/metricAlertsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/metricAlertsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricAlertsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricAlertsGetSample.js +139 -0
- package/dist-esm/samples-dev/metricAlertsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/metricAlertsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/metricAlertsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js +32 -0
- package/dist-esm/samples-dev/metricAlertsStatusListByNameSample.js.map +1 -0
- package/dist-esm/samples-dev/metricAlertsStatusListSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricAlertsStatusListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricAlertsStatusListSample.js +31 -0
- package/dist-esm/samples-dev/metricAlertsStatusListSample.js.map +1 -0
- package/dist-esm/samples-dev/metricAlertsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricAlertsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricAlertsUpdateSample.js +63 -0
- package/dist-esm/samples-dev/metricAlertsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/metricDefinitionsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricDefinitionsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricDefinitionsListSample.js +112 -0
- package/dist-esm/samples-dev/metricDefinitionsListSample.js.map +1 -0
- package/dist-esm/samples-dev/metricNamespacesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricNamespacesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricNamespacesListSample.js +46 -0
- package/dist-esm/samples-dev/metricNamespacesListSample.js.map +1 -0
- package/dist-esm/samples-dev/metricsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/metricsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metricsListSample.js +108 -0
- package/dist-esm/samples-dev/metricsListSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +29 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +45 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +32 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +45 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +31 -0
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +35 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +32 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +45 -0
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +56 -0
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js +31 -0
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesListSample.js +43 -0
- package/dist-esm/samples-dev/privateLinkScopesListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +34 -0
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +138 -0
- package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +31 -0
- package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +32 -0
- package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/tenantActivityLogsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/tenantActivityLogsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tenantActivityLogsListSample.js +140 -0
- package/dist-esm/samples-dev/tenantActivityLogsListSample.js.map +1 -0
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.d.ts +2 -0
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js +98 -0
- package/dist-esm/samples-dev/vmInsightsGetOnboardingStatusSample.js.map +1 -0
- package/dist-esm/src/monitorClient.d.ts.map +1 -1
- package/dist-esm/src/monitorClient.js +20 -2
- 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 +3 -1
- package/dist-esm/src/operations/actionGroups.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +6 -2
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.js +6 -2
- 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 +3 -1
- package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
- package/package.json +26 -10
- package/rollup.config.js +6 -72
- package/src/monitorClient.ts +27 -2
- package/src/operations/actionGroups.ts +3 -1
- package/src/operations/privateEndpointConnections.ts +6 -2
- package/src/operations/privateLinkScopedResources.ts +6 -2
- package/src/operations/privateLinkScopes.ts +3 -1
- package/tsconfig.json +19 -5
package/dist/index.js
CHANGED
|
@@ -3,9 +3,31 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var coreClient = require('@azure/core-client');
|
|
6
|
+
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
6
7
|
var tslib = require('tslib');
|
|
7
8
|
var coreLro = require('@azure/core-lro');
|
|
8
9
|
|
|
10
|
+
function _interopNamespace(e) {
|
|
11
|
+
if (e && e.__esModule) return e;
|
|
12
|
+
var n = Object.create(null);
|
|
13
|
+
if (e) {
|
|
14
|
+
Object.keys(e).forEach(function (k) {
|
|
15
|
+
if (k !== 'default') {
|
|
16
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
17
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return e[k]; }
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
n["default"] = e;
|
|
25
|
+
return Object.freeze(n);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
29
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
30
|
+
|
|
9
31
|
/*
|
|
10
32
|
* Copyright (c) Microsoft Corporation.
|
|
11
33
|
* Licensed under the MIT License.
|
|
@@ -13,10 +35,14 @@ var coreLro = require('@azure/core-lro');
|
|
|
13
35
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
14
36
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
15
37
|
*/
|
|
38
|
+
/** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
|
|
39
|
+
exports.KnownScaleRuleMetricDimensionOperationType = void 0;
|
|
16
40
|
(function (KnownScaleRuleMetricDimensionOperationType) {
|
|
17
41
|
KnownScaleRuleMetricDimensionOperationType["Equals"] = "Equals";
|
|
18
42
|
KnownScaleRuleMetricDimensionOperationType["NotEquals"] = "NotEquals";
|
|
19
43
|
})(exports.KnownScaleRuleMetricDimensionOperationType || (exports.KnownScaleRuleMetricDimensionOperationType = {}));
|
|
44
|
+
/** Known values of {@link MetricClass} that the service accepts. */
|
|
45
|
+
exports.KnownMetricClass = void 0;
|
|
20
46
|
(function (KnownMetricClass) {
|
|
21
47
|
KnownMetricClass["Availability"] = "Availability";
|
|
22
48
|
KnownMetricClass["Transactions"] = "Transactions";
|
|
@@ -24,6 +50,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
24
50
|
KnownMetricClass["Latency"] = "Latency";
|
|
25
51
|
KnownMetricClass["Saturation"] = "Saturation";
|
|
26
52
|
})(exports.KnownMetricClass || (exports.KnownMetricClass = {}));
|
|
53
|
+
/** Known values of {@link MetricUnit} that the service accepts. */
|
|
54
|
+
exports.KnownMetricUnit = void 0;
|
|
27
55
|
(function (KnownMetricUnit) {
|
|
28
56
|
KnownMetricUnit["Count"] = "Count";
|
|
29
57
|
KnownMetricUnit["Bytes"] = "Bytes";
|
|
@@ -39,47 +67,67 @@ var coreLro = require('@azure/core-lro');
|
|
|
39
67
|
KnownMetricUnit["NanoCores"] = "NanoCores";
|
|
40
68
|
KnownMetricUnit["BitsPerSecond"] = "BitsPerSecond";
|
|
41
69
|
})(exports.KnownMetricUnit || (exports.KnownMetricUnit = {}));
|
|
70
|
+
/** Known values of {@link BaselineSensitivity} that the service accepts. */
|
|
71
|
+
exports.KnownBaselineSensitivity = void 0;
|
|
42
72
|
(function (KnownBaselineSensitivity) {
|
|
43
73
|
KnownBaselineSensitivity["Low"] = "Low";
|
|
44
74
|
KnownBaselineSensitivity["Medium"] = "Medium";
|
|
45
75
|
KnownBaselineSensitivity["High"] = "High";
|
|
46
76
|
})(exports.KnownBaselineSensitivity || (exports.KnownBaselineSensitivity = {}));
|
|
77
|
+
/** Known values of {@link Odatatype} that the service accepts. */
|
|
78
|
+
exports.KnownOdatatype = void 0;
|
|
47
79
|
(function (KnownOdatatype) {
|
|
48
80
|
KnownOdatatype["MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria"] = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria";
|
|
49
81
|
KnownOdatatype["MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria"] = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria";
|
|
50
82
|
KnownOdatatype["MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria"] = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria";
|
|
51
83
|
})(exports.KnownOdatatype || (exports.KnownOdatatype = {}));
|
|
84
|
+
/** Known values of {@link Enabled} that the service accepts. */
|
|
85
|
+
exports.KnownEnabled = void 0;
|
|
52
86
|
(function (KnownEnabled) {
|
|
53
87
|
KnownEnabled["True"] = "true";
|
|
54
88
|
KnownEnabled["False"] = "false";
|
|
55
89
|
})(exports.KnownEnabled || (exports.KnownEnabled = {}));
|
|
90
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
91
|
+
exports.KnownProvisioningState = void 0;
|
|
56
92
|
(function (KnownProvisioningState) {
|
|
57
93
|
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
58
94
|
KnownProvisioningState["Deploying"] = "Deploying";
|
|
59
95
|
KnownProvisioningState["Canceled"] = "Canceled";
|
|
60
96
|
KnownProvisioningState["Failed"] = "Failed";
|
|
61
97
|
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
98
|
+
/** Known values of {@link QueryType} that the service accepts. */
|
|
99
|
+
exports.KnownQueryType = void 0;
|
|
62
100
|
(function (KnownQueryType) {
|
|
63
101
|
KnownQueryType["ResultCount"] = "ResultCount";
|
|
64
102
|
})(exports.KnownQueryType || (exports.KnownQueryType = {}));
|
|
103
|
+
/** Known values of {@link NamespaceClassification} that the service accepts. */
|
|
104
|
+
exports.KnownNamespaceClassification = void 0;
|
|
65
105
|
(function (KnownNamespaceClassification) {
|
|
66
106
|
KnownNamespaceClassification["Platform"] = "Platform";
|
|
67
107
|
KnownNamespaceClassification["Custom"] = "Custom";
|
|
68
108
|
KnownNamespaceClassification["Qos"] = "Qos";
|
|
69
109
|
})(exports.KnownNamespaceClassification || (exports.KnownNamespaceClassification = {}));
|
|
110
|
+
/** Known values of {@link OnboardingStatus} that the service accepts. */
|
|
111
|
+
exports.KnownOnboardingStatus = void 0;
|
|
70
112
|
(function (KnownOnboardingStatus) {
|
|
71
113
|
KnownOnboardingStatus["Onboarded"] = "onboarded";
|
|
72
114
|
KnownOnboardingStatus["NotOnboarded"] = "notOnboarded";
|
|
73
115
|
KnownOnboardingStatus["Unknown"] = "unknown";
|
|
74
116
|
})(exports.KnownOnboardingStatus || (exports.KnownOnboardingStatus = {}));
|
|
117
|
+
/** Known values of {@link DataStatus} that the service accepts. */
|
|
118
|
+
exports.KnownDataStatus = void 0;
|
|
75
119
|
(function (KnownDataStatus) {
|
|
76
120
|
KnownDataStatus["Present"] = "present";
|
|
77
121
|
KnownDataStatus["NotPresent"] = "notPresent";
|
|
78
122
|
})(exports.KnownDataStatus || (exports.KnownDataStatus = {}));
|
|
123
|
+
/** Known values of {@link KnownPublicNetworkAccessOptions} that the service accepts. */
|
|
124
|
+
exports.KnownKnownPublicNetworkAccessOptions = void 0;
|
|
79
125
|
(function (KnownKnownPublicNetworkAccessOptions) {
|
|
80
126
|
KnownKnownPublicNetworkAccessOptions["Enabled"] = "Enabled";
|
|
81
127
|
KnownKnownPublicNetworkAccessOptions["Disabled"] = "Disabled";
|
|
82
128
|
})(exports.KnownKnownPublicNetworkAccessOptions || (exports.KnownKnownPublicNetworkAccessOptions = {}));
|
|
129
|
+
/** Known values of {@link KnownDataCollectionEndpointProvisioningState} that the service accepts. */
|
|
130
|
+
exports.KnownKnownDataCollectionEndpointProvisioningState = void 0;
|
|
83
131
|
(function (KnownKnownDataCollectionEndpointProvisioningState) {
|
|
84
132
|
KnownKnownDataCollectionEndpointProvisioningState["Creating"] = "Creating";
|
|
85
133
|
KnownKnownDataCollectionEndpointProvisioningState["Updating"] = "Updating";
|
|
@@ -87,16 +135,22 @@ var coreLro = require('@azure/core-lro');
|
|
|
87
135
|
KnownKnownDataCollectionEndpointProvisioningState["Succeeded"] = "Succeeded";
|
|
88
136
|
KnownKnownDataCollectionEndpointProvisioningState["Failed"] = "Failed";
|
|
89
137
|
})(exports.KnownKnownDataCollectionEndpointProvisioningState || (exports.KnownKnownDataCollectionEndpointProvisioningState = {}));
|
|
138
|
+
/** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
|
|
139
|
+
exports.KnownKnownDataCollectionEndpointResourceKind = void 0;
|
|
90
140
|
(function (KnownKnownDataCollectionEndpointResourceKind) {
|
|
91
141
|
KnownKnownDataCollectionEndpointResourceKind["Linux"] = "Linux";
|
|
92
142
|
KnownKnownDataCollectionEndpointResourceKind["Windows"] = "Windows";
|
|
93
143
|
})(exports.KnownKnownDataCollectionEndpointResourceKind || (exports.KnownKnownDataCollectionEndpointResourceKind = {}));
|
|
144
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
145
|
+
exports.KnownCreatedByType = void 0;
|
|
94
146
|
(function (KnownCreatedByType) {
|
|
95
147
|
KnownCreatedByType["User"] = "User";
|
|
96
148
|
KnownCreatedByType["Application"] = "Application";
|
|
97
149
|
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
98
150
|
KnownCreatedByType["Key"] = "Key";
|
|
99
151
|
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
152
|
+
/** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
|
|
153
|
+
exports.KnownKnownDataCollectionRuleAssociationProvisioningState = void 0;
|
|
100
154
|
(function (KnownKnownDataCollectionRuleAssociationProvisioningState) {
|
|
101
155
|
KnownKnownDataCollectionRuleAssociationProvisioningState["Creating"] = "Creating";
|
|
102
156
|
KnownKnownDataCollectionRuleAssociationProvisioningState["Updating"] = "Updating";
|
|
@@ -104,17 +158,25 @@ var coreLro = require('@azure/core-lro');
|
|
|
104
158
|
KnownKnownDataCollectionRuleAssociationProvisioningState["Succeeded"] = "Succeeded";
|
|
105
159
|
KnownKnownDataCollectionRuleAssociationProvisioningState["Failed"] = "Failed";
|
|
106
160
|
})(exports.KnownKnownDataCollectionRuleAssociationProvisioningState || (exports.KnownKnownDataCollectionRuleAssociationProvisioningState = {}));
|
|
161
|
+
/** Known values of {@link KnownPerfCounterDataSourceStreams} that the service accepts. */
|
|
162
|
+
exports.KnownKnownPerfCounterDataSourceStreams = void 0;
|
|
107
163
|
(function (KnownKnownPerfCounterDataSourceStreams) {
|
|
108
164
|
KnownKnownPerfCounterDataSourceStreams["MicrosoftPerf"] = "Microsoft-Perf";
|
|
109
165
|
KnownKnownPerfCounterDataSourceStreams["MicrosoftInsightsMetrics"] = "Microsoft-InsightsMetrics";
|
|
110
166
|
})(exports.KnownKnownPerfCounterDataSourceStreams || (exports.KnownKnownPerfCounterDataSourceStreams = {}));
|
|
167
|
+
/** Known values of {@link KnownWindowsEventLogDataSourceStreams} that the service accepts. */
|
|
168
|
+
exports.KnownKnownWindowsEventLogDataSourceStreams = void 0;
|
|
111
169
|
(function (KnownKnownWindowsEventLogDataSourceStreams) {
|
|
112
170
|
KnownKnownWindowsEventLogDataSourceStreams["MicrosoftWindowsEvent"] = "Microsoft-WindowsEvent";
|
|
113
171
|
KnownKnownWindowsEventLogDataSourceStreams["MicrosoftEvent"] = "Microsoft-Event";
|
|
114
172
|
})(exports.KnownKnownWindowsEventLogDataSourceStreams || (exports.KnownKnownWindowsEventLogDataSourceStreams = {}));
|
|
173
|
+
/** Known values of {@link KnownSyslogDataSourceStreams} that the service accepts. */
|
|
174
|
+
exports.KnownKnownSyslogDataSourceStreams = void 0;
|
|
115
175
|
(function (KnownKnownSyslogDataSourceStreams) {
|
|
116
176
|
KnownKnownSyslogDataSourceStreams["MicrosoftSyslog"] = "Microsoft-Syslog";
|
|
117
177
|
})(exports.KnownKnownSyslogDataSourceStreams || (exports.KnownKnownSyslogDataSourceStreams = {}));
|
|
178
|
+
/** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
|
|
179
|
+
exports.KnownKnownSyslogDataSourceFacilityNames = void 0;
|
|
118
180
|
(function (KnownKnownSyslogDataSourceFacilityNames) {
|
|
119
181
|
KnownKnownSyslogDataSourceFacilityNames["Auth"] = "auth";
|
|
120
182
|
KnownKnownSyslogDataSourceFacilityNames["Authpriv"] = "authpriv";
|
|
@@ -138,6 +200,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
138
200
|
KnownKnownSyslogDataSourceFacilityNames["Local7"] = "local7";
|
|
139
201
|
KnownKnownSyslogDataSourceFacilityNames["Asterisk"] = "*";
|
|
140
202
|
})(exports.KnownKnownSyslogDataSourceFacilityNames || (exports.KnownKnownSyslogDataSourceFacilityNames = {}));
|
|
203
|
+
/** Known values of {@link KnownSyslogDataSourceLogLevels} that the service accepts. */
|
|
204
|
+
exports.KnownKnownSyslogDataSourceLogLevels = void 0;
|
|
141
205
|
(function (KnownKnownSyslogDataSourceLogLevels) {
|
|
142
206
|
KnownKnownSyslogDataSourceLogLevels["Debug"] = "Debug";
|
|
143
207
|
KnownKnownSyslogDataSourceLogLevels["Info"] = "Info";
|
|
@@ -149,6 +213,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
149
213
|
KnownKnownSyslogDataSourceLogLevels["Emergency"] = "Emergency";
|
|
150
214
|
KnownKnownSyslogDataSourceLogLevels["Asterisk"] = "*";
|
|
151
215
|
})(exports.KnownKnownSyslogDataSourceLogLevels || (exports.KnownKnownSyslogDataSourceLogLevels = {}));
|
|
216
|
+
/** Known values of {@link KnownExtensionDataSourceStreams} that the service accepts. */
|
|
217
|
+
exports.KnownKnownExtensionDataSourceStreams = void 0;
|
|
152
218
|
(function (KnownKnownExtensionDataSourceStreams) {
|
|
153
219
|
KnownKnownExtensionDataSourceStreams["MicrosoftEvent"] = "Microsoft-Event";
|
|
154
220
|
KnownKnownExtensionDataSourceStreams["MicrosoftInsightsMetrics"] = "Microsoft-InsightsMetrics";
|
|
@@ -156,6 +222,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
156
222
|
KnownKnownExtensionDataSourceStreams["MicrosoftSyslog"] = "Microsoft-Syslog";
|
|
157
223
|
KnownKnownExtensionDataSourceStreams["MicrosoftWindowsEvent"] = "Microsoft-WindowsEvent";
|
|
158
224
|
})(exports.KnownKnownExtensionDataSourceStreams || (exports.KnownKnownExtensionDataSourceStreams = {}));
|
|
225
|
+
/** Known values of {@link KnownDataFlowStreams} that the service accepts. */
|
|
226
|
+
exports.KnownKnownDataFlowStreams = void 0;
|
|
159
227
|
(function (KnownKnownDataFlowStreams) {
|
|
160
228
|
KnownKnownDataFlowStreams["MicrosoftEvent"] = "Microsoft-Event";
|
|
161
229
|
KnownKnownDataFlowStreams["MicrosoftInsightsMetrics"] = "Microsoft-InsightsMetrics";
|
|
@@ -163,6 +231,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
163
231
|
KnownKnownDataFlowStreams["MicrosoftSyslog"] = "Microsoft-Syslog";
|
|
164
232
|
KnownKnownDataFlowStreams["MicrosoftWindowsEvent"] = "Microsoft-WindowsEvent";
|
|
165
233
|
})(exports.KnownKnownDataFlowStreams || (exports.KnownKnownDataFlowStreams = {}));
|
|
234
|
+
/** Known values of {@link KnownDataCollectionRuleProvisioningState} that the service accepts. */
|
|
235
|
+
exports.KnownKnownDataCollectionRuleProvisioningState = void 0;
|
|
166
236
|
(function (KnownKnownDataCollectionRuleProvisioningState) {
|
|
167
237
|
KnownKnownDataCollectionRuleProvisioningState["Creating"] = "Creating";
|
|
168
238
|
KnownKnownDataCollectionRuleProvisioningState["Updating"] = "Updating";
|
|
@@ -170,10 +240,14 @@ var coreLro = require('@azure/core-lro');
|
|
|
170
240
|
KnownKnownDataCollectionRuleProvisioningState["Succeeded"] = "Succeeded";
|
|
171
241
|
KnownKnownDataCollectionRuleProvisioningState["Failed"] = "Failed";
|
|
172
242
|
})(exports.KnownKnownDataCollectionRuleProvisioningState || (exports.KnownKnownDataCollectionRuleProvisioningState = {}));
|
|
243
|
+
/** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
|
|
244
|
+
exports.KnownKnownDataCollectionRuleResourceKind = void 0;
|
|
173
245
|
(function (KnownKnownDataCollectionRuleResourceKind) {
|
|
174
246
|
KnownKnownDataCollectionRuleResourceKind["Linux"] = "Linux";
|
|
175
247
|
KnownKnownDataCollectionRuleResourceKind["Windows"] = "Windows";
|
|
176
248
|
})(exports.KnownKnownDataCollectionRuleResourceKind || (exports.KnownKnownDataCollectionRuleResourceKind = {}));
|
|
249
|
+
/** Known values of {@link Operator} that the service accepts. */
|
|
250
|
+
exports.KnownOperator = void 0;
|
|
177
251
|
(function (KnownOperator) {
|
|
178
252
|
KnownOperator["Equals"] = "Equals";
|
|
179
253
|
KnownOperator["GreaterThan"] = "GreaterThan";
|
|
@@ -182,10 +256,14 @@ var coreLro = require('@azure/core-lro');
|
|
|
182
256
|
KnownOperator["LessThanOrEqual"] = "LessThanOrEqual";
|
|
183
257
|
KnownOperator["Include"] = "Include";
|
|
184
258
|
})(exports.KnownOperator || (exports.KnownOperator = {}));
|
|
259
|
+
/** Known values of {@link CriterionType} that the service accepts. */
|
|
260
|
+
exports.KnownCriterionType = void 0;
|
|
185
261
|
(function (KnownCriterionType) {
|
|
186
262
|
KnownCriterionType["StaticThresholdCriterion"] = "StaticThresholdCriterion";
|
|
187
263
|
KnownCriterionType["DynamicThresholdCriterion"] = "DynamicThresholdCriterion";
|
|
188
264
|
})(exports.KnownCriterionType || (exports.KnownCriterionType = {}));
|
|
265
|
+
/** Known values of {@link AggregationTypeEnum} that the service accepts. */
|
|
266
|
+
exports.KnownAggregationTypeEnum = void 0;
|
|
189
267
|
(function (KnownAggregationTypeEnum) {
|
|
190
268
|
KnownAggregationTypeEnum["Average"] = "Average";
|
|
191
269
|
KnownAggregationTypeEnum["Count"] = "Count";
|
|
@@ -193,16 +271,22 @@ var coreLro = require('@azure/core-lro');
|
|
|
193
271
|
KnownAggregationTypeEnum["Maximum"] = "Maximum";
|
|
194
272
|
KnownAggregationTypeEnum["Total"] = "Total";
|
|
195
273
|
})(exports.KnownAggregationTypeEnum || (exports.KnownAggregationTypeEnum = {}));
|
|
274
|
+
/** Known values of {@link DynamicThresholdOperator} that the service accepts. */
|
|
275
|
+
exports.KnownDynamicThresholdOperator = void 0;
|
|
196
276
|
(function (KnownDynamicThresholdOperator) {
|
|
197
277
|
KnownDynamicThresholdOperator["GreaterThan"] = "GreaterThan";
|
|
198
278
|
KnownDynamicThresholdOperator["LessThan"] = "LessThan";
|
|
199
279
|
KnownDynamicThresholdOperator["GreaterOrLessThan"] = "GreaterOrLessThan";
|
|
200
280
|
})(exports.KnownDynamicThresholdOperator || (exports.KnownDynamicThresholdOperator = {}));
|
|
281
|
+
/** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
|
|
282
|
+
exports.KnownDynamicThresholdSensitivity = void 0;
|
|
201
283
|
(function (KnownDynamicThresholdSensitivity) {
|
|
202
284
|
KnownDynamicThresholdSensitivity["Low"] = "Low";
|
|
203
285
|
KnownDynamicThresholdSensitivity["Medium"] = "Medium";
|
|
204
286
|
KnownDynamicThresholdSensitivity["High"] = "High";
|
|
205
287
|
})(exports.KnownDynamicThresholdSensitivity || (exports.KnownDynamicThresholdSensitivity = {}));
|
|
288
|
+
/** Known values of {@link ConditionalOperator} that the service accepts. */
|
|
289
|
+
exports.KnownConditionalOperator = void 0;
|
|
206
290
|
(function (KnownConditionalOperator) {
|
|
207
291
|
KnownConditionalOperator["GreaterThanOrEqual"] = "GreaterThanOrEqual";
|
|
208
292
|
KnownConditionalOperator["LessThanOrEqual"] = "LessThanOrEqual";
|
|
@@ -210,10 +294,14 @@ var coreLro = require('@azure/core-lro');
|
|
|
210
294
|
KnownConditionalOperator["LessThan"] = "LessThan";
|
|
211
295
|
KnownConditionalOperator["Equal"] = "Equal";
|
|
212
296
|
})(exports.KnownConditionalOperator || (exports.KnownConditionalOperator = {}));
|
|
297
|
+
/** Known values of {@link MetricTriggerType} that the service accepts. */
|
|
298
|
+
exports.KnownMetricTriggerType = void 0;
|
|
213
299
|
(function (KnownMetricTriggerType) {
|
|
214
300
|
KnownMetricTriggerType["Consecutive"] = "Consecutive";
|
|
215
301
|
KnownMetricTriggerType["Total"] = "Total";
|
|
216
302
|
})(exports.KnownMetricTriggerType || (exports.KnownMetricTriggerType = {}));
|
|
303
|
+
/** Known values of {@link AlertSeverity} that the service accepts. */
|
|
304
|
+
exports.KnownAlertSeverity = void 0;
|
|
217
305
|
(function (KnownAlertSeverity) {
|
|
218
306
|
KnownAlertSeverity["Zero"] = "0";
|
|
219
307
|
KnownAlertSeverity["One"] = "1";
|
|
@@ -7710,7 +7798,7 @@ class AutoscaleSettingsImpl {
|
|
|
7710
7798
|
* @param options The options parameters.
|
|
7711
7799
|
*/
|
|
7712
7800
|
_listByResourceGroup(resourceGroupName, options) {
|
|
7713
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
7801
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$8);
|
|
7714
7802
|
}
|
|
7715
7803
|
/**
|
|
7716
7804
|
* Creates or updates an autoscale setting.
|
|
@@ -7720,7 +7808,7 @@ class AutoscaleSettingsImpl {
|
|
|
7720
7808
|
* @param options The options parameters.
|
|
7721
7809
|
*/
|
|
7722
7810
|
createOrUpdate(resourceGroupName, autoscaleSettingName, parameters, options) {
|
|
7723
|
-
return this.client.sendOperationRequest({ resourceGroupName, autoscaleSettingName, parameters, options }, createOrUpdateOperationSpec);
|
|
7811
|
+
return this.client.sendOperationRequest({ resourceGroupName, autoscaleSettingName, parameters, options }, createOrUpdateOperationSpec$a);
|
|
7724
7812
|
}
|
|
7725
7813
|
/**
|
|
7726
7814
|
* Deletes and autoscale setting
|
|
@@ -7729,7 +7817,7 @@ class AutoscaleSettingsImpl {
|
|
|
7729
7817
|
* @param options The options parameters.
|
|
7730
7818
|
*/
|
|
7731
7819
|
delete(resourceGroupName, autoscaleSettingName, options) {
|
|
7732
|
-
return this.client.sendOperationRequest({ resourceGroupName, autoscaleSettingName, options }, deleteOperationSpec);
|
|
7820
|
+
return this.client.sendOperationRequest({ resourceGroupName, autoscaleSettingName, options }, deleteOperationSpec$d);
|
|
7733
7821
|
}
|
|
7734
7822
|
/**
|
|
7735
7823
|
* Gets an autoscale setting
|
|
@@ -7738,7 +7826,7 @@ class AutoscaleSettingsImpl {
|
|
|
7738
7826
|
* @param options The options parameters.
|
|
7739
7827
|
*/
|
|
7740
7828
|
get(resourceGroupName, autoscaleSettingName, options) {
|
|
7741
|
-
return this.client.sendOperationRequest({ resourceGroupName, autoscaleSettingName, options }, getOperationSpec);
|
|
7829
|
+
return this.client.sendOperationRequest({ resourceGroupName, autoscaleSettingName, options }, getOperationSpec$h);
|
|
7742
7830
|
}
|
|
7743
7831
|
/**
|
|
7744
7832
|
* Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.
|
|
@@ -7753,14 +7841,14 @@ class AutoscaleSettingsImpl {
|
|
|
7753
7841
|
autoscaleSettingName,
|
|
7754
7842
|
autoscaleSettingResource,
|
|
7755
7843
|
options
|
|
7756
|
-
}, updateOperationSpec);
|
|
7844
|
+
}, updateOperationSpec$8);
|
|
7757
7845
|
}
|
|
7758
7846
|
/**
|
|
7759
7847
|
* Lists the autoscale settings for a subscription
|
|
7760
7848
|
* @param options The options parameters.
|
|
7761
7849
|
*/
|
|
7762
7850
|
_listBySubscription(options) {
|
|
7763
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
7851
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$5);
|
|
7764
7852
|
}
|
|
7765
7853
|
/**
|
|
7766
7854
|
* ListByResourceGroupNext
|
|
@@ -7769,7 +7857,7 @@ class AutoscaleSettingsImpl {
|
|
|
7769
7857
|
* @param options The options parameters.
|
|
7770
7858
|
*/
|
|
7771
7859
|
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
7772
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
7860
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$3);
|
|
7773
7861
|
}
|
|
7774
7862
|
/**
|
|
7775
7863
|
* ListBySubscriptionNext
|
|
@@ -7777,12 +7865,12 @@ class AutoscaleSettingsImpl {
|
|
|
7777
7865
|
* @param options The options parameters.
|
|
7778
7866
|
*/
|
|
7779
7867
|
_listBySubscriptionNext(nextLink, options) {
|
|
7780
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
7868
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec$2);
|
|
7781
7869
|
}
|
|
7782
7870
|
}
|
|
7783
7871
|
// Operation Specifications
|
|
7784
|
-
const serializer =
|
|
7785
|
-
const listByResourceGroupOperationSpec = {
|
|
7872
|
+
const serializer$r = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7873
|
+
const listByResourceGroupOperationSpec$8 = {
|
|
7786
7874
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings",
|
|
7787
7875
|
httpMethod: "GET",
|
|
7788
7876
|
responses: {
|
|
@@ -7800,9 +7888,9 @@ const listByResourceGroupOperationSpec = {
|
|
|
7800
7888
|
subscriptionId
|
|
7801
7889
|
],
|
|
7802
7890
|
headerParameters: [accept],
|
|
7803
|
-
serializer
|
|
7891
|
+
serializer: serializer$r
|
|
7804
7892
|
};
|
|
7805
|
-
const createOrUpdateOperationSpec = {
|
|
7893
|
+
const createOrUpdateOperationSpec$a = {
|
|
7806
7894
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
|
|
7807
7895
|
httpMethod: "PUT",
|
|
7808
7896
|
responses: {
|
|
@@ -7826,9 +7914,9 @@ const createOrUpdateOperationSpec = {
|
|
|
7826
7914
|
],
|
|
7827
7915
|
headerParameters: [accept, contentType],
|
|
7828
7916
|
mediaType: "json",
|
|
7829
|
-
serializer
|
|
7917
|
+
serializer: serializer$r
|
|
7830
7918
|
};
|
|
7831
|
-
const deleteOperationSpec = {
|
|
7919
|
+
const deleteOperationSpec$d = {
|
|
7832
7920
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
|
|
7833
7921
|
httpMethod: "DELETE",
|
|
7834
7922
|
responses: {
|
|
@@ -7846,9 +7934,9 @@ const deleteOperationSpec = {
|
|
|
7846
7934
|
autoscaleSettingName
|
|
7847
7935
|
],
|
|
7848
7936
|
headerParameters: [accept],
|
|
7849
|
-
serializer
|
|
7937
|
+
serializer: serializer$r
|
|
7850
7938
|
};
|
|
7851
|
-
const getOperationSpec = {
|
|
7939
|
+
const getOperationSpec$h = {
|
|
7852
7940
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
|
|
7853
7941
|
httpMethod: "GET",
|
|
7854
7942
|
responses: {
|
|
@@ -7867,9 +7955,9 @@ const getOperationSpec = {
|
|
|
7867
7955
|
autoscaleSettingName
|
|
7868
7956
|
],
|
|
7869
7957
|
headerParameters: [accept],
|
|
7870
|
-
serializer
|
|
7958
|
+
serializer: serializer$r
|
|
7871
7959
|
};
|
|
7872
|
-
const updateOperationSpec = {
|
|
7960
|
+
const updateOperationSpec$8 = {
|
|
7873
7961
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
|
|
7874
7962
|
httpMethod: "PATCH",
|
|
7875
7963
|
responses: {
|
|
@@ -7890,9 +7978,9 @@ const updateOperationSpec = {
|
|
|
7890
7978
|
],
|
|
7891
7979
|
headerParameters: [accept, contentType],
|
|
7892
7980
|
mediaType: "json",
|
|
7893
|
-
serializer
|
|
7981
|
+
serializer: serializer$r
|
|
7894
7982
|
};
|
|
7895
|
-
const listBySubscriptionOperationSpec = {
|
|
7983
|
+
const listBySubscriptionOperationSpec$5 = {
|
|
7896
7984
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/autoscalesettings",
|
|
7897
7985
|
httpMethod: "GET",
|
|
7898
7986
|
responses: {
|
|
@@ -7906,9 +7994,9 @@ const listBySubscriptionOperationSpec = {
|
|
|
7906
7994
|
queryParameters: [apiVersion],
|
|
7907
7995
|
urlParameters: [$host, subscriptionId],
|
|
7908
7996
|
headerParameters: [accept],
|
|
7909
|
-
serializer
|
|
7997
|
+
serializer: serializer$r
|
|
7910
7998
|
};
|
|
7911
|
-
const listByResourceGroupNextOperationSpec = {
|
|
7999
|
+
const listByResourceGroupNextOperationSpec$3 = {
|
|
7912
8000
|
path: "{nextLink}",
|
|
7913
8001
|
httpMethod: "GET",
|
|
7914
8002
|
responses: {
|
|
@@ -7927,9 +8015,9 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
7927
8015
|
nextLink
|
|
7928
8016
|
],
|
|
7929
8017
|
headerParameters: [accept],
|
|
7930
|
-
serializer
|
|
8018
|
+
serializer: serializer$r
|
|
7931
8019
|
};
|
|
7932
|
-
const listBySubscriptionNextOperationSpec = {
|
|
8020
|
+
const listBySubscriptionNextOperationSpec$2 = {
|
|
7933
8021
|
path: "{nextLink}",
|
|
7934
8022
|
httpMethod: "GET",
|
|
7935
8023
|
responses: {
|
|
@@ -7947,7 +8035,7 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
7947
8035
|
nextLink
|
|
7948
8036
|
],
|
|
7949
8037
|
headerParameters: [accept],
|
|
7950
|
-
serializer
|
|
8038
|
+
serializer: serializer$r
|
|
7951
8039
|
};
|
|
7952
8040
|
|
|
7953
8041
|
/*
|
|
@@ -7971,12 +8059,12 @@ class OperationsImpl {
|
|
|
7971
8059
|
* @param options The options parameters.
|
|
7972
8060
|
*/
|
|
7973
8061
|
list(options) {
|
|
7974
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
8062
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$c);
|
|
7975
8063
|
}
|
|
7976
8064
|
}
|
|
7977
8065
|
// Operation Specifications
|
|
7978
|
-
const serializer$
|
|
7979
|
-
const listOperationSpec = {
|
|
8066
|
+
const serializer$q = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8067
|
+
const listOperationSpec$c = {
|
|
7980
8068
|
path: "/providers/Microsoft.Insights/operations",
|
|
7981
8069
|
httpMethod: "GET",
|
|
7982
8070
|
responses: {
|
|
@@ -7987,7 +8075,7 @@ const listOperationSpec = {
|
|
|
7987
8075
|
queryParameters: [apiVersion],
|
|
7988
8076
|
urlParameters: [$host],
|
|
7989
8077
|
headerParameters: [accept],
|
|
7990
|
-
serializer: serializer$
|
|
8078
|
+
serializer: serializer$q
|
|
7991
8079
|
};
|
|
7992
8080
|
|
|
7993
8081
|
/*
|
|
@@ -8059,7 +8147,7 @@ class AlertRuleIncidentsImpl {
|
|
|
8059
8147
|
* @param options The options parameters.
|
|
8060
8148
|
*/
|
|
8061
8149
|
get(resourceGroupName, ruleName, incidentName, options) {
|
|
8062
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, incidentName, options }, getOperationSpec$
|
|
8150
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, incidentName, options }, getOperationSpec$g);
|
|
8063
8151
|
}
|
|
8064
8152
|
/**
|
|
8065
8153
|
* Gets a list of incidents associated to an alert rule
|
|
@@ -8072,8 +8160,8 @@ class AlertRuleIncidentsImpl {
|
|
|
8072
8160
|
}
|
|
8073
8161
|
}
|
|
8074
8162
|
// Operation Specifications
|
|
8075
|
-
const serializer$
|
|
8076
|
-
const getOperationSpec$
|
|
8163
|
+
const serializer$p = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8164
|
+
const getOperationSpec$g = {
|
|
8077
8165
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}/incidents/{incidentName}",
|
|
8078
8166
|
httpMethod: "GET",
|
|
8079
8167
|
responses: {
|
|
@@ -8093,7 +8181,7 @@ const getOperationSpec$1 = {
|
|
|
8093
8181
|
incidentName
|
|
8094
8182
|
],
|
|
8095
8183
|
headerParameters: [accept],
|
|
8096
|
-
serializer: serializer$
|
|
8184
|
+
serializer: serializer$p
|
|
8097
8185
|
};
|
|
8098
8186
|
const listByAlertRuleOperationSpec = {
|
|
8099
8187
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}/incidents",
|
|
@@ -8111,7 +8199,7 @@ const listByAlertRuleOperationSpec = {
|
|
|
8111
8199
|
ruleName
|
|
8112
8200
|
],
|
|
8113
8201
|
headerParameters: [accept],
|
|
8114
|
-
serializer: serializer$
|
|
8202
|
+
serializer: serializer$p
|
|
8115
8203
|
};
|
|
8116
8204
|
|
|
8117
8205
|
/*
|
|
@@ -8224,7 +8312,7 @@ class AlertRulesImpl {
|
|
|
8224
8312
|
* @param options The options parameters.
|
|
8225
8313
|
*/
|
|
8226
8314
|
createOrUpdate(resourceGroupName, ruleName, parameters, options) {
|
|
8227
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, parameters, options }, createOrUpdateOperationSpec$
|
|
8315
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, parameters, options }, createOrUpdateOperationSpec$9);
|
|
8228
8316
|
}
|
|
8229
8317
|
/**
|
|
8230
8318
|
* Deletes a classic metric alert rule
|
|
@@ -8233,7 +8321,7 @@ class AlertRulesImpl {
|
|
|
8233
8321
|
* @param options The options parameters.
|
|
8234
8322
|
*/
|
|
8235
8323
|
delete(resourceGroupName, ruleName, options) {
|
|
8236
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, deleteOperationSpec$
|
|
8324
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, deleteOperationSpec$c);
|
|
8237
8325
|
}
|
|
8238
8326
|
/**
|
|
8239
8327
|
* Gets a classic metric alert rule
|
|
@@ -8242,7 +8330,7 @@ class AlertRulesImpl {
|
|
|
8242
8330
|
* @param options The options parameters.
|
|
8243
8331
|
*/
|
|
8244
8332
|
get(resourceGroupName, ruleName, options) {
|
|
8245
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, getOperationSpec$
|
|
8333
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, getOperationSpec$f);
|
|
8246
8334
|
}
|
|
8247
8335
|
/**
|
|
8248
8336
|
* Updates an existing classic metric AlertRuleResource. To update other fields use the CreateOrUpdate
|
|
@@ -8253,7 +8341,7 @@ class AlertRulesImpl {
|
|
|
8253
8341
|
* @param options The options parameters.
|
|
8254
8342
|
*/
|
|
8255
8343
|
update(resourceGroupName, ruleName, alertRulesResource, options) {
|
|
8256
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, alertRulesResource, options }, updateOperationSpec$
|
|
8344
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, alertRulesResource, options }, updateOperationSpec$7);
|
|
8257
8345
|
}
|
|
8258
8346
|
/**
|
|
8259
8347
|
* List the classic metric alert rules within a resource group.
|
|
@@ -8261,19 +8349,19 @@ class AlertRulesImpl {
|
|
|
8261
8349
|
* @param options The options parameters.
|
|
8262
8350
|
*/
|
|
8263
8351
|
_listByResourceGroup(resourceGroupName, options) {
|
|
8264
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$
|
|
8352
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$7);
|
|
8265
8353
|
}
|
|
8266
8354
|
/**
|
|
8267
8355
|
* List the classic metric alert rules within a subscription.
|
|
8268
8356
|
* @param options The options parameters.
|
|
8269
8357
|
*/
|
|
8270
8358
|
_listBySubscription(options) {
|
|
8271
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$
|
|
8359
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$4);
|
|
8272
8360
|
}
|
|
8273
8361
|
}
|
|
8274
8362
|
// Operation Specifications
|
|
8275
|
-
const serializer$
|
|
8276
|
-
const createOrUpdateOperationSpec$
|
|
8363
|
+
const serializer$o = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8364
|
+
const createOrUpdateOperationSpec$9 = {
|
|
8277
8365
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}",
|
|
8278
8366
|
httpMethod: "PUT",
|
|
8279
8367
|
responses: {
|
|
@@ -8297,9 +8385,9 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
8297
8385
|
],
|
|
8298
8386
|
headerParameters: [accept, contentType],
|
|
8299
8387
|
mediaType: "json",
|
|
8300
|
-
serializer: serializer$
|
|
8388
|
+
serializer: serializer$o
|
|
8301
8389
|
};
|
|
8302
|
-
const deleteOperationSpec$
|
|
8390
|
+
const deleteOperationSpec$c = {
|
|
8303
8391
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}",
|
|
8304
8392
|
httpMethod: "DELETE",
|
|
8305
8393
|
responses: {
|
|
@@ -8317,9 +8405,9 @@ const deleteOperationSpec$1 = {
|
|
|
8317
8405
|
ruleName
|
|
8318
8406
|
],
|
|
8319
8407
|
headerParameters: [accept],
|
|
8320
|
-
serializer: serializer$
|
|
8408
|
+
serializer: serializer$o
|
|
8321
8409
|
};
|
|
8322
|
-
const getOperationSpec$
|
|
8410
|
+
const getOperationSpec$f = {
|
|
8323
8411
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}",
|
|
8324
8412
|
httpMethod: "GET",
|
|
8325
8413
|
responses: {
|
|
@@ -8338,9 +8426,9 @@ const getOperationSpec$2 = {
|
|
|
8338
8426
|
ruleName
|
|
8339
8427
|
],
|
|
8340
8428
|
headerParameters: [accept],
|
|
8341
|
-
serializer: serializer$
|
|
8429
|
+
serializer: serializer$o
|
|
8342
8430
|
};
|
|
8343
|
-
const updateOperationSpec$
|
|
8431
|
+
const updateOperationSpec$7 = {
|
|
8344
8432
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}",
|
|
8345
8433
|
httpMethod: "PATCH",
|
|
8346
8434
|
responses: {
|
|
@@ -8364,9 +8452,9 @@ const updateOperationSpec$1 = {
|
|
|
8364
8452
|
],
|
|
8365
8453
|
headerParameters: [accept, contentType],
|
|
8366
8454
|
mediaType: "json",
|
|
8367
|
-
serializer: serializer$
|
|
8455
|
+
serializer: serializer$o
|
|
8368
8456
|
};
|
|
8369
|
-
const listByResourceGroupOperationSpec$
|
|
8457
|
+
const listByResourceGroupOperationSpec$7 = {
|
|
8370
8458
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules",
|
|
8371
8459
|
httpMethod: "GET",
|
|
8372
8460
|
responses: {
|
|
@@ -8384,9 +8472,9 @@ const listByResourceGroupOperationSpec$1 = {
|
|
|
8384
8472
|
subscriptionId
|
|
8385
8473
|
],
|
|
8386
8474
|
headerParameters: [accept],
|
|
8387
|
-
serializer: serializer$
|
|
8475
|
+
serializer: serializer$o
|
|
8388
8476
|
};
|
|
8389
|
-
const listBySubscriptionOperationSpec$
|
|
8477
|
+
const listBySubscriptionOperationSpec$4 = {
|
|
8390
8478
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/alertrules",
|
|
8391
8479
|
httpMethod: "GET",
|
|
8392
8480
|
responses: {
|
|
@@ -8400,7 +8488,7 @@ const listBySubscriptionOperationSpec$1 = {
|
|
|
8400
8488
|
queryParameters: [apiVersion1],
|
|
8401
8489
|
urlParameters: [$host, subscriptionId],
|
|
8402
8490
|
headerParameters: [accept],
|
|
8403
|
-
serializer: serializer$
|
|
8491
|
+
serializer: serializer$o
|
|
8404
8492
|
};
|
|
8405
8493
|
|
|
8406
8494
|
/*
|
|
@@ -8468,7 +8556,7 @@ class LogProfilesImpl {
|
|
|
8468
8556
|
* @param options The options parameters.
|
|
8469
8557
|
*/
|
|
8470
8558
|
delete(logProfileName, options) {
|
|
8471
|
-
return this.client.sendOperationRequest({ logProfileName, options }, deleteOperationSpec$
|
|
8559
|
+
return this.client.sendOperationRequest({ logProfileName, options }, deleteOperationSpec$b);
|
|
8472
8560
|
}
|
|
8473
8561
|
/**
|
|
8474
8562
|
* Gets the log profile.
|
|
@@ -8476,7 +8564,7 @@ class LogProfilesImpl {
|
|
|
8476
8564
|
* @param options The options parameters.
|
|
8477
8565
|
*/
|
|
8478
8566
|
get(logProfileName, options) {
|
|
8479
|
-
return this.client.sendOperationRequest({ logProfileName, options }, getOperationSpec$
|
|
8567
|
+
return this.client.sendOperationRequest({ logProfileName, options }, getOperationSpec$e);
|
|
8480
8568
|
}
|
|
8481
8569
|
/**
|
|
8482
8570
|
* Create or update a log profile in Azure Monitoring REST API.
|
|
@@ -8485,7 +8573,7 @@ class LogProfilesImpl {
|
|
|
8485
8573
|
* @param options The options parameters.
|
|
8486
8574
|
*/
|
|
8487
8575
|
createOrUpdate(logProfileName, parameters, options) {
|
|
8488
|
-
return this.client.sendOperationRequest({ logProfileName, parameters, options }, createOrUpdateOperationSpec$
|
|
8576
|
+
return this.client.sendOperationRequest({ logProfileName, parameters, options }, createOrUpdateOperationSpec$8);
|
|
8489
8577
|
}
|
|
8490
8578
|
/**
|
|
8491
8579
|
* Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.
|
|
@@ -8494,19 +8582,19 @@ class LogProfilesImpl {
|
|
|
8494
8582
|
* @param options The options parameters.
|
|
8495
8583
|
*/
|
|
8496
8584
|
update(logProfileName, logProfilesResource, options) {
|
|
8497
|
-
return this.client.sendOperationRequest({ logProfileName, logProfilesResource, options }, updateOperationSpec$
|
|
8585
|
+
return this.client.sendOperationRequest({ logProfileName, logProfilesResource, options }, updateOperationSpec$6);
|
|
8498
8586
|
}
|
|
8499
8587
|
/**
|
|
8500
8588
|
* List the log profiles.
|
|
8501
8589
|
* @param options The options parameters.
|
|
8502
8590
|
*/
|
|
8503
8591
|
_list(options) {
|
|
8504
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
8592
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$b);
|
|
8505
8593
|
}
|
|
8506
8594
|
}
|
|
8507
8595
|
// Operation Specifications
|
|
8508
|
-
const serializer$
|
|
8509
|
-
const deleteOperationSpec$
|
|
8596
|
+
const serializer$n = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8597
|
+
const deleteOperationSpec$b = {
|
|
8510
8598
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/logprofiles/{logProfileName}",
|
|
8511
8599
|
httpMethod: "DELETE",
|
|
8512
8600
|
responses: { 200: {} },
|
|
@@ -8516,9 +8604,9 @@ const deleteOperationSpec$2 = {
|
|
|
8516
8604
|
subscriptionId,
|
|
8517
8605
|
logProfileName
|
|
8518
8606
|
],
|
|
8519
|
-
serializer: serializer$
|
|
8607
|
+
serializer: serializer$n
|
|
8520
8608
|
};
|
|
8521
|
-
const getOperationSpec$
|
|
8609
|
+
const getOperationSpec$e = {
|
|
8522
8610
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/logprofiles/{logProfileName}",
|
|
8523
8611
|
httpMethod: "GET",
|
|
8524
8612
|
responses: {
|
|
@@ -8536,9 +8624,9 @@ const getOperationSpec$3 = {
|
|
|
8536
8624
|
logProfileName
|
|
8537
8625
|
],
|
|
8538
8626
|
headerParameters: [accept],
|
|
8539
|
-
serializer: serializer$
|
|
8627
|
+
serializer: serializer$n
|
|
8540
8628
|
};
|
|
8541
|
-
const createOrUpdateOperationSpec$
|
|
8629
|
+
const createOrUpdateOperationSpec$8 = {
|
|
8542
8630
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/logprofiles/{logProfileName}",
|
|
8543
8631
|
httpMethod: "PUT",
|
|
8544
8632
|
responses: {
|
|
@@ -8555,9 +8643,9 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
8555
8643
|
],
|
|
8556
8644
|
headerParameters: [accept, contentType],
|
|
8557
8645
|
mediaType: "json",
|
|
8558
|
-
serializer: serializer$
|
|
8646
|
+
serializer: serializer$n
|
|
8559
8647
|
};
|
|
8560
|
-
const updateOperationSpec$
|
|
8648
|
+
const updateOperationSpec$6 = {
|
|
8561
8649
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/logprofiles/{logProfileName}",
|
|
8562
8650
|
httpMethod: "PATCH",
|
|
8563
8651
|
responses: {
|
|
@@ -8577,9 +8665,9 @@ const updateOperationSpec$2 = {
|
|
|
8577
8665
|
],
|
|
8578
8666
|
headerParameters: [accept, contentType],
|
|
8579
8667
|
mediaType: "json",
|
|
8580
|
-
serializer: serializer$
|
|
8668
|
+
serializer: serializer$n
|
|
8581
8669
|
};
|
|
8582
|
-
const listOperationSpec$
|
|
8670
|
+
const listOperationSpec$b = {
|
|
8583
8671
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/logprofiles",
|
|
8584
8672
|
httpMethod: "GET",
|
|
8585
8673
|
responses: {
|
|
@@ -8590,7 +8678,7 @@ const listOperationSpec$1 = {
|
|
|
8590
8678
|
queryParameters: [apiVersion1],
|
|
8591
8679
|
urlParameters: [$host, subscriptionId],
|
|
8592
8680
|
headerParameters: [accept],
|
|
8593
|
-
serializer: serializer$
|
|
8681
|
+
serializer: serializer$n
|
|
8594
8682
|
};
|
|
8595
8683
|
|
|
8596
8684
|
/*
|
|
@@ -8616,7 +8704,7 @@ class DiagnosticSettingsImpl {
|
|
|
8616
8704
|
* @param options The options parameters.
|
|
8617
8705
|
*/
|
|
8618
8706
|
get(resourceUri, name, options) {
|
|
8619
|
-
return this.client.sendOperationRequest({ resourceUri, name, options }, getOperationSpec$
|
|
8707
|
+
return this.client.sendOperationRequest({ resourceUri, name, options }, getOperationSpec$d);
|
|
8620
8708
|
}
|
|
8621
8709
|
/**
|
|
8622
8710
|
* Creates or updates diagnostic settings for the specified resource.
|
|
@@ -8626,7 +8714,7 @@ class DiagnosticSettingsImpl {
|
|
|
8626
8714
|
* @param options The options parameters.
|
|
8627
8715
|
*/
|
|
8628
8716
|
createOrUpdate(resourceUri, name, parameters, options) {
|
|
8629
|
-
return this.client.sendOperationRequest({ resourceUri, name, parameters, options }, createOrUpdateOperationSpec$
|
|
8717
|
+
return this.client.sendOperationRequest({ resourceUri, name, parameters, options }, createOrUpdateOperationSpec$7);
|
|
8630
8718
|
}
|
|
8631
8719
|
/**
|
|
8632
8720
|
* Deletes existing diagnostic settings for the specified resource.
|
|
@@ -8635,7 +8723,7 @@ class DiagnosticSettingsImpl {
|
|
|
8635
8723
|
* @param options The options parameters.
|
|
8636
8724
|
*/
|
|
8637
8725
|
delete(resourceUri, name, options) {
|
|
8638
|
-
return this.client.sendOperationRequest({ resourceUri, name, options }, deleteOperationSpec$
|
|
8726
|
+
return this.client.sendOperationRequest({ resourceUri, name, options }, deleteOperationSpec$a);
|
|
8639
8727
|
}
|
|
8640
8728
|
/**
|
|
8641
8729
|
* Gets the active diagnostic settings list for the specified resource.
|
|
@@ -8643,12 +8731,12 @@ class DiagnosticSettingsImpl {
|
|
|
8643
8731
|
* @param options The options parameters.
|
|
8644
8732
|
*/
|
|
8645
8733
|
list(resourceUri, options) {
|
|
8646
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$
|
|
8734
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$a);
|
|
8647
8735
|
}
|
|
8648
8736
|
}
|
|
8649
8737
|
// Operation Specifications
|
|
8650
|
-
const serializer$
|
|
8651
|
-
const getOperationSpec$
|
|
8738
|
+
const serializer$m = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8739
|
+
const getOperationSpec$d = {
|
|
8652
8740
|
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}",
|
|
8653
8741
|
httpMethod: "GET",
|
|
8654
8742
|
responses: {
|
|
@@ -8662,9 +8750,9 @@ const getOperationSpec$4 = {
|
|
|
8662
8750
|
queryParameters: [apiVersion2],
|
|
8663
8751
|
urlParameters: [$host, resourceUri, name],
|
|
8664
8752
|
headerParameters: [accept],
|
|
8665
|
-
serializer: serializer$
|
|
8753
|
+
serializer: serializer$m
|
|
8666
8754
|
};
|
|
8667
|
-
const createOrUpdateOperationSpec$
|
|
8755
|
+
const createOrUpdateOperationSpec$7 = {
|
|
8668
8756
|
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}",
|
|
8669
8757
|
httpMethod: "PUT",
|
|
8670
8758
|
responses: {
|
|
@@ -8680,9 +8768,9 @@ const createOrUpdateOperationSpec$3 = {
|
|
|
8680
8768
|
urlParameters: [$host, resourceUri, name],
|
|
8681
8769
|
headerParameters: [accept, contentType],
|
|
8682
8770
|
mediaType: "json",
|
|
8683
|
-
serializer: serializer$
|
|
8771
|
+
serializer: serializer$m
|
|
8684
8772
|
};
|
|
8685
|
-
const deleteOperationSpec$
|
|
8773
|
+
const deleteOperationSpec$a = {
|
|
8686
8774
|
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}",
|
|
8687
8775
|
httpMethod: "DELETE",
|
|
8688
8776
|
responses: {
|
|
@@ -8695,9 +8783,9 @@ const deleteOperationSpec$3 = {
|
|
|
8695
8783
|
queryParameters: [apiVersion2],
|
|
8696
8784
|
urlParameters: [$host, resourceUri, name],
|
|
8697
8785
|
headerParameters: [accept],
|
|
8698
|
-
serializer: serializer$
|
|
8786
|
+
serializer: serializer$m
|
|
8699
8787
|
};
|
|
8700
|
-
const listOperationSpec$
|
|
8788
|
+
const listOperationSpec$a = {
|
|
8701
8789
|
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings",
|
|
8702
8790
|
httpMethod: "GET",
|
|
8703
8791
|
responses: {
|
|
@@ -8711,7 +8799,7 @@ const listOperationSpec$2 = {
|
|
|
8711
8799
|
queryParameters: [apiVersion2],
|
|
8712
8800
|
urlParameters: [$host, resourceUri],
|
|
8713
8801
|
headerParameters: [accept],
|
|
8714
|
-
serializer: serializer$
|
|
8802
|
+
serializer: serializer$m
|
|
8715
8803
|
};
|
|
8716
8804
|
|
|
8717
8805
|
/*
|
|
@@ -8737,7 +8825,7 @@ class DiagnosticSettingsCategoryImpl {
|
|
|
8737
8825
|
* @param options The options parameters.
|
|
8738
8826
|
*/
|
|
8739
8827
|
get(resourceUri, name, options) {
|
|
8740
|
-
return this.client.sendOperationRequest({ resourceUri, name, options }, getOperationSpec$
|
|
8828
|
+
return this.client.sendOperationRequest({ resourceUri, name, options }, getOperationSpec$c);
|
|
8741
8829
|
}
|
|
8742
8830
|
/**
|
|
8743
8831
|
* Lists the diagnostic settings categories for the specified resource.
|
|
@@ -8745,12 +8833,12 @@ class DiagnosticSettingsCategoryImpl {
|
|
|
8745
8833
|
* @param options The options parameters.
|
|
8746
8834
|
*/
|
|
8747
8835
|
list(resourceUri, options) {
|
|
8748
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$
|
|
8836
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$9);
|
|
8749
8837
|
}
|
|
8750
8838
|
}
|
|
8751
8839
|
// Operation Specifications
|
|
8752
|
-
const serializer$
|
|
8753
|
-
const getOperationSpec$
|
|
8840
|
+
const serializer$l = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8841
|
+
const getOperationSpec$c = {
|
|
8754
8842
|
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettingsCategories/{name}",
|
|
8755
8843
|
httpMethod: "GET",
|
|
8756
8844
|
responses: {
|
|
@@ -8764,9 +8852,9 @@ const getOperationSpec$5 = {
|
|
|
8764
8852
|
queryParameters: [apiVersion2],
|
|
8765
8853
|
urlParameters: [$host, resourceUri, name],
|
|
8766
8854
|
headerParameters: [accept],
|
|
8767
|
-
serializer: serializer$
|
|
8855
|
+
serializer: serializer$l
|
|
8768
8856
|
};
|
|
8769
|
-
const listOperationSpec$
|
|
8857
|
+
const listOperationSpec$9 = {
|
|
8770
8858
|
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettingsCategories",
|
|
8771
8859
|
httpMethod: "GET",
|
|
8772
8860
|
responses: {
|
|
@@ -8780,7 +8868,7 @@ const listOperationSpec$3 = {
|
|
|
8780
8868
|
queryParameters: [apiVersion2],
|
|
8781
8869
|
urlParameters: [$host, resourceUri],
|
|
8782
8870
|
headerParameters: [accept],
|
|
8783
|
-
serializer: serializer$
|
|
8871
|
+
serializer: serializer$l
|
|
8784
8872
|
};
|
|
8785
8873
|
|
|
8786
8874
|
/*
|
|
@@ -8921,7 +9009,7 @@ class ActionGroupsImpl {
|
|
|
8921
9009
|
* @param options The options parameters.
|
|
8922
9010
|
*/
|
|
8923
9011
|
createOrUpdate(resourceGroupName, actionGroupName, actionGroup, options) {
|
|
8924
|
-
return this.client.sendOperationRequest({ resourceGroupName, actionGroupName, actionGroup, options }, createOrUpdateOperationSpec$
|
|
9012
|
+
return this.client.sendOperationRequest({ resourceGroupName, actionGroupName, actionGroup, options }, createOrUpdateOperationSpec$6);
|
|
8925
9013
|
}
|
|
8926
9014
|
/**
|
|
8927
9015
|
* Get an action group.
|
|
@@ -8930,7 +9018,7 @@ class ActionGroupsImpl {
|
|
|
8930
9018
|
* @param options The options parameters.
|
|
8931
9019
|
*/
|
|
8932
9020
|
get(resourceGroupName, actionGroupName, options) {
|
|
8933
|
-
return this.client.sendOperationRequest({ resourceGroupName, actionGroupName, options }, getOperationSpec$
|
|
9021
|
+
return this.client.sendOperationRequest({ resourceGroupName, actionGroupName, options }, getOperationSpec$b);
|
|
8934
9022
|
}
|
|
8935
9023
|
/**
|
|
8936
9024
|
* Delete an action group.
|
|
@@ -8939,7 +9027,7 @@ class ActionGroupsImpl {
|
|
|
8939
9027
|
* @param options The options parameters.
|
|
8940
9028
|
*/
|
|
8941
9029
|
delete(resourceGroupName, actionGroupName, options) {
|
|
8942
|
-
return this.client.sendOperationRequest({ resourceGroupName, actionGroupName, options }, deleteOperationSpec$
|
|
9030
|
+
return this.client.sendOperationRequest({ resourceGroupName, actionGroupName, options }, deleteOperationSpec$9);
|
|
8943
9031
|
}
|
|
8944
9032
|
/**
|
|
8945
9033
|
* Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.
|
|
@@ -8949,7 +9037,7 @@ class ActionGroupsImpl {
|
|
|
8949
9037
|
* @param options The options parameters.
|
|
8950
9038
|
*/
|
|
8951
9039
|
update(resourceGroupName, actionGroupName, actionGroupPatch, options) {
|
|
8952
|
-
return this.client.sendOperationRequest({ resourceGroupName, actionGroupName, actionGroupPatch, options }, updateOperationSpec$
|
|
9040
|
+
return this.client.sendOperationRequest({ resourceGroupName, actionGroupName, actionGroupPatch, options }, updateOperationSpec$5);
|
|
8953
9041
|
}
|
|
8954
9042
|
/**
|
|
8955
9043
|
* Send test notifications to a set of provided receivers
|
|
@@ -8981,11 +9069,13 @@ class ActionGroupsImpl {
|
|
|
8981
9069
|
};
|
|
8982
9070
|
});
|
|
8983
9071
|
const lro = new LroImpl(sendOperation, { notificationRequest, options }, postTestNotificationsOperationSpec);
|
|
8984
|
-
|
|
9072
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
8985
9073
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8986
9074
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8987
9075
|
lroResourceLocationConfig: "location"
|
|
8988
9076
|
});
|
|
9077
|
+
yield poller.poll();
|
|
9078
|
+
return poller;
|
|
8989
9079
|
});
|
|
8990
9080
|
}
|
|
8991
9081
|
/**
|
|
@@ -9012,7 +9102,7 @@ class ActionGroupsImpl {
|
|
|
9012
9102
|
* @param options The options parameters.
|
|
9013
9103
|
*/
|
|
9014
9104
|
_listBySubscriptionId(options) {
|
|
9015
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec);
|
|
9105
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec$1);
|
|
9016
9106
|
}
|
|
9017
9107
|
/**
|
|
9018
9108
|
* Get a list of all action groups in a resource group.
|
|
@@ -9020,7 +9110,7 @@ class ActionGroupsImpl {
|
|
|
9020
9110
|
* @param options The options parameters.
|
|
9021
9111
|
*/
|
|
9022
9112
|
_listByResourceGroup(resourceGroupName, options) {
|
|
9023
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$
|
|
9113
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$6);
|
|
9024
9114
|
}
|
|
9025
9115
|
/**
|
|
9026
9116
|
* Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled.
|
|
@@ -9035,8 +9125,8 @@ class ActionGroupsImpl {
|
|
|
9035
9125
|
}
|
|
9036
9126
|
}
|
|
9037
9127
|
// Operation Specifications
|
|
9038
|
-
const serializer$
|
|
9039
|
-
const createOrUpdateOperationSpec$
|
|
9128
|
+
const serializer$k = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9129
|
+
const createOrUpdateOperationSpec$6 = {
|
|
9040
9130
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}",
|
|
9041
9131
|
httpMethod: "PUT",
|
|
9042
9132
|
responses: {
|
|
@@ -9060,9 +9150,9 @@ const createOrUpdateOperationSpec$4 = {
|
|
|
9060
9150
|
],
|
|
9061
9151
|
headerParameters: [accept, contentType],
|
|
9062
9152
|
mediaType: "json",
|
|
9063
|
-
serializer: serializer$
|
|
9153
|
+
serializer: serializer$k
|
|
9064
9154
|
};
|
|
9065
|
-
const getOperationSpec$
|
|
9155
|
+
const getOperationSpec$b = {
|
|
9066
9156
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}",
|
|
9067
9157
|
httpMethod: "GET",
|
|
9068
9158
|
responses: {
|
|
@@ -9081,9 +9171,9 @@ const getOperationSpec$6 = {
|
|
|
9081
9171
|
actionGroupName
|
|
9082
9172
|
],
|
|
9083
9173
|
headerParameters: [accept],
|
|
9084
|
-
serializer: serializer$
|
|
9174
|
+
serializer: serializer$k
|
|
9085
9175
|
};
|
|
9086
|
-
const deleteOperationSpec$
|
|
9176
|
+
const deleteOperationSpec$9 = {
|
|
9087
9177
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}",
|
|
9088
9178
|
httpMethod: "DELETE",
|
|
9089
9179
|
responses: {
|
|
@@ -9101,9 +9191,9 @@ const deleteOperationSpec$4 = {
|
|
|
9101
9191
|
actionGroupName
|
|
9102
9192
|
],
|
|
9103
9193
|
headerParameters: [accept],
|
|
9104
|
-
serializer: serializer$
|
|
9194
|
+
serializer: serializer$k
|
|
9105
9195
|
};
|
|
9106
|
-
const updateOperationSpec$
|
|
9196
|
+
const updateOperationSpec$5 = {
|
|
9107
9197
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}",
|
|
9108
9198
|
httpMethod: "PATCH",
|
|
9109
9199
|
responses: {
|
|
@@ -9124,7 +9214,7 @@ const updateOperationSpec$3 = {
|
|
|
9124
9214
|
],
|
|
9125
9215
|
headerParameters: [accept, contentType],
|
|
9126
9216
|
mediaType: "json",
|
|
9127
|
-
serializer: serializer$
|
|
9217
|
+
serializer: serializer$k
|
|
9128
9218
|
};
|
|
9129
9219
|
const postTestNotificationsOperationSpec = {
|
|
9130
9220
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/createNotifications",
|
|
@@ -9151,7 +9241,7 @@ const postTestNotificationsOperationSpec = {
|
|
|
9151
9241
|
urlParameters: [$host, subscriptionId],
|
|
9152
9242
|
headerParameters: [accept, contentType],
|
|
9153
9243
|
mediaType: "json",
|
|
9154
|
-
serializer: serializer$
|
|
9244
|
+
serializer: serializer$k
|
|
9155
9245
|
};
|
|
9156
9246
|
const getTestNotificationsOperationSpec = {
|
|
9157
9247
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/notificationStatus/{notificationId}",
|
|
@@ -9171,9 +9261,9 @@ const getTestNotificationsOperationSpec = {
|
|
|
9171
9261
|
notificationId
|
|
9172
9262
|
],
|
|
9173
9263
|
headerParameters: [accept],
|
|
9174
|
-
serializer: serializer$
|
|
9264
|
+
serializer: serializer$k
|
|
9175
9265
|
};
|
|
9176
|
-
const listBySubscriptionIdOperationSpec = {
|
|
9266
|
+
const listBySubscriptionIdOperationSpec$1 = {
|
|
9177
9267
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/actionGroups",
|
|
9178
9268
|
httpMethod: "GET",
|
|
9179
9269
|
responses: {
|
|
@@ -9187,9 +9277,9 @@ const listBySubscriptionIdOperationSpec = {
|
|
|
9187
9277
|
queryParameters: [apiVersion3],
|
|
9188
9278
|
urlParameters: [$host, subscriptionId],
|
|
9189
9279
|
headerParameters: [accept],
|
|
9190
|
-
serializer: serializer$
|
|
9280
|
+
serializer: serializer$k
|
|
9191
9281
|
};
|
|
9192
|
-
const listByResourceGroupOperationSpec$
|
|
9282
|
+
const listByResourceGroupOperationSpec$6 = {
|
|
9193
9283
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups",
|
|
9194
9284
|
httpMethod: "GET",
|
|
9195
9285
|
responses: {
|
|
@@ -9207,7 +9297,7 @@ const listByResourceGroupOperationSpec$2 = {
|
|
|
9207
9297
|
subscriptionId
|
|
9208
9298
|
],
|
|
9209
9299
|
headerParameters: [accept],
|
|
9210
|
-
serializer: serializer$
|
|
9300
|
+
serializer: serializer$k
|
|
9211
9301
|
};
|
|
9212
9302
|
const enableReceiverOperationSpec = {
|
|
9213
9303
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}/subscribe",
|
|
@@ -9231,7 +9321,7 @@ const enableReceiverOperationSpec = {
|
|
|
9231
9321
|
],
|
|
9232
9322
|
headerParameters: [accept, contentType],
|
|
9233
9323
|
mediaType: "json",
|
|
9234
|
-
serializer: serializer$
|
|
9324
|
+
serializer: serializer$k
|
|
9235
9325
|
};
|
|
9236
9326
|
|
|
9237
9327
|
/*
|
|
@@ -9330,7 +9420,7 @@ class ActivityLogsImpl {
|
|
|
9330
9420
|
* @param options The options parameters.
|
|
9331
9421
|
*/
|
|
9332
9422
|
_list(filter, options) {
|
|
9333
|
-
return this.client.sendOperationRequest({ filter, options }, listOperationSpec$
|
|
9423
|
+
return this.client.sendOperationRequest({ filter, options }, listOperationSpec$8);
|
|
9334
9424
|
}
|
|
9335
9425
|
/**
|
|
9336
9426
|
* ListNext
|
|
@@ -9351,12 +9441,12 @@ class ActivityLogsImpl {
|
|
|
9351
9441
|
* @param options The options parameters.
|
|
9352
9442
|
*/
|
|
9353
9443
|
_listNext(filter, nextLink, options) {
|
|
9354
|
-
return this.client.sendOperationRequest({ filter, nextLink, options }, listNextOperationSpec);
|
|
9444
|
+
return this.client.sendOperationRequest({ filter, nextLink, options }, listNextOperationSpec$2);
|
|
9355
9445
|
}
|
|
9356
9446
|
}
|
|
9357
9447
|
// Operation Specifications
|
|
9358
|
-
const serializer$
|
|
9359
|
-
const listOperationSpec$
|
|
9448
|
+
const serializer$j = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9449
|
+
const listOperationSpec$8 = {
|
|
9360
9450
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/eventtypes/management/values",
|
|
9361
9451
|
httpMethod: "GET",
|
|
9362
9452
|
responses: {
|
|
@@ -9374,9 +9464,9 @@ const listOperationSpec$4 = {
|
|
|
9374
9464
|
],
|
|
9375
9465
|
urlParameters: [$host, subscriptionId],
|
|
9376
9466
|
headerParameters: [accept],
|
|
9377
|
-
serializer: serializer$
|
|
9467
|
+
serializer: serializer$j
|
|
9378
9468
|
};
|
|
9379
|
-
const listNextOperationSpec = {
|
|
9469
|
+
const listNextOperationSpec$2 = {
|
|
9380
9470
|
path: "{nextLink}",
|
|
9381
9471
|
httpMethod: "GET",
|
|
9382
9472
|
responses: {
|
|
@@ -9398,7 +9488,7 @@ const listNextOperationSpec = {
|
|
|
9398
9488
|
nextLink
|
|
9399
9489
|
],
|
|
9400
9490
|
headerParameters: [accept],
|
|
9401
|
-
serializer: serializer$
|
|
9491
|
+
serializer: serializer$j
|
|
9402
9492
|
};
|
|
9403
9493
|
|
|
9404
9494
|
/*
|
|
@@ -9467,12 +9557,12 @@ class EventCategoriesImpl {
|
|
|
9467
9557
|
* @param options The options parameters.
|
|
9468
9558
|
*/
|
|
9469
9559
|
_list(options) {
|
|
9470
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
9560
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$7);
|
|
9471
9561
|
}
|
|
9472
9562
|
}
|
|
9473
9563
|
// Operation Specifications
|
|
9474
|
-
const serializer$
|
|
9475
|
-
const listOperationSpec$
|
|
9564
|
+
const serializer$i = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9565
|
+
const listOperationSpec$7 = {
|
|
9476
9566
|
path: "/providers/Microsoft.Insights/eventcategories",
|
|
9477
9567
|
httpMethod: "GET",
|
|
9478
9568
|
responses: {
|
|
@@ -9486,7 +9576,7 @@ const listOperationSpec$5 = {
|
|
|
9486
9576
|
queryParameters: [apiVersion],
|
|
9487
9577
|
urlParameters: [$host],
|
|
9488
9578
|
headerParameters: [accept],
|
|
9489
|
-
serializer: serializer$
|
|
9579
|
+
serializer: serializer$i
|
|
9490
9580
|
};
|
|
9491
9581
|
|
|
9492
9582
|
/*
|
|
@@ -9577,7 +9667,7 @@ class TenantActivityLogsImpl {
|
|
|
9577
9667
|
}
|
|
9578
9668
|
}
|
|
9579
9669
|
// Operation Specifications
|
|
9580
|
-
const serializer$
|
|
9670
|
+
const serializer$h = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9581
9671
|
const listOperationSpec$6 = {
|
|
9582
9672
|
path: "/providers/Microsoft.Insights/eventtypes/management/values",
|
|
9583
9673
|
httpMethod: "GET",
|
|
@@ -9596,7 +9686,7 @@ const listOperationSpec$6 = {
|
|
|
9596
9686
|
],
|
|
9597
9687
|
urlParameters: [$host],
|
|
9598
9688
|
headerParameters: [accept],
|
|
9599
|
-
serializer: serializer$
|
|
9689
|
+
serializer: serializer$h
|
|
9600
9690
|
};
|
|
9601
9691
|
const listNextOperationSpec$1 = {
|
|
9602
9692
|
path: "{nextLink}",
|
|
@@ -9616,7 +9706,7 @@ const listNextOperationSpec$1 = {
|
|
|
9616
9706
|
],
|
|
9617
9707
|
urlParameters: [$host, nextLink],
|
|
9618
9708
|
headerParameters: [accept],
|
|
9619
|
-
serializer: serializer$
|
|
9709
|
+
serializer: serializer$h
|
|
9620
9710
|
};
|
|
9621
9711
|
|
|
9622
9712
|
/*
|
|
@@ -9685,12 +9775,12 @@ class MetricDefinitionsImpl {
|
|
|
9685
9775
|
* @param options The options parameters.
|
|
9686
9776
|
*/
|
|
9687
9777
|
_list(resourceUri, options) {
|
|
9688
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$
|
|
9778
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$5);
|
|
9689
9779
|
}
|
|
9690
9780
|
}
|
|
9691
9781
|
// Operation Specifications
|
|
9692
|
-
const serializer$
|
|
9693
|
-
const listOperationSpec$
|
|
9782
|
+
const serializer$g = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9783
|
+
const listOperationSpec$5 = {
|
|
9694
9784
|
path: "/{resourceUri}/providers/Microsoft.Insights/metricDefinitions",
|
|
9695
9785
|
httpMethod: "GET",
|
|
9696
9786
|
responses: {
|
|
@@ -9704,7 +9794,7 @@ const listOperationSpec$7 = {
|
|
|
9704
9794
|
queryParameters: [apiVersion4, metricnamespace],
|
|
9705
9795
|
urlParameters: [$host, resourceUri],
|
|
9706
9796
|
headerParameters: [accept],
|
|
9707
|
-
serializer: serializer$
|
|
9797
|
+
serializer: serializer$g
|
|
9708
9798
|
};
|
|
9709
9799
|
|
|
9710
9800
|
/*
|
|
@@ -9729,12 +9819,12 @@ class MetricsImpl {
|
|
|
9729
9819
|
* @param options The options parameters.
|
|
9730
9820
|
*/
|
|
9731
9821
|
list(resourceUri, options) {
|
|
9732
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$
|
|
9822
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$4);
|
|
9733
9823
|
}
|
|
9734
9824
|
}
|
|
9735
9825
|
// Operation Specifications
|
|
9736
|
-
const serializer$
|
|
9737
|
-
const listOperationSpec$
|
|
9826
|
+
const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9827
|
+
const listOperationSpec$4 = {
|
|
9738
9828
|
path: "/{resourceUri}/providers/Microsoft.Insights/metrics",
|
|
9739
9829
|
httpMethod: "GET",
|
|
9740
9830
|
responses: {
|
|
@@ -9759,7 +9849,7 @@ const listOperationSpec$8 = {
|
|
|
9759
9849
|
],
|
|
9760
9850
|
urlParameters: [$host, resourceUri],
|
|
9761
9851
|
headerParameters: [accept],
|
|
9762
|
-
serializer: serializer$
|
|
9852
|
+
serializer: serializer$f
|
|
9763
9853
|
};
|
|
9764
9854
|
|
|
9765
9855
|
/*
|
|
@@ -9828,12 +9918,12 @@ class BaselinesImpl {
|
|
|
9828
9918
|
* @param options The options parameters.
|
|
9829
9919
|
*/
|
|
9830
9920
|
_list(resourceUri, options) {
|
|
9831
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$
|
|
9921
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$3);
|
|
9832
9922
|
}
|
|
9833
9923
|
}
|
|
9834
9924
|
// Operation Specifications
|
|
9835
|
-
const serializer$
|
|
9836
|
-
const listOperationSpec$
|
|
9925
|
+
const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
9926
|
+
const listOperationSpec$3 = {
|
|
9837
9927
|
path: "/{resourceUri}/providers/Microsoft.Insights/metricBaselines",
|
|
9838
9928
|
httpMethod: "GET",
|
|
9839
9929
|
responses: {
|
|
@@ -9857,7 +9947,7 @@ const listOperationSpec$9 = {
|
|
|
9857
9947
|
],
|
|
9858
9948
|
urlParameters: [$host, resourceUri],
|
|
9859
9949
|
headerParameters: [accept],
|
|
9860
|
-
serializer: serializer$
|
|
9950
|
+
serializer: serializer$e
|
|
9861
9951
|
};
|
|
9862
9952
|
|
|
9863
9953
|
/*
|
|
@@ -9967,7 +10057,7 @@ class MetricAlertsImpl {
|
|
|
9967
10057
|
* @param options The options parameters.
|
|
9968
10058
|
*/
|
|
9969
10059
|
_listBySubscription(options) {
|
|
9970
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$
|
|
10060
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$3);
|
|
9971
10061
|
}
|
|
9972
10062
|
/**
|
|
9973
10063
|
* Retrieve alert rule definitions in a resource group.
|
|
@@ -9975,7 +10065,7 @@ class MetricAlertsImpl {
|
|
|
9975
10065
|
* @param options The options parameters.
|
|
9976
10066
|
*/
|
|
9977
10067
|
_listByResourceGroup(resourceGroupName, options) {
|
|
9978
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$
|
|
10068
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$5);
|
|
9979
10069
|
}
|
|
9980
10070
|
/**
|
|
9981
10071
|
* Retrieve an alert rule definition.
|
|
@@ -9984,7 +10074,7 @@ class MetricAlertsImpl {
|
|
|
9984
10074
|
* @param options The options parameters.
|
|
9985
10075
|
*/
|
|
9986
10076
|
get(resourceGroupName, ruleName, options) {
|
|
9987
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, getOperationSpec$
|
|
10077
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, getOperationSpec$a);
|
|
9988
10078
|
}
|
|
9989
10079
|
/**
|
|
9990
10080
|
* Create or update an metric alert definition.
|
|
@@ -10013,12 +10103,12 @@ class MetricAlertsImpl {
|
|
|
10013
10103
|
* @param options The options parameters.
|
|
10014
10104
|
*/
|
|
10015
10105
|
delete(resourceGroupName, ruleName, options) {
|
|
10016
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, deleteOperationSpec$
|
|
10106
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, deleteOperationSpec$8);
|
|
10017
10107
|
}
|
|
10018
10108
|
}
|
|
10019
10109
|
// Operation Specifications
|
|
10020
|
-
const serializer$
|
|
10021
|
-
const listBySubscriptionOperationSpec$
|
|
10110
|
+
const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10111
|
+
const listBySubscriptionOperationSpec$3 = {
|
|
10022
10112
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/metricAlerts",
|
|
10023
10113
|
httpMethod: "GET",
|
|
10024
10114
|
responses: {
|
|
@@ -10032,9 +10122,9 @@ const listBySubscriptionOperationSpec$2 = {
|
|
|
10032
10122
|
queryParameters: [apiVersion6],
|
|
10033
10123
|
urlParameters: [$host, subscriptionId],
|
|
10034
10124
|
headerParameters: [accept],
|
|
10035
|
-
serializer: serializer$
|
|
10125
|
+
serializer: serializer$d
|
|
10036
10126
|
};
|
|
10037
|
-
const listByResourceGroupOperationSpec$
|
|
10127
|
+
const listByResourceGroupOperationSpec$5 = {
|
|
10038
10128
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts",
|
|
10039
10129
|
httpMethod: "GET",
|
|
10040
10130
|
responses: {
|
|
@@ -10052,9 +10142,9 @@ const listByResourceGroupOperationSpec$3 = {
|
|
|
10052
10142
|
subscriptionId
|
|
10053
10143
|
],
|
|
10054
10144
|
headerParameters: [accept],
|
|
10055
|
-
serializer: serializer$
|
|
10145
|
+
serializer: serializer$d
|
|
10056
10146
|
};
|
|
10057
|
-
const getOperationSpec$
|
|
10147
|
+
const getOperationSpec$a = {
|
|
10058
10148
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}",
|
|
10059
10149
|
httpMethod: "GET",
|
|
10060
10150
|
responses: {
|
|
@@ -10073,7 +10163,7 @@ const getOperationSpec$7 = {
|
|
|
10073
10163
|
ruleName
|
|
10074
10164
|
],
|
|
10075
10165
|
headerParameters: [accept],
|
|
10076
|
-
serializer: serializer$
|
|
10166
|
+
serializer: serializer$d
|
|
10077
10167
|
};
|
|
10078
10168
|
const createOrUpdateOperationSpec$5 = {
|
|
10079
10169
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}",
|
|
@@ -10096,7 +10186,7 @@ const createOrUpdateOperationSpec$5 = {
|
|
|
10096
10186
|
],
|
|
10097
10187
|
headerParameters: [accept, contentType],
|
|
10098
10188
|
mediaType: "json",
|
|
10099
|
-
serializer: serializer$
|
|
10189
|
+
serializer: serializer$d
|
|
10100
10190
|
};
|
|
10101
10191
|
const updateOperationSpec$4 = {
|
|
10102
10192
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}",
|
|
@@ -10119,9 +10209,9 @@ const updateOperationSpec$4 = {
|
|
|
10119
10209
|
],
|
|
10120
10210
|
headerParameters: [accept, contentType],
|
|
10121
10211
|
mediaType: "json",
|
|
10122
|
-
serializer: serializer$
|
|
10212
|
+
serializer: serializer$d
|
|
10123
10213
|
};
|
|
10124
|
-
const deleteOperationSpec$
|
|
10214
|
+
const deleteOperationSpec$8 = {
|
|
10125
10215
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}",
|
|
10126
10216
|
httpMethod: "DELETE",
|
|
10127
10217
|
responses: {
|
|
@@ -10139,7 +10229,7 @@ const deleteOperationSpec$5 = {
|
|
|
10139
10229
|
ruleName
|
|
10140
10230
|
],
|
|
10141
10231
|
headerParameters: [accept],
|
|
10142
|
-
serializer: serializer$
|
|
10232
|
+
serializer: serializer$d
|
|
10143
10233
|
};
|
|
10144
10234
|
|
|
10145
10235
|
/*
|
|
@@ -10165,7 +10255,7 @@ class MetricAlertsStatusImpl {
|
|
|
10165
10255
|
* @param options The options parameters.
|
|
10166
10256
|
*/
|
|
10167
10257
|
list(resourceGroupName, ruleName, options) {
|
|
10168
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, listOperationSpec$
|
|
10258
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, listOperationSpec$2);
|
|
10169
10259
|
}
|
|
10170
10260
|
/**
|
|
10171
10261
|
* Retrieve an alert rule status.
|
|
@@ -10179,8 +10269,8 @@ class MetricAlertsStatusImpl {
|
|
|
10179
10269
|
}
|
|
10180
10270
|
}
|
|
10181
10271
|
// Operation Specifications
|
|
10182
|
-
const serializer$
|
|
10183
|
-
const listOperationSpec$
|
|
10272
|
+
const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10273
|
+
const listOperationSpec$2 = {
|
|
10184
10274
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}/status",
|
|
10185
10275
|
httpMethod: "GET",
|
|
10186
10276
|
responses: {
|
|
@@ -10199,7 +10289,7 @@ const listOperationSpec$a = {
|
|
|
10199
10289
|
ruleName
|
|
10200
10290
|
],
|
|
10201
10291
|
headerParameters: [accept],
|
|
10202
|
-
serializer: serializer$
|
|
10292
|
+
serializer: serializer$c
|
|
10203
10293
|
};
|
|
10204
10294
|
const listByNameOperationSpec = {
|
|
10205
10295
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}/status/{statusName}",
|
|
@@ -10221,7 +10311,7 @@ const listByNameOperationSpec = {
|
|
|
10221
10311
|
statusName
|
|
10222
10312
|
],
|
|
10223
10313
|
headerParameters: [accept],
|
|
10224
|
-
serializer: serializer$
|
|
10314
|
+
serializer: serializer$c
|
|
10225
10315
|
};
|
|
10226
10316
|
|
|
10227
10317
|
/*
|
|
@@ -10334,7 +10424,7 @@ class ScheduledQueryRulesImpl {
|
|
|
10334
10424
|
* @param options The options parameters.
|
|
10335
10425
|
*/
|
|
10336
10426
|
createOrUpdate(resourceGroupName, ruleName, parameters, options) {
|
|
10337
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, parameters, options }, createOrUpdateOperationSpec$
|
|
10427
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, parameters, options }, createOrUpdateOperationSpec$4);
|
|
10338
10428
|
}
|
|
10339
10429
|
/**
|
|
10340
10430
|
* Gets an Log Search rule
|
|
@@ -10343,7 +10433,7 @@ class ScheduledQueryRulesImpl {
|
|
|
10343
10433
|
* @param options The options parameters.
|
|
10344
10434
|
*/
|
|
10345
10435
|
get(resourceGroupName, ruleName, options) {
|
|
10346
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, getOperationSpec$
|
|
10436
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, getOperationSpec$9);
|
|
10347
10437
|
}
|
|
10348
10438
|
/**
|
|
10349
10439
|
* Update log search Rule.
|
|
@@ -10353,7 +10443,7 @@ class ScheduledQueryRulesImpl {
|
|
|
10353
10443
|
* @param options The options parameters.
|
|
10354
10444
|
*/
|
|
10355
10445
|
update(resourceGroupName, ruleName, parameters, options) {
|
|
10356
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, parameters, options }, updateOperationSpec$
|
|
10446
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, parameters, options }, updateOperationSpec$3);
|
|
10357
10447
|
}
|
|
10358
10448
|
/**
|
|
10359
10449
|
* Deletes a Log Search rule
|
|
@@ -10362,14 +10452,14 @@ class ScheduledQueryRulesImpl {
|
|
|
10362
10452
|
* @param options The options parameters.
|
|
10363
10453
|
*/
|
|
10364
10454
|
delete(resourceGroupName, ruleName, options) {
|
|
10365
|
-
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, deleteOperationSpec$
|
|
10455
|
+
return this.client.sendOperationRequest({ resourceGroupName, ruleName, options }, deleteOperationSpec$7);
|
|
10366
10456
|
}
|
|
10367
10457
|
/**
|
|
10368
10458
|
* List the Log Search rules within a subscription group.
|
|
10369
10459
|
* @param options The options parameters.
|
|
10370
10460
|
*/
|
|
10371
10461
|
_listBySubscription(options) {
|
|
10372
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$
|
|
10462
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$2);
|
|
10373
10463
|
}
|
|
10374
10464
|
/**
|
|
10375
10465
|
* List the Log Search rules within a resource group.
|
|
@@ -10381,8 +10471,8 @@ class ScheduledQueryRulesImpl {
|
|
|
10381
10471
|
}
|
|
10382
10472
|
}
|
|
10383
10473
|
// Operation Specifications
|
|
10384
|
-
const serializer$
|
|
10385
|
-
const createOrUpdateOperationSpec$
|
|
10474
|
+
const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10475
|
+
const createOrUpdateOperationSpec$4 = {
|
|
10386
10476
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
|
|
10387
10477
|
httpMethod: "PUT",
|
|
10388
10478
|
responses: {
|
|
@@ -10406,9 +10496,9 @@ const createOrUpdateOperationSpec$6 = {
|
|
|
10406
10496
|
],
|
|
10407
10497
|
headerParameters: [accept, contentType],
|
|
10408
10498
|
mediaType: "json",
|
|
10409
|
-
serializer: serializer$
|
|
10499
|
+
serializer: serializer$b
|
|
10410
10500
|
};
|
|
10411
|
-
const getOperationSpec$
|
|
10501
|
+
const getOperationSpec$9 = {
|
|
10412
10502
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
|
|
10413
10503
|
httpMethod: "GET",
|
|
10414
10504
|
responses: {
|
|
@@ -10427,9 +10517,9 @@ const getOperationSpec$8 = {
|
|
|
10427
10517
|
ruleName
|
|
10428
10518
|
],
|
|
10429
10519
|
headerParameters: [accept],
|
|
10430
|
-
serializer: serializer$
|
|
10520
|
+
serializer: serializer$b
|
|
10431
10521
|
};
|
|
10432
|
-
const updateOperationSpec$
|
|
10522
|
+
const updateOperationSpec$3 = {
|
|
10433
10523
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
|
|
10434
10524
|
httpMethod: "PATCH",
|
|
10435
10525
|
responses: {
|
|
@@ -10450,9 +10540,9 @@ const updateOperationSpec$5 = {
|
|
|
10450
10540
|
],
|
|
10451
10541
|
headerParameters: [accept, contentType],
|
|
10452
10542
|
mediaType: "json",
|
|
10453
|
-
serializer: serializer$
|
|
10543
|
+
serializer: serializer$b
|
|
10454
10544
|
};
|
|
10455
|
-
const deleteOperationSpec$
|
|
10545
|
+
const deleteOperationSpec$7 = {
|
|
10456
10546
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}",
|
|
10457
10547
|
httpMethod: "DELETE",
|
|
10458
10548
|
responses: {
|
|
@@ -10470,9 +10560,9 @@ const deleteOperationSpec$6 = {
|
|
|
10470
10560
|
ruleName
|
|
10471
10561
|
],
|
|
10472
10562
|
headerParameters: [accept],
|
|
10473
|
-
serializer: serializer$
|
|
10563
|
+
serializer: serializer$b
|
|
10474
10564
|
};
|
|
10475
|
-
const listBySubscriptionOperationSpec$
|
|
10565
|
+
const listBySubscriptionOperationSpec$2 = {
|
|
10476
10566
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/scheduledQueryRules",
|
|
10477
10567
|
httpMethod: "GET",
|
|
10478
10568
|
responses: {
|
|
@@ -10486,7 +10576,7 @@ const listBySubscriptionOperationSpec$3 = {
|
|
|
10486
10576
|
queryParameters: [filter1, apiVersion7],
|
|
10487
10577
|
urlParameters: [$host, subscriptionId],
|
|
10488
10578
|
headerParameters: [accept],
|
|
10489
|
-
serializer: serializer$
|
|
10579
|
+
serializer: serializer$b
|
|
10490
10580
|
};
|
|
10491
10581
|
const listByResourceGroupOperationSpec$4 = {
|
|
10492
10582
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules",
|
|
@@ -10506,7 +10596,7 @@ const listByResourceGroupOperationSpec$4 = {
|
|
|
10506
10596
|
subscriptionId
|
|
10507
10597
|
],
|
|
10508
10598
|
headerParameters: [accept],
|
|
10509
|
-
serializer: serializer$
|
|
10599
|
+
serializer: serializer$b
|
|
10510
10600
|
};
|
|
10511
10601
|
|
|
10512
10602
|
/*
|
|
@@ -10575,12 +10665,12 @@ class MetricNamespacesImpl {
|
|
|
10575
10665
|
* @param options The options parameters.
|
|
10576
10666
|
*/
|
|
10577
10667
|
_list(resourceUri, options) {
|
|
10578
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$
|
|
10668
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$1);
|
|
10579
10669
|
}
|
|
10580
10670
|
}
|
|
10581
10671
|
// Operation Specifications
|
|
10582
|
-
const serializer$
|
|
10583
|
-
const listOperationSpec$
|
|
10672
|
+
const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10673
|
+
const listOperationSpec$1 = {
|
|
10584
10674
|
path: "/{resourceUri}/providers/microsoft.insights/metricNamespaces",
|
|
10585
10675
|
httpMethod: "GET",
|
|
10586
10676
|
responses: {
|
|
@@ -10594,7 +10684,7 @@ const listOperationSpec$b = {
|
|
|
10594
10684
|
queryParameters: [apiVersion8, startTime],
|
|
10595
10685
|
urlParameters: [$host, resourceUri],
|
|
10596
10686
|
headerParameters: [accept],
|
|
10597
|
-
serializer: serializer$
|
|
10687
|
+
serializer: serializer$a
|
|
10598
10688
|
};
|
|
10599
10689
|
|
|
10600
10690
|
/*
|
|
@@ -10624,7 +10714,7 @@ class VMInsightsImpl {
|
|
|
10624
10714
|
}
|
|
10625
10715
|
}
|
|
10626
10716
|
// Operation Specifications
|
|
10627
|
-
const serializer$
|
|
10717
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10628
10718
|
const getOnboardingStatusOperationSpec = {
|
|
10629
10719
|
path: "/{resourceUri}/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
|
|
10630
10720
|
httpMethod: "GET",
|
|
@@ -10639,7 +10729,7 @@ const getOnboardingStatusOperationSpec = {
|
|
|
10639
10729
|
queryParameters: [apiVersion9],
|
|
10640
10730
|
urlParameters: [$host, resourceUri],
|
|
10641
10731
|
headerParameters: [accept],
|
|
10642
|
-
serializer: serializer$
|
|
10732
|
+
serializer: serializer$9
|
|
10643
10733
|
};
|
|
10644
10734
|
|
|
10645
10735
|
/*
|
|
@@ -10761,7 +10851,7 @@ class PrivateLinkScopesImpl {
|
|
|
10761
10851
|
* @param options The options parameters.
|
|
10762
10852
|
*/
|
|
10763
10853
|
_list(options) {
|
|
10764
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec
|
|
10854
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
10765
10855
|
}
|
|
10766
10856
|
/**
|
|
10767
10857
|
* Gets a list of Azure Monitor PrivateLinkScopes within a resource group.
|
|
@@ -10769,7 +10859,7 @@ class PrivateLinkScopesImpl {
|
|
|
10769
10859
|
* @param options The options parameters.
|
|
10770
10860
|
*/
|
|
10771
10861
|
_listByResourceGroup(resourceGroupName, options) {
|
|
10772
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$
|
|
10862
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$3);
|
|
10773
10863
|
}
|
|
10774
10864
|
/**
|
|
10775
10865
|
* Deletes a Azure Monitor PrivateLinkScope.
|
|
@@ -10801,11 +10891,13 @@ class PrivateLinkScopesImpl {
|
|
|
10801
10891
|
}
|
|
10802
10892
|
};
|
|
10803
10893
|
});
|
|
10804
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, scopeName, options }, deleteOperationSpec$
|
|
10805
|
-
|
|
10894
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, scopeName, options }, deleteOperationSpec$6);
|
|
10895
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
10806
10896
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
10807
10897
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
10808
10898
|
});
|
|
10899
|
+
yield poller.poll();
|
|
10900
|
+
return poller;
|
|
10809
10901
|
});
|
|
10810
10902
|
}
|
|
10811
10903
|
/**
|
|
@@ -10827,7 +10919,7 @@ class PrivateLinkScopesImpl {
|
|
|
10827
10919
|
* @param options The options parameters.
|
|
10828
10920
|
*/
|
|
10829
10921
|
get(resourceGroupName, scopeName, options) {
|
|
10830
|
-
return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, getOperationSpec$
|
|
10922
|
+
return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, getOperationSpec$8);
|
|
10831
10923
|
}
|
|
10832
10924
|
/**
|
|
10833
10925
|
* Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value
|
|
@@ -10844,7 +10936,7 @@ class PrivateLinkScopesImpl {
|
|
|
10844
10936
|
scopeName,
|
|
10845
10937
|
azureMonitorPrivateLinkScopePayload,
|
|
10846
10938
|
options
|
|
10847
|
-
}, createOrUpdateOperationSpec$
|
|
10939
|
+
}, createOrUpdateOperationSpec$3);
|
|
10848
10940
|
}
|
|
10849
10941
|
/**
|
|
10850
10942
|
* Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
|
|
@@ -10862,7 +10954,7 @@ class PrivateLinkScopesImpl {
|
|
|
10862
10954
|
* @param options The options parameters.
|
|
10863
10955
|
*/
|
|
10864
10956
|
_listNext(nextLink, options) {
|
|
10865
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec
|
|
10957
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
10866
10958
|
}
|
|
10867
10959
|
/**
|
|
10868
10960
|
* ListByResourceGroupNext
|
|
@@ -10871,12 +10963,12 @@ class PrivateLinkScopesImpl {
|
|
|
10871
10963
|
* @param options The options parameters.
|
|
10872
10964
|
*/
|
|
10873
10965
|
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
10874
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$
|
|
10966
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$2);
|
|
10875
10967
|
}
|
|
10876
10968
|
}
|
|
10877
10969
|
// Operation Specifications
|
|
10878
|
-
const serializer$
|
|
10879
|
-
const listOperationSpec
|
|
10970
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10971
|
+
const listOperationSpec = {
|
|
10880
10972
|
path: "/subscriptions/{subscriptionId}/providers/microsoft.insights/privateLinkScopes",
|
|
10881
10973
|
httpMethod: "GET",
|
|
10882
10974
|
responses: {
|
|
@@ -10887,9 +10979,9 @@ const listOperationSpec$c = {
|
|
|
10887
10979
|
queryParameters: [apiVersion10],
|
|
10888
10980
|
urlParameters: [$host, subscriptionId],
|
|
10889
10981
|
headerParameters: [accept],
|
|
10890
|
-
serializer: serializer$
|
|
10982
|
+
serializer: serializer$8
|
|
10891
10983
|
};
|
|
10892
|
-
const listByResourceGroupOperationSpec$
|
|
10984
|
+
const listByResourceGroupOperationSpec$3 = {
|
|
10893
10985
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes",
|
|
10894
10986
|
httpMethod: "GET",
|
|
10895
10987
|
responses: {
|
|
@@ -10904,9 +10996,9 @@ const listByResourceGroupOperationSpec$5 = {
|
|
|
10904
10996
|
subscriptionId
|
|
10905
10997
|
],
|
|
10906
10998
|
headerParameters: [accept],
|
|
10907
|
-
serializer: serializer$
|
|
10999
|
+
serializer: serializer$8
|
|
10908
11000
|
};
|
|
10909
|
-
const deleteOperationSpec$
|
|
11001
|
+
const deleteOperationSpec$6 = {
|
|
10910
11002
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}",
|
|
10911
11003
|
httpMethod: "DELETE",
|
|
10912
11004
|
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
@@ -10917,9 +11009,9 @@ const deleteOperationSpec$7 = {
|
|
|
10917
11009
|
subscriptionId,
|
|
10918
11010
|
scopeName
|
|
10919
11011
|
],
|
|
10920
|
-
serializer: serializer$
|
|
11012
|
+
serializer: serializer$8
|
|
10921
11013
|
};
|
|
10922
|
-
const getOperationSpec$
|
|
11014
|
+
const getOperationSpec$8 = {
|
|
10923
11015
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}",
|
|
10924
11016
|
httpMethod: "GET",
|
|
10925
11017
|
responses: {
|
|
@@ -10935,9 +11027,9 @@ const getOperationSpec$9 = {
|
|
|
10935
11027
|
scopeName
|
|
10936
11028
|
],
|
|
10937
11029
|
headerParameters: [accept],
|
|
10938
|
-
serializer: serializer$
|
|
11030
|
+
serializer: serializer$8
|
|
10939
11031
|
};
|
|
10940
|
-
const createOrUpdateOperationSpec$
|
|
11032
|
+
const createOrUpdateOperationSpec$3 = {
|
|
10941
11033
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}",
|
|
10942
11034
|
httpMethod: "PUT",
|
|
10943
11035
|
responses: {
|
|
@@ -10958,7 +11050,7 @@ const createOrUpdateOperationSpec$7 = {
|
|
|
10958
11050
|
],
|
|
10959
11051
|
headerParameters: [accept, contentType],
|
|
10960
11052
|
mediaType: "json",
|
|
10961
|
-
serializer: serializer$
|
|
11053
|
+
serializer: serializer$8
|
|
10962
11054
|
};
|
|
10963
11055
|
const updateTagsOperationSpec = {
|
|
10964
11056
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}",
|
|
@@ -10978,9 +11070,9 @@ const updateTagsOperationSpec = {
|
|
|
10978
11070
|
],
|
|
10979
11071
|
headerParameters: [accept, contentType],
|
|
10980
11072
|
mediaType: "json",
|
|
10981
|
-
serializer: serializer$
|
|
11073
|
+
serializer: serializer$8
|
|
10982
11074
|
};
|
|
10983
|
-
const listNextOperationSpec
|
|
11075
|
+
const listNextOperationSpec = {
|
|
10984
11076
|
path: "{nextLink}",
|
|
10985
11077
|
httpMethod: "GET",
|
|
10986
11078
|
responses: {
|
|
@@ -10995,9 +11087,9 @@ const listNextOperationSpec$2 = {
|
|
|
10995
11087
|
nextLink
|
|
10996
11088
|
],
|
|
10997
11089
|
headerParameters: [accept],
|
|
10998
|
-
serializer: serializer$
|
|
11090
|
+
serializer: serializer$8
|
|
10999
11091
|
};
|
|
11000
|
-
const listByResourceGroupNextOperationSpec$
|
|
11092
|
+
const listByResourceGroupNextOperationSpec$2 = {
|
|
11001
11093
|
path: "{nextLink}",
|
|
11002
11094
|
httpMethod: "GET",
|
|
11003
11095
|
responses: {
|
|
@@ -11013,7 +11105,7 @@ const listByResourceGroupNextOperationSpec$1 = {
|
|
|
11013
11105
|
nextLink
|
|
11014
11106
|
],
|
|
11015
11107
|
headerParameters: [accept],
|
|
11016
|
-
serializer: serializer$
|
|
11108
|
+
serializer: serializer$8
|
|
11017
11109
|
};
|
|
11018
11110
|
|
|
11019
11111
|
/*
|
|
@@ -11039,12 +11131,12 @@ class PrivateLinkScopeOperationStatusImpl {
|
|
|
11039
11131
|
* @param options The options parameters.
|
|
11040
11132
|
*/
|
|
11041
11133
|
get(asyncOperationId, resourceGroupName, options) {
|
|
11042
|
-
return this.client.sendOperationRequest({ asyncOperationId, resourceGroupName, options }, getOperationSpec$
|
|
11134
|
+
return this.client.sendOperationRequest({ asyncOperationId, resourceGroupName, options }, getOperationSpec$7);
|
|
11043
11135
|
}
|
|
11044
11136
|
}
|
|
11045
11137
|
// Operation Specifications
|
|
11046
|
-
const serializer$
|
|
11047
|
-
const getOperationSpec$
|
|
11138
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11139
|
+
const getOperationSpec$7 = {
|
|
11048
11140
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopeOperationStatuses/{asyncOperationId}",
|
|
11049
11141
|
httpMethod: "GET",
|
|
11050
11142
|
responses: {
|
|
@@ -11060,7 +11152,7 @@ const getOperationSpec$a = {
|
|
|
11060
11152
|
asyncOperationId
|
|
11061
11153
|
],
|
|
11062
11154
|
headerParameters: [accept],
|
|
11063
|
-
serializer: serializer$
|
|
11155
|
+
serializer: serializer$7
|
|
11064
11156
|
};
|
|
11065
11157
|
|
|
11066
11158
|
/*
|
|
@@ -11137,7 +11229,7 @@ class PrivateLinkResourcesImpl {
|
|
|
11137
11229
|
* @param options The options parameters.
|
|
11138
11230
|
*/
|
|
11139
11231
|
_listByPrivateLinkScope(resourceGroupName, scopeName, options) {
|
|
11140
|
-
return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec);
|
|
11232
|
+
return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec$2);
|
|
11141
11233
|
}
|
|
11142
11234
|
/**
|
|
11143
11235
|
* Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
|
|
@@ -11147,7 +11239,7 @@ class PrivateLinkResourcesImpl {
|
|
|
11147
11239
|
* @param options The options parameters.
|
|
11148
11240
|
*/
|
|
11149
11241
|
get(resourceGroupName, scopeName, groupName, options) {
|
|
11150
|
-
return this.client.sendOperationRequest({ resourceGroupName, scopeName, groupName, options }, getOperationSpec$
|
|
11242
|
+
return this.client.sendOperationRequest({ resourceGroupName, scopeName, groupName, options }, getOperationSpec$6);
|
|
11151
11243
|
}
|
|
11152
11244
|
/**
|
|
11153
11245
|
* ListByPrivateLinkScopeNext
|
|
@@ -11157,12 +11249,12 @@ class PrivateLinkResourcesImpl {
|
|
|
11157
11249
|
* @param options The options parameters.
|
|
11158
11250
|
*/
|
|
11159
11251
|
_listByPrivateLinkScopeNext(resourceGroupName, scopeName, nextLink, options) {
|
|
11160
|
-
return this.client.sendOperationRequest({ resourceGroupName, scopeName, nextLink, options }, listByPrivateLinkScopeNextOperationSpec);
|
|
11252
|
+
return this.client.sendOperationRequest({ resourceGroupName, scopeName, nextLink, options }, listByPrivateLinkScopeNextOperationSpec$2);
|
|
11161
11253
|
}
|
|
11162
11254
|
}
|
|
11163
11255
|
// Operation Specifications
|
|
11164
|
-
const serializer$
|
|
11165
|
-
const listByPrivateLinkScopeOperationSpec = {
|
|
11256
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11257
|
+
const listByPrivateLinkScopeOperationSpec$2 = {
|
|
11166
11258
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources",
|
|
11167
11259
|
httpMethod: "GET",
|
|
11168
11260
|
responses: {
|
|
@@ -11178,9 +11270,9 @@ const listByPrivateLinkScopeOperationSpec = {
|
|
|
11178
11270
|
scopeName
|
|
11179
11271
|
],
|
|
11180
11272
|
headerParameters: [accept],
|
|
11181
|
-
serializer: serializer$
|
|
11273
|
+
serializer: serializer$6
|
|
11182
11274
|
};
|
|
11183
|
-
const getOperationSpec$
|
|
11275
|
+
const getOperationSpec$6 = {
|
|
11184
11276
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}",
|
|
11185
11277
|
httpMethod: "GET",
|
|
11186
11278
|
responses: {
|
|
@@ -11197,9 +11289,9 @@ const getOperationSpec$b = {
|
|
|
11197
11289
|
groupName
|
|
11198
11290
|
],
|
|
11199
11291
|
headerParameters: [accept],
|
|
11200
|
-
serializer: serializer$
|
|
11292
|
+
serializer: serializer$6
|
|
11201
11293
|
};
|
|
11202
|
-
const listByPrivateLinkScopeNextOperationSpec = {
|
|
11294
|
+
const listByPrivateLinkScopeNextOperationSpec$2 = {
|
|
11203
11295
|
path: "{nextLink}",
|
|
11204
11296
|
httpMethod: "GET",
|
|
11205
11297
|
responses: {
|
|
@@ -11216,7 +11308,7 @@ const listByPrivateLinkScopeNextOperationSpec = {
|
|
|
11216
11308
|
scopeName
|
|
11217
11309
|
],
|
|
11218
11310
|
headerParameters: [accept],
|
|
11219
|
-
serializer: serializer$
|
|
11311
|
+
serializer: serializer$6
|
|
11220
11312
|
};
|
|
11221
11313
|
|
|
11222
11314
|
/*
|
|
@@ -11294,7 +11386,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
11294
11386
|
* @param options The options parameters.
|
|
11295
11387
|
*/
|
|
11296
11388
|
get(resourceGroupName, scopeName, privateEndpointConnectionName, options) {
|
|
11297
|
-
return this.client.sendOperationRequest({ resourceGroupName, scopeName, privateEndpointConnectionName, options }, getOperationSpec$
|
|
11389
|
+
return this.client.sendOperationRequest({ resourceGroupName, scopeName, privateEndpointConnectionName, options }, getOperationSpec$5);
|
|
11298
11390
|
}
|
|
11299
11391
|
/**
|
|
11300
11392
|
* Approve or reject a private endpoint connection with a given name.
|
|
@@ -11334,11 +11426,13 @@ class PrivateEndpointConnectionsImpl {
|
|
|
11334
11426
|
privateEndpointConnectionName,
|
|
11335
11427
|
parameters,
|
|
11336
11428
|
options
|
|
11337
|
-
}, createOrUpdateOperationSpec$
|
|
11338
|
-
|
|
11429
|
+
}, createOrUpdateOperationSpec$2);
|
|
11430
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
11339
11431
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11340
11432
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
11341
11433
|
});
|
|
11434
|
+
yield poller.poll();
|
|
11435
|
+
return poller;
|
|
11342
11436
|
});
|
|
11343
11437
|
}
|
|
11344
11438
|
/**
|
|
@@ -11386,11 +11480,13 @@ class PrivateEndpointConnectionsImpl {
|
|
|
11386
11480
|
}
|
|
11387
11481
|
};
|
|
11388
11482
|
});
|
|
11389
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, scopeName, privateEndpointConnectionName, options }, deleteOperationSpec$
|
|
11390
|
-
|
|
11483
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, scopeName, privateEndpointConnectionName, options }, deleteOperationSpec$5);
|
|
11484
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
11391
11485
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11392
11486
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
11393
11487
|
});
|
|
11488
|
+
yield poller.poll();
|
|
11489
|
+
return poller;
|
|
11394
11490
|
});
|
|
11395
11491
|
}
|
|
11396
11492
|
/**
|
|
@@ -11427,8 +11523,8 @@ class PrivateEndpointConnectionsImpl {
|
|
|
11427
11523
|
}
|
|
11428
11524
|
}
|
|
11429
11525
|
// Operation Specifications
|
|
11430
|
-
const serializer$
|
|
11431
|
-
const getOperationSpec$
|
|
11526
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11527
|
+
const getOperationSpec$5 = {
|
|
11432
11528
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
11433
11529
|
httpMethod: "GET",
|
|
11434
11530
|
responses: {
|
|
@@ -11445,9 +11541,9 @@ const getOperationSpec$c = {
|
|
|
11445
11541
|
privateEndpointConnectionName
|
|
11446
11542
|
],
|
|
11447
11543
|
headerParameters: [accept],
|
|
11448
|
-
serializer: serializer$
|
|
11544
|
+
serializer: serializer$5
|
|
11449
11545
|
};
|
|
11450
|
-
const createOrUpdateOperationSpec$
|
|
11546
|
+
const createOrUpdateOperationSpec$2 = {
|
|
11451
11547
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
11452
11548
|
httpMethod: "PUT",
|
|
11453
11549
|
responses: {
|
|
@@ -11475,9 +11571,9 @@ const createOrUpdateOperationSpec$8 = {
|
|
|
11475
11571
|
],
|
|
11476
11572
|
headerParameters: [accept, contentType],
|
|
11477
11573
|
mediaType: "json",
|
|
11478
|
-
serializer: serializer$
|
|
11574
|
+
serializer: serializer$5
|
|
11479
11575
|
};
|
|
11480
|
-
const deleteOperationSpec$
|
|
11576
|
+
const deleteOperationSpec$5 = {
|
|
11481
11577
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
11482
11578
|
httpMethod: "DELETE",
|
|
11483
11579
|
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
@@ -11489,7 +11585,7 @@ const deleteOperationSpec$8 = {
|
|
|
11489
11585
|
scopeName,
|
|
11490
11586
|
privateEndpointConnectionName
|
|
11491
11587
|
],
|
|
11492
|
-
serializer: serializer$
|
|
11588
|
+
serializer: serializer$5
|
|
11493
11589
|
};
|
|
11494
11590
|
const listByPrivateLinkScopeOperationSpec$1 = {
|
|
11495
11591
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections",
|
|
@@ -11507,7 +11603,7 @@ const listByPrivateLinkScopeOperationSpec$1 = {
|
|
|
11507
11603
|
scopeName
|
|
11508
11604
|
],
|
|
11509
11605
|
headerParameters: [accept],
|
|
11510
|
-
serializer: serializer$
|
|
11606
|
+
serializer: serializer$5
|
|
11511
11607
|
};
|
|
11512
11608
|
const listByPrivateLinkScopeNextOperationSpec$1 = {
|
|
11513
11609
|
path: "{nextLink}",
|
|
@@ -11526,7 +11622,7 @@ const listByPrivateLinkScopeNextOperationSpec$1 = {
|
|
|
11526
11622
|
scopeName
|
|
11527
11623
|
],
|
|
11528
11624
|
headerParameters: [accept],
|
|
11529
|
-
serializer: serializer$
|
|
11625
|
+
serializer: serializer$5
|
|
11530
11626
|
};
|
|
11531
11627
|
|
|
11532
11628
|
/*
|
|
@@ -11604,7 +11700,7 @@ class PrivateLinkScopedResourcesImpl {
|
|
|
11604
11700
|
* @param options The options parameters.
|
|
11605
11701
|
*/
|
|
11606
11702
|
get(resourceGroupName, scopeName, name, options) {
|
|
11607
|
-
return this.client.sendOperationRequest({ resourceGroupName, scopeName, name, options }, getOperationSpec$
|
|
11703
|
+
return this.client.sendOperationRequest({ resourceGroupName, scopeName, name, options }, getOperationSpec$4);
|
|
11608
11704
|
}
|
|
11609
11705
|
/**
|
|
11610
11706
|
* Approve or reject a private endpoint connection with a given name.
|
|
@@ -11638,11 +11734,13 @@ class PrivateLinkScopedResourcesImpl {
|
|
|
11638
11734
|
}
|
|
11639
11735
|
};
|
|
11640
11736
|
});
|
|
11641
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, scopeName, name, parameters, options }, createOrUpdateOperationSpec$
|
|
11642
|
-
|
|
11737
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, scopeName, name, parameters, options }, createOrUpdateOperationSpec$1);
|
|
11738
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
11643
11739
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11644
11740
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
11645
11741
|
});
|
|
11742
|
+
yield poller.poll();
|
|
11743
|
+
return poller;
|
|
11646
11744
|
});
|
|
11647
11745
|
}
|
|
11648
11746
|
/**
|
|
@@ -11690,11 +11788,13 @@ class PrivateLinkScopedResourcesImpl {
|
|
|
11690
11788
|
}
|
|
11691
11789
|
};
|
|
11692
11790
|
});
|
|
11693
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, scopeName, name, options }, deleteOperationSpec$
|
|
11694
|
-
|
|
11791
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, scopeName, name, options }, deleteOperationSpec$4);
|
|
11792
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
11695
11793
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11696
11794
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
11697
11795
|
});
|
|
11796
|
+
yield poller.poll();
|
|
11797
|
+
return poller;
|
|
11698
11798
|
});
|
|
11699
11799
|
}
|
|
11700
11800
|
/**
|
|
@@ -11717,7 +11817,7 @@ class PrivateLinkScopedResourcesImpl {
|
|
|
11717
11817
|
* @param options The options parameters.
|
|
11718
11818
|
*/
|
|
11719
11819
|
_listByPrivateLinkScope(resourceGroupName, scopeName, options) {
|
|
11720
|
-
return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec
|
|
11820
|
+
return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec);
|
|
11721
11821
|
}
|
|
11722
11822
|
/**
|
|
11723
11823
|
* ListByPrivateLinkScopeNext
|
|
@@ -11727,12 +11827,12 @@ class PrivateLinkScopedResourcesImpl {
|
|
|
11727
11827
|
* @param options The options parameters.
|
|
11728
11828
|
*/
|
|
11729
11829
|
_listByPrivateLinkScopeNext(resourceGroupName, scopeName, nextLink, options) {
|
|
11730
|
-
return this.client.sendOperationRequest({ resourceGroupName, scopeName, nextLink, options }, listByPrivateLinkScopeNextOperationSpec
|
|
11830
|
+
return this.client.sendOperationRequest({ resourceGroupName, scopeName, nextLink, options }, listByPrivateLinkScopeNextOperationSpec);
|
|
11731
11831
|
}
|
|
11732
11832
|
}
|
|
11733
11833
|
// Operation Specifications
|
|
11734
|
-
const serializer$
|
|
11735
|
-
const getOperationSpec$
|
|
11834
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11835
|
+
const getOperationSpec$4 = {
|
|
11736
11836
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}",
|
|
11737
11837
|
httpMethod: "GET",
|
|
11738
11838
|
responses: {
|
|
@@ -11749,9 +11849,9 @@ const getOperationSpec$d = {
|
|
|
11749
11849
|
scopeName
|
|
11750
11850
|
],
|
|
11751
11851
|
headerParameters: [accept],
|
|
11752
|
-
serializer: serializer$
|
|
11852
|
+
serializer: serializer$4
|
|
11753
11853
|
};
|
|
11754
|
-
const createOrUpdateOperationSpec$
|
|
11854
|
+
const createOrUpdateOperationSpec$1 = {
|
|
11755
11855
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}",
|
|
11756
11856
|
httpMethod: "PUT",
|
|
11757
11857
|
responses: {
|
|
@@ -11779,9 +11879,9 @@ const createOrUpdateOperationSpec$9 = {
|
|
|
11779
11879
|
],
|
|
11780
11880
|
headerParameters: [accept, contentType],
|
|
11781
11881
|
mediaType: "json",
|
|
11782
|
-
serializer: serializer$
|
|
11882
|
+
serializer: serializer$4
|
|
11783
11883
|
};
|
|
11784
|
-
const deleteOperationSpec$
|
|
11884
|
+
const deleteOperationSpec$4 = {
|
|
11785
11885
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}",
|
|
11786
11886
|
httpMethod: "DELETE",
|
|
11787
11887
|
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
@@ -11793,9 +11893,9 @@ const deleteOperationSpec$9 = {
|
|
|
11793
11893
|
name,
|
|
11794
11894
|
scopeName
|
|
11795
11895
|
],
|
|
11796
|
-
serializer: serializer$
|
|
11896
|
+
serializer: serializer$4
|
|
11797
11897
|
};
|
|
11798
|
-
const listByPrivateLinkScopeOperationSpec
|
|
11898
|
+
const listByPrivateLinkScopeOperationSpec = {
|
|
11799
11899
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources",
|
|
11800
11900
|
httpMethod: "GET",
|
|
11801
11901
|
responses: {
|
|
@@ -11811,9 +11911,9 @@ const listByPrivateLinkScopeOperationSpec$2 = {
|
|
|
11811
11911
|
scopeName
|
|
11812
11912
|
],
|
|
11813
11913
|
headerParameters: [accept],
|
|
11814
|
-
serializer: serializer$
|
|
11914
|
+
serializer: serializer$4
|
|
11815
11915
|
};
|
|
11816
|
-
const listByPrivateLinkScopeNextOperationSpec
|
|
11916
|
+
const listByPrivateLinkScopeNextOperationSpec = {
|
|
11817
11917
|
path: "{nextLink}",
|
|
11818
11918
|
httpMethod: "GET",
|
|
11819
11919
|
responses: {
|
|
@@ -11830,7 +11930,7 @@ const listByPrivateLinkScopeNextOperationSpec$2 = {
|
|
|
11830
11930
|
scopeName
|
|
11831
11931
|
],
|
|
11832
11932
|
headerParameters: [accept],
|
|
11833
|
-
serializer: serializer$
|
|
11933
|
+
serializer: serializer$4
|
|
11834
11934
|
};
|
|
11835
11935
|
|
|
11836
11936
|
/*
|
|
@@ -11943,7 +12043,7 @@ class ActivityLogAlertsImpl {
|
|
|
11943
12043
|
* @param options The options parameters.
|
|
11944
12044
|
*/
|
|
11945
12045
|
createOrUpdate(resourceGroupName, activityLogAlertName, activityLogAlert, options) {
|
|
11946
|
-
return this.client.sendOperationRequest({ resourceGroupName, activityLogAlertName, activityLogAlert, options }, createOrUpdateOperationSpec
|
|
12046
|
+
return this.client.sendOperationRequest({ resourceGroupName, activityLogAlertName, activityLogAlert, options }, createOrUpdateOperationSpec);
|
|
11947
12047
|
}
|
|
11948
12048
|
/**
|
|
11949
12049
|
* Get an activity log alert.
|
|
@@ -11952,7 +12052,7 @@ class ActivityLogAlertsImpl {
|
|
|
11952
12052
|
* @param options The options parameters.
|
|
11953
12053
|
*/
|
|
11954
12054
|
get(resourceGroupName, activityLogAlertName, options) {
|
|
11955
|
-
return this.client.sendOperationRequest({ resourceGroupName, activityLogAlertName, options }, getOperationSpec$
|
|
12055
|
+
return this.client.sendOperationRequest({ resourceGroupName, activityLogAlertName, options }, getOperationSpec$3);
|
|
11956
12056
|
}
|
|
11957
12057
|
/**
|
|
11958
12058
|
* Delete an activity log alert.
|
|
@@ -11961,7 +12061,7 @@ class ActivityLogAlertsImpl {
|
|
|
11961
12061
|
* @param options The options parameters.
|
|
11962
12062
|
*/
|
|
11963
12063
|
delete(resourceGroupName, activityLogAlertName, options) {
|
|
11964
|
-
return this.client.sendOperationRequest({ resourceGroupName, activityLogAlertName, options }, deleteOperationSpec$
|
|
12064
|
+
return this.client.sendOperationRequest({ resourceGroupName, activityLogAlertName, options }, deleteOperationSpec$3);
|
|
11965
12065
|
}
|
|
11966
12066
|
/**
|
|
11967
12067
|
* Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate
|
|
@@ -11977,14 +12077,14 @@ class ActivityLogAlertsImpl {
|
|
|
11977
12077
|
activityLogAlertName,
|
|
11978
12078
|
activityLogAlertPatch,
|
|
11979
12079
|
options
|
|
11980
|
-
}, updateOperationSpec$
|
|
12080
|
+
}, updateOperationSpec$2);
|
|
11981
12081
|
}
|
|
11982
12082
|
/**
|
|
11983
12083
|
* Get a list of all activity log alerts in a subscription.
|
|
11984
12084
|
* @param options The options parameters.
|
|
11985
12085
|
*/
|
|
11986
12086
|
_listBySubscriptionId(options) {
|
|
11987
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec
|
|
12087
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec);
|
|
11988
12088
|
}
|
|
11989
12089
|
/**
|
|
11990
12090
|
* Get a list of all activity log alerts in a resource group.
|
|
@@ -11992,12 +12092,12 @@ class ActivityLogAlertsImpl {
|
|
|
11992
12092
|
* @param options The options parameters.
|
|
11993
12093
|
*/
|
|
11994
12094
|
_listByResourceGroup(resourceGroupName, options) {
|
|
11995
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$
|
|
12095
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$2);
|
|
11996
12096
|
}
|
|
11997
12097
|
}
|
|
11998
12098
|
// Operation Specifications
|
|
11999
|
-
const serializer$
|
|
12000
|
-
const createOrUpdateOperationSpec
|
|
12099
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12100
|
+
const createOrUpdateOperationSpec = {
|
|
12001
12101
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}",
|
|
12002
12102
|
httpMethod: "PUT",
|
|
12003
12103
|
responses: {
|
|
@@ -12021,9 +12121,9 @@ const createOrUpdateOperationSpec$a = {
|
|
|
12021
12121
|
],
|
|
12022
12122
|
headerParameters: [accept, contentType],
|
|
12023
12123
|
mediaType: "json",
|
|
12024
|
-
serializer: serializer$
|
|
12124
|
+
serializer: serializer$3
|
|
12025
12125
|
};
|
|
12026
|
-
const getOperationSpec$
|
|
12126
|
+
const getOperationSpec$3 = {
|
|
12027
12127
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}",
|
|
12028
12128
|
httpMethod: "GET",
|
|
12029
12129
|
responses: {
|
|
@@ -12042,9 +12142,9 @@ const getOperationSpec$e = {
|
|
|
12042
12142
|
activityLogAlertName
|
|
12043
12143
|
],
|
|
12044
12144
|
headerParameters: [accept],
|
|
12045
|
-
serializer: serializer$
|
|
12145
|
+
serializer: serializer$3
|
|
12046
12146
|
};
|
|
12047
|
-
const deleteOperationSpec$
|
|
12147
|
+
const deleteOperationSpec$3 = {
|
|
12048
12148
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}",
|
|
12049
12149
|
httpMethod: "DELETE",
|
|
12050
12150
|
responses: {
|
|
@@ -12062,9 +12162,9 @@ const deleteOperationSpec$a = {
|
|
|
12062
12162
|
activityLogAlertName
|
|
12063
12163
|
],
|
|
12064
12164
|
headerParameters: [accept],
|
|
12065
|
-
serializer: serializer$
|
|
12165
|
+
serializer: serializer$3
|
|
12066
12166
|
};
|
|
12067
|
-
const updateOperationSpec$
|
|
12167
|
+
const updateOperationSpec$2 = {
|
|
12068
12168
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}",
|
|
12069
12169
|
httpMethod: "PATCH",
|
|
12070
12170
|
responses: {
|
|
@@ -12085,9 +12185,9 @@ const updateOperationSpec$6 = {
|
|
|
12085
12185
|
],
|
|
12086
12186
|
headerParameters: [accept, contentType],
|
|
12087
12187
|
mediaType: "json",
|
|
12088
|
-
serializer: serializer$
|
|
12188
|
+
serializer: serializer$3
|
|
12089
12189
|
};
|
|
12090
|
-
const listBySubscriptionIdOperationSpec
|
|
12190
|
+
const listBySubscriptionIdOperationSpec = {
|
|
12091
12191
|
path: "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts",
|
|
12092
12192
|
httpMethod: "GET",
|
|
12093
12193
|
responses: {
|
|
@@ -12101,9 +12201,9 @@ const listBySubscriptionIdOperationSpec$1 = {
|
|
|
12101
12201
|
queryParameters: [apiVersion11],
|
|
12102
12202
|
urlParameters: [$host, subscriptionId],
|
|
12103
12203
|
headerParameters: [accept],
|
|
12104
|
-
serializer: serializer$
|
|
12204
|
+
serializer: serializer$3
|
|
12105
12205
|
};
|
|
12106
|
-
const listByResourceGroupOperationSpec$
|
|
12206
|
+
const listByResourceGroupOperationSpec$2 = {
|
|
12107
12207
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts",
|
|
12108
12208
|
httpMethod: "GET",
|
|
12109
12209
|
responses: {
|
|
@@ -12121,7 +12221,7 @@ const listByResourceGroupOperationSpec$6 = {
|
|
|
12121
12221
|
subscriptionId
|
|
12122
12222
|
],
|
|
12123
12223
|
headerParameters: [accept],
|
|
12124
|
-
serializer: serializer$
|
|
12224
|
+
serializer: serializer$3
|
|
12125
12225
|
};
|
|
12126
12226
|
|
|
12127
12227
|
/*
|
|
@@ -12244,14 +12344,14 @@ class DataCollectionEndpointsImpl {
|
|
|
12244
12344
|
* @param options The options parameters.
|
|
12245
12345
|
*/
|
|
12246
12346
|
_listByResourceGroup(resourceGroupName, options) {
|
|
12247
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$
|
|
12347
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$1);
|
|
12248
12348
|
}
|
|
12249
12349
|
/**
|
|
12250
12350
|
* Lists all data collection endpoints in the specified subscription
|
|
12251
12351
|
* @param options The options parameters.
|
|
12252
12352
|
*/
|
|
12253
12353
|
_listBySubscription(options) {
|
|
12254
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$
|
|
12354
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$1);
|
|
12255
12355
|
}
|
|
12256
12356
|
/**
|
|
12257
12357
|
* Returns the specified data collection endpoint.
|
|
@@ -12261,7 +12361,7 @@ class DataCollectionEndpointsImpl {
|
|
|
12261
12361
|
* @param options The options parameters.
|
|
12262
12362
|
*/
|
|
12263
12363
|
get(resourceGroupName, dataCollectionEndpointName, options) {
|
|
12264
|
-
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionEndpointName, options }, getOperationSpec$
|
|
12364
|
+
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionEndpointName, options }, getOperationSpec$2);
|
|
12265
12365
|
}
|
|
12266
12366
|
/**
|
|
12267
12367
|
* Creates or updates a data collection endpoint.
|
|
@@ -12271,7 +12371,7 @@ class DataCollectionEndpointsImpl {
|
|
|
12271
12371
|
* @param options The options parameters.
|
|
12272
12372
|
*/
|
|
12273
12373
|
create(resourceGroupName, dataCollectionEndpointName, options) {
|
|
12274
|
-
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionEndpointName, options }, createOperationSpec);
|
|
12374
|
+
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionEndpointName, options }, createOperationSpec$2);
|
|
12275
12375
|
}
|
|
12276
12376
|
/**
|
|
12277
12377
|
* Updates part of a data collection endpoint.
|
|
@@ -12281,7 +12381,7 @@ class DataCollectionEndpointsImpl {
|
|
|
12281
12381
|
* @param options The options parameters.
|
|
12282
12382
|
*/
|
|
12283
12383
|
update(resourceGroupName, dataCollectionEndpointName, options) {
|
|
12284
|
-
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionEndpointName, options }, updateOperationSpec$
|
|
12384
|
+
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionEndpointName, options }, updateOperationSpec$1);
|
|
12285
12385
|
}
|
|
12286
12386
|
/**
|
|
12287
12387
|
* Deletes a data collection endpoint.
|
|
@@ -12291,7 +12391,7 @@ class DataCollectionEndpointsImpl {
|
|
|
12291
12391
|
* @param options The options parameters.
|
|
12292
12392
|
*/
|
|
12293
12393
|
delete(resourceGroupName, dataCollectionEndpointName, options) {
|
|
12294
|
-
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionEndpointName, options }, deleteOperationSpec$
|
|
12394
|
+
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionEndpointName, options }, deleteOperationSpec$2);
|
|
12295
12395
|
}
|
|
12296
12396
|
/**
|
|
12297
12397
|
* ListByResourceGroupNext
|
|
@@ -12300,7 +12400,7 @@ class DataCollectionEndpointsImpl {
|
|
|
12300
12400
|
* @param options The options parameters.
|
|
12301
12401
|
*/
|
|
12302
12402
|
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
12303
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$
|
|
12403
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$1);
|
|
12304
12404
|
}
|
|
12305
12405
|
/**
|
|
12306
12406
|
* ListBySubscriptionNext
|
|
@@ -12312,8 +12412,8 @@ class DataCollectionEndpointsImpl {
|
|
|
12312
12412
|
}
|
|
12313
12413
|
}
|
|
12314
12414
|
// Operation Specifications
|
|
12315
|
-
const serializer$
|
|
12316
|
-
const listByResourceGroupOperationSpec$
|
|
12415
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12416
|
+
const listByResourceGroupOperationSpec$1 = {
|
|
12317
12417
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints",
|
|
12318
12418
|
httpMethod: "GET",
|
|
12319
12419
|
responses: {
|
|
@@ -12331,9 +12431,9 @@ const listByResourceGroupOperationSpec$7 = {
|
|
|
12331
12431
|
subscriptionId
|
|
12332
12432
|
],
|
|
12333
12433
|
headerParameters: [accept],
|
|
12334
|
-
serializer: serializer$
|
|
12434
|
+
serializer: serializer$2
|
|
12335
12435
|
};
|
|
12336
|
-
const listBySubscriptionOperationSpec$
|
|
12436
|
+
const listBySubscriptionOperationSpec$1 = {
|
|
12337
12437
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionEndpoints",
|
|
12338
12438
|
httpMethod: "GET",
|
|
12339
12439
|
responses: {
|
|
@@ -12347,9 +12447,9 @@ const listBySubscriptionOperationSpec$4 = {
|
|
|
12347
12447
|
queryParameters: [apiVersion12],
|
|
12348
12448
|
urlParameters: [$host, subscriptionId],
|
|
12349
12449
|
headerParameters: [accept],
|
|
12350
|
-
serializer: serializer$
|
|
12450
|
+
serializer: serializer$2
|
|
12351
12451
|
};
|
|
12352
|
-
const getOperationSpec$
|
|
12452
|
+
const getOperationSpec$2 = {
|
|
12353
12453
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}",
|
|
12354
12454
|
httpMethod: "GET",
|
|
12355
12455
|
responses: {
|
|
@@ -12368,9 +12468,9 @@ const getOperationSpec$f = {
|
|
|
12368
12468
|
dataCollectionEndpointName
|
|
12369
12469
|
],
|
|
12370
12470
|
headerParameters: [accept],
|
|
12371
|
-
serializer: serializer$
|
|
12471
|
+
serializer: serializer$2
|
|
12372
12472
|
};
|
|
12373
|
-
const createOperationSpec = {
|
|
12473
|
+
const createOperationSpec$2 = {
|
|
12374
12474
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}",
|
|
12375
12475
|
httpMethod: "PUT",
|
|
12376
12476
|
responses: {
|
|
@@ -12394,9 +12494,9 @@ const createOperationSpec = {
|
|
|
12394
12494
|
],
|
|
12395
12495
|
headerParameters: [accept, contentType],
|
|
12396
12496
|
mediaType: "json",
|
|
12397
|
-
serializer: serializer$
|
|
12497
|
+
serializer: serializer$2
|
|
12398
12498
|
};
|
|
12399
|
-
const updateOperationSpec$
|
|
12499
|
+
const updateOperationSpec$1 = {
|
|
12400
12500
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}",
|
|
12401
12501
|
httpMethod: "PATCH",
|
|
12402
12502
|
responses: {
|
|
@@ -12417,9 +12517,9 @@ const updateOperationSpec$7 = {
|
|
|
12417
12517
|
],
|
|
12418
12518
|
headerParameters: [accept, contentType],
|
|
12419
12519
|
mediaType: "json",
|
|
12420
|
-
serializer: serializer$
|
|
12520
|
+
serializer: serializer$2
|
|
12421
12521
|
};
|
|
12422
|
-
const deleteOperationSpec$
|
|
12522
|
+
const deleteOperationSpec$2 = {
|
|
12423
12523
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}",
|
|
12424
12524
|
httpMethod: "DELETE",
|
|
12425
12525
|
responses: {
|
|
@@ -12437,9 +12537,9 @@ const deleteOperationSpec$b = {
|
|
|
12437
12537
|
dataCollectionEndpointName
|
|
12438
12538
|
],
|
|
12439
12539
|
headerParameters: [accept],
|
|
12440
|
-
serializer: serializer$
|
|
12540
|
+
serializer: serializer$2
|
|
12441
12541
|
};
|
|
12442
|
-
const listByResourceGroupNextOperationSpec$
|
|
12542
|
+
const listByResourceGroupNextOperationSpec$1 = {
|
|
12443
12543
|
path: "{nextLink}",
|
|
12444
12544
|
httpMethod: "GET",
|
|
12445
12545
|
responses: {
|
|
@@ -12458,7 +12558,7 @@ const listByResourceGroupNextOperationSpec$2 = {
|
|
|
12458
12558
|
nextLink
|
|
12459
12559
|
],
|
|
12460
12560
|
headerParameters: [accept],
|
|
12461
|
-
serializer: serializer$
|
|
12561
|
+
serializer: serializer$2
|
|
12462
12562
|
};
|
|
12463
12563
|
const listBySubscriptionNextOperationSpec$1 = {
|
|
12464
12564
|
path: "{nextLink}",
|
|
@@ -12478,7 +12578,7 @@ const listBySubscriptionNextOperationSpec$1 = {
|
|
|
12478
12578
|
nextLink
|
|
12479
12579
|
],
|
|
12480
12580
|
headerParameters: [accept],
|
|
12481
|
-
serializer: serializer$
|
|
12581
|
+
serializer: serializer$2
|
|
12482
12582
|
};
|
|
12483
12583
|
|
|
12484
12584
|
/*
|
|
@@ -12621,7 +12721,7 @@ class DataCollectionRuleAssociationsImpl {
|
|
|
12621
12721
|
* @param options The options parameters.
|
|
12622
12722
|
*/
|
|
12623
12723
|
get(resourceUri, associationName, options) {
|
|
12624
|
-
return this.client.sendOperationRequest({ resourceUri, associationName, options }, getOperationSpec$
|
|
12724
|
+
return this.client.sendOperationRequest({ resourceUri, associationName, options }, getOperationSpec$1);
|
|
12625
12725
|
}
|
|
12626
12726
|
/**
|
|
12627
12727
|
* Creates or updates an association.
|
|
@@ -12639,7 +12739,7 @@ class DataCollectionRuleAssociationsImpl {
|
|
|
12639
12739
|
* @param options The options parameters.
|
|
12640
12740
|
*/
|
|
12641
12741
|
delete(resourceUri, associationName, options) {
|
|
12642
|
-
return this.client.sendOperationRequest({ resourceUri, associationName, options }, deleteOperationSpec$
|
|
12742
|
+
return this.client.sendOperationRequest({ resourceUri, associationName, options }, deleteOperationSpec$1);
|
|
12643
12743
|
}
|
|
12644
12744
|
/**
|
|
12645
12745
|
* ListByResourceNext
|
|
@@ -12662,7 +12762,7 @@ class DataCollectionRuleAssociationsImpl {
|
|
|
12662
12762
|
}
|
|
12663
12763
|
}
|
|
12664
12764
|
// Operation Specifications
|
|
12665
|
-
const serializer$
|
|
12765
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12666
12766
|
const listByResourceOperationSpec = {
|
|
12667
12767
|
path: "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations",
|
|
12668
12768
|
httpMethod: "GET",
|
|
@@ -12677,7 +12777,7 @@ const listByResourceOperationSpec = {
|
|
|
12677
12777
|
queryParameters: [apiVersion12],
|
|
12678
12778
|
urlParameters: [$host, resourceUri1],
|
|
12679
12779
|
headerParameters: [accept],
|
|
12680
|
-
serializer: serializer$
|
|
12780
|
+
serializer: serializer$1
|
|
12681
12781
|
};
|
|
12682
12782
|
const listByRuleOperationSpec = {
|
|
12683
12783
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}/associations",
|
|
@@ -12698,9 +12798,9 @@ const listByRuleOperationSpec = {
|
|
|
12698
12798
|
dataCollectionRuleName
|
|
12699
12799
|
],
|
|
12700
12800
|
headerParameters: [accept],
|
|
12701
|
-
serializer: serializer$
|
|
12801
|
+
serializer: serializer$1
|
|
12702
12802
|
};
|
|
12703
|
-
const getOperationSpec$
|
|
12803
|
+
const getOperationSpec$1 = {
|
|
12704
12804
|
path: "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}",
|
|
12705
12805
|
httpMethod: "GET",
|
|
12706
12806
|
responses: {
|
|
@@ -12718,7 +12818,7 @@ const getOperationSpec$g = {
|
|
|
12718
12818
|
associationName
|
|
12719
12819
|
],
|
|
12720
12820
|
headerParameters: [accept],
|
|
12721
|
-
serializer: serializer$
|
|
12821
|
+
serializer: serializer$1
|
|
12722
12822
|
};
|
|
12723
12823
|
const createOperationSpec$1 = {
|
|
12724
12824
|
path: "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}",
|
|
@@ -12743,9 +12843,9 @@ const createOperationSpec$1 = {
|
|
|
12743
12843
|
],
|
|
12744
12844
|
headerParameters: [accept, contentType],
|
|
12745
12845
|
mediaType: "json",
|
|
12746
|
-
serializer: serializer$
|
|
12846
|
+
serializer: serializer$1
|
|
12747
12847
|
};
|
|
12748
|
-
const deleteOperationSpec$
|
|
12848
|
+
const deleteOperationSpec$1 = {
|
|
12749
12849
|
path: "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}",
|
|
12750
12850
|
httpMethod: "DELETE",
|
|
12751
12851
|
responses: {
|
|
@@ -12762,7 +12862,7 @@ const deleteOperationSpec$c = {
|
|
|
12762
12862
|
associationName
|
|
12763
12863
|
],
|
|
12764
12864
|
headerParameters: [accept],
|
|
12765
|
-
serializer: serializer$
|
|
12865
|
+
serializer: serializer$1
|
|
12766
12866
|
};
|
|
12767
12867
|
const listByResourceNextOperationSpec = {
|
|
12768
12868
|
path: "{nextLink}",
|
|
@@ -12782,7 +12882,7 @@ const listByResourceNextOperationSpec = {
|
|
|
12782
12882
|
resourceUri1
|
|
12783
12883
|
],
|
|
12784
12884
|
headerParameters: [accept],
|
|
12785
|
-
serializer: serializer$
|
|
12885
|
+
serializer: serializer$1
|
|
12786
12886
|
};
|
|
12787
12887
|
const listByRuleNextOperationSpec = {
|
|
12788
12888
|
path: "{nextLink}",
|
|
@@ -12804,7 +12904,7 @@ const listByRuleNextOperationSpec = {
|
|
|
12804
12904
|
dataCollectionRuleName
|
|
12805
12905
|
],
|
|
12806
12906
|
headerParameters: [accept],
|
|
12807
|
-
serializer: serializer$
|
|
12907
|
+
serializer: serializer$1
|
|
12808
12908
|
};
|
|
12809
12909
|
|
|
12810
12910
|
/*
|
|
@@ -12927,14 +13027,14 @@ class DataCollectionRulesImpl {
|
|
|
12927
13027
|
* @param options The options parameters.
|
|
12928
13028
|
*/
|
|
12929
13029
|
_listByResourceGroup(resourceGroupName, options) {
|
|
12930
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec
|
|
13030
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
12931
13031
|
}
|
|
12932
13032
|
/**
|
|
12933
13033
|
* Lists all data collection rules in the specified subscription.
|
|
12934
13034
|
* @param options The options parameters.
|
|
12935
13035
|
*/
|
|
12936
13036
|
_listBySubscription(options) {
|
|
12937
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec
|
|
13037
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
12938
13038
|
}
|
|
12939
13039
|
/**
|
|
12940
13040
|
* Returns the specified data collection rule.
|
|
@@ -12943,7 +13043,7 @@ class DataCollectionRulesImpl {
|
|
|
12943
13043
|
* @param options The options parameters.
|
|
12944
13044
|
*/
|
|
12945
13045
|
get(resourceGroupName, dataCollectionRuleName, options) {
|
|
12946
|
-
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionRuleName, options }, getOperationSpec
|
|
13046
|
+
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionRuleName, options }, getOperationSpec);
|
|
12947
13047
|
}
|
|
12948
13048
|
/**
|
|
12949
13049
|
* Creates or updates a data collection rule.
|
|
@@ -12952,7 +13052,7 @@ class DataCollectionRulesImpl {
|
|
|
12952
13052
|
* @param options The options parameters.
|
|
12953
13053
|
*/
|
|
12954
13054
|
create(resourceGroupName, dataCollectionRuleName, options) {
|
|
12955
|
-
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionRuleName, options }, createOperationSpec
|
|
13055
|
+
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionRuleName, options }, createOperationSpec);
|
|
12956
13056
|
}
|
|
12957
13057
|
/**
|
|
12958
13058
|
* Updates part of a data collection rule.
|
|
@@ -12961,7 +13061,7 @@ class DataCollectionRulesImpl {
|
|
|
12961
13061
|
* @param options The options parameters.
|
|
12962
13062
|
*/
|
|
12963
13063
|
update(resourceGroupName, dataCollectionRuleName, options) {
|
|
12964
|
-
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionRuleName, options }, updateOperationSpec
|
|
13064
|
+
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionRuleName, options }, updateOperationSpec);
|
|
12965
13065
|
}
|
|
12966
13066
|
/**
|
|
12967
13067
|
* Deletes a data collection rule.
|
|
@@ -12970,7 +13070,7 @@ class DataCollectionRulesImpl {
|
|
|
12970
13070
|
* @param options The options parameters.
|
|
12971
13071
|
*/
|
|
12972
13072
|
delete(resourceGroupName, dataCollectionRuleName, options) {
|
|
12973
|
-
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionRuleName, options }, deleteOperationSpec
|
|
13073
|
+
return this.client.sendOperationRequest({ resourceGroupName, dataCollectionRuleName, options }, deleteOperationSpec);
|
|
12974
13074
|
}
|
|
12975
13075
|
/**
|
|
12976
13076
|
* ListByResourceGroupNext
|
|
@@ -12979,7 +13079,7 @@ class DataCollectionRulesImpl {
|
|
|
12979
13079
|
* @param options The options parameters.
|
|
12980
13080
|
*/
|
|
12981
13081
|
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
12982
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec
|
|
13082
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
12983
13083
|
}
|
|
12984
13084
|
/**
|
|
12985
13085
|
* ListBySubscriptionNext
|
|
@@ -12987,12 +13087,12 @@ class DataCollectionRulesImpl {
|
|
|
12987
13087
|
* @param options The options parameters.
|
|
12988
13088
|
*/
|
|
12989
13089
|
_listBySubscriptionNext(nextLink, options) {
|
|
12990
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec
|
|
13090
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
12991
13091
|
}
|
|
12992
13092
|
}
|
|
12993
13093
|
// Operation Specifications
|
|
12994
|
-
const serializer
|
|
12995
|
-
const listByResourceGroupOperationSpec
|
|
13094
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13095
|
+
const listByResourceGroupOperationSpec = {
|
|
12996
13096
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules",
|
|
12997
13097
|
httpMethod: "GET",
|
|
12998
13098
|
responses: {
|
|
@@ -13010,9 +13110,9 @@ const listByResourceGroupOperationSpec$8 = {
|
|
|
13010
13110
|
subscriptionId
|
|
13011
13111
|
],
|
|
13012
13112
|
headerParameters: [accept],
|
|
13013
|
-
serializer
|
|
13113
|
+
serializer
|
|
13014
13114
|
};
|
|
13015
|
-
const listBySubscriptionOperationSpec
|
|
13115
|
+
const listBySubscriptionOperationSpec = {
|
|
13016
13116
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionRules",
|
|
13017
13117
|
httpMethod: "GET",
|
|
13018
13118
|
responses: {
|
|
@@ -13026,9 +13126,9 @@ const listBySubscriptionOperationSpec$5 = {
|
|
|
13026
13126
|
queryParameters: [apiVersion12],
|
|
13027
13127
|
urlParameters: [$host, subscriptionId],
|
|
13028
13128
|
headerParameters: [accept],
|
|
13029
|
-
serializer
|
|
13129
|
+
serializer
|
|
13030
13130
|
};
|
|
13031
|
-
const getOperationSpec
|
|
13131
|
+
const getOperationSpec = {
|
|
13032
13132
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}",
|
|
13033
13133
|
httpMethod: "GET",
|
|
13034
13134
|
responses: {
|
|
@@ -13047,9 +13147,9 @@ const getOperationSpec$h = {
|
|
|
13047
13147
|
dataCollectionRuleName
|
|
13048
13148
|
],
|
|
13049
13149
|
headerParameters: [accept],
|
|
13050
|
-
serializer
|
|
13150
|
+
serializer
|
|
13051
13151
|
};
|
|
13052
|
-
const createOperationSpec
|
|
13152
|
+
const createOperationSpec = {
|
|
13053
13153
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}",
|
|
13054
13154
|
httpMethod: "PUT",
|
|
13055
13155
|
responses: {
|
|
@@ -13073,9 +13173,9 @@ const createOperationSpec$2 = {
|
|
|
13073
13173
|
],
|
|
13074
13174
|
headerParameters: [accept, contentType],
|
|
13075
13175
|
mediaType: "json",
|
|
13076
|
-
serializer
|
|
13176
|
+
serializer
|
|
13077
13177
|
};
|
|
13078
|
-
const updateOperationSpec
|
|
13178
|
+
const updateOperationSpec = {
|
|
13079
13179
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}",
|
|
13080
13180
|
httpMethod: "PATCH",
|
|
13081
13181
|
responses: {
|
|
@@ -13096,9 +13196,9 @@ const updateOperationSpec$8 = {
|
|
|
13096
13196
|
],
|
|
13097
13197
|
headerParameters: [accept, contentType],
|
|
13098
13198
|
mediaType: "json",
|
|
13099
|
-
serializer
|
|
13199
|
+
serializer
|
|
13100
13200
|
};
|
|
13101
|
-
const deleteOperationSpec
|
|
13201
|
+
const deleteOperationSpec = {
|
|
13102
13202
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}",
|
|
13103
13203
|
httpMethod: "DELETE",
|
|
13104
13204
|
responses: {
|
|
@@ -13116,9 +13216,9 @@ const deleteOperationSpec$d = {
|
|
|
13116
13216
|
dataCollectionRuleName
|
|
13117
13217
|
],
|
|
13118
13218
|
headerParameters: [accept],
|
|
13119
|
-
serializer
|
|
13219
|
+
serializer
|
|
13120
13220
|
};
|
|
13121
|
-
const listByResourceGroupNextOperationSpec
|
|
13221
|
+
const listByResourceGroupNextOperationSpec = {
|
|
13122
13222
|
path: "{nextLink}",
|
|
13123
13223
|
httpMethod: "GET",
|
|
13124
13224
|
responses: {
|
|
@@ -13137,9 +13237,9 @@ const listByResourceGroupNextOperationSpec$3 = {
|
|
|
13137
13237
|
nextLink
|
|
13138
13238
|
],
|
|
13139
13239
|
headerParameters: [accept],
|
|
13140
|
-
serializer
|
|
13240
|
+
serializer
|
|
13141
13241
|
};
|
|
13142
|
-
const listBySubscriptionNextOperationSpec
|
|
13242
|
+
const listBySubscriptionNextOperationSpec = {
|
|
13143
13243
|
path: "{nextLink}",
|
|
13144
13244
|
httpMethod: "GET",
|
|
13145
13245
|
responses: {
|
|
@@ -13157,7 +13257,7 @@ const listBySubscriptionNextOperationSpec$2 = {
|
|
|
13157
13257
|
nextLink
|
|
13158
13258
|
],
|
|
13159
13259
|
headerParameters: [accept],
|
|
13160
|
-
serializer
|
|
13260
|
+
serializer
|
|
13161
13261
|
};
|
|
13162
13262
|
|
|
13163
13263
|
/*
|
|
@@ -13167,7 +13267,7 @@ const listBySubscriptionNextOperationSpec$2 = {
|
|
|
13167
13267
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
13168
13268
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
13169
13269
|
*/
|
|
13170
|
-
class MonitorClient extends
|
|
13270
|
+
class MonitorClient extends coreClient__namespace.ServiceClient {
|
|
13171
13271
|
/**
|
|
13172
13272
|
* Initializes a new instance of the MonitorClient class.
|
|
13173
13273
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -13175,6 +13275,7 @@ class MonitorClient extends coreClient.ServiceClient {
|
|
|
13175
13275
|
* @param options The parameter options
|
|
13176
13276
|
*/
|
|
13177
13277
|
constructor(credentials, subscriptionId, options) {
|
|
13278
|
+
var _a, _b;
|
|
13178
13279
|
if (credentials === undefined) {
|
|
13179
13280
|
throw new Error("'credentials' cannot be null");
|
|
13180
13281
|
}
|
|
@@ -13189,7 +13290,7 @@ class MonitorClient extends coreClient.ServiceClient {
|
|
|
13189
13290
|
requestContentType: "application/json; charset=utf-8",
|
|
13190
13291
|
credential: credentials
|
|
13191
13292
|
};
|
|
13192
|
-
const packageDetails = `azsdk-js-arm-monitor/7.0.
|
|
13293
|
+
const packageDetails = `azsdk-js-arm-monitor/7.0.1`;
|
|
13193
13294
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
13194
13295
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
13195
13296
|
: `${packageDetails}`;
|
|
@@ -13198,8 +13299,24 @@ class MonitorClient extends coreClient.ServiceClient {
|
|
|
13198
13299
|
}
|
|
13199
13300
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
13200
13301
|
userAgentPrefix
|
|
13201
|
-
}, baseUri: options.endpoint
|
|
13302
|
+
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
13202
13303
|
super(optionsWithDefaults);
|
|
13304
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
13305
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
13306
|
+
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
13307
|
+
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
13308
|
+
if (!bearerTokenAuthenticationPolicyFound) {
|
|
13309
|
+
this.pipeline.removePolicy({
|
|
13310
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
13311
|
+
});
|
|
13312
|
+
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
13313
|
+
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
|
13314
|
+
challengeCallbacks: {
|
|
13315
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
13316
|
+
}
|
|
13317
|
+
}));
|
|
13318
|
+
}
|
|
13319
|
+
}
|
|
13203
13320
|
// Parameter assignments
|
|
13204
13321
|
this.subscriptionId = subscriptionId;
|
|
13205
13322
|
// Assigning values to Constant parameters
|