@azure/arm-securityinsight 1.0.0-beta.5 → 1.0.0-beta.6
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 +41 -0
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +487 -255
- 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/actionsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/actionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/actionsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/actionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/actionsGetSample.js +11 -3
- package/dist-esm/samples-dev/actionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/actionsListByAlertRuleSample.js +11 -3
- package/dist-esm/samples-dev/actionsListByAlertRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRuleTemplatesGetSample.js +11 -3
- package/dist-esm/samples-dev/alertRuleTemplatesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRuleTemplatesListSample.js +11 -3
- package/dist-esm/samples-dev/alertRuleTemplatesListSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +27 -15
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesGetSample.js +23 -12
- package/dist-esm/samples-dev/alertRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesListSample.js +11 -3
- package/dist-esm/samples-dev/alertRulesListSample.js.map +1 -1
- package/dist-esm/samples-dev/automationRulesCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/automationRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/automationRulesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/automationRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/automationRulesGetSample.js +11 -3
- package/dist-esm/samples-dev/automationRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/automationRulesListSample.js +11 -3
- package/dist-esm/samples-dev/automationRulesListSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkExpandSample.js +11 -3
- package/dist-esm/samples-dev/bookmarkExpandSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkRelationsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/bookmarkRelationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkRelationsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/bookmarkRelationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkRelationsGetSample.js +11 -3
- package/dist-esm/samples-dev/bookmarkRelationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkRelationsListSample.js +11 -3
- package/dist-esm/samples-dev/bookmarkRelationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarksCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/bookmarksCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarksDeleteSample.js +11 -3
- package/dist-esm/samples-dev/bookmarksDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarksGetSample.js +11 -3
- package/dist-esm/samples-dev/bookmarksGetSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarksListSample.js +11 -3
- package/dist-esm/samples-dev/bookmarksListSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsCheckRequirementsPostSample.js +71 -48
- package/dist-esm/samples-dev/dataConnectorsCheckRequirementsPostSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsConnectSample.js +15 -6
- package/dist-esm/samples-dev/dataConnectorsConnectSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsCreateOrUpdateSample.js +41 -26
- package/dist-esm/samples-dev/dataConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsDeleteSample.js +27 -15
- package/dist-esm/samples-dev/dataConnectorsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsDisconnectSample.js +11 -3
- package/dist-esm/samples-dev/dataConnectorsDisconnectSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsGetSample.js +87 -60
- package/dist-esm/samples-dev/dataConnectorsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsListSample.js +11 -3
- package/dist-esm/samples-dev/dataConnectorsListSample.js.map +1 -1
- package/dist-esm/samples-dev/domainWhoisGetSample.js +11 -3
- package/dist-esm/samples-dev/domainWhoisGetSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesExpandSample.js +11 -3
- package/dist-esm/samples-dev/entitiesExpandSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesGetInsightsSample.js +11 -3
- package/dist-esm/samples-dev/entitiesGetInsightsSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesGetSample.js +87 -60
- package/dist-esm/samples-dev/entitiesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesGetTimelineListSample.js +11 -3
- package/dist-esm/samples-dev/entitiesGetTimelineListSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesListSample.js +11 -3
- package/dist-esm/samples-dev/entitiesListSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesQueriesSample.js +11 -3
- package/dist-esm/samples-dev/entitiesQueriesSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesRelationsListSample.js +11 -3
- package/dist-esm/samples-dev/entitiesRelationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueriesCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/entityQueriesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueriesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/entityQueriesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueriesGetSample.js +15 -6
- package/dist-esm/samples-dev/entityQueriesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueriesListSample.js +11 -3
- package/dist-esm/samples-dev/entityQueriesListSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueryTemplatesGetSample.js +11 -3
- package/dist-esm/samples-dev/entityQueryTemplatesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueryTemplatesListSample.js +11 -3
- package/dist-esm/samples-dev/entityQueryTemplatesListSample.js.map +1 -1
- package/dist-esm/samples-dev/entityRelationsGetRelationSample.js +11 -3
- package/dist-esm/samples-dev/entityRelationsGetRelationSample.js.map +1 -1
- package/dist-esm/samples-dev/fileImportsCreateSample.js +11 -3
- package/dist-esm/samples-dev/fileImportsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/fileImportsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/fileImportsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/fileImportsGetSample.js +11 -3
- package/dist-esm/samples-dev/fileImportsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/fileImportsListSample.js +11 -3
- package/dist-esm/samples-dev/fileImportsListSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentCommentsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/incidentCommentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentCommentsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/incidentCommentsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentCommentsGetSample.js +11 -3
- package/dist-esm/samples-dev/incidentCommentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentCommentsListSample.js +11 -3
- package/dist-esm/samples-dev/incidentCommentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentRelationsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/incidentRelationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentRelationsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/incidentRelationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentRelationsGetSample.js +11 -3
- package/dist-esm/samples-dev/incidentRelationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentRelationsListSample.js +11 -3
- package/dist-esm/samples-dev/incidentRelationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/incidentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsCreateTeamSample.js +12 -3
- package/dist-esm/samples-dev/incidentsCreateTeamSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/incidentsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsGetSample.js +11 -3
- package/dist-esm/samples-dev/incidentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsListAlertsSample.js +11 -3
- package/dist-esm/samples-dev/incidentsListAlertsSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsListBookmarksSample.js +11 -3
- package/dist-esm/samples-dev/incidentsListBookmarksSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsListEntitiesSample.js +11 -3
- package/dist-esm/samples-dev/incidentsListEntitiesSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsListSample.js +11 -3
- package/dist-esm/samples-dev/incidentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsRunPlaybookSample.js +11 -3
- package/dist-esm/samples-dev/incidentsRunPlaybookSample.js.map +1 -1
- package/dist-esm/samples-dev/ipGeodataGetSample.js +11 -3
- package/dist-esm/samples-dev/ipGeodataGetSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataCreateSample.js +15 -6
- package/dist-esm/samples-dev/metadataCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataDeleteSample.js +11 -3
- package/dist-esm/samples-dev/metadataDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataGetSample.js +11 -3
- package/dist-esm/samples-dev/metadataGetSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataListSample.js +15 -6
- package/dist-esm/samples-dev/metadataListSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataUpdateSample.js +11 -3
- package/dist-esm/samples-dev/metadataUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/officeConsentsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/officeConsentsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/officeConsentsGetSample.js +11 -3
- package/dist-esm/samples-dev/officeConsentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/officeConsentsListSample.js +11 -3
- package/dist-esm/samples-dev/officeConsentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +10 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/productSettingsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/productSettingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/productSettingsGetSample.js +11 -3
- package/dist-esm/samples-dev/productSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/productSettingsListSample.js +11 -3
- package/dist-esm/samples-dev/productSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/productSettingsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/productSettingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsGetSample.js +11 -3
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsListSample.js +11 -3
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sentinelOnboardingStatesCreateSample.js +11 -3
- package/dist-esm/samples-dev/sentinelOnboardingStatesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/sentinelOnboardingStatesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/sentinelOnboardingStatesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sentinelOnboardingStatesGetSample.js +11 -3
- package/dist-esm/samples-dev/sentinelOnboardingStatesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sentinelOnboardingStatesListSample.js +11 -3
- package/dist-esm/samples-dev/sentinelOnboardingStatesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlListRepositoriesSample.js +11 -3
- package/dist-esm/samples-dev/sourceControlListRepositoriesSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlsCreateSample.js +11 -3
- package/dist-esm/samples-dev/sourceControlsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/sourceControlsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlsGetSample.js +11 -3
- package/dist-esm/samples-dev/sourceControlsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlsListSample.js +11 -3
- package/dist-esm/samples-dev/sourceControlsListSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorAppendTagsSample.js +11 -3
- package/dist-esm/samples-dev/threatIntelligenceIndicatorAppendTagsSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateIndicatorSample.js +11 -3
- package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateIndicatorSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateSample.js +11 -3
- package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorDeleteSample.js +11 -3
- package/dist-esm/samples-dev/threatIntelligenceIndicatorDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorGetSample.js +11 -3
- package/dist-esm/samples-dev/threatIntelligenceIndicatorGetSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorMetricsListSample.js +11 -3
- package/dist-esm/samples-dev/threatIntelligenceIndicatorMetricsListSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorQueryIndicatorsSample.js +11 -3
- package/dist-esm/samples-dev/threatIntelligenceIndicatorQueryIndicatorsSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorReplaceTagsSample.js +11 -3
- package/dist-esm/samples-dev/threatIntelligenceIndicatorReplaceTagsSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorsListSample.js +11 -3
- package/dist-esm/samples-dev/threatIntelligenceIndicatorsListSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistItemsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/watchlistItemsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistItemsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/watchlistItemsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistItemsGetSample.js +11 -3
- package/dist-esm/samples-dev/watchlistItemsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistItemsListSample.js +11 -3
- package/dist-esm/samples-dev/watchlistItemsListSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistsCreateOrUpdateSample.js +15 -6
- package/dist-esm/samples-dev/watchlistsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/watchlistsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistsGetSample.js +11 -3
- package/dist-esm/samples-dev/watchlistsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistsListSample.js +11 -3
- package/dist-esm/samples-dev/watchlistsListSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +0 -70
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/operations/actions.d.ts.map +1 -1
- package/dist-esm/src/operations/actions.js +19 -8
- package/dist-esm/src/operations/actions.js.map +1 -1
- package/dist-esm/src/operations/alertRuleTemplates.d.ts.map +1 -1
- package/dist-esm/src/operations/alertRuleTemplates.js +19 -8
- package/dist-esm/src/operations/alertRuleTemplates.js.map +1 -1
- package/dist-esm/src/operations/alertRules.d.ts.map +1 -1
- package/dist-esm/src/operations/alertRules.js +19 -8
- package/dist-esm/src/operations/alertRules.js.map +1 -1
- package/dist-esm/src/operations/automationRules.d.ts.map +1 -1
- package/dist-esm/src/operations/automationRules.js +19 -8
- package/dist-esm/src/operations/automationRules.js.map +1 -1
- package/dist-esm/src/operations/bookmarkRelations.d.ts.map +1 -1
- package/dist-esm/src/operations/bookmarkRelations.js +19 -14
- package/dist-esm/src/operations/bookmarkRelations.js.map +1 -1
- package/dist-esm/src/operations/bookmarks.d.ts.map +1 -1
- package/dist-esm/src/operations/bookmarks.js +19 -8
- package/dist-esm/src/operations/bookmarks.js.map +1 -1
- package/dist-esm/src/operations/dataConnectors.d.ts.map +1 -1
- package/dist-esm/src/operations/dataConnectors.js +19 -8
- package/dist-esm/src/operations/dataConnectors.js.map +1 -1
- package/dist-esm/src/operations/entities.d.ts.map +1 -1
- package/dist-esm/src/operations/entities.js +19 -8
- package/dist-esm/src/operations/entities.js.map +1 -1
- package/dist-esm/src/operations/entitiesRelations.d.ts.map +1 -1
- package/dist-esm/src/operations/entitiesRelations.js +19 -14
- package/dist-esm/src/operations/entitiesRelations.js.map +1 -1
- package/dist-esm/src/operations/entityQueries.d.ts.map +1 -1
- package/dist-esm/src/operations/entityQueries.js +19 -8
- package/dist-esm/src/operations/entityQueries.js.map +1 -1
- package/dist-esm/src/operations/entityQueryTemplates.d.ts.map +1 -1
- package/dist-esm/src/operations/entityQueryTemplates.js +19 -8
- package/dist-esm/src/operations/entityQueryTemplates.js.map +1 -1
- package/dist-esm/src/operations/fileImports.d.ts.map +1 -1
- package/dist-esm/src/operations/fileImports.js +19 -14
- package/dist-esm/src/operations/fileImports.js.map +1 -1
- package/dist-esm/src/operations/incidentComments.d.ts.map +1 -1
- package/dist-esm/src/operations/incidentComments.js +19 -14
- package/dist-esm/src/operations/incidentComments.js.map +1 -1
- package/dist-esm/src/operations/incidentRelations.d.ts.map +1 -1
- package/dist-esm/src/operations/incidentRelations.js +19 -14
- package/dist-esm/src/operations/incidentRelations.js.map +1 -1
- package/dist-esm/src/operations/incidents.d.ts.map +1 -1
- package/dist-esm/src/operations/incidents.js +19 -14
- package/dist-esm/src/operations/incidents.js.map +1 -1
- package/dist-esm/src/operations/metadata.d.ts.map +1 -1
- package/dist-esm/src/operations/metadata.js +19 -14
- package/dist-esm/src/operations/metadata.js.map +1 -1
- package/dist-esm/src/operations/officeConsents.d.ts.map +1 -1
- package/dist-esm/src/operations/officeConsents.js +19 -8
- package/dist-esm/src/operations/officeConsents.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/securityMLAnalyticsSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/securityMLAnalyticsSettings.js +19 -8
- package/dist-esm/src/operations/securityMLAnalyticsSettings.js.map +1 -1
- package/dist-esm/src/operations/sourceControlOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/sourceControlOperations.js +19 -8
- package/dist-esm/src/operations/sourceControlOperations.js.map +1 -1
- package/dist-esm/src/operations/sourceControls.d.ts.map +1 -1
- package/dist-esm/src/operations/sourceControls.js +19 -8
- package/dist-esm/src/operations/sourceControls.js.map +1 -1
- package/dist-esm/src/operations/threatIntelligenceIndicator.d.ts.map +1 -1
- package/dist-esm/src/operations/threatIntelligenceIndicator.js +19 -8
- package/dist-esm/src/operations/threatIntelligenceIndicator.js.map +1 -1
- package/dist-esm/src/operations/threatIntelligenceIndicators.d.ts.map +1 -1
- package/dist-esm/src/operations/threatIntelligenceIndicators.js +19 -14
- package/dist-esm/src/operations/threatIntelligenceIndicators.js.map +1 -1
- package/dist-esm/src/operations/watchlistItems.d.ts.map +1 -1
- package/dist-esm/src/operations/watchlistItems.js +19 -8
- package/dist-esm/src/operations/watchlistItems.js.map +1 -1
- package/dist-esm/src/operations/watchlists.d.ts.map +1 -1
- package/dist-esm/src/operations/watchlists.js +19 -8
- package/dist-esm/src/operations/watchlists.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/securityInsights.d.ts.map +1 -1
- package/dist-esm/src/securityInsights.js +4 -7
- package/dist-esm/src/securityInsights.js.map +1 -1
- package/package.json +8 -6
- package/review/arm-securityinsight.api.md +3 -35
- package/src/index.ts +1 -0
- package/src/models/index.ts +11 -92
- package/src/operations/actions.ts +27 -14
- package/src/operations/alertRuleTemplates.ts +26 -9
- package/src/operations/alertRules.ts +26 -9
- package/src/operations/automationRules.ts +27 -10
- package/src/operations/bookmarkRelations.ts +27 -20
- package/src/operations/bookmarks.ts +26 -9
- package/src/operations/dataConnectors.ts +26 -9
- package/src/operations/entities.ts +26 -9
- package/src/operations/entitiesRelations.ts +27 -20
- package/src/operations/entityQueries.ts +26 -9
- package/src/operations/entityQueryTemplates.ts +26 -9
- package/src/operations/fileImports.ts +26 -15
- package/src/operations/incidentComments.ts +27 -20
- package/src/operations/incidentRelations.ts +27 -20
- package/src/operations/incidents.ts +27 -16
- package/src/operations/metadata.ts +26 -15
- package/src/operations/officeConsents.ts +26 -9
- package/src/operations/operations.ts +21 -9
- package/src/operations/securityMLAnalyticsSettings.ts +26 -9
- package/src/operations/sourceControlOperations.ts +27 -14
- package/src/operations/sourceControls.ts +26 -9
- package/src/operations/threatIntelligenceIndicator.ts +28 -15
- package/src/operations/threatIntelligenceIndicators.ts +26 -15
- package/src/operations/watchlistItems.ts +27 -14
- package/src/operations/watchlists.ts +26 -9
- package/src/pagingHelper.ts +39 -0
- package/src/securityInsights.ts +5 -6
- package/types/arm-securityinsight.d.ts +9 -70
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28,6 +28,38 @@ function _interopNamespace(e) {
|
|
|
28
28
|
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
29
29
|
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
30
30
|
|
|
31
|
+
/*
|
|
32
|
+
* Copyright (c) Microsoft Corporation.
|
|
33
|
+
* Licensed under the MIT License.
|
|
34
|
+
*
|
|
35
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
36
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
37
|
+
*/
|
|
38
|
+
const pageMap = new WeakMap();
|
|
39
|
+
/**
|
|
40
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
41
|
+
* returns a continuation token that can be used to begin paging from
|
|
42
|
+
* that point later.
|
|
43
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
44
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
45
|
+
*/
|
|
46
|
+
function getContinuationToken(page) {
|
|
47
|
+
var _a;
|
|
48
|
+
if (typeof page !== "object" || page === null) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
52
|
+
}
|
|
53
|
+
function setContinuationToken(page, continuationToken) {
|
|
54
|
+
var _a;
|
|
55
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
59
|
+
pageInfo.continuationToken = continuationToken;
|
|
60
|
+
pageMap.set(page, pageInfo);
|
|
61
|
+
}
|
|
62
|
+
|
|
31
63
|
/*
|
|
32
64
|
* Copyright (c) Microsoft Corporation.
|
|
33
65
|
* Licensed under the MIT License.
|
|
@@ -16417,20 +16449,31 @@ class AlertRulesImpl {
|
|
|
16417
16449
|
[Symbol.asyncIterator]() {
|
|
16418
16450
|
return this;
|
|
16419
16451
|
},
|
|
16420
|
-
byPage: () => {
|
|
16421
|
-
|
|
16452
|
+
byPage: (settings) => {
|
|
16453
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
16454
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
16455
|
+
}
|
|
16456
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
16422
16457
|
}
|
|
16423
16458
|
};
|
|
16424
16459
|
}
|
|
16425
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
16460
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
16426
16461
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
16427
|
-
let result
|
|
16428
|
-
|
|
16429
|
-
|
|
16462
|
+
let result;
|
|
16463
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
16464
|
+
if (!continuationToken) {
|
|
16465
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
16466
|
+
let page = result.value || [];
|
|
16467
|
+
continuationToken = result.nextLink;
|
|
16468
|
+
setContinuationToken(page, continuationToken);
|
|
16469
|
+
yield yield tslib.__await(page);
|
|
16470
|
+
}
|
|
16430
16471
|
while (continuationToken) {
|
|
16431
16472
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
16432
16473
|
continuationToken = result.nextLink;
|
|
16433
|
-
|
|
16474
|
+
let page = result.value || [];
|
|
16475
|
+
setContinuationToken(page, continuationToken);
|
|
16476
|
+
yield yield tslib.__await(page);
|
|
16434
16477
|
}
|
|
16435
16478
|
});
|
|
16436
16479
|
}
|
|
@@ -16607,7 +16650,6 @@ const listNextOperationSpec$l = {
|
|
|
16607
16650
|
bodyMapper: CloudError
|
|
16608
16651
|
}
|
|
16609
16652
|
},
|
|
16610
|
-
queryParameters: [apiVersion],
|
|
16611
16653
|
urlParameters: [
|
|
16612
16654
|
$host,
|
|
16613
16655
|
subscriptionId,
|
|
@@ -16652,20 +16694,31 @@ class ActionsImpl {
|
|
|
16652
16694
|
[Symbol.asyncIterator]() {
|
|
16653
16695
|
return this;
|
|
16654
16696
|
},
|
|
16655
|
-
byPage: () => {
|
|
16656
|
-
|
|
16697
|
+
byPage: (settings) => {
|
|
16698
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
16699
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
16700
|
+
}
|
|
16701
|
+
return this.listByAlertRulePagingPage(resourceGroupName, workspaceName, ruleId, options, settings);
|
|
16657
16702
|
}
|
|
16658
16703
|
};
|
|
16659
16704
|
}
|
|
16660
|
-
listByAlertRulePagingPage(resourceGroupName, workspaceName, ruleId, options) {
|
|
16705
|
+
listByAlertRulePagingPage(resourceGroupName, workspaceName, ruleId, options, settings) {
|
|
16661
16706
|
return tslib.__asyncGenerator(this, arguments, function* listByAlertRulePagingPage_1() {
|
|
16662
|
-
let result
|
|
16663
|
-
|
|
16664
|
-
|
|
16707
|
+
let result;
|
|
16708
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
16709
|
+
if (!continuationToken) {
|
|
16710
|
+
result = yield tslib.__await(this._listByAlertRule(resourceGroupName, workspaceName, ruleId, options));
|
|
16711
|
+
let page = result.value || [];
|
|
16712
|
+
continuationToken = result.nextLink;
|
|
16713
|
+
setContinuationToken(page, continuationToken);
|
|
16714
|
+
yield yield tslib.__await(page);
|
|
16715
|
+
}
|
|
16665
16716
|
while (continuationToken) {
|
|
16666
16717
|
result = yield tslib.__await(this._listByAlertRuleNext(resourceGroupName, workspaceName, ruleId, continuationToken, options));
|
|
16667
16718
|
continuationToken = result.nextLink;
|
|
16668
|
-
|
|
16719
|
+
let page = result.value || [];
|
|
16720
|
+
setContinuationToken(page, continuationToken);
|
|
16721
|
+
yield yield tslib.__await(page);
|
|
16669
16722
|
}
|
|
16670
16723
|
});
|
|
16671
16724
|
}
|
|
@@ -16851,7 +16904,6 @@ const listByAlertRuleNextOperationSpec = {
|
|
|
16851
16904
|
bodyMapper: CloudError
|
|
16852
16905
|
}
|
|
16853
16906
|
},
|
|
16854
|
-
queryParameters: [apiVersion],
|
|
16855
16907
|
urlParameters: [
|
|
16856
16908
|
$host,
|
|
16857
16909
|
subscriptionId,
|
|
@@ -16896,20 +16948,31 @@ class AlertRuleTemplatesImpl {
|
|
|
16896
16948
|
[Symbol.asyncIterator]() {
|
|
16897
16949
|
return this;
|
|
16898
16950
|
},
|
|
16899
|
-
byPage: () => {
|
|
16900
|
-
|
|
16951
|
+
byPage: (settings) => {
|
|
16952
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
16953
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
16954
|
+
}
|
|
16955
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
16901
16956
|
}
|
|
16902
16957
|
};
|
|
16903
16958
|
}
|
|
16904
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
16959
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
16905
16960
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
16906
|
-
let result
|
|
16907
|
-
|
|
16908
|
-
|
|
16961
|
+
let result;
|
|
16962
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
16963
|
+
if (!continuationToken) {
|
|
16964
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
16965
|
+
let page = result.value || [];
|
|
16966
|
+
continuationToken = result.nextLink;
|
|
16967
|
+
setContinuationToken(page, continuationToken);
|
|
16968
|
+
yield yield tslib.__await(page);
|
|
16969
|
+
}
|
|
16909
16970
|
while (continuationToken) {
|
|
16910
16971
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
16911
16972
|
continuationToken = result.nextLink;
|
|
16912
|
-
|
|
16973
|
+
let page = result.value || [];
|
|
16974
|
+
setContinuationToken(page, continuationToken);
|
|
16975
|
+
yield yield tslib.__await(page);
|
|
16913
16976
|
}
|
|
16914
16977
|
});
|
|
16915
16978
|
}
|
|
@@ -17017,7 +17080,6 @@ const listNextOperationSpec$k = {
|
|
|
17017
17080
|
bodyMapper: CloudError
|
|
17018
17081
|
}
|
|
17019
17082
|
},
|
|
17020
|
-
queryParameters: [apiVersion],
|
|
17021
17083
|
urlParameters: [
|
|
17022
17084
|
$host,
|
|
17023
17085
|
subscriptionId,
|
|
@@ -17061,20 +17123,31 @@ class AutomationRulesImpl {
|
|
|
17061
17123
|
[Symbol.asyncIterator]() {
|
|
17062
17124
|
return this;
|
|
17063
17125
|
},
|
|
17064
|
-
byPage: () => {
|
|
17065
|
-
|
|
17126
|
+
byPage: (settings) => {
|
|
17127
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
17128
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
17129
|
+
}
|
|
17130
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
17066
17131
|
}
|
|
17067
17132
|
};
|
|
17068
17133
|
}
|
|
17069
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
17134
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
17070
17135
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
17071
|
-
let result
|
|
17072
|
-
|
|
17073
|
-
|
|
17136
|
+
let result;
|
|
17137
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
17138
|
+
if (!continuationToken) {
|
|
17139
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
17140
|
+
let page = result.value || [];
|
|
17141
|
+
continuationToken = result.nextLink;
|
|
17142
|
+
setContinuationToken(page, continuationToken);
|
|
17143
|
+
yield yield tslib.__await(page);
|
|
17144
|
+
}
|
|
17074
17145
|
while (continuationToken) {
|
|
17075
17146
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
17076
17147
|
continuationToken = result.nextLink;
|
|
17077
|
-
|
|
17148
|
+
let page = result.value || [];
|
|
17149
|
+
setContinuationToken(page, continuationToken);
|
|
17150
|
+
yield yield tslib.__await(page);
|
|
17078
17151
|
}
|
|
17079
17152
|
});
|
|
17080
17153
|
}
|
|
@@ -17258,7 +17331,6 @@ const listNextOperationSpec$j = {
|
|
|
17258
17331
|
bodyMapper: CloudError
|
|
17259
17332
|
}
|
|
17260
17333
|
},
|
|
17261
|
-
queryParameters: [apiVersion],
|
|
17262
17334
|
urlParameters: [
|
|
17263
17335
|
$host,
|
|
17264
17336
|
subscriptionId,
|
|
@@ -17302,20 +17374,31 @@ class IncidentsImpl {
|
|
|
17302
17374
|
[Symbol.asyncIterator]() {
|
|
17303
17375
|
return this;
|
|
17304
17376
|
},
|
|
17305
|
-
byPage: () => {
|
|
17306
|
-
|
|
17377
|
+
byPage: (settings) => {
|
|
17378
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
17379
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
17380
|
+
}
|
|
17381
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
17307
17382
|
}
|
|
17308
17383
|
};
|
|
17309
17384
|
}
|
|
17310
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
17385
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
17311
17386
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
17312
|
-
let result
|
|
17313
|
-
|
|
17314
|
-
|
|
17387
|
+
let result;
|
|
17388
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
17389
|
+
if (!continuationToken) {
|
|
17390
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
17391
|
+
let page = result.value || [];
|
|
17392
|
+
continuationToken = result.nextLink;
|
|
17393
|
+
setContinuationToken(page, continuationToken);
|
|
17394
|
+
yield yield tslib.__await(page);
|
|
17395
|
+
}
|
|
17315
17396
|
while (continuationToken) {
|
|
17316
17397
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
17317
17398
|
continuationToken = result.nextLink;
|
|
17318
|
-
|
|
17399
|
+
let page = result.value || [];
|
|
17400
|
+
setContinuationToken(page, continuationToken);
|
|
17401
|
+
yield yield tslib.__await(page);
|
|
17319
17402
|
}
|
|
17320
17403
|
});
|
|
17321
17404
|
}
|
|
@@ -17666,13 +17749,6 @@ const listNextOperationSpec$i = {
|
|
|
17666
17749
|
bodyMapper: CloudError
|
|
17667
17750
|
}
|
|
17668
17751
|
},
|
|
17669
|
-
queryParameters: [
|
|
17670
|
-
apiVersion,
|
|
17671
|
-
filter,
|
|
17672
|
-
orderby,
|
|
17673
|
-
top,
|
|
17674
|
-
skipToken
|
|
17675
|
-
],
|
|
17676
17752
|
urlParameters: [
|
|
17677
17753
|
$host,
|
|
17678
17754
|
subscriptionId,
|
|
@@ -17716,20 +17792,31 @@ class BookmarksImpl {
|
|
|
17716
17792
|
[Symbol.asyncIterator]() {
|
|
17717
17793
|
return this;
|
|
17718
17794
|
},
|
|
17719
|
-
byPage: () => {
|
|
17720
|
-
|
|
17795
|
+
byPage: (settings) => {
|
|
17796
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
17797
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
17798
|
+
}
|
|
17799
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
17721
17800
|
}
|
|
17722
17801
|
};
|
|
17723
17802
|
}
|
|
17724
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
17803
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
17725
17804
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
17726
|
-
let result
|
|
17727
|
-
|
|
17728
|
-
|
|
17805
|
+
let result;
|
|
17806
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
17807
|
+
if (!continuationToken) {
|
|
17808
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
17809
|
+
let page = result.value || [];
|
|
17810
|
+
continuationToken = result.nextLink;
|
|
17811
|
+
setContinuationToken(page, continuationToken);
|
|
17812
|
+
yield yield tslib.__await(page);
|
|
17813
|
+
}
|
|
17729
17814
|
while (continuationToken) {
|
|
17730
17815
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
17731
17816
|
continuationToken = result.nextLink;
|
|
17732
|
-
|
|
17817
|
+
let page = result.value || [];
|
|
17818
|
+
setContinuationToken(page, continuationToken);
|
|
17819
|
+
yield yield tslib.__await(page);
|
|
17733
17820
|
}
|
|
17734
17821
|
});
|
|
17735
17822
|
}
|
|
@@ -17906,7 +17993,6 @@ const listNextOperationSpec$h = {
|
|
|
17906
17993
|
bodyMapper: CloudError
|
|
17907
17994
|
}
|
|
17908
17995
|
},
|
|
17909
|
-
queryParameters: [apiVersion],
|
|
17910
17996
|
urlParameters: [
|
|
17911
17997
|
$host,
|
|
17912
17998
|
subscriptionId,
|
|
@@ -17951,20 +18037,31 @@ class BookmarkRelationsImpl {
|
|
|
17951
18037
|
[Symbol.asyncIterator]() {
|
|
17952
18038
|
return this;
|
|
17953
18039
|
},
|
|
17954
|
-
byPage: () => {
|
|
17955
|
-
|
|
18040
|
+
byPage: (settings) => {
|
|
18041
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
18042
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
18043
|
+
}
|
|
18044
|
+
return this.listPagingPage(resourceGroupName, workspaceName, bookmarkId, options, settings);
|
|
17956
18045
|
}
|
|
17957
18046
|
};
|
|
17958
18047
|
}
|
|
17959
|
-
listPagingPage(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
18048
|
+
listPagingPage(resourceGroupName, workspaceName, bookmarkId, options, settings) {
|
|
17960
18049
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
17961
|
-
let result
|
|
17962
|
-
|
|
17963
|
-
|
|
18050
|
+
let result;
|
|
18051
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
18052
|
+
if (!continuationToken) {
|
|
18053
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, bookmarkId, options));
|
|
18054
|
+
let page = result.value || [];
|
|
18055
|
+
continuationToken = result.nextLink;
|
|
18056
|
+
setContinuationToken(page, continuationToken);
|
|
18057
|
+
yield yield tslib.__await(page);
|
|
18058
|
+
}
|
|
17964
18059
|
while (continuationToken) {
|
|
17965
18060
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, bookmarkId, continuationToken, options));
|
|
17966
18061
|
continuationToken = result.nextLink;
|
|
17967
|
-
|
|
18062
|
+
let page = result.value || [];
|
|
18063
|
+
setContinuationToken(page, continuationToken);
|
|
18064
|
+
yield yield tslib.__await(page);
|
|
17968
18065
|
}
|
|
17969
18066
|
});
|
|
17970
18067
|
}
|
|
@@ -18163,13 +18260,6 @@ const listNextOperationSpec$g = {
|
|
|
18163
18260
|
bodyMapper: CloudError
|
|
18164
18261
|
}
|
|
18165
18262
|
},
|
|
18166
|
-
queryParameters: [
|
|
18167
|
-
apiVersion,
|
|
18168
|
-
filter,
|
|
18169
|
-
orderby,
|
|
18170
|
-
top,
|
|
18171
|
-
skipToken
|
|
18172
|
-
],
|
|
18173
18263
|
urlParameters: [
|
|
18174
18264
|
$host,
|
|
18175
18265
|
subscriptionId,
|
|
@@ -18367,20 +18457,31 @@ class EntitiesImpl {
|
|
|
18367
18457
|
[Symbol.asyncIterator]() {
|
|
18368
18458
|
return this;
|
|
18369
18459
|
},
|
|
18370
|
-
byPage: () => {
|
|
18371
|
-
|
|
18460
|
+
byPage: (settings) => {
|
|
18461
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
18462
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
18463
|
+
}
|
|
18464
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
18372
18465
|
}
|
|
18373
18466
|
};
|
|
18374
18467
|
}
|
|
18375
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
18468
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
18376
18469
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
18377
|
-
let result
|
|
18378
|
-
|
|
18379
|
-
|
|
18470
|
+
let result;
|
|
18471
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
18472
|
+
if (!continuationToken) {
|
|
18473
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
18474
|
+
let page = result.value || [];
|
|
18475
|
+
continuationToken = result.nextLink;
|
|
18476
|
+
setContinuationToken(page, continuationToken);
|
|
18477
|
+
yield yield tslib.__await(page);
|
|
18478
|
+
}
|
|
18380
18479
|
while (continuationToken) {
|
|
18381
18480
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
18382
18481
|
continuationToken = result.nextLink;
|
|
18383
|
-
|
|
18482
|
+
let page = result.value || [];
|
|
18483
|
+
setContinuationToken(page, continuationToken);
|
|
18484
|
+
yield yield tslib.__await(page);
|
|
18384
18485
|
}
|
|
18385
18486
|
});
|
|
18386
18487
|
}
|
|
@@ -18591,7 +18692,6 @@ const listNextOperationSpec$f = {
|
|
|
18591
18692
|
bodyMapper: CloudError
|
|
18592
18693
|
}
|
|
18593
18694
|
},
|
|
18594
|
-
queryParameters: [apiVersion],
|
|
18595
18695
|
urlParameters: [
|
|
18596
18696
|
$host,
|
|
18597
18697
|
subscriptionId,
|
|
@@ -18691,20 +18791,31 @@ class EntitiesRelationsImpl {
|
|
|
18691
18791
|
[Symbol.asyncIterator]() {
|
|
18692
18792
|
return this;
|
|
18693
18793
|
},
|
|
18694
|
-
byPage: () => {
|
|
18695
|
-
|
|
18794
|
+
byPage: (settings) => {
|
|
18795
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
18796
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
18797
|
+
}
|
|
18798
|
+
return this.listPagingPage(resourceGroupName, workspaceName, entityId, options, settings);
|
|
18696
18799
|
}
|
|
18697
18800
|
};
|
|
18698
18801
|
}
|
|
18699
|
-
listPagingPage(resourceGroupName, workspaceName, entityId, options) {
|
|
18802
|
+
listPagingPage(resourceGroupName, workspaceName, entityId, options, settings) {
|
|
18700
18803
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
18701
|
-
let result
|
|
18702
|
-
|
|
18703
|
-
|
|
18804
|
+
let result;
|
|
18805
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
18806
|
+
if (!continuationToken) {
|
|
18807
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, entityId, options));
|
|
18808
|
+
let page = result.value || [];
|
|
18809
|
+
continuationToken = result.nextLink;
|
|
18810
|
+
setContinuationToken(page, continuationToken);
|
|
18811
|
+
yield yield tslib.__await(page);
|
|
18812
|
+
}
|
|
18704
18813
|
while (continuationToken) {
|
|
18705
18814
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, entityId, continuationToken, options));
|
|
18706
18815
|
continuationToken = result.nextLink;
|
|
18707
|
-
|
|
18816
|
+
let page = result.value || [];
|
|
18817
|
+
setContinuationToken(page, continuationToken);
|
|
18818
|
+
yield yield tslib.__await(page);
|
|
18708
18819
|
}
|
|
18709
18820
|
});
|
|
18710
18821
|
}
|
|
@@ -18789,13 +18900,6 @@ const listNextOperationSpec$e = {
|
|
|
18789
18900
|
bodyMapper: CloudError
|
|
18790
18901
|
}
|
|
18791
18902
|
},
|
|
18792
|
-
queryParameters: [
|
|
18793
|
-
apiVersion,
|
|
18794
|
-
filter,
|
|
18795
|
-
orderby,
|
|
18796
|
-
top,
|
|
18797
|
-
skipToken
|
|
18798
|
-
],
|
|
18799
18903
|
urlParameters: [
|
|
18800
18904
|
$host,
|
|
18801
18905
|
subscriptionId,
|
|
@@ -18894,20 +18998,31 @@ class EntityQueriesImpl {
|
|
|
18894
18998
|
[Symbol.asyncIterator]() {
|
|
18895
18999
|
return this;
|
|
18896
19000
|
},
|
|
18897
|
-
byPage: () => {
|
|
18898
|
-
|
|
19001
|
+
byPage: (settings) => {
|
|
19002
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
19003
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
19004
|
+
}
|
|
19005
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
18899
19006
|
}
|
|
18900
19007
|
};
|
|
18901
19008
|
}
|
|
18902
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
19009
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
18903
19010
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
18904
|
-
let result
|
|
18905
|
-
|
|
18906
|
-
|
|
19011
|
+
let result;
|
|
19012
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
19013
|
+
if (!continuationToken) {
|
|
19014
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
19015
|
+
let page = result.value || [];
|
|
19016
|
+
continuationToken = result.nextLink;
|
|
19017
|
+
setContinuationToken(page, continuationToken);
|
|
19018
|
+
yield yield tslib.__await(page);
|
|
19019
|
+
}
|
|
18907
19020
|
while (continuationToken) {
|
|
18908
19021
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
18909
19022
|
continuationToken = result.nextLink;
|
|
18910
|
-
|
|
19023
|
+
let page = result.value || [];
|
|
19024
|
+
setContinuationToken(page, continuationToken);
|
|
19025
|
+
yield yield tslib.__await(page);
|
|
18911
19026
|
}
|
|
18912
19027
|
});
|
|
18913
19028
|
}
|
|
@@ -19084,7 +19199,6 @@ const listNextOperationSpec$d = {
|
|
|
19084
19199
|
bodyMapper: CloudError
|
|
19085
19200
|
}
|
|
19086
19201
|
},
|
|
19087
|
-
queryParameters: [apiVersion, kind1],
|
|
19088
19202
|
urlParameters: [
|
|
19089
19203
|
$host,
|
|
19090
19204
|
subscriptionId,
|
|
@@ -19128,20 +19242,31 @@ class EntityQueryTemplatesImpl {
|
|
|
19128
19242
|
[Symbol.asyncIterator]() {
|
|
19129
19243
|
return this;
|
|
19130
19244
|
},
|
|
19131
|
-
byPage: () => {
|
|
19132
|
-
|
|
19245
|
+
byPage: (settings) => {
|
|
19246
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
19247
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
19248
|
+
}
|
|
19249
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
19133
19250
|
}
|
|
19134
19251
|
};
|
|
19135
19252
|
}
|
|
19136
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
19253
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
19137
19254
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
19138
|
-
let result
|
|
19139
|
-
|
|
19140
|
-
|
|
19255
|
+
let result;
|
|
19256
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
19257
|
+
if (!continuationToken) {
|
|
19258
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
19259
|
+
let page = result.value || [];
|
|
19260
|
+
continuationToken = result.nextLink;
|
|
19261
|
+
setContinuationToken(page, continuationToken);
|
|
19262
|
+
yield yield tslib.__await(page);
|
|
19263
|
+
}
|
|
19141
19264
|
while (continuationToken) {
|
|
19142
19265
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
19143
19266
|
continuationToken = result.nextLink;
|
|
19144
|
-
|
|
19267
|
+
let page = result.value || [];
|
|
19268
|
+
setContinuationToken(page, continuationToken);
|
|
19269
|
+
yield yield tslib.__await(page);
|
|
19145
19270
|
}
|
|
19146
19271
|
});
|
|
19147
19272
|
}
|
|
@@ -19249,7 +19374,6 @@ const listNextOperationSpec$c = {
|
|
|
19249
19374
|
bodyMapper: CloudError
|
|
19250
19375
|
}
|
|
19251
19376
|
},
|
|
19252
|
-
queryParameters: [apiVersion, kind2],
|
|
19253
19377
|
urlParameters: [
|
|
19254
19378
|
$host,
|
|
19255
19379
|
subscriptionId,
|
|
@@ -19321,20 +19445,31 @@ class FileImportsImpl {
|
|
|
19321
19445
|
[Symbol.asyncIterator]() {
|
|
19322
19446
|
return this;
|
|
19323
19447
|
},
|
|
19324
|
-
byPage: () => {
|
|
19325
|
-
|
|
19448
|
+
byPage: (settings) => {
|
|
19449
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
19450
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
19451
|
+
}
|
|
19452
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
19326
19453
|
}
|
|
19327
19454
|
};
|
|
19328
19455
|
}
|
|
19329
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
19456
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
19330
19457
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
19331
|
-
let result
|
|
19332
|
-
|
|
19333
|
-
|
|
19458
|
+
let result;
|
|
19459
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
19460
|
+
if (!continuationToken) {
|
|
19461
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
19462
|
+
let page = result.value || [];
|
|
19463
|
+
continuationToken = result.nextLink;
|
|
19464
|
+
setContinuationToken(page, continuationToken);
|
|
19465
|
+
yield yield tslib.__await(page);
|
|
19466
|
+
}
|
|
19334
19467
|
while (continuationToken) {
|
|
19335
19468
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
19336
19469
|
continuationToken = result.nextLink;
|
|
19337
|
-
|
|
19470
|
+
let page = result.value || [];
|
|
19471
|
+
setContinuationToken(page, continuationToken);
|
|
19472
|
+
yield yield tslib.__await(page);
|
|
19338
19473
|
}
|
|
19339
19474
|
});
|
|
19340
19475
|
}
|
|
@@ -19568,13 +19703,6 @@ const listNextOperationSpec$b = {
|
|
|
19568
19703
|
bodyMapper: CloudError
|
|
19569
19704
|
}
|
|
19570
19705
|
},
|
|
19571
|
-
queryParameters: [
|
|
19572
|
-
apiVersion,
|
|
19573
|
-
filter,
|
|
19574
|
-
orderby,
|
|
19575
|
-
top,
|
|
19576
|
-
skipToken
|
|
19577
|
-
],
|
|
19578
19706
|
urlParameters: [
|
|
19579
19707
|
$host,
|
|
19580
19708
|
subscriptionId,
|
|
@@ -19619,20 +19747,31 @@ class IncidentCommentsImpl {
|
|
|
19619
19747
|
[Symbol.asyncIterator]() {
|
|
19620
19748
|
return this;
|
|
19621
19749
|
},
|
|
19622
|
-
byPage: () => {
|
|
19623
|
-
|
|
19750
|
+
byPage: (settings) => {
|
|
19751
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
19752
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
19753
|
+
}
|
|
19754
|
+
return this.listPagingPage(resourceGroupName, workspaceName, incidentId, options, settings);
|
|
19624
19755
|
}
|
|
19625
19756
|
};
|
|
19626
19757
|
}
|
|
19627
|
-
listPagingPage(resourceGroupName, workspaceName, incidentId, options) {
|
|
19758
|
+
listPagingPage(resourceGroupName, workspaceName, incidentId, options, settings) {
|
|
19628
19759
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
19629
|
-
let result
|
|
19630
|
-
|
|
19631
|
-
|
|
19760
|
+
let result;
|
|
19761
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
19762
|
+
if (!continuationToken) {
|
|
19763
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, incidentId, options));
|
|
19764
|
+
let page = result.value || [];
|
|
19765
|
+
continuationToken = result.nextLink;
|
|
19766
|
+
setContinuationToken(page, continuationToken);
|
|
19767
|
+
yield yield tslib.__await(page);
|
|
19768
|
+
}
|
|
19632
19769
|
while (continuationToken) {
|
|
19633
19770
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, incidentId, continuationToken, options));
|
|
19634
19771
|
continuationToken = result.nextLink;
|
|
19635
|
-
|
|
19772
|
+
let page = result.value || [];
|
|
19773
|
+
setContinuationToken(page, continuationToken);
|
|
19774
|
+
yield yield tslib.__await(page);
|
|
19636
19775
|
}
|
|
19637
19776
|
});
|
|
19638
19777
|
}
|
|
@@ -19843,13 +19982,6 @@ const listNextOperationSpec$a = {
|
|
|
19843
19982
|
bodyMapper: CloudError
|
|
19844
19983
|
}
|
|
19845
19984
|
},
|
|
19846
|
-
queryParameters: [
|
|
19847
|
-
apiVersion,
|
|
19848
|
-
filter,
|
|
19849
|
-
orderby,
|
|
19850
|
-
top,
|
|
19851
|
-
skipToken
|
|
19852
|
-
],
|
|
19853
19985
|
urlParameters: [
|
|
19854
19986
|
$host,
|
|
19855
19987
|
subscriptionId,
|
|
@@ -19895,20 +20027,31 @@ class IncidentRelationsImpl {
|
|
|
19895
20027
|
[Symbol.asyncIterator]() {
|
|
19896
20028
|
return this;
|
|
19897
20029
|
},
|
|
19898
|
-
byPage: () => {
|
|
19899
|
-
|
|
20030
|
+
byPage: (settings) => {
|
|
20031
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
20032
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
20033
|
+
}
|
|
20034
|
+
return this.listPagingPage(resourceGroupName, workspaceName, incidentId, options, settings);
|
|
19900
20035
|
}
|
|
19901
20036
|
};
|
|
19902
20037
|
}
|
|
19903
|
-
listPagingPage(resourceGroupName, workspaceName, incidentId, options) {
|
|
20038
|
+
listPagingPage(resourceGroupName, workspaceName, incidentId, options, settings) {
|
|
19904
20039
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
19905
|
-
let result
|
|
19906
|
-
|
|
19907
|
-
|
|
20040
|
+
let result;
|
|
20041
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
20042
|
+
if (!continuationToken) {
|
|
20043
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, incidentId, options));
|
|
20044
|
+
let page = result.value || [];
|
|
20045
|
+
continuationToken = result.nextLink;
|
|
20046
|
+
setContinuationToken(page, continuationToken);
|
|
20047
|
+
yield yield tslib.__await(page);
|
|
20048
|
+
}
|
|
19908
20049
|
while (continuationToken) {
|
|
19909
20050
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, incidentId, continuationToken, options));
|
|
19910
20051
|
continuationToken = result.nextLink;
|
|
19911
|
-
|
|
20052
|
+
let page = result.value || [];
|
|
20053
|
+
setContinuationToken(page, continuationToken);
|
|
20054
|
+
yield yield tslib.__await(page);
|
|
19912
20055
|
}
|
|
19913
20056
|
});
|
|
19914
20057
|
}
|
|
@@ -20107,13 +20250,6 @@ const listNextOperationSpec$9 = {
|
|
|
20107
20250
|
bodyMapper: CloudError
|
|
20108
20251
|
}
|
|
20109
20252
|
},
|
|
20110
|
-
queryParameters: [
|
|
20111
|
-
apiVersion,
|
|
20112
|
-
filter,
|
|
20113
|
-
orderby,
|
|
20114
|
-
top,
|
|
20115
|
-
skipToken
|
|
20116
|
-
],
|
|
20117
20253
|
urlParameters: [
|
|
20118
20254
|
$host,
|
|
20119
20255
|
subscriptionId,
|
|
@@ -20158,20 +20294,31 @@ class MetadataImpl {
|
|
|
20158
20294
|
[Symbol.asyncIterator]() {
|
|
20159
20295
|
return this;
|
|
20160
20296
|
},
|
|
20161
|
-
byPage: () => {
|
|
20162
|
-
|
|
20297
|
+
byPage: (settings) => {
|
|
20298
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
20299
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
20300
|
+
}
|
|
20301
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
20163
20302
|
}
|
|
20164
20303
|
};
|
|
20165
20304
|
}
|
|
20166
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
20305
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
20167
20306
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
20168
|
-
let result
|
|
20169
|
-
|
|
20170
|
-
|
|
20307
|
+
let result;
|
|
20308
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
20309
|
+
if (!continuationToken) {
|
|
20310
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
20311
|
+
let page = result.value || [];
|
|
20312
|
+
continuationToken = result.nextLink;
|
|
20313
|
+
setContinuationToken(page, continuationToken);
|
|
20314
|
+
yield yield tslib.__await(page);
|
|
20315
|
+
}
|
|
20171
20316
|
while (continuationToken) {
|
|
20172
20317
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
20173
20318
|
continuationToken = result.nextLink;
|
|
20174
|
-
|
|
20319
|
+
let page = result.value || [];
|
|
20320
|
+
setContinuationToken(page, continuationToken);
|
|
20321
|
+
yield yield tslib.__await(page);
|
|
20175
20322
|
}
|
|
20176
20323
|
});
|
|
20177
20324
|
}
|
|
@@ -20395,13 +20542,6 @@ const listNextOperationSpec$8 = {
|
|
|
20395
20542
|
bodyMapper: CloudError
|
|
20396
20543
|
}
|
|
20397
20544
|
},
|
|
20398
|
-
queryParameters: [
|
|
20399
|
-
apiVersion,
|
|
20400
|
-
filter,
|
|
20401
|
-
orderby,
|
|
20402
|
-
top,
|
|
20403
|
-
skip
|
|
20404
|
-
],
|
|
20405
20545
|
urlParameters: [
|
|
20406
20546
|
$host,
|
|
20407
20547
|
subscriptionId,
|
|
@@ -20445,20 +20585,31 @@ class OfficeConsentsImpl {
|
|
|
20445
20585
|
[Symbol.asyncIterator]() {
|
|
20446
20586
|
return this;
|
|
20447
20587
|
},
|
|
20448
|
-
byPage: () => {
|
|
20449
|
-
|
|
20588
|
+
byPage: (settings) => {
|
|
20589
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
20590
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
20591
|
+
}
|
|
20592
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
20450
20593
|
}
|
|
20451
20594
|
};
|
|
20452
20595
|
}
|
|
20453
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
20596
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
20454
20597
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
20455
|
-
let result
|
|
20456
|
-
|
|
20457
|
-
|
|
20598
|
+
let result;
|
|
20599
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
20600
|
+
if (!continuationToken) {
|
|
20601
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
20602
|
+
let page = result.value || [];
|
|
20603
|
+
continuationToken = result.nextLink;
|
|
20604
|
+
setContinuationToken(page, continuationToken);
|
|
20605
|
+
yield yield tslib.__await(page);
|
|
20606
|
+
}
|
|
20458
20607
|
while (continuationToken) {
|
|
20459
20608
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
20460
20609
|
continuationToken = result.nextLink;
|
|
20461
|
-
|
|
20610
|
+
let page = result.value || [];
|
|
20611
|
+
setContinuationToken(page, continuationToken);
|
|
20612
|
+
yield yield tslib.__await(page);
|
|
20462
20613
|
}
|
|
20463
20614
|
});
|
|
20464
20615
|
}
|
|
@@ -20597,7 +20748,6 @@ const listNextOperationSpec$7 = {
|
|
|
20597
20748
|
bodyMapper: CloudError
|
|
20598
20749
|
}
|
|
20599
20750
|
},
|
|
20600
|
-
queryParameters: [apiVersion],
|
|
20601
20751
|
urlParameters: [
|
|
20602
20752
|
$host,
|
|
20603
20753
|
subscriptionId,
|
|
@@ -20806,20 +20956,31 @@ class SecurityMLAnalyticsSettingsImpl {
|
|
|
20806
20956
|
[Symbol.asyncIterator]() {
|
|
20807
20957
|
return this;
|
|
20808
20958
|
},
|
|
20809
|
-
byPage: () => {
|
|
20810
|
-
|
|
20959
|
+
byPage: (settings) => {
|
|
20960
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
20961
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
20962
|
+
}
|
|
20963
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
20811
20964
|
}
|
|
20812
20965
|
};
|
|
20813
20966
|
}
|
|
20814
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
20967
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
20815
20968
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
20816
|
-
let result
|
|
20817
|
-
|
|
20818
|
-
|
|
20969
|
+
let result;
|
|
20970
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
20971
|
+
if (!continuationToken) {
|
|
20972
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
20973
|
+
let page = result.value || [];
|
|
20974
|
+
continuationToken = result.nextLink;
|
|
20975
|
+
setContinuationToken(page, continuationToken);
|
|
20976
|
+
yield yield tslib.__await(page);
|
|
20977
|
+
}
|
|
20819
20978
|
while (continuationToken) {
|
|
20820
20979
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
20821
20980
|
continuationToken = result.nextLink;
|
|
20822
|
-
|
|
20981
|
+
let page = result.value || [];
|
|
20982
|
+
setContinuationToken(page, continuationToken);
|
|
20983
|
+
yield yield tslib.__await(page);
|
|
20823
20984
|
}
|
|
20824
20985
|
});
|
|
20825
20986
|
}
|
|
@@ -21002,7 +21163,6 @@ const listNextOperationSpec$6 = {
|
|
|
21002
21163
|
bodyMapper: CloudError
|
|
21003
21164
|
}
|
|
21004
21165
|
},
|
|
21005
|
-
queryParameters: [apiVersion],
|
|
21006
21166
|
urlParameters: [
|
|
21007
21167
|
$host,
|
|
21008
21168
|
subscriptionId,
|
|
@@ -21195,20 +21355,31 @@ class SourceControlOperationsImpl {
|
|
|
21195
21355
|
[Symbol.asyncIterator]() {
|
|
21196
21356
|
return this;
|
|
21197
21357
|
},
|
|
21198
|
-
byPage: () => {
|
|
21199
|
-
|
|
21358
|
+
byPage: (settings) => {
|
|
21359
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
21360
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
21361
|
+
}
|
|
21362
|
+
return this.listRepositoriesPagingPage(resourceGroupName, workspaceName, repoType, options, settings);
|
|
21200
21363
|
}
|
|
21201
21364
|
};
|
|
21202
21365
|
}
|
|
21203
|
-
listRepositoriesPagingPage(resourceGroupName, workspaceName, repoType, options) {
|
|
21366
|
+
listRepositoriesPagingPage(resourceGroupName, workspaceName, repoType, options, settings) {
|
|
21204
21367
|
return tslib.__asyncGenerator(this, arguments, function* listRepositoriesPagingPage_1() {
|
|
21205
|
-
let result
|
|
21206
|
-
|
|
21207
|
-
|
|
21368
|
+
let result;
|
|
21369
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
21370
|
+
if (!continuationToken) {
|
|
21371
|
+
result = yield tslib.__await(this._listRepositories(resourceGroupName, workspaceName, repoType, options));
|
|
21372
|
+
let page = result.value || [];
|
|
21373
|
+
continuationToken = result.nextLink;
|
|
21374
|
+
setContinuationToken(page, continuationToken);
|
|
21375
|
+
yield yield tslib.__await(page);
|
|
21376
|
+
}
|
|
21208
21377
|
while (continuationToken) {
|
|
21209
21378
|
result = yield tslib.__await(this._listRepositoriesNext(resourceGroupName, workspaceName, repoType, continuationToken, options));
|
|
21210
21379
|
continuationToken = result.nextLink;
|
|
21211
|
-
|
|
21380
|
+
let page = result.value || [];
|
|
21381
|
+
setContinuationToken(page, continuationToken);
|
|
21382
|
+
yield yield tslib.__await(page);
|
|
21212
21383
|
}
|
|
21213
21384
|
});
|
|
21214
21385
|
}
|
|
@@ -21288,7 +21459,6 @@ const listRepositoriesNextOperationSpec = {
|
|
|
21288
21459
|
bodyMapper: CloudError
|
|
21289
21460
|
}
|
|
21290
21461
|
},
|
|
21291
|
-
queryParameters: [apiVersion],
|
|
21292
21462
|
urlParameters: [
|
|
21293
21463
|
$host,
|
|
21294
21464
|
subscriptionId,
|
|
@@ -21333,20 +21503,31 @@ class SourceControlsImpl {
|
|
|
21333
21503
|
[Symbol.asyncIterator]() {
|
|
21334
21504
|
return this;
|
|
21335
21505
|
},
|
|
21336
|
-
byPage: () => {
|
|
21337
|
-
|
|
21506
|
+
byPage: (settings) => {
|
|
21507
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
21508
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
21509
|
+
}
|
|
21510
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
21338
21511
|
}
|
|
21339
21512
|
};
|
|
21340
21513
|
}
|
|
21341
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
21514
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
21342
21515
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
21343
|
-
let result
|
|
21344
|
-
|
|
21345
|
-
|
|
21516
|
+
let result;
|
|
21517
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
21518
|
+
if (!continuationToken) {
|
|
21519
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
21520
|
+
let page = result.value || [];
|
|
21521
|
+
continuationToken = result.nextLink;
|
|
21522
|
+
setContinuationToken(page, continuationToken);
|
|
21523
|
+
yield yield tslib.__await(page);
|
|
21524
|
+
}
|
|
21346
21525
|
while (continuationToken) {
|
|
21347
21526
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
21348
21527
|
continuationToken = result.nextLink;
|
|
21349
|
-
|
|
21528
|
+
let page = result.value || [];
|
|
21529
|
+
setContinuationToken(page, continuationToken);
|
|
21530
|
+
yield yield tslib.__await(page);
|
|
21350
21531
|
}
|
|
21351
21532
|
});
|
|
21352
21533
|
}
|
|
@@ -21529,7 +21710,6 @@ const listNextOperationSpec$5 = {
|
|
|
21529
21710
|
bodyMapper: CloudError
|
|
21530
21711
|
}
|
|
21531
21712
|
},
|
|
21532
|
-
queryParameters: [apiVersion],
|
|
21533
21713
|
urlParameters: [
|
|
21534
21714
|
$host,
|
|
21535
21715
|
subscriptionId,
|
|
@@ -21575,20 +21755,31 @@ class ThreatIntelligenceIndicatorImpl {
|
|
|
21575
21755
|
[Symbol.asyncIterator]() {
|
|
21576
21756
|
return this;
|
|
21577
21757
|
},
|
|
21578
|
-
byPage: () => {
|
|
21579
|
-
|
|
21758
|
+
byPage: (settings) => {
|
|
21759
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
21760
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
21761
|
+
}
|
|
21762
|
+
return this.queryIndicatorsPagingPage(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options, settings);
|
|
21580
21763
|
}
|
|
21581
21764
|
};
|
|
21582
21765
|
}
|
|
21583
|
-
queryIndicatorsPagingPage(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options) {
|
|
21766
|
+
queryIndicatorsPagingPage(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options, settings) {
|
|
21584
21767
|
return tslib.__asyncGenerator(this, arguments, function* queryIndicatorsPagingPage_1() {
|
|
21585
|
-
let result
|
|
21586
|
-
|
|
21587
|
-
|
|
21768
|
+
let result;
|
|
21769
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
21770
|
+
if (!continuationToken) {
|
|
21771
|
+
result = yield tslib.__await(this._queryIndicators(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options));
|
|
21772
|
+
let page = result.value || [];
|
|
21773
|
+
continuationToken = result.nextLink;
|
|
21774
|
+
setContinuationToken(page, continuationToken);
|
|
21775
|
+
yield yield tslib.__await(page);
|
|
21776
|
+
}
|
|
21588
21777
|
while (continuationToken) {
|
|
21589
21778
|
result = yield tslib.__await(this._queryIndicatorsNext(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, continuationToken, options));
|
|
21590
21779
|
continuationToken = result.nextLink;
|
|
21591
|
-
|
|
21780
|
+
let page = result.value || [];
|
|
21781
|
+
setContinuationToken(page, continuationToken);
|
|
21782
|
+
yield yield tslib.__await(page);
|
|
21592
21783
|
}
|
|
21593
21784
|
});
|
|
21594
21785
|
}
|
|
@@ -21911,7 +22102,6 @@ const queryIndicatorsNextOperationSpec = {
|
|
|
21911
22102
|
bodyMapper: CloudError
|
|
21912
22103
|
}
|
|
21913
22104
|
},
|
|
21914
|
-
queryParameters: [apiVersion],
|
|
21915
22105
|
urlParameters: [
|
|
21916
22106
|
$host,
|
|
21917
22107
|
subscriptionId,
|
|
@@ -21956,20 +22146,31 @@ class ThreatIntelligenceIndicatorsImpl {
|
|
|
21956
22146
|
[Symbol.asyncIterator]() {
|
|
21957
22147
|
return this;
|
|
21958
22148
|
},
|
|
21959
|
-
byPage: () => {
|
|
21960
|
-
|
|
22149
|
+
byPage: (settings) => {
|
|
22150
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
22151
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
22152
|
+
}
|
|
22153
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
21961
22154
|
}
|
|
21962
22155
|
};
|
|
21963
22156
|
}
|
|
21964
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
22157
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
21965
22158
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
21966
|
-
let result
|
|
21967
|
-
|
|
21968
|
-
|
|
22159
|
+
let result;
|
|
22160
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
22161
|
+
if (!continuationToken) {
|
|
22162
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
22163
|
+
let page = result.value || [];
|
|
22164
|
+
continuationToken = result.nextLink;
|
|
22165
|
+
setContinuationToken(page, continuationToken);
|
|
22166
|
+
yield yield tslib.__await(page);
|
|
22167
|
+
}
|
|
21969
22168
|
while (continuationToken) {
|
|
21970
22169
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
21971
22170
|
continuationToken = result.nextLink;
|
|
21972
|
-
|
|
22171
|
+
let page = result.value || [];
|
|
22172
|
+
setContinuationToken(page, continuationToken);
|
|
22173
|
+
yield yield tslib.__await(page);
|
|
21973
22174
|
}
|
|
21974
22175
|
});
|
|
21975
22176
|
}
|
|
@@ -22051,13 +22252,6 @@ const listNextOperationSpec$4 = {
|
|
|
22051
22252
|
bodyMapper: CloudError
|
|
22052
22253
|
}
|
|
22053
22254
|
},
|
|
22054
|
-
queryParameters: [
|
|
22055
|
-
apiVersion,
|
|
22056
|
-
filter,
|
|
22057
|
-
orderby,
|
|
22058
|
-
top,
|
|
22059
|
-
skipToken
|
|
22060
|
-
],
|
|
22061
22255
|
urlParameters: [
|
|
22062
22256
|
$host,
|
|
22063
22257
|
subscriptionId,
|
|
@@ -22151,20 +22345,31 @@ class WatchlistsImpl {
|
|
|
22151
22345
|
[Symbol.asyncIterator]() {
|
|
22152
22346
|
return this;
|
|
22153
22347
|
},
|
|
22154
|
-
byPage: () => {
|
|
22155
|
-
|
|
22348
|
+
byPage: (settings) => {
|
|
22349
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
22350
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
22351
|
+
}
|
|
22352
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
22156
22353
|
}
|
|
22157
22354
|
};
|
|
22158
22355
|
}
|
|
22159
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
22356
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
22160
22357
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
22161
|
-
let result
|
|
22162
|
-
|
|
22163
|
-
|
|
22358
|
+
let result;
|
|
22359
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
22360
|
+
if (!continuationToken) {
|
|
22361
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
22362
|
+
let page = result.value || [];
|
|
22363
|
+
continuationToken = result.nextLink;
|
|
22364
|
+
setContinuationToken(page, continuationToken);
|
|
22365
|
+
yield yield tslib.__await(page);
|
|
22366
|
+
}
|
|
22164
22367
|
while (continuationToken) {
|
|
22165
22368
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
22166
22369
|
continuationToken = result.nextLink;
|
|
22167
|
-
|
|
22370
|
+
let page = result.value || [];
|
|
22371
|
+
setContinuationToken(page, continuationToken);
|
|
22372
|
+
yield yield tslib.__await(page);
|
|
22168
22373
|
}
|
|
22169
22374
|
});
|
|
22170
22375
|
}
|
|
@@ -22349,7 +22554,6 @@ const listNextOperationSpec$3 = {
|
|
|
22349
22554
|
bodyMapper: CloudError
|
|
22350
22555
|
}
|
|
22351
22556
|
},
|
|
22352
|
-
queryParameters: [apiVersion, skipToken],
|
|
22353
22557
|
urlParameters: [
|
|
22354
22558
|
$host,
|
|
22355
22559
|
subscriptionId,
|
|
@@ -22394,20 +22598,31 @@ class WatchlistItemsImpl {
|
|
|
22394
22598
|
[Symbol.asyncIterator]() {
|
|
22395
22599
|
return this;
|
|
22396
22600
|
},
|
|
22397
|
-
byPage: () => {
|
|
22398
|
-
|
|
22601
|
+
byPage: (settings) => {
|
|
22602
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
22603
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
22604
|
+
}
|
|
22605
|
+
return this.listPagingPage(resourceGroupName, workspaceName, watchlistAlias, options, settings);
|
|
22399
22606
|
}
|
|
22400
22607
|
};
|
|
22401
22608
|
}
|
|
22402
|
-
listPagingPage(resourceGroupName, workspaceName, watchlistAlias, options) {
|
|
22609
|
+
listPagingPage(resourceGroupName, workspaceName, watchlistAlias, options, settings) {
|
|
22403
22610
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
22404
|
-
let result
|
|
22405
|
-
|
|
22406
|
-
|
|
22611
|
+
let result;
|
|
22612
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
22613
|
+
if (!continuationToken) {
|
|
22614
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, watchlistAlias, options));
|
|
22615
|
+
let page = result.value || [];
|
|
22616
|
+
continuationToken = result.nextLink;
|
|
22617
|
+
setContinuationToken(page, continuationToken);
|
|
22618
|
+
yield yield tslib.__await(page);
|
|
22619
|
+
}
|
|
22407
22620
|
while (continuationToken) {
|
|
22408
22621
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, watchlistAlias, continuationToken, options));
|
|
22409
22622
|
continuationToken = result.nextLink;
|
|
22410
|
-
|
|
22623
|
+
let page = result.value || [];
|
|
22624
|
+
setContinuationToken(page, continuationToken);
|
|
22625
|
+
yield yield tslib.__await(page);
|
|
22411
22626
|
}
|
|
22412
22627
|
});
|
|
22413
22628
|
}
|
|
@@ -22612,7 +22827,6 @@ const listNextOperationSpec$2 = {
|
|
|
22612
22827
|
bodyMapper: CloudError
|
|
22613
22828
|
}
|
|
22614
22829
|
},
|
|
22615
|
-
queryParameters: [apiVersion, skipToken],
|
|
22616
22830
|
urlParameters: [
|
|
22617
22831
|
$host,
|
|
22618
22832
|
subscriptionId,
|
|
@@ -22657,20 +22871,31 @@ class DataConnectorsImpl {
|
|
|
22657
22871
|
[Symbol.asyncIterator]() {
|
|
22658
22872
|
return this;
|
|
22659
22873
|
},
|
|
22660
|
-
byPage: () => {
|
|
22661
|
-
|
|
22874
|
+
byPage: (settings) => {
|
|
22875
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
22876
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
22877
|
+
}
|
|
22878
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
22662
22879
|
}
|
|
22663
22880
|
};
|
|
22664
22881
|
}
|
|
22665
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
22882
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
22666
22883
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
22667
|
-
let result
|
|
22668
|
-
|
|
22669
|
-
|
|
22884
|
+
let result;
|
|
22885
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
22886
|
+
if (!continuationToken) {
|
|
22887
|
+
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
22888
|
+
let page = result.value || [];
|
|
22889
|
+
continuationToken = result.nextLink;
|
|
22890
|
+
setContinuationToken(page, continuationToken);
|
|
22891
|
+
yield yield tslib.__await(page);
|
|
22892
|
+
}
|
|
22670
22893
|
while (continuationToken) {
|
|
22671
22894
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
22672
22895
|
continuationToken = result.nextLink;
|
|
22673
|
-
|
|
22896
|
+
let page = result.value || [];
|
|
22897
|
+
setContinuationToken(page, continuationToken);
|
|
22898
|
+
yield yield tslib.__await(page);
|
|
22674
22899
|
}
|
|
22675
22900
|
});
|
|
22676
22901
|
}
|
|
@@ -22922,7 +23147,6 @@ const listNextOperationSpec$1 = {
|
|
|
22922
23147
|
bodyMapper: CloudError
|
|
22923
23148
|
}
|
|
22924
23149
|
},
|
|
22925
|
-
queryParameters: [apiVersion],
|
|
22926
23150
|
urlParameters: [
|
|
22927
23151
|
$host,
|
|
22928
23152
|
subscriptionId,
|
|
@@ -23022,20 +23246,31 @@ class OperationsImpl {
|
|
|
23022
23246
|
[Symbol.asyncIterator]() {
|
|
23023
23247
|
return this;
|
|
23024
23248
|
},
|
|
23025
|
-
byPage: () => {
|
|
23026
|
-
|
|
23249
|
+
byPage: (settings) => {
|
|
23250
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
23251
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
23252
|
+
}
|
|
23253
|
+
return this.listPagingPage(options, settings);
|
|
23027
23254
|
}
|
|
23028
23255
|
};
|
|
23029
23256
|
}
|
|
23030
|
-
listPagingPage(options) {
|
|
23257
|
+
listPagingPage(options, settings) {
|
|
23031
23258
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
23032
|
-
let result
|
|
23033
|
-
|
|
23034
|
-
|
|
23259
|
+
let result;
|
|
23260
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
23261
|
+
if (!continuationToken) {
|
|
23262
|
+
result = yield tslib.__await(this._list(options));
|
|
23263
|
+
let page = result.value || [];
|
|
23264
|
+
continuationToken = result.nextLink;
|
|
23265
|
+
setContinuationToken(page, continuationToken);
|
|
23266
|
+
yield yield tslib.__await(page);
|
|
23267
|
+
}
|
|
23035
23268
|
while (continuationToken) {
|
|
23036
23269
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
23037
23270
|
continuationToken = result.nextLink;
|
|
23038
|
-
|
|
23271
|
+
let page = result.value || [];
|
|
23272
|
+
setContinuationToken(page, continuationToken);
|
|
23273
|
+
yield yield tslib.__await(page);
|
|
23039
23274
|
}
|
|
23040
23275
|
});
|
|
23041
23276
|
}
|
|
@@ -23102,7 +23337,6 @@ const listNextOperationSpec = {
|
|
|
23102
23337
|
bodyMapper: CloudError
|
|
23103
23338
|
}
|
|
23104
23339
|
},
|
|
23105
|
-
queryParameters: [apiVersion],
|
|
23106
23340
|
urlParameters: [$host, nextLink],
|
|
23107
23341
|
headerParameters: [accept],
|
|
23108
23342
|
serializer
|
|
@@ -23123,7 +23357,7 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
23123
23357
|
* @param options The parameter options
|
|
23124
23358
|
*/
|
|
23125
23359
|
constructor(credentials, subscriptionId, options) {
|
|
23126
|
-
var _a, _b;
|
|
23360
|
+
var _a, _b, _c;
|
|
23127
23361
|
if (credentials === undefined) {
|
|
23128
23362
|
throw new Error("'credentials' cannot be null");
|
|
23129
23363
|
}
|
|
@@ -23138,16 +23372,13 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
23138
23372
|
requestContentType: "application/json; charset=utf-8",
|
|
23139
23373
|
credential: credentials
|
|
23140
23374
|
};
|
|
23141
|
-
const packageDetails = `azsdk-js-arm-securityinsight/1.0.0-beta.
|
|
23375
|
+
const packageDetails = `azsdk-js-arm-securityinsight/1.0.0-beta.6`;
|
|
23142
23376
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
23143
23377
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
23144
23378
|
: `${packageDetails}`;
|
|
23145
|
-
if (!options.credentialScopes) {
|
|
23146
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
23147
|
-
}
|
|
23148
23379
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
23149
23380
|
userAgentPrefix
|
|
23150
|
-
},
|
|
23381
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
23151
23382
|
super(optionsWithDefaults);
|
|
23152
23383
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
23153
23384
|
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
@@ -23164,7 +23395,7 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
23164
23395
|
});
|
|
23165
23396
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
23166
23397
|
credential: credentials,
|
|
23167
|
-
scopes: `${optionsWithDefaults.
|
|
23398
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
23168
23399
|
challengeCallbacks: {
|
|
23169
23400
|
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
23170
23401
|
}
|
|
@@ -23241,4 +23472,5 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
23241
23472
|
}
|
|
23242
23473
|
|
|
23243
23474
|
exports.SecurityInsights = SecurityInsights;
|
|
23475
|
+
exports.getContinuationToken = getContinuationToken;
|
|
23244
23476
|
//# sourceMappingURL=index.js.map
|