@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
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { EntityQueryTemplates } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -54,8 +55,16 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates {
|
|
|
54
55
|
[Symbol.asyncIterator]() {
|
|
55
56
|
return this;
|
|
56
57
|
},
|
|
57
|
-
byPage: () => {
|
|
58
|
-
|
|
58
|
+
byPage: (settings?: PageSettings) => {
|
|
59
|
+
if (settings?.maxPageSize) {
|
|
60
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
61
|
+
}
|
|
62
|
+
return this.listPagingPage(
|
|
63
|
+
resourceGroupName,
|
|
64
|
+
workspaceName,
|
|
65
|
+
options,
|
|
66
|
+
settings
|
|
67
|
+
);
|
|
59
68
|
}
|
|
60
69
|
};
|
|
61
70
|
}
|
|
@@ -63,11 +72,18 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates {
|
|
|
63
72
|
private async *listPagingPage(
|
|
64
73
|
resourceGroupName: string,
|
|
65
74
|
workspaceName: string,
|
|
66
|
-
options?: EntityQueryTemplatesListOptionalParams
|
|
75
|
+
options?: EntityQueryTemplatesListOptionalParams,
|
|
76
|
+
settings?: PageSettings
|
|
67
77
|
): AsyncIterableIterator<EntityQueryTemplateUnion[]> {
|
|
68
|
-
let result
|
|
69
|
-
|
|
70
|
-
|
|
78
|
+
let result: EntityQueryTemplatesListResponse;
|
|
79
|
+
let continuationToken = settings?.continuationToken;
|
|
80
|
+
if (!continuationToken) {
|
|
81
|
+
result = await this._list(resourceGroupName, workspaceName, options);
|
|
82
|
+
let page = result.value || [];
|
|
83
|
+
continuationToken = result.nextLink;
|
|
84
|
+
setContinuationToken(page, continuationToken);
|
|
85
|
+
yield page;
|
|
86
|
+
}
|
|
71
87
|
while (continuationToken) {
|
|
72
88
|
result = await this._listNext(
|
|
73
89
|
resourceGroupName,
|
|
@@ -76,7 +92,9 @@ export class EntityQueryTemplatesImpl implements EntityQueryTemplates {
|
|
|
76
92
|
options
|
|
77
93
|
);
|
|
78
94
|
continuationToken = result.nextLink;
|
|
79
|
-
|
|
95
|
+
let page = result.value || [];
|
|
96
|
+
setContinuationToken(page, continuationToken);
|
|
97
|
+
yield page;
|
|
80
98
|
}
|
|
81
99
|
}
|
|
82
100
|
|
|
@@ -208,7 +226,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
208
226
|
bodyMapper: Mappers.CloudError
|
|
209
227
|
}
|
|
210
228
|
},
|
|
211
|
-
queryParameters: [Parameters.apiVersion, Parameters.kind2],
|
|
212
229
|
urlParameters: [
|
|
213
230
|
Parameters.$host,
|
|
214
231
|
Parameters.subscriptionId,
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { FileImports } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -60,8 +61,16 @@ export class FileImportsImpl implements FileImports {
|
|
|
60
61
|
[Symbol.asyncIterator]() {
|
|
61
62
|
return this;
|
|
62
63
|
},
|
|
63
|
-
byPage: () => {
|
|
64
|
-
|
|
64
|
+
byPage: (settings?: PageSettings) => {
|
|
65
|
+
if (settings?.maxPageSize) {
|
|
66
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
67
|
+
}
|
|
68
|
+
return this.listPagingPage(
|
|
69
|
+
resourceGroupName,
|
|
70
|
+
workspaceName,
|
|
71
|
+
options,
|
|
72
|
+
settings
|
|
73
|
+
);
|
|
65
74
|
}
|
|
66
75
|
};
|
|
67
76
|
}
|
|
@@ -69,11 +78,18 @@ export class FileImportsImpl implements FileImports {
|
|
|
69
78
|
private async *listPagingPage(
|
|
70
79
|
resourceGroupName: string,
|
|
71
80
|
workspaceName: string,
|
|
72
|
-
options?: FileImportsListOptionalParams
|
|
81
|
+
options?: FileImportsListOptionalParams,
|
|
82
|
+
settings?: PageSettings
|
|
73
83
|
): AsyncIterableIterator<FileImport[]> {
|
|
74
|
-
let result
|
|
75
|
-
|
|
76
|
-
|
|
84
|
+
let result: FileImportsListResponse;
|
|
85
|
+
let continuationToken = settings?.continuationToken;
|
|
86
|
+
if (!continuationToken) {
|
|
87
|
+
result = await this._list(resourceGroupName, workspaceName, options);
|
|
88
|
+
let page = result.value || [];
|
|
89
|
+
continuationToken = result.nextLink;
|
|
90
|
+
setContinuationToken(page, continuationToken);
|
|
91
|
+
yield page;
|
|
92
|
+
}
|
|
77
93
|
while (continuationToken) {
|
|
78
94
|
result = await this._listNext(
|
|
79
95
|
resourceGroupName,
|
|
@@ -82,7 +98,9 @@ export class FileImportsImpl implements FileImports {
|
|
|
82
98
|
options
|
|
83
99
|
);
|
|
84
100
|
continuationToken = result.nextLink;
|
|
85
|
-
|
|
101
|
+
let page = result.value || [];
|
|
102
|
+
setContinuationToken(page, continuationToken);
|
|
103
|
+
yield page;
|
|
86
104
|
}
|
|
87
105
|
}
|
|
88
106
|
|
|
@@ -391,13 +409,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
391
409
|
bodyMapper: Mappers.CloudError
|
|
392
410
|
}
|
|
393
411
|
},
|
|
394
|
-
queryParameters: [
|
|
395
|
-
Parameters.apiVersion,
|
|
396
|
-
Parameters.filter,
|
|
397
|
-
Parameters.orderby,
|
|
398
|
-
Parameters.top,
|
|
399
|
-
Parameters.skipToken
|
|
400
|
-
],
|
|
401
412
|
urlParameters: [
|
|
402
413
|
Parameters.$host,
|
|
403
414
|
Parameters.subscriptionId,
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { IncidentComments } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -64,12 +65,16 @@ export class IncidentCommentsImpl implements IncidentComments {
|
|
|
64
65
|
[Symbol.asyncIterator]() {
|
|
65
66
|
return this;
|
|
66
67
|
},
|
|
67
|
-
byPage: () => {
|
|
68
|
+
byPage: (settings?: PageSettings) => {
|
|
69
|
+
if (settings?.maxPageSize) {
|
|
70
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
71
|
+
}
|
|
68
72
|
return this.listPagingPage(
|
|
69
73
|
resourceGroupName,
|
|
70
74
|
workspaceName,
|
|
71
75
|
incidentId,
|
|
72
|
-
options
|
|
76
|
+
options,
|
|
77
|
+
settings
|
|
73
78
|
);
|
|
74
79
|
}
|
|
75
80
|
};
|
|
@@ -79,16 +84,23 @@ export class IncidentCommentsImpl implements IncidentComments {
|
|
|
79
84
|
resourceGroupName: string,
|
|
80
85
|
workspaceName: string,
|
|
81
86
|
incidentId: string,
|
|
82
|
-
options?: IncidentCommentsListOptionalParams
|
|
87
|
+
options?: IncidentCommentsListOptionalParams,
|
|
88
|
+
settings?: PageSettings
|
|
83
89
|
): AsyncIterableIterator<IncidentComment[]> {
|
|
84
|
-
let result
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
let result: IncidentCommentsListResponse;
|
|
91
|
+
let continuationToken = settings?.continuationToken;
|
|
92
|
+
if (!continuationToken) {
|
|
93
|
+
result = await this._list(
|
|
94
|
+
resourceGroupName,
|
|
95
|
+
workspaceName,
|
|
96
|
+
incidentId,
|
|
97
|
+
options
|
|
98
|
+
);
|
|
99
|
+
let page = result.value || [];
|
|
100
|
+
continuationToken = result.nextLink;
|
|
101
|
+
setContinuationToken(page, continuationToken);
|
|
102
|
+
yield page;
|
|
103
|
+
}
|
|
92
104
|
while (continuationToken) {
|
|
93
105
|
result = await this._listNext(
|
|
94
106
|
resourceGroupName,
|
|
@@ -98,7 +110,9 @@ export class IncidentCommentsImpl implements IncidentComments {
|
|
|
98
110
|
options
|
|
99
111
|
);
|
|
100
112
|
continuationToken = result.nextLink;
|
|
101
|
-
|
|
113
|
+
let page = result.value || [];
|
|
114
|
+
setContinuationToken(page, continuationToken);
|
|
115
|
+
yield page;
|
|
102
116
|
}
|
|
103
117
|
}
|
|
104
118
|
|
|
@@ -361,13 +375,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
361
375
|
bodyMapper: Mappers.CloudError
|
|
362
376
|
}
|
|
363
377
|
},
|
|
364
|
-
queryParameters: [
|
|
365
|
-
Parameters.apiVersion,
|
|
366
|
-
Parameters.filter,
|
|
367
|
-
Parameters.orderby,
|
|
368
|
-
Parameters.top,
|
|
369
|
-
Parameters.skipToken
|
|
370
|
-
],
|
|
371
378
|
urlParameters: [
|
|
372
379
|
Parameters.$host,
|
|
373
380
|
Parameters.subscriptionId,
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { IncidentRelations } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -64,12 +65,16 @@ export class IncidentRelationsImpl implements IncidentRelations {
|
|
|
64
65
|
[Symbol.asyncIterator]() {
|
|
65
66
|
return this;
|
|
66
67
|
},
|
|
67
|
-
byPage: () => {
|
|
68
|
+
byPage: (settings?: PageSettings) => {
|
|
69
|
+
if (settings?.maxPageSize) {
|
|
70
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
71
|
+
}
|
|
68
72
|
return this.listPagingPage(
|
|
69
73
|
resourceGroupName,
|
|
70
74
|
workspaceName,
|
|
71
75
|
incidentId,
|
|
72
|
-
options
|
|
76
|
+
options,
|
|
77
|
+
settings
|
|
73
78
|
);
|
|
74
79
|
}
|
|
75
80
|
};
|
|
@@ -79,16 +84,23 @@ export class IncidentRelationsImpl implements IncidentRelations {
|
|
|
79
84
|
resourceGroupName: string,
|
|
80
85
|
workspaceName: string,
|
|
81
86
|
incidentId: string,
|
|
82
|
-
options?: IncidentRelationsListOptionalParams
|
|
87
|
+
options?: IncidentRelationsListOptionalParams,
|
|
88
|
+
settings?: PageSettings
|
|
83
89
|
): AsyncIterableIterator<Relation[]> {
|
|
84
|
-
let result
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
let result: IncidentRelationsListResponse;
|
|
91
|
+
let continuationToken = settings?.continuationToken;
|
|
92
|
+
if (!continuationToken) {
|
|
93
|
+
result = await this._list(
|
|
94
|
+
resourceGroupName,
|
|
95
|
+
workspaceName,
|
|
96
|
+
incidentId,
|
|
97
|
+
options
|
|
98
|
+
);
|
|
99
|
+
let page = result.value || [];
|
|
100
|
+
continuationToken = result.nextLink;
|
|
101
|
+
setContinuationToken(page, continuationToken);
|
|
102
|
+
yield page;
|
|
103
|
+
}
|
|
92
104
|
while (continuationToken) {
|
|
93
105
|
result = await this._listNext(
|
|
94
106
|
resourceGroupName,
|
|
@@ -98,7 +110,9 @@ export class IncidentRelationsImpl implements IncidentRelations {
|
|
|
98
110
|
options
|
|
99
111
|
);
|
|
100
112
|
continuationToken = result.nextLink;
|
|
101
|
-
|
|
113
|
+
let page = result.value || [];
|
|
114
|
+
setContinuationToken(page, continuationToken);
|
|
115
|
+
yield page;
|
|
102
116
|
}
|
|
103
117
|
}
|
|
104
118
|
|
|
@@ -349,13 +363,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
349
363
|
bodyMapper: Mappers.CloudError
|
|
350
364
|
}
|
|
351
365
|
},
|
|
352
|
-
queryParameters: [
|
|
353
|
-
Parameters.apiVersion,
|
|
354
|
-
Parameters.filter,
|
|
355
|
-
Parameters.orderby,
|
|
356
|
-
Parameters.top,
|
|
357
|
-
Parameters.skipToken
|
|
358
|
-
],
|
|
359
366
|
urlParameters: [
|
|
360
367
|
Parameters.$host,
|
|
361
368
|
Parameters.subscriptionId,
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { Incidents } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -16,9 +17,9 @@ import {
|
|
|
16
17
|
Incident,
|
|
17
18
|
IncidentsListNextOptionalParams,
|
|
18
19
|
IncidentsListOptionalParams,
|
|
20
|
+
IncidentsListResponse,
|
|
19
21
|
IncidentsRunPlaybookOptionalParams,
|
|
20
22
|
IncidentsRunPlaybookResponse,
|
|
21
|
-
IncidentsListResponse,
|
|
22
23
|
IncidentsGetOptionalParams,
|
|
23
24
|
IncidentsGetResponse,
|
|
24
25
|
IncidentsCreateOrUpdateOptionalParams,
|
|
@@ -68,8 +69,16 @@ export class IncidentsImpl implements Incidents {
|
|
|
68
69
|
[Symbol.asyncIterator]() {
|
|
69
70
|
return this;
|
|
70
71
|
},
|
|
71
|
-
byPage: () => {
|
|
72
|
-
|
|
72
|
+
byPage: (settings?: PageSettings) => {
|
|
73
|
+
if (settings?.maxPageSize) {
|
|
74
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
75
|
+
}
|
|
76
|
+
return this.listPagingPage(
|
|
77
|
+
resourceGroupName,
|
|
78
|
+
workspaceName,
|
|
79
|
+
options,
|
|
80
|
+
settings
|
|
81
|
+
);
|
|
73
82
|
}
|
|
74
83
|
};
|
|
75
84
|
}
|
|
@@ -77,11 +86,18 @@ export class IncidentsImpl implements Incidents {
|
|
|
77
86
|
private async *listPagingPage(
|
|
78
87
|
resourceGroupName: string,
|
|
79
88
|
workspaceName: string,
|
|
80
|
-
options?: IncidentsListOptionalParams
|
|
89
|
+
options?: IncidentsListOptionalParams,
|
|
90
|
+
settings?: PageSettings
|
|
81
91
|
): AsyncIterableIterator<Incident[]> {
|
|
82
|
-
let result
|
|
83
|
-
|
|
84
|
-
|
|
92
|
+
let result: IncidentsListResponse;
|
|
93
|
+
let continuationToken = settings?.continuationToken;
|
|
94
|
+
if (!continuationToken) {
|
|
95
|
+
result = await this._list(resourceGroupName, workspaceName, options);
|
|
96
|
+
let page = result.value || [];
|
|
97
|
+
continuationToken = result.nextLink;
|
|
98
|
+
setContinuationToken(page, continuationToken);
|
|
99
|
+
yield page;
|
|
100
|
+
}
|
|
85
101
|
while (continuationToken) {
|
|
86
102
|
result = await this._listNext(
|
|
87
103
|
resourceGroupName,
|
|
@@ -90,7 +106,9 @@ export class IncidentsImpl implements Incidents {
|
|
|
90
106
|
options
|
|
91
107
|
);
|
|
92
108
|
continuationToken = result.nextLink;
|
|
93
|
-
|
|
109
|
+
let page = result.value || [];
|
|
110
|
+
setContinuationToken(page, continuationToken);
|
|
111
|
+
yield page;
|
|
94
112
|
}
|
|
95
113
|
}
|
|
96
114
|
|
|
@@ -537,13 +555,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
537
555
|
bodyMapper: Mappers.CloudError
|
|
538
556
|
}
|
|
539
557
|
},
|
|
540
|
-
queryParameters: [
|
|
541
|
-
Parameters.apiVersion,
|
|
542
|
-
Parameters.filter,
|
|
543
|
-
Parameters.orderby,
|
|
544
|
-
Parameters.top,
|
|
545
|
-
Parameters.skipToken
|
|
546
|
-
],
|
|
547
558
|
urlParameters: [
|
|
548
559
|
Parameters.$host,
|
|
549
560
|
Parameters.subscriptionId,
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { Metadata } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -60,8 +61,16 @@ export class MetadataImpl implements Metadata {
|
|
|
60
61
|
[Symbol.asyncIterator]() {
|
|
61
62
|
return this;
|
|
62
63
|
},
|
|
63
|
-
byPage: () => {
|
|
64
|
-
|
|
64
|
+
byPage: (settings?: PageSettings) => {
|
|
65
|
+
if (settings?.maxPageSize) {
|
|
66
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
67
|
+
}
|
|
68
|
+
return this.listPagingPage(
|
|
69
|
+
resourceGroupName,
|
|
70
|
+
workspaceName,
|
|
71
|
+
options,
|
|
72
|
+
settings
|
|
73
|
+
);
|
|
65
74
|
}
|
|
66
75
|
};
|
|
67
76
|
}
|
|
@@ -69,11 +78,18 @@ export class MetadataImpl implements Metadata {
|
|
|
69
78
|
private async *listPagingPage(
|
|
70
79
|
resourceGroupName: string,
|
|
71
80
|
workspaceName: string,
|
|
72
|
-
options?: MetadataListOptionalParams
|
|
81
|
+
options?: MetadataListOptionalParams,
|
|
82
|
+
settings?: PageSettings
|
|
73
83
|
): AsyncIterableIterator<MetadataModel[]> {
|
|
74
|
-
let result
|
|
75
|
-
|
|
76
|
-
|
|
84
|
+
let result: MetadataListResponse;
|
|
85
|
+
let continuationToken = settings?.continuationToken;
|
|
86
|
+
if (!continuationToken) {
|
|
87
|
+
result = await this._list(resourceGroupName, workspaceName, options);
|
|
88
|
+
let page = result.value || [];
|
|
89
|
+
continuationToken = result.nextLink;
|
|
90
|
+
setContinuationToken(page, continuationToken);
|
|
91
|
+
yield page;
|
|
92
|
+
}
|
|
77
93
|
while (continuationToken) {
|
|
78
94
|
result = await this._listNext(
|
|
79
95
|
resourceGroupName,
|
|
@@ -82,7 +98,9 @@ export class MetadataImpl implements Metadata {
|
|
|
82
98
|
options
|
|
83
99
|
);
|
|
84
100
|
continuationToken = result.nextLink;
|
|
85
|
-
|
|
101
|
+
let page = result.value || [];
|
|
102
|
+
setContinuationToken(page, continuationToken);
|
|
103
|
+
yield page;
|
|
86
104
|
}
|
|
87
105
|
}
|
|
88
106
|
|
|
@@ -362,13 +380,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
362
380
|
bodyMapper: Mappers.CloudError
|
|
363
381
|
}
|
|
364
382
|
},
|
|
365
|
-
queryParameters: [
|
|
366
|
-
Parameters.apiVersion,
|
|
367
|
-
Parameters.filter,
|
|
368
|
-
Parameters.orderby,
|
|
369
|
-
Parameters.top,
|
|
370
|
-
Parameters.skip
|
|
371
|
-
],
|
|
372
383
|
urlParameters: [
|
|
373
384
|
Parameters.$host,
|
|
374
385
|
Parameters.subscriptionId,
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { OfficeConsents } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -55,8 +56,16 @@ export class OfficeConsentsImpl implements OfficeConsents {
|
|
|
55
56
|
[Symbol.asyncIterator]() {
|
|
56
57
|
return this;
|
|
57
58
|
},
|
|
58
|
-
byPage: () => {
|
|
59
|
-
|
|
59
|
+
byPage: (settings?: PageSettings) => {
|
|
60
|
+
if (settings?.maxPageSize) {
|
|
61
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
62
|
+
}
|
|
63
|
+
return this.listPagingPage(
|
|
64
|
+
resourceGroupName,
|
|
65
|
+
workspaceName,
|
|
66
|
+
options,
|
|
67
|
+
settings
|
|
68
|
+
);
|
|
60
69
|
}
|
|
61
70
|
};
|
|
62
71
|
}
|
|
@@ -64,11 +73,18 @@ export class OfficeConsentsImpl implements OfficeConsents {
|
|
|
64
73
|
private async *listPagingPage(
|
|
65
74
|
resourceGroupName: string,
|
|
66
75
|
workspaceName: string,
|
|
67
|
-
options?: OfficeConsentsListOptionalParams
|
|
76
|
+
options?: OfficeConsentsListOptionalParams,
|
|
77
|
+
settings?: PageSettings
|
|
68
78
|
): AsyncIterableIterator<OfficeConsent[]> {
|
|
69
|
-
let result
|
|
70
|
-
|
|
71
|
-
|
|
79
|
+
let result: OfficeConsentsListResponse;
|
|
80
|
+
let continuationToken = settings?.continuationToken;
|
|
81
|
+
if (!continuationToken) {
|
|
82
|
+
result = await this._list(resourceGroupName, workspaceName, options);
|
|
83
|
+
let page = result.value || [];
|
|
84
|
+
continuationToken = result.nextLink;
|
|
85
|
+
setContinuationToken(page, continuationToken);
|
|
86
|
+
yield page;
|
|
87
|
+
}
|
|
72
88
|
while (continuationToken) {
|
|
73
89
|
result = await this._listNext(
|
|
74
90
|
resourceGroupName,
|
|
@@ -77,7 +93,9 @@ export class OfficeConsentsImpl implements OfficeConsents {
|
|
|
77
93
|
options
|
|
78
94
|
);
|
|
79
95
|
continuationToken = result.nextLink;
|
|
80
|
-
|
|
96
|
+
let page = result.value || [];
|
|
97
|
+
setContinuationToken(page, continuationToken);
|
|
98
|
+
yield page;
|
|
81
99
|
}
|
|
82
100
|
}
|
|
83
101
|
|
|
@@ -250,7 +268,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
250
268
|
bodyMapper: Mappers.CloudError
|
|
251
269
|
}
|
|
252
270
|
},
|
|
253
|
-
queryParameters: [Parameters.apiVersion],
|
|
254
271
|
urlParameters: [
|
|
255
272
|
Parameters.$host,
|
|
256
273
|
Parameters.subscriptionId,
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { Operations } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -48,22 +49,34 @@ export class OperationsImpl implements Operations {
|
|
|
48
49
|
[Symbol.asyncIterator]() {
|
|
49
50
|
return this;
|
|
50
51
|
},
|
|
51
|
-
byPage: () => {
|
|
52
|
-
|
|
52
|
+
byPage: (settings?: PageSettings) => {
|
|
53
|
+
if (settings?.maxPageSize) {
|
|
54
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
55
|
+
}
|
|
56
|
+
return this.listPagingPage(options, settings);
|
|
53
57
|
}
|
|
54
58
|
};
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
private async *listPagingPage(
|
|
58
|
-
options?: OperationsListOptionalParams
|
|
62
|
+
options?: OperationsListOptionalParams,
|
|
63
|
+
settings?: PageSettings
|
|
59
64
|
): AsyncIterableIterator<Operation[]> {
|
|
60
|
-
let result
|
|
61
|
-
|
|
62
|
-
|
|
65
|
+
let result: OperationsListResponse;
|
|
66
|
+
let continuationToken = settings?.continuationToken;
|
|
67
|
+
if (!continuationToken) {
|
|
68
|
+
result = await this._list(options);
|
|
69
|
+
let page = result.value || [];
|
|
70
|
+
continuationToken = result.nextLink;
|
|
71
|
+
setContinuationToken(page, continuationToken);
|
|
72
|
+
yield page;
|
|
73
|
+
}
|
|
63
74
|
while (continuationToken) {
|
|
64
75
|
result = await this._listNext(continuationToken, options);
|
|
65
76
|
continuationToken = result.nextLink;
|
|
66
|
-
|
|
77
|
+
let page = result.value || [];
|
|
78
|
+
setContinuationToken(page, continuationToken);
|
|
79
|
+
yield page;
|
|
67
80
|
}
|
|
68
81
|
}
|
|
69
82
|
|
|
@@ -130,7 +143,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
130
143
|
bodyMapper: Mappers.CloudError
|
|
131
144
|
}
|
|
132
145
|
},
|
|
133
|
-
queryParameters: [Parameters.apiVersion],
|
|
134
146
|
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
135
147
|
headerParameters: [Parameters.accept],
|
|
136
148
|
serializer
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { SecurityMLAnalyticsSettings } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -58,8 +59,16 @@ export class SecurityMLAnalyticsSettingsImpl
|
|
|
58
59
|
[Symbol.asyncIterator]() {
|
|
59
60
|
return this;
|
|
60
61
|
},
|
|
61
|
-
byPage: () => {
|
|
62
|
-
|
|
62
|
+
byPage: (settings?: PageSettings) => {
|
|
63
|
+
if (settings?.maxPageSize) {
|
|
64
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
65
|
+
}
|
|
66
|
+
return this.listPagingPage(
|
|
67
|
+
resourceGroupName,
|
|
68
|
+
workspaceName,
|
|
69
|
+
options,
|
|
70
|
+
settings
|
|
71
|
+
);
|
|
63
72
|
}
|
|
64
73
|
};
|
|
65
74
|
}
|
|
@@ -67,11 +76,18 @@ export class SecurityMLAnalyticsSettingsImpl
|
|
|
67
76
|
private async *listPagingPage(
|
|
68
77
|
resourceGroupName: string,
|
|
69
78
|
workspaceName: string,
|
|
70
|
-
options?: SecurityMLAnalyticsSettingsListOptionalParams
|
|
79
|
+
options?: SecurityMLAnalyticsSettingsListOptionalParams,
|
|
80
|
+
settings?: PageSettings
|
|
71
81
|
): AsyncIterableIterator<SecurityMLAnalyticsSettingUnion[]> {
|
|
72
|
-
let result
|
|
73
|
-
|
|
74
|
-
|
|
82
|
+
let result: SecurityMLAnalyticsSettingsListResponse;
|
|
83
|
+
let continuationToken = settings?.continuationToken;
|
|
84
|
+
if (!continuationToken) {
|
|
85
|
+
result = await this._list(resourceGroupName, workspaceName, options);
|
|
86
|
+
let page = result.value || [];
|
|
87
|
+
continuationToken = result.nextLink;
|
|
88
|
+
setContinuationToken(page, continuationToken);
|
|
89
|
+
yield page;
|
|
90
|
+
}
|
|
75
91
|
while (continuationToken) {
|
|
76
92
|
result = await this._listNext(
|
|
77
93
|
resourceGroupName,
|
|
@@ -80,7 +96,9 @@ export class SecurityMLAnalyticsSettingsImpl
|
|
|
80
96
|
options
|
|
81
97
|
);
|
|
82
98
|
continuationToken = result.nextLink;
|
|
83
|
-
|
|
99
|
+
let page = result.value || [];
|
|
100
|
+
setContinuationToken(page, continuationToken);
|
|
101
|
+
yield page;
|
|
84
102
|
}
|
|
85
103
|
}
|
|
86
104
|
|
|
@@ -308,7 +326,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
308
326
|
bodyMapper: Mappers.CloudError
|
|
309
327
|
}
|
|
310
328
|
},
|
|
311
|
-
queryParameters: [Parameters.apiVersion],
|
|
312
329
|
urlParameters: [
|
|
313
330
|
Parameters.$host,
|
|
314
331
|
Parameters.subscriptionId,
|