@azure/arm-securityinsight 1.0.0-beta.4 → 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 +159 -0
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +1587 -606
- 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 +12 -4
- package/dist-esm/samples-dev/actionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/actionsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/actionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/actionsGetSample.js +12 -4
- package/dist-esm/samples-dev/actionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/actionsListByAlertRuleSample.js +12 -4
- package/dist-esm/samples-dev/actionsListByAlertRuleSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRuleTemplatesGetSample.js +12 -4
- package/dist-esm/samples-dev/alertRuleTemplatesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRuleTemplatesListSample.js +12 -4
- package/dist-esm/samples-dev/alertRuleTemplatesListSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js +33 -20
- package/dist-esm/samples-dev/alertRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesDeleteSample.js +12 -4
- package/dist-esm/samples-dev/alertRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesGetSample.js +27 -16
- package/dist-esm/samples-dev/alertRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/alertRulesListSample.js +12 -4
- package/dist-esm/samples-dev/alertRulesListSample.js.map +1 -1
- package/dist-esm/samples-dev/automationRulesCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/automationRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/automationRulesDeleteSample.js +12 -4
- package/dist-esm/samples-dev/automationRulesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/automationRulesGetSample.js +12 -4
- package/dist-esm/samples-dev/automationRulesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/automationRulesListSample.js +12 -4
- package/dist-esm/samples-dev/automationRulesListSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkExpandSample.js +12 -4
- package/dist-esm/samples-dev/bookmarkExpandSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkRelationsCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/bookmarkRelationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkRelationsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/bookmarkRelationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkRelationsGetSample.js +12 -4
- package/dist-esm/samples-dev/bookmarkRelationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarkRelationsListSample.js +12 -4
- package/dist-esm/samples-dev/bookmarkRelationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarksCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/bookmarksCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarksDeleteSample.js +12 -4
- package/dist-esm/samples-dev/bookmarksDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarksGetSample.js +12 -4
- package/dist-esm/samples-dev/bookmarksGetSample.js.map +1 -1
- package/dist-esm/samples-dev/bookmarksListSample.js +12 -4
- package/dist-esm/samples-dev/bookmarksListSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsCheckRequirementsPostSample.js +87 -64
- package/dist-esm/samples-dev/dataConnectorsCheckRequirementsPostSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsConnectSample.js +17 -8
- package/dist-esm/samples-dev/dataConnectorsConnectSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsCreateOrUpdateSample.js +49 -34
- package/dist-esm/samples-dev/dataConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsDeleteSample.js +32 -20
- package/dist-esm/samples-dev/dataConnectorsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsDisconnectSample.js +12 -4
- package/dist-esm/samples-dev/dataConnectorsDisconnectSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsGetSample.js +107 -80
- package/dist-esm/samples-dev/dataConnectorsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/dataConnectorsListSample.js +12 -4
- package/dist-esm/samples-dev/dataConnectorsListSample.js.map +1 -1
- package/dist-esm/samples-dev/domainWhoisGetSample.js +12 -4
- package/dist-esm/samples-dev/domainWhoisGetSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesExpandSample.js +12 -4
- package/dist-esm/samples-dev/entitiesExpandSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesGetInsightsSample.js +12 -4
- package/dist-esm/samples-dev/entitiesGetInsightsSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesGetSample.js +107 -80
- package/dist-esm/samples-dev/entitiesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesGetTimelineListSample.js +12 -4
- package/dist-esm/samples-dev/entitiesGetTimelineListSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesListSample.js +12 -4
- package/dist-esm/samples-dev/entitiesListSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesQueriesSample.js +12 -4
- package/dist-esm/samples-dev/entitiesQueriesSample.js.map +1 -1
- package/dist-esm/samples-dev/entitiesRelationsListSample.js +12 -4
- package/dist-esm/samples-dev/entitiesRelationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueriesCreateOrUpdateSample.js +13 -5
- package/dist-esm/samples-dev/entityQueriesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueriesDeleteSample.js +12 -4
- package/dist-esm/samples-dev/entityQueriesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueriesGetSample.js +17 -8
- package/dist-esm/samples-dev/entityQueriesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueriesListSample.js +12 -4
- package/dist-esm/samples-dev/entityQueriesListSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueryTemplatesGetSample.js +12 -4
- package/dist-esm/samples-dev/entityQueryTemplatesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/entityQueryTemplatesListSample.js +12 -4
- package/dist-esm/samples-dev/entityQueryTemplatesListSample.js.map +1 -1
- package/dist-esm/samples-dev/entityRelationsGetRelationSample.js +12 -4
- package/dist-esm/samples-dev/entityRelationsGetRelationSample.js.map +1 -1
- package/dist-esm/samples-dev/fileImportsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileImportsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileImportsCreateSample.js +46 -0
- package/dist-esm/samples-dev/fileImportsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/fileImportsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileImportsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileImportsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/fileImportsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/fileImportsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileImportsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileImportsGetSample.js +40 -0
- package/dist-esm/samples-dev/fileImportsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/fileImportsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileImportsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileImportsListSample.js +56 -0
- package/dist-esm/samples-dev/fileImportsListSample.js.map +1 -0
- package/dist-esm/samples-dev/incidentCommentsCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/incidentCommentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentCommentsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/incidentCommentsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentCommentsGetSample.js +12 -4
- package/dist-esm/samples-dev/incidentCommentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentCommentsListSample.js +12 -4
- package/dist-esm/samples-dev/incidentCommentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentRelationsCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/incidentRelationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentRelationsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/incidentRelationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentRelationsGetSample.js +12 -4
- package/dist-esm/samples-dev/incidentRelationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentRelationsListSample.js +12 -4
- package/dist-esm/samples-dev/incidentRelationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/incidentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsCreateTeamSample.js +13 -4
- package/dist-esm/samples-dev/incidentsCreateTeamSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/incidentsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsGetSample.js +12 -4
- package/dist-esm/samples-dev/incidentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsListAlertsSample.js +12 -4
- package/dist-esm/samples-dev/incidentsListAlertsSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsListBookmarksSample.js +12 -4
- package/dist-esm/samples-dev/incidentsListBookmarksSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsListEntitiesSample.js +12 -4
- package/dist-esm/samples-dev/incidentsListEntitiesSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsListSample.js +12 -4
- package/dist-esm/samples-dev/incidentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/incidentsRunPlaybookSample.js +12 -4
- package/dist-esm/samples-dev/incidentsRunPlaybookSample.js.map +1 -1
- package/dist-esm/samples-dev/ipGeodataGetSample.js +12 -4
- package/dist-esm/samples-dev/ipGeodataGetSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataCreateSample.js +17 -8
- package/dist-esm/samples-dev/metadataCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataDeleteSample.js +12 -4
- package/dist-esm/samples-dev/metadataDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataGetSample.js +12 -4
- package/dist-esm/samples-dev/metadataGetSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataListSample.js +17 -8
- package/dist-esm/samples-dev/metadataListSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataUpdateSample.js +12 -4
- package/dist-esm/samples-dev/metadataUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/officeConsentsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/officeConsentsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/officeConsentsGetSample.js +12 -4
- package/dist-esm/samples-dev/officeConsentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/officeConsentsListSample.js +12 -4
- package/dist-esm/samples-dev/officeConsentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/productSettingsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/productSettingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/productSettingsGetSample.js +12 -4
- package/dist-esm/samples-dev/productSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/productSettingsListSample.js +12 -4
- package/dist-esm/samples-dev/productSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/productSettingsUpdateSample.js +12 -4
- package/dist-esm/samples-dev/productSettingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsGetSample.js +12 -4
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsListSample.js +12 -4
- package/dist-esm/samples-dev/securityMlAnalyticsSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sentinelOnboardingStatesCreateSample.js +12 -4
- package/dist-esm/samples-dev/sentinelOnboardingStatesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/sentinelOnboardingStatesDeleteSample.js +12 -4
- package/dist-esm/samples-dev/sentinelOnboardingStatesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sentinelOnboardingStatesGetSample.js +12 -4
- package/dist-esm/samples-dev/sentinelOnboardingStatesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sentinelOnboardingStatesListSample.js +12 -4
- package/dist-esm/samples-dev/sentinelOnboardingStatesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlListRepositoriesSample.js +12 -4
- package/dist-esm/samples-dev/sourceControlListRepositoriesSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlsCreateSample.js +12 -4
- package/dist-esm/samples-dev/sourceControlsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/sourceControlsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlsGetSample.js +12 -4
- package/dist-esm/samples-dev/sourceControlsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sourceControlsListSample.js +12 -4
- package/dist-esm/samples-dev/sourceControlsListSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorAppendTagsSample.js +12 -4
- package/dist-esm/samples-dev/threatIntelligenceIndicatorAppendTagsSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateIndicatorSample.js +12 -4
- package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateIndicatorSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateSample.js +12 -4
- package/dist-esm/samples-dev/threatIntelligenceIndicatorCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorDeleteSample.js +12 -4
- package/dist-esm/samples-dev/threatIntelligenceIndicatorDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorGetSample.js +12 -4
- package/dist-esm/samples-dev/threatIntelligenceIndicatorGetSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorMetricsListSample.js +12 -4
- package/dist-esm/samples-dev/threatIntelligenceIndicatorMetricsListSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorQueryIndicatorsSample.js +12 -4
- package/dist-esm/samples-dev/threatIntelligenceIndicatorQueryIndicatorsSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorReplaceTagsSample.js +12 -4
- package/dist-esm/samples-dev/threatIntelligenceIndicatorReplaceTagsSample.js.map +1 -1
- package/dist-esm/samples-dev/threatIntelligenceIndicatorsListSample.js +12 -4
- package/dist-esm/samples-dev/threatIntelligenceIndicatorsListSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistItemsCreateOrUpdateSample.js +12 -4
- package/dist-esm/samples-dev/watchlistItemsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistItemsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/watchlistItemsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistItemsGetSample.js +12 -4
- package/dist-esm/samples-dev/watchlistItemsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistItemsListSample.js +12 -4
- package/dist-esm/samples-dev/watchlistItemsListSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistsCreateOrUpdateSample.js +17 -8
- package/dist-esm/samples-dev/watchlistsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/watchlistsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistsGetSample.js +12 -4
- package/dist-esm/samples-dev/watchlistsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/watchlistsListSample.js +12 -4
- 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/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +474 -82
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +98 -8
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +82 -63
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +511 -201
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +16 -2
- package/dist-esm/src/models/parameters.js.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 +72 -0
- package/dist-esm/src/operations/fileImports.d.ts.map +1 -0
- package/dist-esm/src/operations/fileImports.js +308 -0
- package/dist-esm/src/operations/fileImports.js.map +1 -0
- 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/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.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/operationsInterfaces/fileImports.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/fileImports.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileImports.js +9 -0
- package/dist-esm/src/operationsInterfaces/fileImports.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.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 +2 -1
- package/dist-esm/src/securityInsights.d.ts.map +1 -1
- package/dist-esm/src/securityInsights.js +7 -9
- package/dist-esm/src/securityInsights.js.map +1 -1
- package/dist-esm/test/securityinsights_examples.spec.d.ts +4 -0
- package/dist-esm/test/securityinsights_examples.spec.d.ts.map +1 -0
- package/dist-esm/test/securityinsights_examples.spec.js +98 -0
- package/dist-esm/test/securityinsights_examples.spec.js.map +1 -0
- package/package.json +10 -6
- package/review/arm-securityinsight.api.md +282 -34
- package/src/index.ts +1 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +526 -100
- package/src/models/mappers.ts +546 -201
- package/src/models/parameters.ts +18 -1
- 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 +421 -0
- package/src/operations/incidentComments.ts +27 -20
- package/src/operations/incidentRelations.ts +27 -20
- package/src/operations/incidents.ts +27 -16
- package/src/operations/index.ts +1 -0
- 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/operationsInterfaces/fileImports.ts +95 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/pagingHelper.ts +39 -0
- package/src/securityInsights.ts +10 -7
- package/types/arm-securityinsight.d.ts +549 -67
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var coreClient = require('@azure/core-client');
|
|
7
7
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
+
var coreLro = require('@azure/core-lro');
|
|
8
9
|
|
|
9
10
|
function _interopNamespace(e) {
|
|
10
11
|
if (e && e.__esModule) return e;
|
|
@@ -27,6 +28,38 @@ function _interopNamespace(e) {
|
|
|
27
28
|
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
29
|
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
29
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
|
+
|
|
30
63
|
/*
|
|
31
64
|
* Copyright (c) Microsoft Corporation.
|
|
32
65
|
* Licensed under the MIT License.
|
|
@@ -83,10 +116,14 @@ exports.KnownConditionType = void 0;
|
|
|
83
116
|
(function (KnownConditionType) {
|
|
84
117
|
/** Evaluate an object property value */
|
|
85
118
|
KnownConditionType["Property"] = "Property";
|
|
119
|
+
/** Evaluate an object array property value */
|
|
120
|
+
KnownConditionType["PropertyArray"] = "PropertyArray";
|
|
86
121
|
/** Evaluate an object property changed value */
|
|
87
122
|
KnownConditionType["PropertyChanged"] = "PropertyChanged";
|
|
88
123
|
/** Evaluate an object array property changed value */
|
|
89
124
|
KnownConditionType["PropertyArrayChanged"] = "PropertyArrayChanged";
|
|
125
|
+
/** Apply a boolean operator (e.g AND, OR) to conditions */
|
|
126
|
+
KnownConditionType["Boolean"] = "Boolean";
|
|
90
127
|
})(exports.KnownConditionType || (exports.KnownConditionType = {}));
|
|
91
128
|
/** Known values of {@link ActionType} that the service accepts. */
|
|
92
129
|
exports.KnownActionType = void 0;
|
|
@@ -248,6 +285,64 @@ exports.KnownEntityQueryTemplateKind = void 0;
|
|
|
248
285
|
/** Activity */
|
|
249
286
|
KnownEntityQueryTemplateKind["Activity"] = "Activity";
|
|
250
287
|
})(exports.KnownEntityQueryTemplateKind || (exports.KnownEntityQueryTemplateKind = {}));
|
|
288
|
+
/** Known values of {@link IngestionMode} that the service accepts. */
|
|
289
|
+
exports.KnownIngestionMode = void 0;
|
|
290
|
+
(function (KnownIngestionMode) {
|
|
291
|
+
/** No records should be ingested when invalid records are detected. */
|
|
292
|
+
KnownIngestionMode["IngestOnlyIfAllAreValid"] = "IngestOnlyIfAllAreValid";
|
|
293
|
+
/** Valid records should still be ingested when invalid records are detected. */
|
|
294
|
+
KnownIngestionMode["IngestAnyValidRecords"] = "IngestAnyValidRecords";
|
|
295
|
+
/** Unspecified */
|
|
296
|
+
KnownIngestionMode["Unspecified"] = "Unspecified";
|
|
297
|
+
})(exports.KnownIngestionMode || (exports.KnownIngestionMode = {}));
|
|
298
|
+
/** Known values of {@link FileImportContentType} that the service accepts. */
|
|
299
|
+
exports.KnownFileImportContentType = void 0;
|
|
300
|
+
(function (KnownFileImportContentType) {
|
|
301
|
+
/** File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. */
|
|
302
|
+
KnownFileImportContentType["BasicIndicator"] = "BasicIndicator";
|
|
303
|
+
/** File containing STIX indicators. */
|
|
304
|
+
KnownFileImportContentType["StixIndicator"] = "StixIndicator";
|
|
305
|
+
/** File containing other records. */
|
|
306
|
+
KnownFileImportContentType["Unspecified"] = "Unspecified";
|
|
307
|
+
})(exports.KnownFileImportContentType || (exports.KnownFileImportContentType = {}));
|
|
308
|
+
/** Known values of {@link FileFormat} that the service accepts. */
|
|
309
|
+
exports.KnownFileFormat = void 0;
|
|
310
|
+
(function (KnownFileFormat) {
|
|
311
|
+
/** A CSV file. */
|
|
312
|
+
KnownFileFormat["CSV"] = "CSV";
|
|
313
|
+
/** A JSON file. */
|
|
314
|
+
KnownFileFormat["Json"] = "JSON";
|
|
315
|
+
/** A file of other format. */
|
|
316
|
+
KnownFileFormat["Unspecified"] = "Unspecified";
|
|
317
|
+
})(exports.KnownFileFormat || (exports.KnownFileFormat = {}));
|
|
318
|
+
/** Known values of {@link DeleteStatus} that the service accepts. */
|
|
319
|
+
exports.KnownDeleteStatus = void 0;
|
|
320
|
+
(function (KnownDeleteStatus) {
|
|
321
|
+
/** The file was deleted. */
|
|
322
|
+
KnownDeleteStatus["Deleted"] = "Deleted";
|
|
323
|
+
/** The file was not deleted. */
|
|
324
|
+
KnownDeleteStatus["NotDeleted"] = "NotDeleted";
|
|
325
|
+
/** Unspecified */
|
|
326
|
+
KnownDeleteStatus["Unspecified"] = "Unspecified";
|
|
327
|
+
})(exports.KnownDeleteStatus || (exports.KnownDeleteStatus = {}));
|
|
328
|
+
/** Known values of {@link FileImportState} that the service accepts. */
|
|
329
|
+
exports.KnownFileImportState = void 0;
|
|
330
|
+
(function (KnownFileImportState) {
|
|
331
|
+
/** A fatal error has occurred while ingesting the file. */
|
|
332
|
+
KnownFileImportState["FatalError"] = "FatalError";
|
|
333
|
+
/** The file has been ingested. */
|
|
334
|
+
KnownFileImportState["Ingested"] = "Ingested";
|
|
335
|
+
/** The file has been ingested with errors. */
|
|
336
|
+
KnownFileImportState["IngestedWithErrors"] = "IngestedWithErrors";
|
|
337
|
+
/** The file ingestion is in progress. */
|
|
338
|
+
KnownFileImportState["InProgress"] = "InProgress";
|
|
339
|
+
/** The file is invalid. */
|
|
340
|
+
KnownFileImportState["Invalid"] = "Invalid";
|
|
341
|
+
/** Waiting for the file to be uploaded. */
|
|
342
|
+
KnownFileImportState["WaitingForUpload"] = "WaitingForUpload";
|
|
343
|
+
/** Unspecified state. */
|
|
344
|
+
KnownFileImportState["Unspecified"] = "Unspecified";
|
|
345
|
+
})(exports.KnownFileImportState || (exports.KnownFileImportState = {}));
|
|
251
346
|
/** Known values of {@link IncidentClassification} that the service accepts. */
|
|
252
347
|
exports.KnownIncidentClassification = void 0;
|
|
253
348
|
(function (KnownIncidentClassification) {
|
|
@@ -668,6 +763,14 @@ exports.KnownEntityMappingType = void 0;
|
|
|
668
763
|
/** Submission mail entity type */
|
|
669
764
|
KnownEntityMappingType["SubmissionMail"] = "SubmissionMail";
|
|
670
765
|
})(exports.KnownEntityMappingType || (exports.KnownEntityMappingType = {}));
|
|
766
|
+
/** Known values of {@link EventGroupingAggregationKind} that the service accepts. */
|
|
767
|
+
exports.KnownEventGroupingAggregationKind = void 0;
|
|
768
|
+
(function (KnownEventGroupingAggregationKind) {
|
|
769
|
+
/** SingleAlert */
|
|
770
|
+
KnownEventGroupingAggregationKind["SingleAlert"] = "SingleAlert";
|
|
771
|
+
/** AlertPerResult */
|
|
772
|
+
KnownEventGroupingAggregationKind["AlertPerResult"] = "AlertPerResult";
|
|
773
|
+
})(exports.KnownEventGroupingAggregationKind || (exports.KnownEventGroupingAggregationKind = {}));
|
|
671
774
|
/** Known values of {@link MicrosoftSecurityProductName} that the service accepts. */
|
|
672
775
|
exports.KnownMicrosoftSecurityProductName = void 0;
|
|
673
776
|
(function (KnownMicrosoftSecurityProductName) {
|
|
@@ -704,14 +807,14 @@ exports.KnownAlertDetail = void 0;
|
|
|
704
807
|
/** Alert severity */
|
|
705
808
|
KnownAlertDetail["Severity"] = "Severity";
|
|
706
809
|
})(exports.KnownAlertDetail || (exports.KnownAlertDetail = {}));
|
|
707
|
-
/** Known values of {@link
|
|
708
|
-
exports.
|
|
709
|
-
(function (
|
|
710
|
-
/**
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
|
|
714
|
-
})(exports.
|
|
810
|
+
/** Known values of {@link AutomationRuleBooleanConditionSupportedOperator} that the service accepts. */
|
|
811
|
+
exports.KnownAutomationRuleBooleanConditionSupportedOperator = void 0;
|
|
812
|
+
(function (KnownAutomationRuleBooleanConditionSupportedOperator) {
|
|
813
|
+
/** Evaluates as true if all the item conditions are evaluated as true */
|
|
814
|
+
KnownAutomationRuleBooleanConditionSupportedOperator["And"] = "And";
|
|
815
|
+
/** Evaluates as true if at least one of the item conditions are evaluated as true */
|
|
816
|
+
KnownAutomationRuleBooleanConditionSupportedOperator["Or"] = "Or";
|
|
817
|
+
})(exports.KnownAutomationRuleBooleanConditionSupportedOperator || (exports.KnownAutomationRuleBooleanConditionSupportedOperator = {}));
|
|
715
818
|
/** Known values of {@link AutomationRulePropertyArrayChangedConditionSupportedArrayType} that the service accepts. */
|
|
716
819
|
exports.KnownAutomationRulePropertyArrayChangedConditionSupportedArrayType = void 0;
|
|
717
820
|
(function (KnownAutomationRulePropertyArrayChangedConditionSupportedArrayType) {
|
|
@@ -730,6 +833,20 @@ exports.KnownAutomationRulePropertyArrayChangedConditionSupportedChangeType = vo
|
|
|
730
833
|
/** Evaluate the condition on items added to the array */
|
|
731
834
|
KnownAutomationRulePropertyArrayChangedConditionSupportedChangeType["Added"] = "Added";
|
|
732
835
|
})(exports.KnownAutomationRulePropertyArrayChangedConditionSupportedChangeType || (exports.KnownAutomationRulePropertyArrayChangedConditionSupportedChangeType = {}));
|
|
836
|
+
/** Known values of {@link AutomationRulePropertyArrayConditionSupportedArrayType} that the service accepts. */
|
|
837
|
+
exports.KnownAutomationRulePropertyArrayConditionSupportedArrayType = void 0;
|
|
838
|
+
(function (KnownAutomationRulePropertyArrayConditionSupportedArrayType) {
|
|
839
|
+
/** Evaluate the condition on the custom detail keys */
|
|
840
|
+
KnownAutomationRulePropertyArrayConditionSupportedArrayType["CustomDetails"] = "CustomDetails";
|
|
841
|
+
/** Evaluate the condition on a custom detail's values */
|
|
842
|
+
KnownAutomationRulePropertyArrayConditionSupportedArrayType["CustomDetailValues"] = "CustomDetailValues";
|
|
843
|
+
})(exports.KnownAutomationRulePropertyArrayConditionSupportedArrayType || (exports.KnownAutomationRulePropertyArrayConditionSupportedArrayType = {}));
|
|
844
|
+
/** Known values of {@link AutomationRulePropertyArrayConditionSupportedArrayConditionType} that the service accepts. */
|
|
845
|
+
exports.KnownAutomationRulePropertyArrayConditionSupportedArrayConditionType = void 0;
|
|
846
|
+
(function (KnownAutomationRulePropertyArrayConditionSupportedArrayConditionType) {
|
|
847
|
+
/** Evaluate the condition as true if any item fulfills it */
|
|
848
|
+
KnownAutomationRulePropertyArrayConditionSupportedArrayConditionType["AnyItem"] = "AnyItem";
|
|
849
|
+
})(exports.KnownAutomationRulePropertyArrayConditionSupportedArrayConditionType || (exports.KnownAutomationRulePropertyArrayConditionSupportedArrayConditionType = {}));
|
|
733
850
|
/** Known values of {@link AutomationRulePropertyChangedConditionSupportedPropertyType} that the service accepts. */
|
|
734
851
|
exports.KnownAutomationRulePropertyChangedConditionSupportedPropertyType = void 0;
|
|
735
852
|
(function (KnownAutomationRulePropertyChangedConditionSupportedPropertyType) {
|
|
@@ -787,6 +904,12 @@ exports.KnownAutomationRulePropertyConditionSupportedProperty = void 0;
|
|
|
787
904
|
KnownAutomationRulePropertyConditionSupportedProperty["IncidentLabel"] = "IncidentLabel";
|
|
788
905
|
/** The provider name of the incident */
|
|
789
906
|
KnownAutomationRulePropertyConditionSupportedProperty["IncidentProviderName"] = "IncidentProviderName";
|
|
907
|
+
/** The update source of the incident */
|
|
908
|
+
KnownAutomationRulePropertyConditionSupportedProperty["IncidentUpdatedBySource"] = "IncidentUpdatedBySource";
|
|
909
|
+
/** The incident custom detail key */
|
|
910
|
+
KnownAutomationRulePropertyConditionSupportedProperty["IncidentCustomDetailsKey"] = "IncidentCustomDetailsKey";
|
|
911
|
+
/** The incident custom detail value */
|
|
912
|
+
KnownAutomationRulePropertyConditionSupportedProperty["IncidentCustomDetailsValue"] = "IncidentCustomDetailsValue";
|
|
790
913
|
/** The account Azure Active Directory tenant id */
|
|
791
914
|
KnownAutomationRulePropertyConditionSupportedProperty["AccountAadTenantId"] = "AccountAadTenantId";
|
|
792
915
|
/** The account Azure Active Directory user id */
|
|
@@ -1504,6 +1627,7 @@ const ManualTriggerRequestBody = {
|
|
|
1504
1627
|
},
|
|
1505
1628
|
logicAppsResourceId: {
|
|
1506
1629
|
serializedName: "logicAppsResourceId",
|
|
1630
|
+
required: true,
|
|
1507
1631
|
type: {
|
|
1508
1632
|
name: "String"
|
|
1509
1633
|
}
|
|
@@ -2840,6 +2964,100 @@ const EntityQueryTemplateList = {
|
|
|
2840
2964
|
}
|
|
2841
2965
|
}
|
|
2842
2966
|
};
|
|
2967
|
+
const FileImportList = {
|
|
2968
|
+
type: {
|
|
2969
|
+
name: "Composite",
|
|
2970
|
+
className: "FileImportList",
|
|
2971
|
+
modelProperties: {
|
|
2972
|
+
nextLink: {
|
|
2973
|
+
serializedName: "nextLink",
|
|
2974
|
+
readOnly: true,
|
|
2975
|
+
type: {
|
|
2976
|
+
name: "String"
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
value: {
|
|
2980
|
+
serializedName: "value",
|
|
2981
|
+
required: true,
|
|
2982
|
+
type: {
|
|
2983
|
+
name: "Sequence",
|
|
2984
|
+
element: {
|
|
2985
|
+
type: {
|
|
2986
|
+
name: "Composite",
|
|
2987
|
+
className: "FileImport"
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2993
|
+
}
|
|
2994
|
+
};
|
|
2995
|
+
const FileMetadata = {
|
|
2996
|
+
type: {
|
|
2997
|
+
name: "Composite",
|
|
2998
|
+
className: "FileMetadata",
|
|
2999
|
+
modelProperties: {
|
|
3000
|
+
fileFormat: {
|
|
3001
|
+
serializedName: "fileFormat",
|
|
3002
|
+
type: {
|
|
3003
|
+
name: "String"
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
fileName: {
|
|
3007
|
+
serializedName: "fileName",
|
|
3008
|
+
type: {
|
|
3009
|
+
name: "String"
|
|
3010
|
+
}
|
|
3011
|
+
},
|
|
3012
|
+
fileSize: {
|
|
3013
|
+
serializedName: "fileSize",
|
|
3014
|
+
type: {
|
|
3015
|
+
name: "Number"
|
|
3016
|
+
}
|
|
3017
|
+
},
|
|
3018
|
+
fileContentUri: {
|
|
3019
|
+
serializedName: "fileContentUri",
|
|
3020
|
+
readOnly: true,
|
|
3021
|
+
type: {
|
|
3022
|
+
name: "String"
|
|
3023
|
+
}
|
|
3024
|
+
},
|
|
3025
|
+
deleteStatus: {
|
|
3026
|
+
serializedName: "deleteStatus",
|
|
3027
|
+
readOnly: true,
|
|
3028
|
+
type: {
|
|
3029
|
+
name: "String"
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
}
|
|
3033
|
+
}
|
|
3034
|
+
};
|
|
3035
|
+
const ValidationError = {
|
|
3036
|
+
type: {
|
|
3037
|
+
name: "Composite",
|
|
3038
|
+
className: "ValidationError",
|
|
3039
|
+
modelProperties: {
|
|
3040
|
+
recordIndex: {
|
|
3041
|
+
serializedName: "recordIndex",
|
|
3042
|
+
type: {
|
|
3043
|
+
name: "Number"
|
|
3044
|
+
}
|
|
3045
|
+
},
|
|
3046
|
+
errorMessages: {
|
|
3047
|
+
serializedName: "errorMessages",
|
|
3048
|
+
readOnly: true,
|
|
3049
|
+
type: {
|
|
3050
|
+
name: "Sequence",
|
|
3051
|
+
element: {
|
|
3052
|
+
type: {
|
|
3053
|
+
name: "String"
|
|
3054
|
+
}
|
|
3055
|
+
}
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
3060
|
+
};
|
|
2843
3061
|
const IncidentList = {
|
|
2844
3062
|
type: {
|
|
2845
3063
|
name: "Composite",
|
|
@@ -4714,6 +4932,13 @@ const QueryBasedAlertRuleTemplateProperties = {
|
|
|
4714
4932
|
name: "Composite",
|
|
4715
4933
|
className: "AlertDetailsOverride"
|
|
4716
4934
|
}
|
|
4935
|
+
},
|
|
4936
|
+
eventGroupingSettings: {
|
|
4937
|
+
serializedName: "eventGroupingSettings",
|
|
4938
|
+
type: {
|
|
4939
|
+
name: "Composite",
|
|
4940
|
+
className: "EventGroupingSettings"
|
|
4941
|
+
}
|
|
4717
4942
|
}
|
|
4718
4943
|
}
|
|
4719
4944
|
}
|
|
@@ -4796,6 +5021,20 @@ const AlertDetailsOverride = {
|
|
|
4796
5021
|
}
|
|
4797
5022
|
}
|
|
4798
5023
|
};
|
|
5024
|
+
const EventGroupingSettings = {
|
|
5025
|
+
type: {
|
|
5026
|
+
name: "Composite",
|
|
5027
|
+
className: "EventGroupingSettings",
|
|
5028
|
+
modelProperties: {
|
|
5029
|
+
aggregationKind: {
|
|
5030
|
+
serializedName: "aggregationKind",
|
|
5031
|
+
type: {
|
|
5032
|
+
name: "String"
|
|
5033
|
+
}
|
|
5034
|
+
}
|
|
5035
|
+
}
|
|
5036
|
+
}
|
|
5037
|
+
};
|
|
4799
5038
|
const FusionSourceSettings = {
|
|
4800
5039
|
type: {
|
|
4801
5040
|
name: "Composite",
|
|
@@ -5236,16 +5475,32 @@ const ScheduledAlertRuleCommonProperties = {
|
|
|
5236
5475
|
}
|
|
5237
5476
|
}
|
|
5238
5477
|
};
|
|
5239
|
-
const
|
|
5478
|
+
const AutomationRuleBooleanCondition = {
|
|
5240
5479
|
type: {
|
|
5241
5480
|
name: "Composite",
|
|
5242
|
-
className: "
|
|
5481
|
+
className: "AutomationRuleBooleanCondition",
|
|
5243
5482
|
modelProperties: {
|
|
5244
|
-
|
|
5245
|
-
serializedName: "
|
|
5483
|
+
operator: {
|
|
5484
|
+
serializedName: "operator",
|
|
5246
5485
|
type: {
|
|
5247
5486
|
name: "String"
|
|
5248
5487
|
}
|
|
5488
|
+
},
|
|
5489
|
+
innerConditions: {
|
|
5490
|
+
constraints: {
|
|
5491
|
+
MinItems: 2,
|
|
5492
|
+
MaxItems: 10
|
|
5493
|
+
},
|
|
5494
|
+
serializedName: "innerConditions",
|
|
5495
|
+
type: {
|
|
5496
|
+
name: "Sequence",
|
|
5497
|
+
element: {
|
|
5498
|
+
type: {
|
|
5499
|
+
name: "Composite",
|
|
5500
|
+
className: "AutomationRuleCondition"
|
|
5501
|
+
}
|
|
5502
|
+
}
|
|
5503
|
+
}
|
|
5249
5504
|
}
|
|
5250
5505
|
}
|
|
5251
5506
|
}
|
|
@@ -5327,6 +5582,41 @@ const AutomationRulePropertyArrayChangedValuesCondition = {
|
|
|
5327
5582
|
}
|
|
5328
5583
|
}
|
|
5329
5584
|
};
|
|
5585
|
+
const AutomationRulePropertyArrayValuesCondition = {
|
|
5586
|
+
type: {
|
|
5587
|
+
name: "Composite",
|
|
5588
|
+
className: "AutomationRulePropertyArrayValuesCondition",
|
|
5589
|
+
modelProperties: {
|
|
5590
|
+
arrayType: {
|
|
5591
|
+
serializedName: "arrayType",
|
|
5592
|
+
type: {
|
|
5593
|
+
name: "String"
|
|
5594
|
+
}
|
|
5595
|
+
},
|
|
5596
|
+
arrayConditionType: {
|
|
5597
|
+
serializedName: "arrayConditionType",
|
|
5598
|
+
type: {
|
|
5599
|
+
name: "String"
|
|
5600
|
+
}
|
|
5601
|
+
},
|
|
5602
|
+
itemConditions: {
|
|
5603
|
+
constraints: {
|
|
5604
|
+
MaxItems: 10
|
|
5605
|
+
},
|
|
5606
|
+
serializedName: "itemConditions",
|
|
5607
|
+
type: {
|
|
5608
|
+
name: "Sequence",
|
|
5609
|
+
element: {
|
|
5610
|
+
type: {
|
|
5611
|
+
name: "Composite",
|
|
5612
|
+
className: "AutomationRuleCondition"
|
|
5613
|
+
}
|
|
5614
|
+
}
|
|
5615
|
+
}
|
|
5616
|
+
}
|
|
5617
|
+
}
|
|
5618
|
+
}
|
|
5619
|
+
};
|
|
5330
5620
|
const AutomationRulePropertyValuesChangedCondition = {
|
|
5331
5621
|
type: {
|
|
5332
5622
|
name: "Composite",
|
|
@@ -6858,6 +7148,94 @@ const EntityQueryTemplate = {
|
|
|
6858
7148
|
} })
|
|
6859
7149
|
}
|
|
6860
7150
|
};
|
|
7151
|
+
const FileImport = {
|
|
7152
|
+
type: {
|
|
7153
|
+
name: "Composite",
|
|
7154
|
+
className: "FileImport",
|
|
7155
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { ingestionMode: {
|
|
7156
|
+
serializedName: "properties.ingestionMode",
|
|
7157
|
+
type: {
|
|
7158
|
+
name: "String"
|
|
7159
|
+
}
|
|
7160
|
+
}, contentType: {
|
|
7161
|
+
serializedName: "properties.contentType",
|
|
7162
|
+
type: {
|
|
7163
|
+
name: "String"
|
|
7164
|
+
}
|
|
7165
|
+
}, createdTimeUTC: {
|
|
7166
|
+
serializedName: "properties.createdTimeUTC",
|
|
7167
|
+
readOnly: true,
|
|
7168
|
+
type: {
|
|
7169
|
+
name: "DateTime"
|
|
7170
|
+
}
|
|
7171
|
+
}, errorFile: {
|
|
7172
|
+
serializedName: "properties.errorFile",
|
|
7173
|
+
type: {
|
|
7174
|
+
name: "Composite",
|
|
7175
|
+
className: "FileMetadata"
|
|
7176
|
+
}
|
|
7177
|
+
}, errorsPreview: {
|
|
7178
|
+
serializedName: "properties.errorsPreview",
|
|
7179
|
+
readOnly: true,
|
|
7180
|
+
type: {
|
|
7181
|
+
name: "Sequence",
|
|
7182
|
+
element: {
|
|
7183
|
+
type: {
|
|
7184
|
+
name: "Composite",
|
|
7185
|
+
className: "ValidationError"
|
|
7186
|
+
}
|
|
7187
|
+
}
|
|
7188
|
+
}
|
|
7189
|
+
}, importFile: {
|
|
7190
|
+
serializedName: "properties.importFile",
|
|
7191
|
+
type: {
|
|
7192
|
+
name: "Composite",
|
|
7193
|
+
className: "FileMetadata"
|
|
7194
|
+
}
|
|
7195
|
+
}, ingestedRecordCount: {
|
|
7196
|
+
serializedName: "properties.ingestedRecordCount",
|
|
7197
|
+
readOnly: true,
|
|
7198
|
+
type: {
|
|
7199
|
+
name: "Number"
|
|
7200
|
+
}
|
|
7201
|
+
}, source: {
|
|
7202
|
+
serializedName: "properties.source",
|
|
7203
|
+
type: {
|
|
7204
|
+
name: "String"
|
|
7205
|
+
}
|
|
7206
|
+
}, state: {
|
|
7207
|
+
serializedName: "properties.state",
|
|
7208
|
+
readOnly: true,
|
|
7209
|
+
type: {
|
|
7210
|
+
name: "String"
|
|
7211
|
+
}
|
|
7212
|
+
}, totalRecordCount: {
|
|
7213
|
+
serializedName: "properties.totalRecordCount",
|
|
7214
|
+
readOnly: true,
|
|
7215
|
+
type: {
|
|
7216
|
+
name: "Number"
|
|
7217
|
+
}
|
|
7218
|
+
}, validRecordCount: {
|
|
7219
|
+
serializedName: "properties.validRecordCount",
|
|
7220
|
+
readOnly: true,
|
|
7221
|
+
type: {
|
|
7222
|
+
name: "Number"
|
|
7223
|
+
}
|
|
7224
|
+
}, filesValidUntilTimeUTC: {
|
|
7225
|
+
serializedName: "properties.filesValidUntilTimeUTC",
|
|
7226
|
+
readOnly: true,
|
|
7227
|
+
type: {
|
|
7228
|
+
name: "DateTime"
|
|
7229
|
+
}
|
|
7230
|
+
}, importValidUntilTimeUTC: {
|
|
7231
|
+
serializedName: "properties.importValidUntilTimeUTC",
|
|
7232
|
+
readOnly: true,
|
|
7233
|
+
type: {
|
|
7234
|
+
name: "DateTime"
|
|
7235
|
+
}
|
|
7236
|
+
} })
|
|
7237
|
+
}
|
|
7238
|
+
};
|
|
6861
7239
|
const OfficeConsent = {
|
|
6862
7240
|
type: {
|
|
6863
7241
|
name: "Composite",
|
|
@@ -6900,6 +7278,22 @@ const ActionRequestProperties = {
|
|
|
6900
7278
|
} })
|
|
6901
7279
|
}
|
|
6902
7280
|
};
|
|
7281
|
+
const BooleanConditionProperties = {
|
|
7282
|
+
serializedName: "Boolean",
|
|
7283
|
+
type: {
|
|
7284
|
+
name: "Composite",
|
|
7285
|
+
className: "BooleanConditionProperties",
|
|
7286
|
+
uberParent: "AutomationRuleCondition",
|
|
7287
|
+
polymorphicDiscriminator: AutomationRuleCondition.type.polymorphicDiscriminator,
|
|
7288
|
+
modelProperties: Object.assign(Object.assign({}, AutomationRuleCondition.type.modelProperties), { conditionProperties: {
|
|
7289
|
+
serializedName: "conditionProperties",
|
|
7290
|
+
type: {
|
|
7291
|
+
name: "Composite",
|
|
7292
|
+
className: "AutomationRuleBooleanCondition"
|
|
7293
|
+
}
|
|
7294
|
+
} })
|
|
7295
|
+
}
|
|
7296
|
+
};
|
|
6903
7297
|
const PropertyArrayChangedConditionProperties = {
|
|
6904
7298
|
serializedName: "PropertyArrayChanged",
|
|
6905
7299
|
type: {
|
|
@@ -6916,6 +7310,22 @@ const PropertyArrayChangedConditionProperties = {
|
|
|
6916
7310
|
} })
|
|
6917
7311
|
}
|
|
6918
7312
|
};
|
|
7313
|
+
const PropertyArrayConditionProperties = {
|
|
7314
|
+
serializedName: "PropertyArray",
|
|
7315
|
+
type: {
|
|
7316
|
+
name: "Composite",
|
|
7317
|
+
className: "PropertyArrayConditionProperties",
|
|
7318
|
+
uberParent: "AutomationRuleCondition",
|
|
7319
|
+
polymorphicDiscriminator: AutomationRuleCondition.type.polymorphicDiscriminator,
|
|
7320
|
+
modelProperties: Object.assign(Object.assign({}, AutomationRuleCondition.type.modelProperties), { conditionProperties: {
|
|
7321
|
+
serializedName: "conditionProperties",
|
|
7322
|
+
type: {
|
|
7323
|
+
name: "Composite",
|
|
7324
|
+
className: "AutomationRulePropertyArrayValuesCondition"
|
|
7325
|
+
}
|
|
7326
|
+
} })
|
|
7327
|
+
}
|
|
7328
|
+
};
|
|
6919
7329
|
const PropertyChangedConditionProperties = {
|
|
6920
7330
|
serializedName: "PropertyChanged",
|
|
6921
7331
|
type: {
|
|
@@ -9790,7 +10200,7 @@ const AlertRule = {
|
|
|
9790
10200
|
type: {
|
|
9791
10201
|
name: "Composite",
|
|
9792
10202
|
className: "AlertRule",
|
|
9793
|
-
uberParent: "
|
|
10203
|
+
uberParent: "ResourceWithEtag",
|
|
9794
10204
|
polymorphicDiscriminator: {
|
|
9795
10205
|
serializedName: "kind",
|
|
9796
10206
|
clientName: "kind"
|
|
@@ -10055,7 +10465,7 @@ const EntityQuery = {
|
|
|
10055
10465
|
type: {
|
|
10056
10466
|
name: "Composite",
|
|
10057
10467
|
className: "EntityQuery",
|
|
10058
|
-
uberParent: "
|
|
10468
|
+
uberParent: "ResourceWithEtag",
|
|
10059
10469
|
polymorphicDiscriminator: {
|
|
10060
10470
|
serializedName: "kind",
|
|
10061
10471
|
clientName: "kind"
|
|
@@ -10074,7 +10484,7 @@ const CustomEntityQuery = {
|
|
|
10074
10484
|
type: {
|
|
10075
10485
|
name: "Composite",
|
|
10076
10486
|
className: "CustomEntityQuery",
|
|
10077
|
-
uberParent: "
|
|
10487
|
+
uberParent: "ResourceWithEtag",
|
|
10078
10488
|
polymorphicDiscriminator: {
|
|
10079
10489
|
serializedName: "kind",
|
|
10080
10490
|
clientName: "kind"
|
|
@@ -10525,7 +10935,7 @@ const SecurityMLAnalyticsSetting = {
|
|
|
10525
10935
|
type: {
|
|
10526
10936
|
name: "Composite",
|
|
10527
10937
|
className: "SecurityMLAnalyticsSetting",
|
|
10528
|
-
uberParent: "
|
|
10938
|
+
uberParent: "ResourceWithEtag",
|
|
10529
10939
|
polymorphicDiscriminator: {
|
|
10530
10940
|
serializedName: "kind",
|
|
10531
10941
|
clientName: "kind"
|
|
@@ -10544,7 +10954,7 @@ const Settings = {
|
|
|
10544
10954
|
type: {
|
|
10545
10955
|
name: "Composite",
|
|
10546
10956
|
className: "Settings",
|
|
10547
|
-
uberParent: "
|
|
10957
|
+
uberParent: "ResourceWithEtag",
|
|
10548
10958
|
polymorphicDiscriminator: {
|
|
10549
10959
|
serializedName: "kind",
|
|
10550
10960
|
clientName: "kind"
|
|
@@ -10623,7 +11033,7 @@ const ThreatIntelligenceInformation = {
|
|
|
10623
11033
|
type: {
|
|
10624
11034
|
name: "Composite",
|
|
10625
11035
|
className: "ThreatIntelligenceInformation",
|
|
10626
|
-
uberParent: "
|
|
11036
|
+
uberParent: "ResourceWithEtag",
|
|
10627
11037
|
polymorphicDiscriminator: {
|
|
10628
11038
|
serializedName: "kind",
|
|
10629
11039
|
clientName: "kind"
|
|
@@ -10822,7 +11232,7 @@ const DataConnector = {
|
|
|
10822
11232
|
type: {
|
|
10823
11233
|
name: "Composite",
|
|
10824
11234
|
className: "DataConnector",
|
|
10825
|
-
uberParent: "
|
|
11235
|
+
uberParent: "ResourceWithEtag",
|
|
10826
11236
|
polymorphicDiscriminator: {
|
|
10827
11237
|
serializedName: "kind",
|
|
10828
11238
|
clientName: "kind"
|
|
@@ -10841,8 +11251,8 @@ const MLBehaviorAnalyticsAlertRuleTemplate = {
|
|
|
10841
11251
|
type: {
|
|
10842
11252
|
name: "Composite",
|
|
10843
11253
|
className: "MLBehaviorAnalyticsAlertRuleTemplate",
|
|
10844
|
-
uberParent: "
|
|
10845
|
-
polymorphicDiscriminator:
|
|
11254
|
+
uberParent: "AlertRuleTemplate",
|
|
11255
|
+
polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator,
|
|
10846
11256
|
modelProperties: Object.assign(Object.assign({}, AlertRuleTemplate.type.modelProperties), { alertRulesCreatedByTemplateCount: {
|
|
10847
11257
|
serializedName: "properties.alertRulesCreatedByTemplateCount",
|
|
10848
11258
|
type: {
|
|
@@ -10919,8 +11329,8 @@ const FusionAlertRuleTemplate = {
|
|
|
10919
11329
|
type: {
|
|
10920
11330
|
name: "Composite",
|
|
10921
11331
|
className: "FusionAlertRuleTemplate",
|
|
10922
|
-
uberParent: "
|
|
10923
|
-
polymorphicDiscriminator:
|
|
11332
|
+
uberParent: "AlertRuleTemplate",
|
|
11333
|
+
polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator,
|
|
10924
11334
|
modelProperties: Object.assign(Object.assign({}, AlertRuleTemplate.type.modelProperties), { alertRulesCreatedByTemplateCount: {
|
|
10925
11335
|
serializedName: "properties.alertRulesCreatedByTemplateCount",
|
|
10926
11336
|
type: {
|
|
@@ -11008,8 +11418,8 @@ const ThreatIntelligenceAlertRuleTemplate = {
|
|
|
11008
11418
|
type: {
|
|
11009
11419
|
name: "Composite",
|
|
11010
11420
|
className: "ThreatIntelligenceAlertRuleTemplate",
|
|
11011
|
-
uberParent: "
|
|
11012
|
-
polymorphicDiscriminator:
|
|
11421
|
+
uberParent: "AlertRuleTemplate",
|
|
11422
|
+
polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator,
|
|
11013
11423
|
modelProperties: Object.assign(Object.assign({}, AlertRuleTemplate.type.modelProperties), { alertRulesCreatedByTemplateCount: {
|
|
11014
11424
|
serializedName: "properties.alertRulesCreatedByTemplateCount",
|
|
11015
11425
|
type: {
|
|
@@ -11086,8 +11496,8 @@ const MicrosoftSecurityIncidentCreationAlertRuleTemplate = {
|
|
|
11086
11496
|
type: {
|
|
11087
11497
|
name: "Composite",
|
|
11088
11498
|
className: "MicrosoftSecurityIncidentCreationAlertRuleTemplate",
|
|
11089
|
-
uberParent: "
|
|
11090
|
-
polymorphicDiscriminator:
|
|
11499
|
+
uberParent: "AlertRuleTemplate",
|
|
11500
|
+
polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator,
|
|
11091
11501
|
modelProperties: Object.assign(Object.assign({}, AlertRuleTemplate.type.modelProperties), { alertRulesCreatedByTemplateCount: {
|
|
11092
11502
|
serializedName: "properties.alertRulesCreatedByTemplateCount",
|
|
11093
11503
|
type: {
|
|
@@ -11174,8 +11584,8 @@ const ScheduledAlertRuleTemplate = {
|
|
|
11174
11584
|
type: {
|
|
11175
11585
|
name: "Composite",
|
|
11176
11586
|
className: "ScheduledAlertRuleTemplate",
|
|
11177
|
-
uberParent: "
|
|
11178
|
-
polymorphicDiscriminator:
|
|
11587
|
+
uberParent: "AlertRuleTemplate",
|
|
11588
|
+
polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator,
|
|
11179
11589
|
modelProperties: Object.assign(Object.assign({}, AlertRuleTemplate.type.modelProperties), { alertRulesCreatedByTemplateCount: {
|
|
11180
11590
|
serializedName: "properties.alertRulesCreatedByTemplateCount",
|
|
11181
11591
|
type: {
|
|
@@ -11312,8 +11722,8 @@ const NrtAlertRuleTemplate = {
|
|
|
11312
11722
|
type: {
|
|
11313
11723
|
name: "Composite",
|
|
11314
11724
|
className: "NrtAlertRuleTemplate",
|
|
11315
|
-
uberParent: "
|
|
11316
|
-
polymorphicDiscriminator:
|
|
11725
|
+
uberParent: "AlertRuleTemplate",
|
|
11726
|
+
polymorphicDiscriminator: AlertRuleTemplate.type.polymorphicDiscriminator,
|
|
11317
11727
|
modelProperties: Object.assign(Object.assign({}, AlertRuleTemplate.type.modelProperties), { alertRulesCreatedByTemplateCount: {
|
|
11318
11728
|
serializedName: "properties.alertRulesCreatedByTemplateCount",
|
|
11319
11729
|
type: {
|
|
@@ -11415,6 +11825,12 @@ const NrtAlertRuleTemplate = {
|
|
|
11415
11825
|
name: "Composite",
|
|
11416
11826
|
className: "AlertDetailsOverride"
|
|
11417
11827
|
}
|
|
11828
|
+
}, eventGroupingSettings: {
|
|
11829
|
+
serializedName: "properties.eventGroupingSettings",
|
|
11830
|
+
type: {
|
|
11831
|
+
name: "Composite",
|
|
11832
|
+
className: "EventGroupingSettings"
|
|
11833
|
+
}
|
|
11418
11834
|
} })
|
|
11419
11835
|
}
|
|
11420
11836
|
};
|
|
@@ -11423,8 +11839,8 @@ const SecurityAlert = {
|
|
|
11423
11839
|
type: {
|
|
11424
11840
|
name: "Composite",
|
|
11425
11841
|
className: "SecurityAlert",
|
|
11426
|
-
uberParent: "
|
|
11427
|
-
polymorphicDiscriminator:
|
|
11842
|
+
uberParent: "Entity",
|
|
11843
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
11428
11844
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
11429
11845
|
serializedName: "properties.additionalData",
|
|
11430
11846
|
readOnly: true,
|
|
@@ -11619,8 +12035,8 @@ const HuntingBookmark = {
|
|
|
11619
12035
|
type: {
|
|
11620
12036
|
name: "Composite",
|
|
11621
12037
|
className: "HuntingBookmark",
|
|
11622
|
-
uberParent: "
|
|
11623
|
-
polymorphicDiscriminator:
|
|
12038
|
+
uberParent: "Entity",
|
|
12039
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
11624
12040
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
11625
12041
|
serializedName: "properties.additionalData",
|
|
11626
12042
|
readOnly: true,
|
|
@@ -11707,8 +12123,8 @@ const AccountEntity = {
|
|
|
11707
12123
|
type: {
|
|
11708
12124
|
name: "Composite",
|
|
11709
12125
|
className: "AccountEntity",
|
|
11710
|
-
uberParent: "
|
|
11711
|
-
polymorphicDiscriminator:
|
|
12126
|
+
uberParent: "Entity",
|
|
12127
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
11712
12128
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
11713
12129
|
serializedName: "properties.additionalData",
|
|
11714
12130
|
readOnly: true,
|
|
@@ -11804,8 +12220,8 @@ const AzureResourceEntity = {
|
|
|
11804
12220
|
type: {
|
|
11805
12221
|
name: "Composite",
|
|
11806
12222
|
className: "AzureResourceEntity",
|
|
11807
|
-
uberParent: "
|
|
11808
|
-
polymorphicDiscriminator:
|
|
12223
|
+
uberParent: "Entity",
|
|
12224
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
11809
12225
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
11810
12226
|
serializedName: "properties.additionalData",
|
|
11811
12227
|
readOnly: true,
|
|
@@ -11841,8 +12257,8 @@ const CloudApplicationEntity = {
|
|
|
11841
12257
|
type: {
|
|
11842
12258
|
name: "Composite",
|
|
11843
12259
|
className: "CloudApplicationEntity",
|
|
11844
|
-
uberParent: "
|
|
11845
|
-
polymorphicDiscriminator:
|
|
12260
|
+
uberParent: "Entity",
|
|
12261
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
11846
12262
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
11847
12263
|
serializedName: "properties.additionalData",
|
|
11848
12264
|
readOnly: true,
|
|
@@ -11884,8 +12300,8 @@ const DnsEntity = {
|
|
|
11884
12300
|
type: {
|
|
11885
12301
|
name: "Composite",
|
|
11886
12302
|
className: "DnsEntity",
|
|
11887
|
-
uberParent: "
|
|
11888
|
-
polymorphicDiscriminator:
|
|
12303
|
+
uberParent: "Entity",
|
|
12304
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
11889
12305
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
11890
12306
|
serializedName: "properties.additionalData",
|
|
11891
12307
|
readOnly: true,
|
|
@@ -11938,8 +12354,8 @@ const FileEntity = {
|
|
|
11938
12354
|
type: {
|
|
11939
12355
|
name: "Composite",
|
|
11940
12356
|
className: "FileEntity",
|
|
11941
|
-
uberParent: "
|
|
11942
|
-
polymorphicDiscriminator:
|
|
12357
|
+
uberParent: "Entity",
|
|
12358
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
11943
12359
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
11944
12360
|
serializedName: "properties.additionalData",
|
|
11945
12361
|
readOnly: true,
|
|
@@ -11992,8 +12408,8 @@ const FileHashEntity = {
|
|
|
11992
12408
|
type: {
|
|
11993
12409
|
name: "Composite",
|
|
11994
12410
|
className: "FileHashEntity",
|
|
11995
|
-
uberParent: "
|
|
11996
|
-
polymorphicDiscriminator:
|
|
12411
|
+
uberParent: "Entity",
|
|
12412
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
11997
12413
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
11998
12414
|
serializedName: "properties.additionalData",
|
|
11999
12415
|
readOnly: true,
|
|
@@ -12029,8 +12445,8 @@ const HostEntity = {
|
|
|
12029
12445
|
type: {
|
|
12030
12446
|
name: "Composite",
|
|
12031
12447
|
className: "HostEntity",
|
|
12032
|
-
uberParent: "
|
|
12033
|
-
polymorphicDiscriminator:
|
|
12448
|
+
uberParent: "Entity",
|
|
12449
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12034
12450
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12035
12451
|
serializedName: "properties.additionalData",
|
|
12036
12452
|
readOnly: true,
|
|
@@ -12108,8 +12524,8 @@ const IoTDeviceEntity = {
|
|
|
12108
12524
|
type: {
|
|
12109
12525
|
name: "Composite",
|
|
12110
12526
|
className: "IoTDeviceEntity",
|
|
12111
|
-
uberParent: "
|
|
12112
|
-
polymorphicDiscriminator:
|
|
12527
|
+
uberParent: "Entity",
|
|
12528
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12113
12529
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12114
12530
|
serializedName: "properties.additionalData",
|
|
12115
12531
|
readOnly: true,
|
|
@@ -12321,8 +12737,8 @@ const IpEntity = {
|
|
|
12321
12737
|
type: {
|
|
12322
12738
|
name: "Composite",
|
|
12323
12739
|
className: "IpEntity",
|
|
12324
|
-
uberParent: "
|
|
12325
|
-
polymorphicDiscriminator:
|
|
12740
|
+
uberParent: "Entity",
|
|
12741
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12326
12742
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12327
12743
|
serializedName: "properties.additionalData",
|
|
12328
12744
|
readOnly: true,
|
|
@@ -12370,8 +12786,8 @@ const MailboxEntity = {
|
|
|
12370
12786
|
type: {
|
|
12371
12787
|
name: "Composite",
|
|
12372
12788
|
className: "MailboxEntity",
|
|
12373
|
-
uberParent: "
|
|
12374
|
-
polymorphicDiscriminator:
|
|
12789
|
+
uberParent: "Entity",
|
|
12790
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12375
12791
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12376
12792
|
serializedName: "properties.additionalData",
|
|
12377
12793
|
readOnly: true,
|
|
@@ -12419,8 +12835,8 @@ const MailClusterEntity = {
|
|
|
12419
12835
|
type: {
|
|
12420
12836
|
name: "Composite",
|
|
12421
12837
|
className: "MailClusterEntity",
|
|
12422
|
-
uberParent: "
|
|
12423
|
-
polymorphicDiscriminator:
|
|
12838
|
+
uberParent: "Entity",
|
|
12839
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12424
12840
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12425
12841
|
serializedName: "properties.additionalData",
|
|
12426
12842
|
readOnly: true,
|
|
@@ -12547,8 +12963,8 @@ const MailMessageEntity = {
|
|
|
12547
12963
|
type: {
|
|
12548
12964
|
name: "Composite",
|
|
12549
12965
|
className: "MailMessageEntity",
|
|
12550
|
-
uberParent: "
|
|
12551
|
-
polymorphicDiscriminator:
|
|
12966
|
+
uberParent: "Entity",
|
|
12967
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12552
12968
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12553
12969
|
serializedName: "properties.additionalData",
|
|
12554
12970
|
readOnly: true,
|
|
@@ -12752,8 +13168,8 @@ const MalwareEntity = {
|
|
|
12752
13168
|
type: {
|
|
12753
13169
|
name: "Composite",
|
|
12754
13170
|
className: "MalwareEntity",
|
|
12755
|
-
uberParent: "
|
|
12756
|
-
polymorphicDiscriminator:
|
|
13171
|
+
uberParent: "Entity",
|
|
13172
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12757
13173
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12758
13174
|
serializedName: "properties.additionalData",
|
|
12759
13175
|
readOnly: true,
|
|
@@ -12811,8 +13227,8 @@ const ProcessEntity = {
|
|
|
12811
13227
|
type: {
|
|
12812
13228
|
name: "Composite",
|
|
12813
13229
|
className: "ProcessEntity",
|
|
12814
|
-
uberParent: "
|
|
12815
|
-
polymorphicDiscriminator:
|
|
13230
|
+
uberParent: "Entity",
|
|
13231
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12816
13232
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12817
13233
|
serializedName: "properties.additionalData",
|
|
12818
13234
|
readOnly: true,
|
|
@@ -12890,8 +13306,8 @@ const RegistryKeyEntity = {
|
|
|
12890
13306
|
type: {
|
|
12891
13307
|
name: "Composite",
|
|
12892
13308
|
className: "RegistryKeyEntity",
|
|
12893
|
-
uberParent: "
|
|
12894
|
-
polymorphicDiscriminator:
|
|
13309
|
+
uberParent: "Entity",
|
|
13310
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12895
13311
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12896
13312
|
serializedName: "properties.additionalData",
|
|
12897
13313
|
readOnly: true,
|
|
@@ -12927,8 +13343,8 @@ const RegistryValueEntity = {
|
|
|
12927
13343
|
type: {
|
|
12928
13344
|
name: "Composite",
|
|
12929
13345
|
className: "RegistryValueEntity",
|
|
12930
|
-
uberParent: "
|
|
12931
|
-
polymorphicDiscriminator:
|
|
13346
|
+
uberParent: "Entity",
|
|
13347
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12932
13348
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12933
13349
|
serializedName: "properties.additionalData",
|
|
12934
13350
|
readOnly: true,
|
|
@@ -12976,8 +13392,8 @@ const SecurityGroupEntity = {
|
|
|
12976
13392
|
type: {
|
|
12977
13393
|
name: "Composite",
|
|
12978
13394
|
className: "SecurityGroupEntity",
|
|
12979
|
-
uberParent: "
|
|
12980
|
-
polymorphicDiscriminator:
|
|
13395
|
+
uberParent: "Entity",
|
|
13396
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
12981
13397
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
12982
13398
|
serializedName: "properties.additionalData",
|
|
12983
13399
|
readOnly: true,
|
|
@@ -13019,8 +13435,8 @@ const SubmissionMailEntity = {
|
|
|
13019
13435
|
type: {
|
|
13020
13436
|
name: "Composite",
|
|
13021
13437
|
className: "SubmissionMailEntity",
|
|
13022
|
-
uberParent: "
|
|
13023
|
-
polymorphicDiscriminator:
|
|
13438
|
+
uberParent: "Entity",
|
|
13439
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
13024
13440
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
13025
13441
|
serializedName: "properties.additionalData",
|
|
13026
13442
|
readOnly: true,
|
|
@@ -13104,8 +13520,8 @@ const UrlEntity = {
|
|
|
13104
13520
|
type: {
|
|
13105
13521
|
name: "Composite",
|
|
13106
13522
|
className: "UrlEntity",
|
|
13107
|
-
uberParent: "
|
|
13108
|
-
polymorphicDiscriminator:
|
|
13523
|
+
uberParent: "Entity",
|
|
13524
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
13109
13525
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
13110
13526
|
serializedName: "properties.additionalData",
|
|
13111
13527
|
readOnly: true,
|
|
@@ -13135,8 +13551,8 @@ const NicEntity = {
|
|
|
13135
13551
|
type: {
|
|
13136
13552
|
name: "Composite",
|
|
13137
13553
|
className: "NicEntity",
|
|
13138
|
-
uberParent: "
|
|
13139
|
-
polymorphicDiscriminator:
|
|
13554
|
+
uberParent: "Entity",
|
|
13555
|
+
polymorphicDiscriminator: Entity.type.polymorphicDiscriminator,
|
|
13140
13556
|
modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { additionalData: {
|
|
13141
13557
|
serializedName: "properties.additionalData",
|
|
13142
13558
|
readOnly: true,
|
|
@@ -13183,8 +13599,8 @@ const ActivityEntityQueryTemplate = {
|
|
|
13183
13599
|
type: {
|
|
13184
13600
|
name: "Composite",
|
|
13185
13601
|
className: "ActivityEntityQueryTemplate",
|
|
13186
|
-
uberParent: "
|
|
13187
|
-
polymorphicDiscriminator:
|
|
13602
|
+
uberParent: "EntityQueryTemplate",
|
|
13603
|
+
polymorphicDiscriminator: EntityQueryTemplate.type.polymorphicDiscriminator,
|
|
13188
13604
|
modelProperties: Object.assign(Object.assign({}, EntityQueryTemplate.type.modelProperties), { title: {
|
|
13189
13605
|
serializedName: "properties.title",
|
|
13190
13606
|
type: {
|
|
@@ -13286,8 +13702,8 @@ const MLBehaviorAnalyticsAlertRule = {
|
|
|
13286
13702
|
type: {
|
|
13287
13703
|
name: "Composite",
|
|
13288
13704
|
className: "MLBehaviorAnalyticsAlertRule",
|
|
13289
|
-
uberParent: "
|
|
13290
|
-
polymorphicDiscriminator:
|
|
13705
|
+
uberParent: "AlertRule",
|
|
13706
|
+
polymorphicDiscriminator: AlertRule.type.polymorphicDiscriminator,
|
|
13291
13707
|
modelProperties: Object.assign(Object.assign({}, AlertRule.type.modelProperties), { alertRuleTemplateName: {
|
|
13292
13708
|
serializedName: "properties.alertRuleTemplateName",
|
|
13293
13709
|
type: {
|
|
@@ -13352,8 +13768,8 @@ const FusionAlertRule = {
|
|
|
13352
13768
|
type: {
|
|
13353
13769
|
name: "Composite",
|
|
13354
13770
|
className: "FusionAlertRule",
|
|
13355
|
-
uberParent: "
|
|
13356
|
-
polymorphicDiscriminator:
|
|
13771
|
+
uberParent: "AlertRule",
|
|
13772
|
+
polymorphicDiscriminator: AlertRule.type.polymorphicDiscriminator,
|
|
13357
13773
|
modelProperties: Object.assign(Object.assign({}, AlertRule.type.modelProperties), { alertRuleTemplateName: {
|
|
13358
13774
|
serializedName: "properties.alertRuleTemplateName",
|
|
13359
13775
|
type: {
|
|
@@ -13440,8 +13856,8 @@ const ThreatIntelligenceAlertRule = {
|
|
|
13440
13856
|
type: {
|
|
13441
13857
|
name: "Composite",
|
|
13442
13858
|
className: "ThreatIntelligenceAlertRule",
|
|
13443
|
-
uberParent: "
|
|
13444
|
-
polymorphicDiscriminator:
|
|
13859
|
+
uberParent: "AlertRule",
|
|
13860
|
+
polymorphicDiscriminator: AlertRule.type.polymorphicDiscriminator,
|
|
13445
13861
|
modelProperties: Object.assign(Object.assign({}, AlertRule.type.modelProperties), { alertRuleTemplateName: {
|
|
13446
13862
|
serializedName: "properties.alertRuleTemplateName",
|
|
13447
13863
|
type: {
|
|
@@ -13506,8 +13922,8 @@ const MicrosoftSecurityIncidentCreationAlertRule = {
|
|
|
13506
13922
|
type: {
|
|
13507
13923
|
name: "Composite",
|
|
13508
13924
|
className: "MicrosoftSecurityIncidentCreationAlertRule",
|
|
13509
|
-
uberParent: "
|
|
13510
|
-
polymorphicDiscriminator:
|
|
13925
|
+
uberParent: "AlertRule",
|
|
13926
|
+
polymorphicDiscriminator: AlertRule.type.polymorphicDiscriminator,
|
|
13511
13927
|
modelProperties: Object.assign(Object.assign({}, AlertRule.type.modelProperties), { displayNamesFilter: {
|
|
13512
13928
|
serializedName: "properties.displayNamesFilter",
|
|
13513
13929
|
type: {
|
|
@@ -13577,8 +13993,8 @@ const ScheduledAlertRule = {
|
|
|
13577
13993
|
type: {
|
|
13578
13994
|
name: "Composite",
|
|
13579
13995
|
className: "ScheduledAlertRule",
|
|
13580
|
-
uberParent: "
|
|
13581
|
-
polymorphicDiscriminator:
|
|
13996
|
+
uberParent: "AlertRule",
|
|
13997
|
+
polymorphicDiscriminator: AlertRule.type.polymorphicDiscriminator,
|
|
13582
13998
|
modelProperties: Object.assign(Object.assign({}, AlertRule.type.modelProperties), { query: {
|
|
13583
13999
|
serializedName: "properties.query",
|
|
13584
14000
|
type: {
|
|
@@ -13714,8 +14130,8 @@ const NrtAlertRule = {
|
|
|
13714
14130
|
type: {
|
|
13715
14131
|
name: "Composite",
|
|
13716
14132
|
className: "NrtAlertRule",
|
|
13717
|
-
uberParent: "
|
|
13718
|
-
polymorphicDiscriminator:
|
|
14133
|
+
uberParent: "AlertRule",
|
|
14134
|
+
polymorphicDiscriminator: AlertRule.type.polymorphicDiscriminator,
|
|
13719
14135
|
modelProperties: Object.assign(Object.assign({}, AlertRule.type.modelProperties), { alertRuleTemplateName: {
|
|
13720
14136
|
serializedName: "properties.alertRuleTemplateName",
|
|
13721
14137
|
type: {
|
|
@@ -13816,6 +14232,12 @@ const NrtAlertRule = {
|
|
|
13816
14232
|
name: "Composite",
|
|
13817
14233
|
className: "AlertDetailsOverride"
|
|
13818
14234
|
}
|
|
14235
|
+
}, eventGroupingSettings: {
|
|
14236
|
+
serializedName: "properties.eventGroupingSettings",
|
|
14237
|
+
type: {
|
|
14238
|
+
name: "Composite",
|
|
14239
|
+
className: "EventGroupingSettings"
|
|
14240
|
+
}
|
|
13819
14241
|
} })
|
|
13820
14242
|
}
|
|
13821
14243
|
};
|
|
@@ -13824,8 +14246,8 @@ const ExpansionEntityQuery = {
|
|
|
13824
14246
|
type: {
|
|
13825
14247
|
name: "Composite",
|
|
13826
14248
|
className: "ExpansionEntityQuery",
|
|
13827
|
-
uberParent: "
|
|
13828
|
-
polymorphicDiscriminator:
|
|
14249
|
+
uberParent: "EntityQuery",
|
|
14250
|
+
polymorphicDiscriminator: EntityQuery.type.polymorphicDiscriminator,
|
|
13829
14251
|
modelProperties: Object.assign(Object.assign({}, EntityQuery.type.modelProperties), { dataSources: {
|
|
13830
14252
|
serializedName: "properties.dataSources",
|
|
13831
14253
|
type: {
|
|
@@ -13879,8 +14301,8 @@ const ActivityEntityQuery = {
|
|
|
13879
14301
|
type: {
|
|
13880
14302
|
name: "Composite",
|
|
13881
14303
|
className: "ActivityEntityQuery",
|
|
13882
|
-
uberParent: "
|
|
13883
|
-
polymorphicDiscriminator:
|
|
14304
|
+
uberParent: "EntityQuery",
|
|
14305
|
+
polymorphicDiscriminator: EntityQuery.type.polymorphicDiscriminator,
|
|
13884
14306
|
modelProperties: Object.assign(Object.assign({}, EntityQuery.type.modelProperties), { title: {
|
|
13885
14307
|
serializedName: "properties.title",
|
|
13886
14308
|
type: {
|
|
@@ -13960,8 +14382,8 @@ const ActivityCustomEntityQuery = {
|
|
|
13960
14382
|
type: {
|
|
13961
14383
|
name: "Composite",
|
|
13962
14384
|
className: "ActivityCustomEntityQuery",
|
|
13963
|
-
uberParent: "
|
|
13964
|
-
polymorphicDiscriminator:
|
|
14385
|
+
uberParent: "CustomEntityQuery",
|
|
14386
|
+
polymorphicDiscriminator: CustomEntityQuery.type.polymorphicDiscriminator,
|
|
13965
14387
|
modelProperties: Object.assign(Object.assign({}, CustomEntityQuery.type.modelProperties), { title: {
|
|
13966
14388
|
serializedName: "properties.title",
|
|
13967
14389
|
type: {
|
|
@@ -14041,8 +14463,8 @@ const AnomalySecurityMLAnalyticsSettings = {
|
|
|
14041
14463
|
type: {
|
|
14042
14464
|
name: "Composite",
|
|
14043
14465
|
className: "AnomalySecurityMLAnalyticsSettings",
|
|
14044
|
-
uberParent: "
|
|
14045
|
-
polymorphicDiscriminator:
|
|
14466
|
+
uberParent: "SecurityMLAnalyticsSetting",
|
|
14467
|
+
polymorphicDiscriminator: SecurityMLAnalyticsSetting.type.polymorphicDiscriminator,
|
|
14046
14468
|
modelProperties: Object.assign(Object.assign({}, SecurityMLAnalyticsSetting.type.modelProperties), { description: {
|
|
14047
14469
|
serializedName: "properties.description",
|
|
14048
14470
|
type: {
|
|
@@ -14139,8 +14561,8 @@ const Anomalies = {
|
|
|
14139
14561
|
type: {
|
|
14140
14562
|
name: "Composite",
|
|
14141
14563
|
className: "Anomalies",
|
|
14142
|
-
uberParent: "
|
|
14143
|
-
polymorphicDiscriminator:
|
|
14564
|
+
uberParent: "Settings",
|
|
14565
|
+
polymorphicDiscriminator: Settings.type.polymorphicDiscriminator,
|
|
14144
14566
|
modelProperties: Object.assign(Object.assign({}, Settings.type.modelProperties), { isEnabled: {
|
|
14145
14567
|
serializedName: "properties.isEnabled",
|
|
14146
14568
|
readOnly: true,
|
|
@@ -14155,8 +14577,8 @@ const EyesOn = {
|
|
|
14155
14577
|
type: {
|
|
14156
14578
|
name: "Composite",
|
|
14157
14579
|
className: "EyesOn",
|
|
14158
|
-
uberParent: "
|
|
14159
|
-
polymorphicDiscriminator:
|
|
14580
|
+
uberParent: "Settings",
|
|
14581
|
+
polymorphicDiscriminator: Settings.type.polymorphicDiscriminator,
|
|
14160
14582
|
modelProperties: Object.assign(Object.assign({}, Settings.type.modelProperties), { isEnabled: {
|
|
14161
14583
|
serializedName: "properties.isEnabled",
|
|
14162
14584
|
readOnly: true,
|
|
@@ -14171,8 +14593,8 @@ const EntityAnalytics = {
|
|
|
14171
14593
|
type: {
|
|
14172
14594
|
name: "Composite",
|
|
14173
14595
|
className: "EntityAnalytics",
|
|
14174
|
-
uberParent: "
|
|
14175
|
-
polymorphicDiscriminator:
|
|
14596
|
+
uberParent: "Settings",
|
|
14597
|
+
polymorphicDiscriminator: Settings.type.polymorphicDiscriminator,
|
|
14176
14598
|
modelProperties: Object.assign(Object.assign({}, Settings.type.modelProperties), { entityProviders: {
|
|
14177
14599
|
serializedName: "properties.entityProviders",
|
|
14178
14600
|
type: {
|
|
@@ -14191,8 +14613,8 @@ const Ueba = {
|
|
|
14191
14613
|
type: {
|
|
14192
14614
|
name: "Composite",
|
|
14193
14615
|
className: "Ueba",
|
|
14194
|
-
uberParent: "
|
|
14195
|
-
polymorphicDiscriminator:
|
|
14616
|
+
uberParent: "Settings",
|
|
14617
|
+
polymorphicDiscriminator: Settings.type.polymorphicDiscriminator,
|
|
14196
14618
|
modelProperties: Object.assign(Object.assign({}, Settings.type.modelProperties), { dataSources: {
|
|
14197
14619
|
serializedName: "properties.dataSources",
|
|
14198
14620
|
type: {
|
|
@@ -14211,8 +14633,8 @@ const ThreatIntelligenceIndicatorModel = {
|
|
|
14211
14633
|
type: {
|
|
14212
14634
|
name: "Composite",
|
|
14213
14635
|
className: "ThreatIntelligenceIndicatorModel",
|
|
14214
|
-
uberParent: "
|
|
14215
|
-
polymorphicDiscriminator:
|
|
14636
|
+
uberParent: "ThreatIntelligenceInformation",
|
|
14637
|
+
polymorphicDiscriminator: ThreatIntelligenceInformation.type.polymorphicDiscriminator,
|
|
14216
14638
|
modelProperties: Object.assign(Object.assign({}, ThreatIntelligenceInformation.type.modelProperties), { additionalData: {
|
|
14217
14639
|
serializedName: "properties.additionalData",
|
|
14218
14640
|
readOnly: true,
|
|
@@ -14426,8 +14848,8 @@ const AADDataConnector = {
|
|
|
14426
14848
|
type: {
|
|
14427
14849
|
name: "Composite",
|
|
14428
14850
|
className: "AADDataConnector",
|
|
14429
|
-
uberParent: "
|
|
14430
|
-
polymorphicDiscriminator:
|
|
14851
|
+
uberParent: "DataConnector",
|
|
14852
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14431
14853
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14432
14854
|
serializedName: "properties.tenantId",
|
|
14433
14855
|
type: {
|
|
@@ -14447,8 +14869,8 @@ const MstiDataConnector = {
|
|
|
14447
14869
|
type: {
|
|
14448
14870
|
name: "Composite",
|
|
14449
14871
|
className: "MstiDataConnector",
|
|
14450
|
-
uberParent: "
|
|
14451
|
-
polymorphicDiscriminator:
|
|
14872
|
+
uberParent: "DataConnector",
|
|
14873
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14452
14874
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14453
14875
|
serializedName: "properties.tenantId",
|
|
14454
14876
|
type: {
|
|
@@ -14468,8 +14890,8 @@ const MTPDataConnector = {
|
|
|
14468
14890
|
type: {
|
|
14469
14891
|
name: "Composite",
|
|
14470
14892
|
className: "MTPDataConnector",
|
|
14471
|
-
uberParent: "
|
|
14472
|
-
polymorphicDiscriminator:
|
|
14893
|
+
uberParent: "DataConnector",
|
|
14894
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14473
14895
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14474
14896
|
serializedName: "properties.tenantId",
|
|
14475
14897
|
type: {
|
|
@@ -14489,8 +14911,8 @@ const AatpDataConnector = {
|
|
|
14489
14911
|
type: {
|
|
14490
14912
|
name: "Composite",
|
|
14491
14913
|
className: "AatpDataConnector",
|
|
14492
|
-
uberParent: "
|
|
14493
|
-
polymorphicDiscriminator:
|
|
14914
|
+
uberParent: "DataConnector",
|
|
14915
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14494
14916
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14495
14917
|
serializedName: "properties.tenantId",
|
|
14496
14918
|
type: {
|
|
@@ -14510,8 +14932,8 @@ const ASCDataConnector = {
|
|
|
14510
14932
|
type: {
|
|
14511
14933
|
name: "Composite",
|
|
14512
14934
|
className: "ASCDataConnector",
|
|
14513
|
-
uberParent: "
|
|
14514
|
-
polymorphicDiscriminator:
|
|
14935
|
+
uberParent: "DataConnector",
|
|
14936
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14515
14937
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { dataTypes: {
|
|
14516
14938
|
serializedName: "properties.dataTypes",
|
|
14517
14939
|
type: {
|
|
@@ -14531,8 +14953,8 @@ const AwsCloudTrailDataConnector = {
|
|
|
14531
14953
|
type: {
|
|
14532
14954
|
name: "Composite",
|
|
14533
14955
|
className: "AwsCloudTrailDataConnector",
|
|
14534
|
-
uberParent: "
|
|
14535
|
-
polymorphicDiscriminator:
|
|
14956
|
+
uberParent: "DataConnector",
|
|
14957
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14536
14958
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { awsRoleArn: {
|
|
14537
14959
|
serializedName: "properties.awsRoleArn",
|
|
14538
14960
|
type: {
|
|
@@ -14552,8 +14974,8 @@ const AwsS3DataConnector = {
|
|
|
14552
14974
|
type: {
|
|
14553
14975
|
name: "Composite",
|
|
14554
14976
|
className: "AwsS3DataConnector",
|
|
14555
|
-
uberParent: "
|
|
14556
|
-
polymorphicDiscriminator:
|
|
14977
|
+
uberParent: "DataConnector",
|
|
14978
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14557
14979
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { destinationTable: {
|
|
14558
14980
|
serializedName: "properties.destinationTable",
|
|
14559
14981
|
type: {
|
|
@@ -14588,8 +15010,8 @@ const McasDataConnector = {
|
|
|
14588
15010
|
type: {
|
|
14589
15011
|
name: "Composite",
|
|
14590
15012
|
className: "McasDataConnector",
|
|
14591
|
-
uberParent: "
|
|
14592
|
-
polymorphicDiscriminator:
|
|
15013
|
+
uberParent: "DataConnector",
|
|
15014
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14593
15015
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14594
15016
|
serializedName: "properties.tenantId",
|
|
14595
15017
|
type: {
|
|
@@ -14609,8 +15031,8 @@ const Dynamics365DataConnector = {
|
|
|
14609
15031
|
type: {
|
|
14610
15032
|
name: "Composite",
|
|
14611
15033
|
className: "Dynamics365DataConnector",
|
|
14612
|
-
uberParent: "
|
|
14613
|
-
polymorphicDiscriminator:
|
|
15034
|
+
uberParent: "DataConnector",
|
|
15035
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14614
15036
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14615
15037
|
serializedName: "properties.tenantId",
|
|
14616
15038
|
type: {
|
|
@@ -14630,8 +15052,8 @@ const OfficeATPDataConnector = {
|
|
|
14630
15052
|
type: {
|
|
14631
15053
|
name: "Composite",
|
|
14632
15054
|
className: "OfficeATPDataConnector",
|
|
14633
|
-
uberParent: "
|
|
14634
|
-
polymorphicDiscriminator:
|
|
15055
|
+
uberParent: "DataConnector",
|
|
15056
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14635
15057
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14636
15058
|
serializedName: "properties.tenantId",
|
|
14637
15059
|
type: {
|
|
@@ -14651,8 +15073,8 @@ const Office365ProjectDataConnector = {
|
|
|
14651
15073
|
type: {
|
|
14652
15074
|
name: "Composite",
|
|
14653
15075
|
className: "Office365ProjectDataConnector",
|
|
14654
|
-
uberParent: "
|
|
14655
|
-
polymorphicDiscriminator:
|
|
15076
|
+
uberParent: "DataConnector",
|
|
15077
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14656
15078
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14657
15079
|
serializedName: "properties.tenantId",
|
|
14658
15080
|
type: {
|
|
@@ -14672,8 +15094,8 @@ const OfficePowerBIDataConnector = {
|
|
|
14672
15094
|
type: {
|
|
14673
15095
|
name: "Composite",
|
|
14674
15096
|
className: "OfficePowerBIDataConnector",
|
|
14675
|
-
uberParent: "
|
|
14676
|
-
polymorphicDiscriminator:
|
|
15097
|
+
uberParent: "DataConnector",
|
|
15098
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14677
15099
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14678
15100
|
serializedName: "properties.tenantId",
|
|
14679
15101
|
type: {
|
|
@@ -14693,8 +15115,8 @@ const OfficeIRMDataConnector = {
|
|
|
14693
15115
|
type: {
|
|
14694
15116
|
name: "Composite",
|
|
14695
15117
|
className: "OfficeIRMDataConnector",
|
|
14696
|
-
uberParent: "
|
|
14697
|
-
polymorphicDiscriminator:
|
|
15118
|
+
uberParent: "DataConnector",
|
|
15119
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14698
15120
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14699
15121
|
serializedName: "properties.tenantId",
|
|
14700
15122
|
type: {
|
|
@@ -14714,8 +15136,8 @@ const MdatpDataConnector = {
|
|
|
14714
15136
|
type: {
|
|
14715
15137
|
name: "Composite",
|
|
14716
15138
|
className: "MdatpDataConnector",
|
|
14717
|
-
uberParent: "
|
|
14718
|
-
polymorphicDiscriminator:
|
|
15139
|
+
uberParent: "DataConnector",
|
|
15140
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14719
15141
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14720
15142
|
serializedName: "properties.tenantId",
|
|
14721
15143
|
type: {
|
|
@@ -14735,8 +15157,8 @@ const OfficeDataConnector = {
|
|
|
14735
15157
|
type: {
|
|
14736
15158
|
name: "Composite",
|
|
14737
15159
|
className: "OfficeDataConnector",
|
|
14738
|
-
uberParent: "
|
|
14739
|
-
polymorphicDiscriminator:
|
|
15160
|
+
uberParent: "DataConnector",
|
|
15161
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14740
15162
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14741
15163
|
serializedName: "properties.tenantId",
|
|
14742
15164
|
type: {
|
|
@@ -14756,8 +15178,8 @@ const TIDataConnector = {
|
|
|
14756
15178
|
type: {
|
|
14757
15179
|
name: "Composite",
|
|
14758
15180
|
className: "TIDataConnector",
|
|
14759
|
-
uberParent: "
|
|
14760
|
-
polymorphicDiscriminator:
|
|
15181
|
+
uberParent: "DataConnector",
|
|
15182
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14761
15183
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14762
15184
|
serializedName: "properties.tenantId",
|
|
14763
15185
|
type: {
|
|
@@ -14783,8 +15205,8 @@ const TiTaxiiDataConnector = {
|
|
|
14783
15205
|
type: {
|
|
14784
15206
|
name: "Composite",
|
|
14785
15207
|
className: "TiTaxiiDataConnector",
|
|
14786
|
-
uberParent: "
|
|
14787
|
-
polymorphicDiscriminator:
|
|
15208
|
+
uberParent: "DataConnector",
|
|
15209
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14788
15210
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { tenantId: {
|
|
14789
15211
|
serializedName: "properties.tenantId",
|
|
14790
15212
|
type: {
|
|
@@ -14846,8 +15268,8 @@ const IoTDataConnector = {
|
|
|
14846
15268
|
type: {
|
|
14847
15269
|
name: "Composite",
|
|
14848
15270
|
className: "IoTDataConnector",
|
|
14849
|
-
uberParent: "
|
|
14850
|
-
polymorphicDiscriminator:
|
|
15271
|
+
uberParent: "DataConnector",
|
|
15272
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14851
15273
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { dataTypes: {
|
|
14852
15274
|
serializedName: "properties.dataTypes",
|
|
14853
15275
|
type: {
|
|
@@ -14867,8 +15289,8 @@ const CodelessUiDataConnector = {
|
|
|
14867
15289
|
type: {
|
|
14868
15290
|
name: "Composite",
|
|
14869
15291
|
className: "CodelessUiDataConnector",
|
|
14870
|
-
uberParent: "
|
|
14871
|
-
polymorphicDiscriminator:
|
|
15292
|
+
uberParent: "DataConnector",
|
|
15293
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14872
15294
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { connectorUiConfig: {
|
|
14873
15295
|
serializedName: "properties.connectorUiConfig",
|
|
14874
15296
|
type: {
|
|
@@ -14883,8 +15305,8 @@ const CodelessApiPollingDataConnector = {
|
|
|
14883
15305
|
type: {
|
|
14884
15306
|
name: "Composite",
|
|
14885
15307
|
className: "CodelessApiPollingDataConnector",
|
|
14886
|
-
uberParent: "
|
|
14887
|
-
polymorphicDiscriminator:
|
|
15308
|
+
uberParent: "DataConnector",
|
|
15309
|
+
polymorphicDiscriminator: DataConnector.type.polymorphicDiscriminator,
|
|
14888
15310
|
modelProperties: Object.assign(Object.assign({}, DataConnector.type.modelProperties), { connectorUiConfig: {
|
|
14889
15311
|
serializedName: "properties.connectorUiConfig",
|
|
14890
15312
|
type: {
|
|
@@ -14937,7 +15359,9 @@ let discriminators = {
|
|
|
14937
15359
|
"Resource.AlertRuleTemplate": AlertRuleTemplate,
|
|
14938
15360
|
"Resource.Entity": Entity,
|
|
14939
15361
|
"Resource.EntityQueryTemplate": EntityQueryTemplate,
|
|
15362
|
+
"AutomationRuleCondition.Boolean": BooleanConditionProperties,
|
|
14940
15363
|
"AutomationRuleCondition.PropertyArrayChanged": PropertyArrayChangedConditionProperties,
|
|
15364
|
+
"AutomationRuleCondition.PropertyArray": PropertyArrayConditionProperties,
|
|
14941
15365
|
"AutomationRuleCondition.PropertyChanged": PropertyChangedConditionProperties,
|
|
14942
15366
|
"AutomationRuleCondition.Property": PropertyConditionProperties,
|
|
14943
15367
|
"AutomationRuleAction.ModifyProperties": AutomationRuleModifyPropertiesAction,
|
|
@@ -14964,68 +15388,77 @@ let discriminators = {
|
|
|
14964
15388
|
"DataConnectorsCheckRequirements.ThreatIntelligence": TICheckRequirements,
|
|
14965
15389
|
"DataConnectorsCheckRequirements.ThreatIntelligenceTaxii": TiTaxiiCheckRequirements,
|
|
14966
15390
|
"DataConnectorsCheckRequirements.IOT": IoTCheckRequirements,
|
|
14967
|
-
"
|
|
14968
|
-
"
|
|
14969
|
-
"
|
|
14970
|
-
"
|
|
14971
|
-
"
|
|
14972
|
-
"
|
|
14973
|
-
"
|
|
14974
|
-
"
|
|
14975
|
-
"
|
|
14976
|
-
"
|
|
14977
|
-
"
|
|
14978
|
-
"
|
|
14979
|
-
"
|
|
14980
|
-
"
|
|
14981
|
-
"
|
|
14982
|
-
"
|
|
14983
|
-
"
|
|
14984
|
-
"
|
|
14985
|
-
"
|
|
14986
|
-
"
|
|
14987
|
-
"
|
|
14988
|
-
"
|
|
14989
|
-
"
|
|
14990
|
-
"
|
|
14991
|
-
"
|
|
14992
|
-
"
|
|
14993
|
-
"
|
|
14994
|
-
"
|
|
14995
|
-
"
|
|
14996
|
-
"
|
|
14997
|
-
"
|
|
14998
|
-
"
|
|
14999
|
-
"
|
|
15000
|
-
"
|
|
15001
|
-
"
|
|
15002
|
-
"
|
|
15003
|
-
"
|
|
15004
|
-
"
|
|
15005
|
-
"
|
|
15006
|
-
"
|
|
15007
|
-
"
|
|
15008
|
-
"
|
|
15009
|
-
"
|
|
15010
|
-
"
|
|
15011
|
-
"
|
|
15012
|
-
"
|
|
15013
|
-
"
|
|
15014
|
-
"
|
|
15015
|
-
"
|
|
15016
|
-
"
|
|
15017
|
-
"
|
|
15018
|
-
"
|
|
15019
|
-
"
|
|
15020
|
-
"
|
|
15021
|
-
"
|
|
15022
|
-
"
|
|
15023
|
-
"
|
|
15024
|
-
"
|
|
15025
|
-
"
|
|
15026
|
-
"
|
|
15027
|
-
"
|
|
15028
|
-
"
|
|
15391
|
+
"ResourceWithEtag.AlertRule": AlertRule,
|
|
15392
|
+
"ResourceWithEtag.EntityQuery": EntityQuery,
|
|
15393
|
+
"ResourceWithEtag.CustomEntityQuery": CustomEntityQuery,
|
|
15394
|
+
"ResourceWithEtag.SecurityMLAnalyticsSetting": SecurityMLAnalyticsSetting,
|
|
15395
|
+
"ResourceWithEtag.Settings": Settings,
|
|
15396
|
+
"ResourceWithEtag.ThreatIntelligenceInformation": ThreatIntelligenceInformation,
|
|
15397
|
+
"ResourceWithEtag.DataConnector": DataConnector,
|
|
15398
|
+
"AlertRuleTemplate.MLBehaviorAnalytics": MLBehaviorAnalyticsAlertRuleTemplate,
|
|
15399
|
+
"AlertRuleTemplate.Fusion": FusionAlertRuleTemplate,
|
|
15400
|
+
"AlertRuleTemplate.ThreatIntelligence": ThreatIntelligenceAlertRuleTemplate,
|
|
15401
|
+
"AlertRuleTemplate.MicrosoftSecurityIncidentCreation": MicrosoftSecurityIncidentCreationAlertRuleTemplate,
|
|
15402
|
+
"AlertRuleTemplate.Scheduled": ScheduledAlertRuleTemplate,
|
|
15403
|
+
"AlertRuleTemplate.NRT": NrtAlertRuleTemplate,
|
|
15404
|
+
"Entity.SecurityAlert": SecurityAlert,
|
|
15405
|
+
"Entity.Bookmark": HuntingBookmark,
|
|
15406
|
+
"Entity.Account": AccountEntity,
|
|
15407
|
+
"Entity.AzureResource": AzureResourceEntity,
|
|
15408
|
+
"Entity.CloudApplication": CloudApplicationEntity,
|
|
15409
|
+
"Entity.DnsResolution": DnsEntity,
|
|
15410
|
+
"Entity.File": FileEntity,
|
|
15411
|
+
"Entity.FileHash": FileHashEntity,
|
|
15412
|
+
"Entity.Host": HostEntity,
|
|
15413
|
+
"Entity.IoTDevice": IoTDeviceEntity,
|
|
15414
|
+
"Entity.Ip": IpEntity,
|
|
15415
|
+
"Entity.Mailbox": MailboxEntity,
|
|
15416
|
+
"Entity.MailCluster": MailClusterEntity,
|
|
15417
|
+
"Entity.MailMessage": MailMessageEntity,
|
|
15418
|
+
"Entity.Malware": MalwareEntity,
|
|
15419
|
+
"Entity.Process": ProcessEntity,
|
|
15420
|
+
"Entity.RegistryKey": RegistryKeyEntity,
|
|
15421
|
+
"Entity.RegistryValue": RegistryValueEntity,
|
|
15422
|
+
"Entity.SecurityGroup": SecurityGroupEntity,
|
|
15423
|
+
"Entity.SubmissionMail": SubmissionMailEntity,
|
|
15424
|
+
"Entity.Url": UrlEntity,
|
|
15425
|
+
"Entity.Nic": NicEntity,
|
|
15426
|
+
"EntityQueryTemplate.Activity": ActivityEntityQueryTemplate,
|
|
15427
|
+
"AlertRule.MLBehaviorAnalytics": MLBehaviorAnalyticsAlertRule,
|
|
15428
|
+
"AlertRule.Fusion": FusionAlertRule,
|
|
15429
|
+
"AlertRule.ThreatIntelligence": ThreatIntelligenceAlertRule,
|
|
15430
|
+
"AlertRule.MicrosoftSecurityIncidentCreation": MicrosoftSecurityIncidentCreationAlertRule,
|
|
15431
|
+
"AlertRule.Scheduled": ScheduledAlertRule,
|
|
15432
|
+
"AlertRule.NRT": NrtAlertRule,
|
|
15433
|
+
"EntityQuery.Expansion": ExpansionEntityQuery,
|
|
15434
|
+
"EntityQuery.Activity": ActivityEntityQuery,
|
|
15435
|
+
"CustomEntityQuery.Activity": ActivityCustomEntityQuery,
|
|
15436
|
+
"SecurityMLAnalyticsSetting.Anomaly": AnomalySecurityMLAnalyticsSettings,
|
|
15437
|
+
"Settings.Anomalies": Anomalies,
|
|
15438
|
+
"Settings.EyesOn": EyesOn,
|
|
15439
|
+
"Settings.EntityAnalytics": EntityAnalytics,
|
|
15440
|
+
"Settings.Ueba": Ueba,
|
|
15441
|
+
"ThreatIntelligenceInformation.indicator": ThreatIntelligenceIndicatorModel,
|
|
15442
|
+
"DataConnector.AzureActiveDirectory": AADDataConnector,
|
|
15443
|
+
"DataConnector.MicrosoftThreatIntelligence": MstiDataConnector,
|
|
15444
|
+
"DataConnector.MicrosoftThreatProtection": MTPDataConnector,
|
|
15445
|
+
"DataConnector.AzureAdvancedThreatProtection": AatpDataConnector,
|
|
15446
|
+
"DataConnector.AzureSecurityCenter": ASCDataConnector,
|
|
15447
|
+
"DataConnector.AmazonWebServicesCloudTrail": AwsCloudTrailDataConnector,
|
|
15448
|
+
"DataConnector.AmazonWebServicesS3": AwsS3DataConnector,
|
|
15449
|
+
"DataConnector.MicrosoftCloudAppSecurity": McasDataConnector,
|
|
15450
|
+
"DataConnector.Dynamics365": Dynamics365DataConnector,
|
|
15451
|
+
"DataConnector.OfficeATP": OfficeATPDataConnector,
|
|
15452
|
+
"DataConnector.Office365Project": Office365ProjectDataConnector,
|
|
15453
|
+
"DataConnector.OfficePowerBI": OfficePowerBIDataConnector,
|
|
15454
|
+
"DataConnector.OfficeIRM": OfficeIRMDataConnector,
|
|
15455
|
+
"DataConnector.MicrosoftDefenderAdvancedThreatProtection": MdatpDataConnector,
|
|
15456
|
+
"DataConnector.Office365": OfficeDataConnector,
|
|
15457
|
+
"DataConnector.ThreatIntelligence": TIDataConnector,
|
|
15458
|
+
"DataConnector.ThreatIntelligenceTaxii": TiTaxiiDataConnector,
|
|
15459
|
+
"DataConnector.IOT": IoTDataConnector,
|
|
15460
|
+
"DataConnector.GenericUI": CodelessUiDataConnector,
|
|
15461
|
+
"DataConnector.APIPolling": CodelessApiPollingDataConnector
|
|
15029
15462
|
};
|
|
15030
15463
|
|
|
15031
15464
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
@@ -15085,6 +15518,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
15085
15518
|
InsightsTableResultColumnsItem: InsightsTableResultColumnsItem,
|
|
15086
15519
|
EntityQueryList: EntityQueryList,
|
|
15087
15520
|
EntityQueryTemplateList: EntityQueryTemplateList,
|
|
15521
|
+
FileImportList: FileImportList,
|
|
15522
|
+
FileMetadata: FileMetadata,
|
|
15523
|
+
ValidationError: ValidationError,
|
|
15088
15524
|
IncidentList: IncidentList,
|
|
15089
15525
|
IncidentAdditionalData: IncidentAdditionalData,
|
|
15090
15526
|
IncidentLabel: IncidentLabel,
|
|
@@ -15147,6 +15583,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
15147
15583
|
EntityMapping: EntityMapping,
|
|
15148
15584
|
FieldMapping: FieldMapping,
|
|
15149
15585
|
AlertDetailsOverride: AlertDetailsOverride,
|
|
15586
|
+
EventGroupingSettings: EventGroupingSettings,
|
|
15150
15587
|
FusionSourceSettings: FusionSourceSettings,
|
|
15151
15588
|
FusionSourceSubTypeSetting: FusionSourceSubTypeSetting,
|
|
15152
15589
|
FusionSubTypeSeverityFilter: FusionSubTypeSeverityFilter,
|
|
@@ -15159,9 +15596,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
15159
15596
|
IncidentConfiguration: IncidentConfiguration,
|
|
15160
15597
|
GroupingConfiguration: GroupingConfiguration,
|
|
15161
15598
|
ScheduledAlertRuleCommonProperties: ScheduledAlertRuleCommonProperties,
|
|
15162
|
-
|
|
15599
|
+
AutomationRuleBooleanCondition: AutomationRuleBooleanCondition,
|
|
15163
15600
|
IncidentPropertiesAction: IncidentPropertiesAction,
|
|
15164
15601
|
AutomationRulePropertyArrayChangedValuesCondition: AutomationRulePropertyArrayChangedValuesCondition,
|
|
15602
|
+
AutomationRulePropertyArrayValuesCondition: AutomationRulePropertyArrayValuesCondition,
|
|
15165
15603
|
AutomationRulePropertyValuesChangedCondition: AutomationRulePropertyValuesChangedCondition,
|
|
15166
15604
|
AutomationRulePropertyValuesCondition: AutomationRulePropertyValuesCondition,
|
|
15167
15605
|
PlaybookActionProperties: PlaybookActionProperties,
|
|
@@ -15215,10 +15653,13 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
15215
15653
|
AlertRuleTemplate: AlertRuleTemplate,
|
|
15216
15654
|
Entity: Entity,
|
|
15217
15655
|
EntityQueryTemplate: EntityQueryTemplate,
|
|
15656
|
+
FileImport: FileImport,
|
|
15218
15657
|
OfficeConsent: OfficeConsent,
|
|
15219
15658
|
ActionResponseProperties: ActionResponseProperties,
|
|
15220
15659
|
ActionRequestProperties: ActionRequestProperties,
|
|
15660
|
+
BooleanConditionProperties: BooleanConditionProperties,
|
|
15221
15661
|
PropertyArrayChangedConditionProperties: PropertyArrayChangedConditionProperties,
|
|
15662
|
+
PropertyArrayConditionProperties: PropertyArrayConditionProperties,
|
|
15222
15663
|
PropertyChangedConditionProperties: PropertyChangedConditionProperties,
|
|
15223
15664
|
PropertyConditionProperties: PropertyConditionProperties,
|
|
15224
15665
|
AutomationRuleModifyPropertiesAction: AutomationRuleModifyPropertiesAction,
|
|
@@ -15449,7 +15890,7 @@ const $host = {
|
|
|
15449
15890
|
const apiVersion = {
|
|
15450
15891
|
parameterPath: "apiVersion",
|
|
15451
15892
|
mapper: {
|
|
15452
|
-
defaultValue: "2022-
|
|
15893
|
+
defaultValue: "2022-09-01-preview",
|
|
15453
15894
|
isConstant: true,
|
|
15454
15895
|
serializedName: "api-version",
|
|
15455
15896
|
type: {
|
|
@@ -15768,6 +16209,20 @@ const entityQueryTemplateId = {
|
|
|
15768
16209
|
}
|
|
15769
16210
|
}
|
|
15770
16211
|
};
|
|
16212
|
+
const fileImportId = {
|
|
16213
|
+
parameterPath: "fileImportId",
|
|
16214
|
+
mapper: {
|
|
16215
|
+
serializedName: "fileImportId",
|
|
16216
|
+
required: true,
|
|
16217
|
+
type: {
|
|
16218
|
+
name: "String"
|
|
16219
|
+
}
|
|
16220
|
+
}
|
|
16221
|
+
};
|
|
16222
|
+
const fileImport = {
|
|
16223
|
+
parameterPath: "fileImport",
|
|
16224
|
+
mapper: FileImport
|
|
16225
|
+
};
|
|
15771
16226
|
const incidentCommentId = {
|
|
15772
16227
|
parameterPath: "incidentCommentId",
|
|
15773
16228
|
mapper: {
|
|
@@ -15994,20 +16449,31 @@ class AlertRulesImpl {
|
|
|
15994
16449
|
[Symbol.asyncIterator]() {
|
|
15995
16450
|
return this;
|
|
15996
16451
|
},
|
|
15997
|
-
byPage: () => {
|
|
15998
|
-
|
|
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);
|
|
15999
16457
|
}
|
|
16000
16458
|
};
|
|
16001
16459
|
}
|
|
16002
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
16460
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
16003
16461
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
16004
|
-
let result
|
|
16005
|
-
|
|
16006
|
-
|
|
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
|
+
}
|
|
16007
16471
|
while (continuationToken) {
|
|
16008
16472
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
16009
16473
|
continuationToken = result.nextLink;
|
|
16010
|
-
|
|
16474
|
+
let page = result.value || [];
|
|
16475
|
+
setContinuationToken(page, continuationToken);
|
|
16476
|
+
yield yield tslib.__await(page);
|
|
16011
16477
|
}
|
|
16012
16478
|
});
|
|
16013
16479
|
}
|
|
@@ -16036,7 +16502,7 @@ class AlertRulesImpl {
|
|
|
16036
16502
|
* @param options The options parameters.
|
|
16037
16503
|
*/
|
|
16038
16504
|
_list(resourceGroupName, workspaceName, options) {
|
|
16039
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$
|
|
16505
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$p);
|
|
16040
16506
|
}
|
|
16041
16507
|
/**
|
|
16042
16508
|
* Gets the alert rule.
|
|
@@ -16046,7 +16512,7 @@ class AlertRulesImpl {
|
|
|
16046
16512
|
* @param options The options parameters.
|
|
16047
16513
|
*/
|
|
16048
16514
|
get(resourceGroupName, workspaceName, ruleId, options) {
|
|
16049
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, ruleId, options }, getOperationSpec$
|
|
16515
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, ruleId, options }, getOperationSpec$o);
|
|
16050
16516
|
}
|
|
16051
16517
|
/**
|
|
16052
16518
|
* Creates or updates the alert rule.
|
|
@@ -16067,7 +16533,7 @@ class AlertRulesImpl {
|
|
|
16067
16533
|
* @param options The options parameters.
|
|
16068
16534
|
*/
|
|
16069
16535
|
delete(resourceGroupName, workspaceName, ruleId, options) {
|
|
16070
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, ruleId, options }, deleteOperationSpec$
|
|
16536
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, ruleId, options }, deleteOperationSpec$j);
|
|
16071
16537
|
}
|
|
16072
16538
|
/**
|
|
16073
16539
|
* ListNext
|
|
@@ -16077,12 +16543,12 @@ class AlertRulesImpl {
|
|
|
16077
16543
|
* @param options The options parameters.
|
|
16078
16544
|
*/
|
|
16079
16545
|
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
16080
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$
|
|
16546
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$l);
|
|
16081
16547
|
}
|
|
16082
16548
|
}
|
|
16083
16549
|
// Operation Specifications
|
|
16084
|
-
const serializer$
|
|
16085
|
-
const listOperationSpec$
|
|
16550
|
+
const serializer$x = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
16551
|
+
const listOperationSpec$p = {
|
|
16086
16552
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules",
|
|
16087
16553
|
httpMethod: "GET",
|
|
16088
16554
|
responses: {
|
|
@@ -16101,9 +16567,9 @@ const listOperationSpec$o = {
|
|
|
16101
16567
|
workspaceName
|
|
16102
16568
|
],
|
|
16103
16569
|
headerParameters: [accept],
|
|
16104
|
-
serializer: serializer$
|
|
16570
|
+
serializer: serializer$x
|
|
16105
16571
|
};
|
|
16106
|
-
const getOperationSpec$
|
|
16572
|
+
const getOperationSpec$o = {
|
|
16107
16573
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}",
|
|
16108
16574
|
httpMethod: "GET",
|
|
16109
16575
|
responses: {
|
|
@@ -16123,7 +16589,7 @@ const getOperationSpec$n = {
|
|
|
16123
16589
|
ruleId
|
|
16124
16590
|
],
|
|
16125
16591
|
headerParameters: [accept],
|
|
16126
|
-
serializer: serializer$
|
|
16592
|
+
serializer: serializer$x
|
|
16127
16593
|
};
|
|
16128
16594
|
const createOrUpdateOperationSpec$c = {
|
|
16129
16595
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}",
|
|
@@ -16150,9 +16616,9 @@ const createOrUpdateOperationSpec$c = {
|
|
|
16150
16616
|
],
|
|
16151
16617
|
headerParameters: [accept, contentType],
|
|
16152
16618
|
mediaType: "json",
|
|
16153
|
-
serializer: serializer$
|
|
16619
|
+
serializer: serializer$x
|
|
16154
16620
|
};
|
|
16155
|
-
const deleteOperationSpec$
|
|
16621
|
+
const deleteOperationSpec$j = {
|
|
16156
16622
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}",
|
|
16157
16623
|
httpMethod: "DELETE",
|
|
16158
16624
|
responses: {
|
|
@@ -16171,9 +16637,9 @@ const deleteOperationSpec$i = {
|
|
|
16171
16637
|
ruleId
|
|
16172
16638
|
],
|
|
16173
16639
|
headerParameters: [accept],
|
|
16174
|
-
serializer: serializer$
|
|
16640
|
+
serializer: serializer$x
|
|
16175
16641
|
};
|
|
16176
|
-
const listNextOperationSpec$
|
|
16642
|
+
const listNextOperationSpec$l = {
|
|
16177
16643
|
path: "{nextLink}",
|
|
16178
16644
|
httpMethod: "GET",
|
|
16179
16645
|
responses: {
|
|
@@ -16184,7 +16650,6 @@ const listNextOperationSpec$k = {
|
|
|
16184
16650
|
bodyMapper: CloudError
|
|
16185
16651
|
}
|
|
16186
16652
|
},
|
|
16187
|
-
queryParameters: [apiVersion],
|
|
16188
16653
|
urlParameters: [
|
|
16189
16654
|
$host,
|
|
16190
16655
|
subscriptionId,
|
|
@@ -16193,7 +16658,7 @@ const listNextOperationSpec$k = {
|
|
|
16193
16658
|
nextLink
|
|
16194
16659
|
],
|
|
16195
16660
|
headerParameters: [accept],
|
|
16196
|
-
serializer: serializer$
|
|
16661
|
+
serializer: serializer$x
|
|
16197
16662
|
};
|
|
16198
16663
|
|
|
16199
16664
|
/*
|
|
@@ -16229,20 +16694,31 @@ class ActionsImpl {
|
|
|
16229
16694
|
[Symbol.asyncIterator]() {
|
|
16230
16695
|
return this;
|
|
16231
16696
|
},
|
|
16232
|
-
byPage: () => {
|
|
16233
|
-
|
|
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);
|
|
16234
16702
|
}
|
|
16235
16703
|
};
|
|
16236
16704
|
}
|
|
16237
|
-
listByAlertRulePagingPage(resourceGroupName, workspaceName, ruleId, options) {
|
|
16705
|
+
listByAlertRulePagingPage(resourceGroupName, workspaceName, ruleId, options, settings) {
|
|
16238
16706
|
return tslib.__asyncGenerator(this, arguments, function* listByAlertRulePagingPage_1() {
|
|
16239
|
-
let result
|
|
16240
|
-
|
|
16241
|
-
|
|
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
|
+
}
|
|
16242
16716
|
while (continuationToken) {
|
|
16243
16717
|
result = yield tslib.__await(this._listByAlertRuleNext(resourceGroupName, workspaceName, ruleId, continuationToken, options));
|
|
16244
16718
|
continuationToken = result.nextLink;
|
|
16245
|
-
|
|
16719
|
+
let page = result.value || [];
|
|
16720
|
+
setContinuationToken(page, continuationToken);
|
|
16721
|
+
yield yield tslib.__await(page);
|
|
16246
16722
|
}
|
|
16247
16723
|
});
|
|
16248
16724
|
}
|
|
@@ -16283,7 +16759,7 @@ class ActionsImpl {
|
|
|
16283
16759
|
* @param options The options parameters.
|
|
16284
16760
|
*/
|
|
16285
16761
|
get(resourceGroupName, workspaceName, ruleId, actionId, options) {
|
|
16286
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, ruleId, actionId, options }, getOperationSpec$
|
|
16762
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, ruleId, actionId, options }, getOperationSpec$n);
|
|
16287
16763
|
}
|
|
16288
16764
|
/**
|
|
16289
16765
|
* Creates or updates the action of alert rule.
|
|
@@ -16306,7 +16782,7 @@ class ActionsImpl {
|
|
|
16306
16782
|
* @param options The options parameters.
|
|
16307
16783
|
*/
|
|
16308
16784
|
delete(resourceGroupName, workspaceName, ruleId, actionId, options) {
|
|
16309
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, ruleId, actionId, options }, deleteOperationSpec$
|
|
16785
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, ruleId, actionId, options }, deleteOperationSpec$i);
|
|
16310
16786
|
}
|
|
16311
16787
|
/**
|
|
16312
16788
|
* ListByAlertRuleNext
|
|
@@ -16321,7 +16797,7 @@ class ActionsImpl {
|
|
|
16321
16797
|
}
|
|
16322
16798
|
}
|
|
16323
16799
|
// Operation Specifications
|
|
16324
|
-
const serializer$
|
|
16800
|
+
const serializer$w = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
16325
16801
|
const listByAlertRuleOperationSpec = {
|
|
16326
16802
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions",
|
|
16327
16803
|
httpMethod: "GET",
|
|
@@ -16342,9 +16818,9 @@ const listByAlertRuleOperationSpec = {
|
|
|
16342
16818
|
ruleId
|
|
16343
16819
|
],
|
|
16344
16820
|
headerParameters: [accept],
|
|
16345
|
-
serializer: serializer$
|
|
16821
|
+
serializer: serializer$w
|
|
16346
16822
|
};
|
|
16347
|
-
const getOperationSpec$
|
|
16823
|
+
const getOperationSpec$n = {
|
|
16348
16824
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}",
|
|
16349
16825
|
httpMethod: "GET",
|
|
16350
16826
|
responses: {
|
|
@@ -16365,7 +16841,7 @@ const getOperationSpec$m = {
|
|
|
16365
16841
|
actionId
|
|
16366
16842
|
],
|
|
16367
16843
|
headerParameters: [accept],
|
|
16368
|
-
serializer: serializer$
|
|
16844
|
+
serializer: serializer$w
|
|
16369
16845
|
};
|
|
16370
16846
|
const createOrUpdateOperationSpec$b = {
|
|
16371
16847
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}",
|
|
@@ -16393,9 +16869,9 @@ const createOrUpdateOperationSpec$b = {
|
|
|
16393
16869
|
],
|
|
16394
16870
|
headerParameters: [accept, contentType],
|
|
16395
16871
|
mediaType: "json",
|
|
16396
|
-
serializer: serializer$
|
|
16872
|
+
serializer: serializer$w
|
|
16397
16873
|
};
|
|
16398
|
-
const deleteOperationSpec$
|
|
16874
|
+
const deleteOperationSpec$i = {
|
|
16399
16875
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}",
|
|
16400
16876
|
httpMethod: "DELETE",
|
|
16401
16877
|
responses: {
|
|
@@ -16415,7 +16891,7 @@ const deleteOperationSpec$h = {
|
|
|
16415
16891
|
actionId
|
|
16416
16892
|
],
|
|
16417
16893
|
headerParameters: [accept],
|
|
16418
|
-
serializer: serializer$
|
|
16894
|
+
serializer: serializer$w
|
|
16419
16895
|
};
|
|
16420
16896
|
const listByAlertRuleNextOperationSpec = {
|
|
16421
16897
|
path: "{nextLink}",
|
|
@@ -16428,7 +16904,6 @@ const listByAlertRuleNextOperationSpec = {
|
|
|
16428
16904
|
bodyMapper: CloudError
|
|
16429
16905
|
}
|
|
16430
16906
|
},
|
|
16431
|
-
queryParameters: [apiVersion],
|
|
16432
16907
|
urlParameters: [
|
|
16433
16908
|
$host,
|
|
16434
16909
|
subscriptionId,
|
|
@@ -16438,7 +16913,7 @@ const listByAlertRuleNextOperationSpec = {
|
|
|
16438
16913
|
nextLink
|
|
16439
16914
|
],
|
|
16440
16915
|
headerParameters: [accept],
|
|
16441
|
-
serializer: serializer$
|
|
16916
|
+
serializer: serializer$w
|
|
16442
16917
|
};
|
|
16443
16918
|
|
|
16444
16919
|
/*
|
|
@@ -16473,20 +16948,31 @@ class AlertRuleTemplatesImpl {
|
|
|
16473
16948
|
[Symbol.asyncIterator]() {
|
|
16474
16949
|
return this;
|
|
16475
16950
|
},
|
|
16476
|
-
byPage: () => {
|
|
16477
|
-
|
|
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);
|
|
16478
16956
|
}
|
|
16479
16957
|
};
|
|
16480
16958
|
}
|
|
16481
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
16959
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
16482
16960
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
16483
|
-
let result
|
|
16484
|
-
|
|
16485
|
-
|
|
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
|
+
}
|
|
16486
16970
|
while (continuationToken) {
|
|
16487
16971
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
16488
16972
|
continuationToken = result.nextLink;
|
|
16489
|
-
|
|
16973
|
+
let page = result.value || [];
|
|
16974
|
+
setContinuationToken(page, continuationToken);
|
|
16975
|
+
yield yield tslib.__await(page);
|
|
16490
16976
|
}
|
|
16491
16977
|
});
|
|
16492
16978
|
}
|
|
@@ -16515,7 +17001,7 @@ class AlertRuleTemplatesImpl {
|
|
|
16515
17001
|
* @param options The options parameters.
|
|
16516
17002
|
*/
|
|
16517
17003
|
_list(resourceGroupName, workspaceName, options) {
|
|
16518
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$
|
|
17004
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$o);
|
|
16519
17005
|
}
|
|
16520
17006
|
/**
|
|
16521
17007
|
* Gets the alert rule template.
|
|
@@ -16525,7 +17011,7 @@ class AlertRuleTemplatesImpl {
|
|
|
16525
17011
|
* @param options The options parameters.
|
|
16526
17012
|
*/
|
|
16527
17013
|
get(resourceGroupName, workspaceName, alertRuleTemplateId, options) {
|
|
16528
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, alertRuleTemplateId, options }, getOperationSpec$
|
|
17014
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, alertRuleTemplateId, options }, getOperationSpec$m);
|
|
16529
17015
|
}
|
|
16530
17016
|
/**
|
|
16531
17017
|
* ListNext
|
|
@@ -16535,12 +17021,12 @@ class AlertRuleTemplatesImpl {
|
|
|
16535
17021
|
* @param options The options parameters.
|
|
16536
17022
|
*/
|
|
16537
17023
|
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
16538
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$
|
|
17024
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$k);
|
|
16539
17025
|
}
|
|
16540
17026
|
}
|
|
16541
17027
|
// Operation Specifications
|
|
16542
|
-
const serializer$
|
|
16543
|
-
const listOperationSpec$
|
|
17028
|
+
const serializer$v = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
17029
|
+
const listOperationSpec$o = {
|
|
16544
17030
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates",
|
|
16545
17031
|
httpMethod: "GET",
|
|
16546
17032
|
responses: {
|
|
@@ -16559,9 +17045,9 @@ const listOperationSpec$n = {
|
|
|
16559
17045
|
workspaceName
|
|
16560
17046
|
],
|
|
16561
17047
|
headerParameters: [accept],
|
|
16562
|
-
serializer: serializer$
|
|
17048
|
+
serializer: serializer$v
|
|
16563
17049
|
};
|
|
16564
|
-
const getOperationSpec$
|
|
17050
|
+
const getOperationSpec$m = {
|
|
16565
17051
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}",
|
|
16566
17052
|
httpMethod: "GET",
|
|
16567
17053
|
responses: {
|
|
@@ -16581,9 +17067,9 @@ const getOperationSpec$l = {
|
|
|
16581
17067
|
alertRuleTemplateId
|
|
16582
17068
|
],
|
|
16583
17069
|
headerParameters: [accept],
|
|
16584
|
-
serializer: serializer$
|
|
17070
|
+
serializer: serializer$v
|
|
16585
17071
|
};
|
|
16586
|
-
const listNextOperationSpec$
|
|
17072
|
+
const listNextOperationSpec$k = {
|
|
16587
17073
|
path: "{nextLink}",
|
|
16588
17074
|
httpMethod: "GET",
|
|
16589
17075
|
responses: {
|
|
@@ -16594,7 +17080,6 @@ const listNextOperationSpec$j = {
|
|
|
16594
17080
|
bodyMapper: CloudError
|
|
16595
17081
|
}
|
|
16596
17082
|
},
|
|
16597
|
-
queryParameters: [apiVersion],
|
|
16598
17083
|
urlParameters: [
|
|
16599
17084
|
$host,
|
|
16600
17085
|
subscriptionId,
|
|
@@ -16603,7 +17088,7 @@ const listNextOperationSpec$j = {
|
|
|
16603
17088
|
nextLink
|
|
16604
17089
|
],
|
|
16605
17090
|
headerParameters: [accept],
|
|
16606
|
-
serializer: serializer$
|
|
17091
|
+
serializer: serializer$v
|
|
16607
17092
|
};
|
|
16608
17093
|
|
|
16609
17094
|
/*
|
|
@@ -16638,20 +17123,31 @@ class AutomationRulesImpl {
|
|
|
16638
17123
|
[Symbol.asyncIterator]() {
|
|
16639
17124
|
return this;
|
|
16640
17125
|
},
|
|
16641
|
-
byPage: () => {
|
|
16642
|
-
|
|
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);
|
|
16643
17131
|
}
|
|
16644
17132
|
};
|
|
16645
17133
|
}
|
|
16646
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
17134
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
16647
17135
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
16648
|
-
let result
|
|
16649
|
-
|
|
16650
|
-
|
|
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
|
+
}
|
|
16651
17145
|
while (continuationToken) {
|
|
16652
17146
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
16653
17147
|
continuationToken = result.nextLink;
|
|
16654
|
-
|
|
17148
|
+
let page = result.value || [];
|
|
17149
|
+
setContinuationToken(page, continuationToken);
|
|
17150
|
+
yield yield tslib.__await(page);
|
|
16655
17151
|
}
|
|
16656
17152
|
});
|
|
16657
17153
|
}
|
|
@@ -16681,7 +17177,7 @@ class AutomationRulesImpl {
|
|
|
16681
17177
|
* @param options The options parameters.
|
|
16682
17178
|
*/
|
|
16683
17179
|
get(resourceGroupName, workspaceName, automationRuleId, options) {
|
|
16684
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, automationRuleId, options }, getOperationSpec$
|
|
17180
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, automationRuleId, options }, getOperationSpec$l);
|
|
16685
17181
|
}
|
|
16686
17182
|
/**
|
|
16687
17183
|
* Creates or updates the automation rule.
|
|
@@ -16701,7 +17197,7 @@ class AutomationRulesImpl {
|
|
|
16701
17197
|
* @param options The options parameters.
|
|
16702
17198
|
*/
|
|
16703
17199
|
delete(resourceGroupName, workspaceName, automationRuleId, options) {
|
|
16704
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, automationRuleId, options }, deleteOperationSpec$
|
|
17200
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, automationRuleId, options }, deleteOperationSpec$h);
|
|
16705
17201
|
}
|
|
16706
17202
|
/**
|
|
16707
17203
|
* Gets all automation rules.
|
|
@@ -16710,7 +17206,7 @@ class AutomationRulesImpl {
|
|
|
16710
17206
|
* @param options The options parameters.
|
|
16711
17207
|
*/
|
|
16712
17208
|
_list(resourceGroupName, workspaceName, options) {
|
|
16713
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$
|
|
17209
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$n);
|
|
16714
17210
|
}
|
|
16715
17211
|
/**
|
|
16716
17212
|
* ListNext
|
|
@@ -16720,12 +17216,12 @@ class AutomationRulesImpl {
|
|
|
16720
17216
|
* @param options The options parameters.
|
|
16721
17217
|
*/
|
|
16722
17218
|
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
16723
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$
|
|
17219
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$j);
|
|
16724
17220
|
}
|
|
16725
17221
|
}
|
|
16726
17222
|
// Operation Specifications
|
|
16727
|
-
const serializer$
|
|
16728
|
-
const getOperationSpec$
|
|
17223
|
+
const serializer$u = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
17224
|
+
const getOperationSpec$l = {
|
|
16729
17225
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}",
|
|
16730
17226
|
httpMethod: "GET",
|
|
16731
17227
|
responses: {
|
|
@@ -16745,7 +17241,7 @@ const getOperationSpec$k = {
|
|
|
16745
17241
|
automationRuleId
|
|
16746
17242
|
],
|
|
16747
17243
|
headerParameters: [accept],
|
|
16748
|
-
serializer: serializer$
|
|
17244
|
+
serializer: serializer$u
|
|
16749
17245
|
};
|
|
16750
17246
|
const createOrUpdateOperationSpec$a = {
|
|
16751
17247
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}",
|
|
@@ -16772,9 +17268,9 @@ const createOrUpdateOperationSpec$a = {
|
|
|
16772
17268
|
],
|
|
16773
17269
|
headerParameters: [accept, contentType],
|
|
16774
17270
|
mediaType: "json",
|
|
16775
|
-
serializer: serializer$
|
|
17271
|
+
serializer: serializer$u
|
|
16776
17272
|
};
|
|
16777
|
-
const deleteOperationSpec$
|
|
17273
|
+
const deleteOperationSpec$h = {
|
|
16778
17274
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}",
|
|
16779
17275
|
httpMethod: "DELETE",
|
|
16780
17276
|
responses: {
|
|
@@ -16801,9 +17297,9 @@ const deleteOperationSpec$g = {
|
|
|
16801
17297
|
automationRuleId
|
|
16802
17298
|
],
|
|
16803
17299
|
headerParameters: [accept],
|
|
16804
|
-
serializer: serializer$
|
|
17300
|
+
serializer: serializer$u
|
|
16805
17301
|
};
|
|
16806
|
-
const listOperationSpec$
|
|
17302
|
+
const listOperationSpec$n = {
|
|
16807
17303
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules",
|
|
16808
17304
|
httpMethod: "GET",
|
|
16809
17305
|
responses: {
|
|
@@ -16822,9 +17318,9 @@ const listOperationSpec$m = {
|
|
|
16822
17318
|
workspaceName
|
|
16823
17319
|
],
|
|
16824
17320
|
headerParameters: [accept],
|
|
16825
|
-
serializer: serializer$
|
|
17321
|
+
serializer: serializer$u
|
|
16826
17322
|
};
|
|
16827
|
-
const listNextOperationSpec$
|
|
17323
|
+
const listNextOperationSpec$j = {
|
|
16828
17324
|
path: "{nextLink}",
|
|
16829
17325
|
httpMethod: "GET",
|
|
16830
17326
|
responses: {
|
|
@@ -16835,7 +17331,6 @@ const listNextOperationSpec$i = {
|
|
|
16835
17331
|
bodyMapper: CloudError
|
|
16836
17332
|
}
|
|
16837
17333
|
},
|
|
16838
|
-
queryParameters: [apiVersion],
|
|
16839
17334
|
urlParameters: [
|
|
16840
17335
|
$host,
|
|
16841
17336
|
subscriptionId,
|
|
@@ -16844,7 +17339,7 @@ const listNextOperationSpec$i = {
|
|
|
16844
17339
|
nextLink
|
|
16845
17340
|
],
|
|
16846
17341
|
headerParameters: [accept],
|
|
16847
|
-
serializer: serializer$
|
|
17342
|
+
serializer: serializer$u
|
|
16848
17343
|
};
|
|
16849
17344
|
|
|
16850
17345
|
/*
|
|
@@ -16879,20 +17374,31 @@ class IncidentsImpl {
|
|
|
16879
17374
|
[Symbol.asyncIterator]() {
|
|
16880
17375
|
return this;
|
|
16881
17376
|
},
|
|
16882
|
-
byPage: () => {
|
|
16883
|
-
|
|
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);
|
|
16884
17382
|
}
|
|
16885
17383
|
};
|
|
16886
17384
|
}
|
|
16887
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
17385
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
16888
17386
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
16889
|
-
let result
|
|
16890
|
-
|
|
16891
|
-
|
|
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
|
+
}
|
|
16892
17396
|
while (continuationToken) {
|
|
16893
17397
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
16894
17398
|
continuationToken = result.nextLink;
|
|
16895
|
-
|
|
17399
|
+
let page = result.value || [];
|
|
17400
|
+
setContinuationToken(page, continuationToken);
|
|
17401
|
+
yield yield tslib.__await(page);
|
|
16896
17402
|
}
|
|
16897
17403
|
});
|
|
16898
17404
|
}
|
|
@@ -16931,7 +17437,7 @@ class IncidentsImpl {
|
|
|
16931
17437
|
* @param options The options parameters.
|
|
16932
17438
|
*/
|
|
16933
17439
|
_list(resourceGroupName, workspaceName, options) {
|
|
16934
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$
|
|
17440
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$m);
|
|
16935
17441
|
}
|
|
16936
17442
|
/**
|
|
16937
17443
|
* Gets an incident.
|
|
@@ -16941,7 +17447,7 @@ class IncidentsImpl {
|
|
|
16941
17447
|
* @param options The options parameters.
|
|
16942
17448
|
*/
|
|
16943
17449
|
get(resourceGroupName, workspaceName, incidentId, options) {
|
|
16944
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, incidentId, options }, getOperationSpec$
|
|
17450
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, incidentId, options }, getOperationSpec$k);
|
|
16945
17451
|
}
|
|
16946
17452
|
/**
|
|
16947
17453
|
* Creates or updates the incident.
|
|
@@ -16962,7 +17468,7 @@ class IncidentsImpl {
|
|
|
16962
17468
|
* @param options The options parameters.
|
|
16963
17469
|
*/
|
|
16964
17470
|
delete(resourceGroupName, workspaceName, incidentId, options) {
|
|
16965
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, incidentId, options }, deleteOperationSpec$
|
|
17471
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, incidentId, options }, deleteOperationSpec$g);
|
|
16966
17472
|
}
|
|
16967
17473
|
/**
|
|
16968
17474
|
* Creates a Microsoft team to investigate the incident by sharing information and insights between
|
|
@@ -17014,11 +17520,11 @@ class IncidentsImpl {
|
|
|
17014
17520
|
* @param options The options parameters.
|
|
17015
17521
|
*/
|
|
17016
17522
|
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
17017
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$
|
|
17523
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$i);
|
|
17018
17524
|
}
|
|
17019
17525
|
}
|
|
17020
17526
|
// Operation Specifications
|
|
17021
|
-
const serializer$
|
|
17527
|
+
const serializer$t = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
17022
17528
|
const runPlaybookOperationSpec = {
|
|
17023
17529
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentIdentifier}/runPlaybook",
|
|
17024
17530
|
httpMethod: "POST",
|
|
@@ -17043,9 +17549,9 @@ const runPlaybookOperationSpec = {
|
|
|
17043
17549
|
],
|
|
17044
17550
|
headerParameters: [accept, contentType],
|
|
17045
17551
|
mediaType: "json",
|
|
17046
|
-
serializer: serializer$
|
|
17552
|
+
serializer: serializer$t
|
|
17047
17553
|
};
|
|
17048
|
-
const listOperationSpec$
|
|
17554
|
+
const listOperationSpec$m = {
|
|
17049
17555
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents",
|
|
17050
17556
|
httpMethod: "GET",
|
|
17051
17557
|
responses: {
|
|
@@ -17070,9 +17576,9 @@ const listOperationSpec$l = {
|
|
|
17070
17576
|
workspaceName
|
|
17071
17577
|
],
|
|
17072
17578
|
headerParameters: [accept],
|
|
17073
|
-
serializer: serializer$
|
|
17579
|
+
serializer: serializer$t
|
|
17074
17580
|
};
|
|
17075
|
-
const getOperationSpec$
|
|
17581
|
+
const getOperationSpec$k = {
|
|
17076
17582
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}",
|
|
17077
17583
|
httpMethod: "GET",
|
|
17078
17584
|
responses: {
|
|
@@ -17092,7 +17598,7 @@ const getOperationSpec$j = {
|
|
|
17092
17598
|
incidentId
|
|
17093
17599
|
],
|
|
17094
17600
|
headerParameters: [accept],
|
|
17095
|
-
serializer: serializer$
|
|
17601
|
+
serializer: serializer$t
|
|
17096
17602
|
};
|
|
17097
17603
|
const createOrUpdateOperationSpec$9 = {
|
|
17098
17604
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}",
|
|
@@ -17119,9 +17625,9 @@ const createOrUpdateOperationSpec$9 = {
|
|
|
17119
17625
|
],
|
|
17120
17626
|
headerParameters: [accept, contentType],
|
|
17121
17627
|
mediaType: "json",
|
|
17122
|
-
serializer: serializer$
|
|
17628
|
+
serializer: serializer$t
|
|
17123
17629
|
};
|
|
17124
|
-
const deleteOperationSpec$
|
|
17630
|
+
const deleteOperationSpec$g = {
|
|
17125
17631
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}",
|
|
17126
17632
|
httpMethod: "DELETE",
|
|
17127
17633
|
responses: {
|
|
@@ -17140,7 +17646,7 @@ const deleteOperationSpec$f = {
|
|
|
17140
17646
|
incidentId
|
|
17141
17647
|
],
|
|
17142
17648
|
headerParameters: [accept],
|
|
17143
|
-
serializer: serializer$
|
|
17649
|
+
serializer: serializer$t
|
|
17144
17650
|
};
|
|
17145
17651
|
const createTeamOperationSpec = {
|
|
17146
17652
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/createTeam",
|
|
@@ -17164,7 +17670,7 @@ const createTeamOperationSpec = {
|
|
|
17164
17670
|
],
|
|
17165
17671
|
headerParameters: [accept, contentType],
|
|
17166
17672
|
mediaType: "json",
|
|
17167
|
-
serializer: serializer$
|
|
17673
|
+
serializer: serializer$t
|
|
17168
17674
|
};
|
|
17169
17675
|
const listAlertsOperationSpec = {
|
|
17170
17676
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/alerts",
|
|
@@ -17186,7 +17692,7 @@ const listAlertsOperationSpec = {
|
|
|
17186
17692
|
incidentId
|
|
17187
17693
|
],
|
|
17188
17694
|
headerParameters: [accept],
|
|
17189
|
-
serializer: serializer$
|
|
17695
|
+
serializer: serializer$t
|
|
17190
17696
|
};
|
|
17191
17697
|
const listBookmarksOperationSpec = {
|
|
17192
17698
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/bookmarks",
|
|
@@ -17208,7 +17714,7 @@ const listBookmarksOperationSpec = {
|
|
|
17208
17714
|
incidentId
|
|
17209
17715
|
],
|
|
17210
17716
|
headerParameters: [accept],
|
|
17211
|
-
serializer: serializer$
|
|
17717
|
+
serializer: serializer$t
|
|
17212
17718
|
};
|
|
17213
17719
|
const listEntitiesOperationSpec = {
|
|
17214
17720
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/entities",
|
|
@@ -17230,9 +17736,9 @@ const listEntitiesOperationSpec = {
|
|
|
17230
17736
|
incidentId
|
|
17231
17737
|
],
|
|
17232
17738
|
headerParameters: [accept],
|
|
17233
|
-
serializer: serializer$
|
|
17739
|
+
serializer: serializer$t
|
|
17234
17740
|
};
|
|
17235
|
-
const listNextOperationSpec$
|
|
17741
|
+
const listNextOperationSpec$i = {
|
|
17236
17742
|
path: "{nextLink}",
|
|
17237
17743
|
httpMethod: "GET",
|
|
17238
17744
|
responses: {
|
|
@@ -17243,13 +17749,6 @@ const listNextOperationSpec$h = {
|
|
|
17243
17749
|
bodyMapper: CloudError
|
|
17244
17750
|
}
|
|
17245
17751
|
},
|
|
17246
|
-
queryParameters: [
|
|
17247
|
-
apiVersion,
|
|
17248
|
-
filter,
|
|
17249
|
-
orderby,
|
|
17250
|
-
top,
|
|
17251
|
-
skipToken
|
|
17252
|
-
],
|
|
17253
17752
|
urlParameters: [
|
|
17254
17753
|
$host,
|
|
17255
17754
|
subscriptionId,
|
|
@@ -17258,7 +17757,7 @@ const listNextOperationSpec$h = {
|
|
|
17258
17757
|
nextLink
|
|
17259
17758
|
],
|
|
17260
17759
|
headerParameters: [accept],
|
|
17261
|
-
serializer: serializer$
|
|
17760
|
+
serializer: serializer$t
|
|
17262
17761
|
};
|
|
17263
17762
|
|
|
17264
17763
|
/*
|
|
@@ -17293,20 +17792,31 @@ class BookmarksImpl {
|
|
|
17293
17792
|
[Symbol.asyncIterator]() {
|
|
17294
17793
|
return this;
|
|
17295
17794
|
},
|
|
17296
|
-
byPage: () => {
|
|
17297
|
-
|
|
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);
|
|
17298
17800
|
}
|
|
17299
17801
|
};
|
|
17300
17802
|
}
|
|
17301
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
17803
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
17302
17804
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
17303
|
-
let result
|
|
17304
|
-
|
|
17305
|
-
|
|
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
|
+
}
|
|
17306
17814
|
while (continuationToken) {
|
|
17307
17815
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
17308
17816
|
continuationToken = result.nextLink;
|
|
17309
|
-
|
|
17817
|
+
let page = result.value || [];
|
|
17818
|
+
setContinuationToken(page, continuationToken);
|
|
17819
|
+
yield yield tslib.__await(page);
|
|
17310
17820
|
}
|
|
17311
17821
|
});
|
|
17312
17822
|
}
|
|
@@ -17335,7 +17845,7 @@ class BookmarksImpl {
|
|
|
17335
17845
|
* @param options The options parameters.
|
|
17336
17846
|
*/
|
|
17337
17847
|
_list(resourceGroupName, workspaceName, options) {
|
|
17338
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$
|
|
17848
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$l);
|
|
17339
17849
|
}
|
|
17340
17850
|
/**
|
|
17341
17851
|
* Gets a bookmark.
|
|
@@ -17345,7 +17855,7 @@ class BookmarksImpl {
|
|
|
17345
17855
|
* @param options The options parameters.
|
|
17346
17856
|
*/
|
|
17347
17857
|
get(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
17348
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, options }, getOperationSpec$
|
|
17858
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, options }, getOperationSpec$j);
|
|
17349
17859
|
}
|
|
17350
17860
|
/**
|
|
17351
17861
|
* Creates or updates the bookmark.
|
|
@@ -17366,7 +17876,7 @@ class BookmarksImpl {
|
|
|
17366
17876
|
* @param options The options parameters.
|
|
17367
17877
|
*/
|
|
17368
17878
|
delete(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
17369
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, options }, deleteOperationSpec$
|
|
17879
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, options }, deleteOperationSpec$f);
|
|
17370
17880
|
}
|
|
17371
17881
|
/**
|
|
17372
17882
|
* ListNext
|
|
@@ -17376,12 +17886,12 @@ class BookmarksImpl {
|
|
|
17376
17886
|
* @param options The options parameters.
|
|
17377
17887
|
*/
|
|
17378
17888
|
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
17379
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$
|
|
17889
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$h);
|
|
17380
17890
|
}
|
|
17381
17891
|
}
|
|
17382
17892
|
// Operation Specifications
|
|
17383
|
-
const serializer$
|
|
17384
|
-
const listOperationSpec$
|
|
17893
|
+
const serializer$s = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
17894
|
+
const listOperationSpec$l = {
|
|
17385
17895
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks",
|
|
17386
17896
|
httpMethod: "GET",
|
|
17387
17897
|
responses: {
|
|
@@ -17400,9 +17910,9 @@ const listOperationSpec$k = {
|
|
|
17400
17910
|
workspaceName
|
|
17401
17911
|
],
|
|
17402
17912
|
headerParameters: [accept],
|
|
17403
|
-
serializer: serializer$
|
|
17913
|
+
serializer: serializer$s
|
|
17404
17914
|
};
|
|
17405
|
-
const getOperationSpec$
|
|
17915
|
+
const getOperationSpec$j = {
|
|
17406
17916
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}",
|
|
17407
17917
|
httpMethod: "GET",
|
|
17408
17918
|
responses: {
|
|
@@ -17422,7 +17932,7 @@ const getOperationSpec$i = {
|
|
|
17422
17932
|
bookmarkId
|
|
17423
17933
|
],
|
|
17424
17934
|
headerParameters: [accept],
|
|
17425
|
-
serializer: serializer$
|
|
17935
|
+
serializer: serializer$s
|
|
17426
17936
|
};
|
|
17427
17937
|
const createOrUpdateOperationSpec$8 = {
|
|
17428
17938
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}",
|
|
@@ -17449,9 +17959,9 @@ const createOrUpdateOperationSpec$8 = {
|
|
|
17449
17959
|
],
|
|
17450
17960
|
headerParameters: [accept, contentType],
|
|
17451
17961
|
mediaType: "json",
|
|
17452
|
-
serializer: serializer$
|
|
17962
|
+
serializer: serializer$s
|
|
17453
17963
|
};
|
|
17454
|
-
const deleteOperationSpec$
|
|
17964
|
+
const deleteOperationSpec$f = {
|
|
17455
17965
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}",
|
|
17456
17966
|
httpMethod: "DELETE",
|
|
17457
17967
|
responses: {
|
|
@@ -17470,9 +17980,9 @@ const deleteOperationSpec$e = {
|
|
|
17470
17980
|
bookmarkId
|
|
17471
17981
|
],
|
|
17472
17982
|
headerParameters: [accept],
|
|
17473
|
-
serializer: serializer$
|
|
17983
|
+
serializer: serializer$s
|
|
17474
17984
|
};
|
|
17475
|
-
const listNextOperationSpec$
|
|
17985
|
+
const listNextOperationSpec$h = {
|
|
17476
17986
|
path: "{nextLink}",
|
|
17477
17987
|
httpMethod: "GET",
|
|
17478
17988
|
responses: {
|
|
@@ -17483,7 +17993,6 @@ const listNextOperationSpec$g = {
|
|
|
17483
17993
|
bodyMapper: CloudError
|
|
17484
17994
|
}
|
|
17485
17995
|
},
|
|
17486
|
-
queryParameters: [apiVersion],
|
|
17487
17996
|
urlParameters: [
|
|
17488
17997
|
$host,
|
|
17489
17998
|
subscriptionId,
|
|
@@ -17492,7 +18001,7 @@ const listNextOperationSpec$g = {
|
|
|
17492
18001
|
nextLink
|
|
17493
18002
|
],
|
|
17494
18003
|
headerParameters: [accept],
|
|
17495
|
-
serializer: serializer$
|
|
18004
|
+
serializer: serializer$s
|
|
17496
18005
|
};
|
|
17497
18006
|
|
|
17498
18007
|
/*
|
|
@@ -17528,20 +18037,31 @@ class BookmarkRelationsImpl {
|
|
|
17528
18037
|
[Symbol.asyncIterator]() {
|
|
17529
18038
|
return this;
|
|
17530
18039
|
},
|
|
17531
|
-
byPage: () => {
|
|
17532
|
-
|
|
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);
|
|
17533
18045
|
}
|
|
17534
18046
|
};
|
|
17535
18047
|
}
|
|
17536
|
-
listPagingPage(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
18048
|
+
listPagingPage(resourceGroupName, workspaceName, bookmarkId, options, settings) {
|
|
17537
18049
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
17538
|
-
let result
|
|
17539
|
-
|
|
17540
|
-
|
|
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
|
+
}
|
|
17541
18059
|
while (continuationToken) {
|
|
17542
18060
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, bookmarkId, continuationToken, options));
|
|
17543
18061
|
continuationToken = result.nextLink;
|
|
17544
|
-
|
|
18062
|
+
let page = result.value || [];
|
|
18063
|
+
setContinuationToken(page, continuationToken);
|
|
18064
|
+
yield yield tslib.__await(page);
|
|
17545
18065
|
}
|
|
17546
18066
|
});
|
|
17547
18067
|
}
|
|
@@ -17571,7 +18091,7 @@ class BookmarkRelationsImpl {
|
|
|
17571
18091
|
* @param options The options parameters.
|
|
17572
18092
|
*/
|
|
17573
18093
|
_list(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
17574
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, options }, listOperationSpec$
|
|
18094
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, options }, listOperationSpec$k);
|
|
17575
18095
|
}
|
|
17576
18096
|
/**
|
|
17577
18097
|
* Gets a bookmark relation.
|
|
@@ -17582,7 +18102,7 @@ class BookmarkRelationsImpl {
|
|
|
17582
18102
|
* @param options The options parameters.
|
|
17583
18103
|
*/
|
|
17584
18104
|
get(resourceGroupName, workspaceName, bookmarkId, relationName, options) {
|
|
17585
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, relationName, options }, getOperationSpec$
|
|
18105
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, relationName, options }, getOperationSpec$i);
|
|
17586
18106
|
}
|
|
17587
18107
|
/**
|
|
17588
18108
|
* Creates the bookmark relation.
|
|
@@ -17612,7 +18132,7 @@ class BookmarkRelationsImpl {
|
|
|
17612
18132
|
* @param options The options parameters.
|
|
17613
18133
|
*/
|
|
17614
18134
|
delete(resourceGroupName, workspaceName, bookmarkId, relationName, options) {
|
|
17615
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, relationName, options }, deleteOperationSpec$
|
|
18135
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, relationName, options }, deleteOperationSpec$e);
|
|
17616
18136
|
}
|
|
17617
18137
|
/**
|
|
17618
18138
|
* ListNext
|
|
@@ -17623,12 +18143,12 @@ class BookmarkRelationsImpl {
|
|
|
17623
18143
|
* @param options The options parameters.
|
|
17624
18144
|
*/
|
|
17625
18145
|
_listNext(resourceGroupName, workspaceName, bookmarkId, nextLink, options) {
|
|
17626
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, nextLink, options }, listNextOperationSpec$
|
|
18146
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, nextLink, options }, listNextOperationSpec$g);
|
|
17627
18147
|
}
|
|
17628
18148
|
}
|
|
17629
18149
|
// Operation Specifications
|
|
17630
|
-
const serializer$
|
|
17631
|
-
const listOperationSpec$
|
|
18150
|
+
const serializer$r = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
18151
|
+
const listOperationSpec$k = {
|
|
17632
18152
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations",
|
|
17633
18153
|
httpMethod: "GET",
|
|
17634
18154
|
responses: {
|
|
@@ -17654,9 +18174,9 @@ const listOperationSpec$j = {
|
|
|
17654
18174
|
bookmarkId
|
|
17655
18175
|
],
|
|
17656
18176
|
headerParameters: [accept],
|
|
17657
|
-
serializer: serializer$
|
|
18177
|
+
serializer: serializer$r
|
|
17658
18178
|
};
|
|
17659
|
-
const getOperationSpec$
|
|
18179
|
+
const getOperationSpec$i = {
|
|
17660
18180
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}",
|
|
17661
18181
|
httpMethod: "GET",
|
|
17662
18182
|
responses: {
|
|
@@ -17677,7 +18197,7 @@ const getOperationSpec$h = {
|
|
|
17677
18197
|
relationName
|
|
17678
18198
|
],
|
|
17679
18199
|
headerParameters: [accept],
|
|
17680
|
-
serializer: serializer$
|
|
18200
|
+
serializer: serializer$r
|
|
17681
18201
|
};
|
|
17682
18202
|
const createOrUpdateOperationSpec$7 = {
|
|
17683
18203
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}",
|
|
@@ -17705,9 +18225,9 @@ const createOrUpdateOperationSpec$7 = {
|
|
|
17705
18225
|
],
|
|
17706
18226
|
headerParameters: [accept, contentType],
|
|
17707
18227
|
mediaType: "json",
|
|
17708
|
-
serializer: serializer$
|
|
18228
|
+
serializer: serializer$r
|
|
17709
18229
|
};
|
|
17710
|
-
const deleteOperationSpec$
|
|
18230
|
+
const deleteOperationSpec$e = {
|
|
17711
18231
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}",
|
|
17712
18232
|
httpMethod: "DELETE",
|
|
17713
18233
|
responses: {
|
|
@@ -17727,9 +18247,9 @@ const deleteOperationSpec$d = {
|
|
|
17727
18247
|
relationName
|
|
17728
18248
|
],
|
|
17729
18249
|
headerParameters: [accept],
|
|
17730
|
-
serializer: serializer$
|
|
18250
|
+
serializer: serializer$r
|
|
17731
18251
|
};
|
|
17732
|
-
const listNextOperationSpec$
|
|
18252
|
+
const listNextOperationSpec$g = {
|
|
17733
18253
|
path: "{nextLink}",
|
|
17734
18254
|
httpMethod: "GET",
|
|
17735
18255
|
responses: {
|
|
@@ -17740,13 +18260,6 @@ const listNextOperationSpec$f = {
|
|
|
17740
18260
|
bodyMapper: CloudError
|
|
17741
18261
|
}
|
|
17742
18262
|
},
|
|
17743
|
-
queryParameters: [
|
|
17744
|
-
apiVersion,
|
|
17745
|
-
filter,
|
|
17746
|
-
orderby,
|
|
17747
|
-
top,
|
|
17748
|
-
skipToken
|
|
17749
|
-
],
|
|
17750
18263
|
urlParameters: [
|
|
17751
18264
|
$host,
|
|
17752
18265
|
subscriptionId,
|
|
@@ -17756,7 +18269,7 @@ const listNextOperationSpec$f = {
|
|
|
17756
18269
|
bookmarkId
|
|
17757
18270
|
],
|
|
17758
18271
|
headerParameters: [accept],
|
|
17759
|
-
serializer: serializer$
|
|
18272
|
+
serializer: serializer$r
|
|
17760
18273
|
};
|
|
17761
18274
|
|
|
17762
18275
|
/*
|
|
@@ -17788,7 +18301,7 @@ class BookmarkOperationsImpl {
|
|
|
17788
18301
|
}
|
|
17789
18302
|
}
|
|
17790
18303
|
// Operation Specifications
|
|
17791
|
-
const serializer$
|
|
18304
|
+
const serializer$q = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
17792
18305
|
const expandOperationSpec$1 = {
|
|
17793
18306
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/expand",
|
|
17794
18307
|
httpMethod: "POST",
|
|
@@ -17811,7 +18324,7 @@ const expandOperationSpec$1 = {
|
|
|
17811
18324
|
],
|
|
17812
18325
|
headerParameters: [accept, contentType],
|
|
17813
18326
|
mediaType: "json",
|
|
17814
|
-
serializer: serializer$
|
|
18327
|
+
serializer: serializer$q
|
|
17815
18328
|
};
|
|
17816
18329
|
|
|
17817
18330
|
/*
|
|
@@ -17837,12 +18350,12 @@ class IPGeodataImpl {
|
|
|
17837
18350
|
* @param options The options parameters.
|
|
17838
18351
|
*/
|
|
17839
18352
|
get(resourceGroupName, ipAddress, options) {
|
|
17840
|
-
return this.client.sendOperationRequest({ resourceGroupName, ipAddress, options }, getOperationSpec$
|
|
18353
|
+
return this.client.sendOperationRequest({ resourceGroupName, ipAddress, options }, getOperationSpec$h);
|
|
17841
18354
|
}
|
|
17842
18355
|
}
|
|
17843
18356
|
// Operation Specifications
|
|
17844
|
-
const serializer$
|
|
17845
|
-
const getOperationSpec$
|
|
18357
|
+
const serializer$p = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
18358
|
+
const getOperationSpec$h = {
|
|
17846
18359
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityInsights/enrichment/ip/geodata/",
|
|
17847
18360
|
httpMethod: "GET",
|
|
17848
18361
|
responses: {
|
|
@@ -17860,7 +18373,7 @@ const getOperationSpec$g = {
|
|
|
17860
18373
|
resourceGroupName
|
|
17861
18374
|
],
|
|
17862
18375
|
headerParameters: [accept],
|
|
17863
|
-
serializer: serializer$
|
|
18376
|
+
serializer: serializer$p
|
|
17864
18377
|
};
|
|
17865
18378
|
|
|
17866
18379
|
/*
|
|
@@ -17886,12 +18399,12 @@ class DomainWhoisImpl {
|
|
|
17886
18399
|
* @param options The options parameters.
|
|
17887
18400
|
*/
|
|
17888
18401
|
get(resourceGroupName, domain, options) {
|
|
17889
|
-
return this.client.sendOperationRequest({ resourceGroupName, domain, options }, getOperationSpec$
|
|
18402
|
+
return this.client.sendOperationRequest({ resourceGroupName, domain, options }, getOperationSpec$g);
|
|
17890
18403
|
}
|
|
17891
18404
|
}
|
|
17892
18405
|
// Operation Specifications
|
|
17893
|
-
const serializer$
|
|
17894
|
-
const getOperationSpec$
|
|
18406
|
+
const serializer$o = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
18407
|
+
const getOperationSpec$g = {
|
|
17895
18408
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityInsights/enrichment/domain/whois/",
|
|
17896
18409
|
httpMethod: "GET",
|
|
17897
18410
|
responses: {
|
|
@@ -17909,7 +18422,7 @@ const getOperationSpec$f = {
|
|
|
17909
18422
|
resourceGroupName
|
|
17910
18423
|
],
|
|
17911
18424
|
headerParameters: [accept],
|
|
17912
|
-
serializer: serializer$
|
|
18425
|
+
serializer: serializer$o
|
|
17913
18426
|
};
|
|
17914
18427
|
|
|
17915
18428
|
/*
|
|
@@ -17944,20 +18457,31 @@ class EntitiesImpl {
|
|
|
17944
18457
|
[Symbol.asyncIterator]() {
|
|
17945
18458
|
return this;
|
|
17946
18459
|
},
|
|
17947
|
-
byPage: () => {
|
|
17948
|
-
|
|
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);
|
|
17949
18465
|
}
|
|
17950
18466
|
};
|
|
17951
18467
|
}
|
|
17952
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
18468
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
17953
18469
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
17954
|
-
let result
|
|
17955
|
-
|
|
17956
|
-
|
|
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
|
+
}
|
|
17957
18479
|
while (continuationToken) {
|
|
17958
18480
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
17959
18481
|
continuationToken = result.nextLink;
|
|
17960
|
-
|
|
18482
|
+
let page = result.value || [];
|
|
18483
|
+
setContinuationToken(page, continuationToken);
|
|
18484
|
+
yield yield tslib.__await(page);
|
|
17961
18485
|
}
|
|
17962
18486
|
});
|
|
17963
18487
|
}
|
|
@@ -17986,7 +18510,7 @@ class EntitiesImpl {
|
|
|
17986
18510
|
* @param options The options parameters.
|
|
17987
18511
|
*/
|
|
17988
18512
|
_list(resourceGroupName, workspaceName, options) {
|
|
17989
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$
|
|
18513
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$j);
|
|
17990
18514
|
}
|
|
17991
18515
|
/**
|
|
17992
18516
|
* Gets an entity.
|
|
@@ -17996,7 +18520,7 @@ class EntitiesImpl {
|
|
|
17996
18520
|
* @param options The options parameters.
|
|
17997
18521
|
*/
|
|
17998
18522
|
get(resourceGroupName, workspaceName, entityId, options) {
|
|
17999
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityId, options }, getOperationSpec$
|
|
18523
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityId, options }, getOperationSpec$f);
|
|
18000
18524
|
}
|
|
18001
18525
|
/**
|
|
18002
18526
|
* Expands an entity.
|
|
@@ -18039,12 +18563,12 @@ class EntitiesImpl {
|
|
|
18039
18563
|
* @param options The options parameters.
|
|
18040
18564
|
*/
|
|
18041
18565
|
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
18042
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$
|
|
18566
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$f);
|
|
18043
18567
|
}
|
|
18044
18568
|
}
|
|
18045
18569
|
// Operation Specifications
|
|
18046
|
-
const serializer$
|
|
18047
|
-
const listOperationSpec$
|
|
18570
|
+
const serializer$n = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
18571
|
+
const listOperationSpec$j = {
|
|
18048
18572
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities",
|
|
18049
18573
|
httpMethod: "GET",
|
|
18050
18574
|
responses: {
|
|
@@ -18063,9 +18587,9 @@ const listOperationSpec$i = {
|
|
|
18063
18587
|
workspaceName
|
|
18064
18588
|
],
|
|
18065
18589
|
headerParameters: [accept],
|
|
18066
|
-
serializer: serializer$
|
|
18590
|
+
serializer: serializer$n
|
|
18067
18591
|
};
|
|
18068
|
-
const getOperationSpec$
|
|
18592
|
+
const getOperationSpec$f = {
|
|
18069
18593
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}",
|
|
18070
18594
|
httpMethod: "GET",
|
|
18071
18595
|
responses: {
|
|
@@ -18085,7 +18609,7 @@ const getOperationSpec$e = {
|
|
|
18085
18609
|
entityId
|
|
18086
18610
|
],
|
|
18087
18611
|
headerParameters: [accept],
|
|
18088
|
-
serializer: serializer$
|
|
18612
|
+
serializer: serializer$n
|
|
18089
18613
|
};
|
|
18090
18614
|
const expandOperationSpec = {
|
|
18091
18615
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/expand",
|
|
@@ -18109,7 +18633,7 @@ const expandOperationSpec = {
|
|
|
18109
18633
|
],
|
|
18110
18634
|
headerParameters: [accept, contentType],
|
|
18111
18635
|
mediaType: "json",
|
|
18112
|
-
serializer: serializer$
|
|
18636
|
+
serializer: serializer$n
|
|
18113
18637
|
};
|
|
18114
18638
|
const queriesOperationSpec = {
|
|
18115
18639
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/queries",
|
|
@@ -18131,7 +18655,7 @@ const queriesOperationSpec = {
|
|
|
18131
18655
|
entityId
|
|
18132
18656
|
],
|
|
18133
18657
|
headerParameters: [accept],
|
|
18134
|
-
serializer: serializer$
|
|
18658
|
+
serializer: serializer$n
|
|
18135
18659
|
};
|
|
18136
18660
|
const getInsightsOperationSpec = {
|
|
18137
18661
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getInsights",
|
|
@@ -18155,9 +18679,9 @@ const getInsightsOperationSpec = {
|
|
|
18155
18679
|
],
|
|
18156
18680
|
headerParameters: [accept, contentType],
|
|
18157
18681
|
mediaType: "json",
|
|
18158
|
-
serializer: serializer$
|
|
18682
|
+
serializer: serializer$n
|
|
18159
18683
|
};
|
|
18160
|
-
const listNextOperationSpec$
|
|
18684
|
+
const listNextOperationSpec$f = {
|
|
18161
18685
|
path: "{nextLink}",
|
|
18162
18686
|
httpMethod: "GET",
|
|
18163
18687
|
responses: {
|
|
@@ -18168,7 +18692,6 @@ const listNextOperationSpec$e = {
|
|
|
18168
18692
|
bodyMapper: CloudError
|
|
18169
18693
|
}
|
|
18170
18694
|
},
|
|
18171
|
-
queryParameters: [apiVersion],
|
|
18172
18695
|
urlParameters: [
|
|
18173
18696
|
$host,
|
|
18174
18697
|
subscriptionId,
|
|
@@ -18177,7 +18700,7 @@ const listNextOperationSpec$e = {
|
|
|
18177
18700
|
nextLink
|
|
18178
18701
|
],
|
|
18179
18702
|
headerParameters: [accept],
|
|
18180
|
-
serializer: serializer$
|
|
18703
|
+
serializer: serializer$n
|
|
18181
18704
|
};
|
|
18182
18705
|
|
|
18183
18706
|
/*
|
|
@@ -18205,12 +18728,12 @@ class EntitiesGetTimelineImpl {
|
|
|
18205
18728
|
* @param options The options parameters.
|
|
18206
18729
|
*/
|
|
18207
18730
|
list(resourceGroupName, workspaceName, entityId, parameters, options) {
|
|
18208
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityId, parameters, options }, listOperationSpec$
|
|
18731
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityId, parameters, options }, listOperationSpec$i);
|
|
18209
18732
|
}
|
|
18210
18733
|
}
|
|
18211
18734
|
// Operation Specifications
|
|
18212
|
-
const serializer$
|
|
18213
|
-
const listOperationSpec$
|
|
18735
|
+
const serializer$m = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
18736
|
+
const listOperationSpec$i = {
|
|
18214
18737
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getTimeline",
|
|
18215
18738
|
httpMethod: "POST",
|
|
18216
18739
|
responses: {
|
|
@@ -18232,7 +18755,7 @@ const listOperationSpec$h = {
|
|
|
18232
18755
|
],
|
|
18233
18756
|
headerParameters: [accept, contentType],
|
|
18234
18757
|
mediaType: "json",
|
|
18235
|
-
serializer: serializer$
|
|
18758
|
+
serializer: serializer$m
|
|
18236
18759
|
};
|
|
18237
18760
|
|
|
18238
18761
|
/*
|
|
@@ -18268,20 +18791,31 @@ class EntitiesRelationsImpl {
|
|
|
18268
18791
|
[Symbol.asyncIterator]() {
|
|
18269
18792
|
return this;
|
|
18270
18793
|
},
|
|
18271
|
-
byPage: () => {
|
|
18272
|
-
|
|
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);
|
|
18273
18799
|
}
|
|
18274
18800
|
};
|
|
18275
18801
|
}
|
|
18276
|
-
listPagingPage(resourceGroupName, workspaceName, entityId, options) {
|
|
18802
|
+
listPagingPage(resourceGroupName, workspaceName, entityId, options, settings) {
|
|
18277
18803
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
18278
|
-
let result
|
|
18279
|
-
|
|
18280
|
-
|
|
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
|
+
}
|
|
18281
18813
|
while (continuationToken) {
|
|
18282
18814
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, entityId, continuationToken, options));
|
|
18283
18815
|
continuationToken = result.nextLink;
|
|
18284
|
-
|
|
18816
|
+
let page = result.value || [];
|
|
18817
|
+
setContinuationToken(page, continuationToken);
|
|
18818
|
+
yield yield tslib.__await(page);
|
|
18285
18819
|
}
|
|
18286
18820
|
});
|
|
18287
18821
|
}
|
|
@@ -18311,7 +18845,7 @@ class EntitiesRelationsImpl {
|
|
|
18311
18845
|
* @param options The options parameters.
|
|
18312
18846
|
*/
|
|
18313
18847
|
_list(resourceGroupName, workspaceName, entityId, options) {
|
|
18314
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityId, options }, listOperationSpec$
|
|
18848
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityId, options }, listOperationSpec$h);
|
|
18315
18849
|
}
|
|
18316
18850
|
/**
|
|
18317
18851
|
* ListNext
|
|
@@ -18322,12 +18856,12 @@ class EntitiesRelationsImpl {
|
|
|
18322
18856
|
* @param options The options parameters.
|
|
18323
18857
|
*/
|
|
18324
18858
|
_listNext(resourceGroupName, workspaceName, entityId, nextLink, options) {
|
|
18325
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityId, nextLink, options }, listNextOperationSpec$
|
|
18859
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityId, nextLink, options }, listNextOperationSpec$e);
|
|
18326
18860
|
}
|
|
18327
18861
|
}
|
|
18328
18862
|
// Operation Specifications
|
|
18329
|
-
const serializer$
|
|
18330
|
-
const listOperationSpec$
|
|
18863
|
+
const serializer$l = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
18864
|
+
const listOperationSpec$h = {
|
|
18331
18865
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations",
|
|
18332
18866
|
httpMethod: "GET",
|
|
18333
18867
|
responses: {
|
|
@@ -18353,9 +18887,9 @@ const listOperationSpec$g = {
|
|
|
18353
18887
|
entityId
|
|
18354
18888
|
],
|
|
18355
18889
|
headerParameters: [accept],
|
|
18356
|
-
serializer: serializer$
|
|
18890
|
+
serializer: serializer$l
|
|
18357
18891
|
};
|
|
18358
|
-
const listNextOperationSpec$
|
|
18892
|
+
const listNextOperationSpec$e = {
|
|
18359
18893
|
path: "{nextLink}",
|
|
18360
18894
|
httpMethod: "GET",
|
|
18361
18895
|
responses: {
|
|
@@ -18366,13 +18900,6 @@ const listNextOperationSpec$d = {
|
|
|
18366
18900
|
bodyMapper: CloudError
|
|
18367
18901
|
}
|
|
18368
18902
|
},
|
|
18369
|
-
queryParameters: [
|
|
18370
|
-
apiVersion,
|
|
18371
|
-
filter,
|
|
18372
|
-
orderby,
|
|
18373
|
-
top,
|
|
18374
|
-
skipToken
|
|
18375
|
-
],
|
|
18376
18903
|
urlParameters: [
|
|
18377
18904
|
$host,
|
|
18378
18905
|
subscriptionId,
|
|
@@ -18382,7 +18909,7 @@ const listNextOperationSpec$d = {
|
|
|
18382
18909
|
entityId
|
|
18383
18910
|
],
|
|
18384
18911
|
headerParameters: [accept],
|
|
18385
|
-
serializer: serializer$
|
|
18912
|
+
serializer: serializer$l
|
|
18386
18913
|
};
|
|
18387
18914
|
|
|
18388
18915
|
/*
|
|
@@ -18414,7 +18941,7 @@ class EntityRelationsImpl {
|
|
|
18414
18941
|
}
|
|
18415
18942
|
}
|
|
18416
18943
|
// Operation Specifications
|
|
18417
|
-
const serializer$
|
|
18944
|
+
const serializer$k = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
18418
18945
|
const getRelationOperationSpec = {
|
|
18419
18946
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations/{relationName}",
|
|
18420
18947
|
httpMethod: "GET",
|
|
@@ -18436,7 +18963,7 @@ const getRelationOperationSpec = {
|
|
|
18436
18963
|
entityId
|
|
18437
18964
|
],
|
|
18438
18965
|
headerParameters: [accept],
|
|
18439
|
-
serializer: serializer$
|
|
18966
|
+
serializer: serializer$k
|
|
18440
18967
|
};
|
|
18441
18968
|
|
|
18442
18969
|
/*
|
|
@@ -18471,20 +18998,31 @@ class EntityQueriesImpl {
|
|
|
18471
18998
|
[Symbol.asyncIterator]() {
|
|
18472
18999
|
return this;
|
|
18473
19000
|
},
|
|
18474
|
-
byPage: () => {
|
|
18475
|
-
|
|
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);
|
|
18476
19006
|
}
|
|
18477
19007
|
};
|
|
18478
19008
|
}
|
|
18479
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
19009
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
18480
19010
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
18481
|
-
let result
|
|
18482
|
-
|
|
18483
|
-
|
|
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
|
+
}
|
|
18484
19020
|
while (continuationToken) {
|
|
18485
19021
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
18486
19022
|
continuationToken = result.nextLink;
|
|
18487
|
-
|
|
19023
|
+
let page = result.value || [];
|
|
19024
|
+
setContinuationToken(page, continuationToken);
|
|
19025
|
+
yield yield tslib.__await(page);
|
|
18488
19026
|
}
|
|
18489
19027
|
});
|
|
18490
19028
|
}
|
|
@@ -18513,7 +19051,7 @@ class EntityQueriesImpl {
|
|
|
18513
19051
|
* @param options The options parameters.
|
|
18514
19052
|
*/
|
|
18515
19053
|
_list(resourceGroupName, workspaceName, options) {
|
|
18516
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$
|
|
19054
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$g);
|
|
18517
19055
|
}
|
|
18518
19056
|
/**
|
|
18519
19057
|
* Gets an entity query.
|
|
@@ -18523,7 +19061,7 @@ class EntityQueriesImpl {
|
|
|
18523
19061
|
* @param options The options parameters.
|
|
18524
19062
|
*/
|
|
18525
19063
|
get(resourceGroupName, workspaceName, entityQueryId, options) {
|
|
18526
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityQueryId, options }, getOperationSpec$
|
|
19064
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityQueryId, options }, getOperationSpec$e);
|
|
18527
19065
|
}
|
|
18528
19066
|
/**
|
|
18529
19067
|
* Creates or updates the entity query.
|
|
@@ -18544,7 +19082,7 @@ class EntityQueriesImpl {
|
|
|
18544
19082
|
* @param options The options parameters.
|
|
18545
19083
|
*/
|
|
18546
19084
|
delete(resourceGroupName, workspaceName, entityQueryId, options) {
|
|
18547
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityQueryId, options }, deleteOperationSpec$
|
|
19085
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityQueryId, options }, deleteOperationSpec$d);
|
|
18548
19086
|
}
|
|
18549
19087
|
/**
|
|
18550
19088
|
* ListNext
|
|
@@ -18554,12 +19092,12 @@ class EntityQueriesImpl {
|
|
|
18554
19092
|
* @param options The options parameters.
|
|
18555
19093
|
*/
|
|
18556
19094
|
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
18557
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$
|
|
19095
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$d);
|
|
18558
19096
|
}
|
|
18559
19097
|
}
|
|
18560
19098
|
// Operation Specifications
|
|
18561
|
-
const serializer$
|
|
18562
|
-
const listOperationSpec$
|
|
19099
|
+
const serializer$j = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
19100
|
+
const listOperationSpec$g = {
|
|
18563
19101
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries",
|
|
18564
19102
|
httpMethod: "GET",
|
|
18565
19103
|
responses: {
|
|
@@ -18578,9 +19116,9 @@ const listOperationSpec$f = {
|
|
|
18578
19116
|
workspaceName
|
|
18579
19117
|
],
|
|
18580
19118
|
headerParameters: [accept],
|
|
18581
|
-
serializer: serializer$
|
|
19119
|
+
serializer: serializer$j
|
|
18582
19120
|
};
|
|
18583
|
-
const getOperationSpec$
|
|
19121
|
+
const getOperationSpec$e = {
|
|
18584
19122
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}",
|
|
18585
19123
|
httpMethod: "GET",
|
|
18586
19124
|
responses: {
|
|
@@ -18600,7 +19138,7 @@ const getOperationSpec$d = {
|
|
|
18600
19138
|
entityQueryId
|
|
18601
19139
|
],
|
|
18602
19140
|
headerParameters: [accept],
|
|
18603
|
-
serializer: serializer$
|
|
19141
|
+
serializer: serializer$j
|
|
18604
19142
|
};
|
|
18605
19143
|
const createOrUpdateOperationSpec$6 = {
|
|
18606
19144
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}",
|
|
@@ -18627,9 +19165,9 @@ const createOrUpdateOperationSpec$6 = {
|
|
|
18627
19165
|
],
|
|
18628
19166
|
headerParameters: [accept, contentType],
|
|
18629
19167
|
mediaType: "json",
|
|
18630
|
-
serializer: serializer$
|
|
19168
|
+
serializer: serializer$j
|
|
18631
19169
|
};
|
|
18632
|
-
const deleteOperationSpec$
|
|
19170
|
+
const deleteOperationSpec$d = {
|
|
18633
19171
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}",
|
|
18634
19172
|
httpMethod: "DELETE",
|
|
18635
19173
|
responses: {
|
|
@@ -18648,9 +19186,9 @@ const deleteOperationSpec$c = {
|
|
|
18648
19186
|
entityQueryId
|
|
18649
19187
|
],
|
|
18650
19188
|
headerParameters: [accept],
|
|
18651
|
-
serializer: serializer$
|
|
19189
|
+
serializer: serializer$j
|
|
18652
19190
|
};
|
|
18653
|
-
const listNextOperationSpec$
|
|
19191
|
+
const listNextOperationSpec$d = {
|
|
18654
19192
|
path: "{nextLink}",
|
|
18655
19193
|
httpMethod: "GET",
|
|
18656
19194
|
responses: {
|
|
@@ -18661,7 +19199,6 @@ const listNextOperationSpec$c = {
|
|
|
18661
19199
|
bodyMapper: CloudError
|
|
18662
19200
|
}
|
|
18663
19201
|
},
|
|
18664
|
-
queryParameters: [apiVersion, kind1],
|
|
18665
19202
|
urlParameters: [
|
|
18666
19203
|
$host,
|
|
18667
19204
|
subscriptionId,
|
|
@@ -18670,7 +19207,7 @@ const listNextOperationSpec$c = {
|
|
|
18670
19207
|
nextLink
|
|
18671
19208
|
],
|
|
18672
19209
|
headerParameters: [accept],
|
|
18673
|
-
serializer: serializer$
|
|
19210
|
+
serializer: serializer$j
|
|
18674
19211
|
};
|
|
18675
19212
|
|
|
18676
19213
|
/*
|
|
@@ -18705,20 +19242,31 @@ class EntityQueryTemplatesImpl {
|
|
|
18705
19242
|
[Symbol.asyncIterator]() {
|
|
18706
19243
|
return this;
|
|
18707
19244
|
},
|
|
18708
|
-
byPage: () => {
|
|
18709
|
-
|
|
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);
|
|
18710
19250
|
}
|
|
18711
19251
|
};
|
|
18712
19252
|
}
|
|
18713
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
19253
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
18714
19254
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
18715
|
-
let result
|
|
18716
|
-
|
|
18717
|
-
|
|
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
|
+
}
|
|
18718
19264
|
while (continuationToken) {
|
|
18719
19265
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
18720
19266
|
continuationToken = result.nextLink;
|
|
18721
|
-
|
|
19267
|
+
let page = result.value || [];
|
|
19268
|
+
setContinuationToken(page, continuationToken);
|
|
19269
|
+
yield yield tslib.__await(page);
|
|
18722
19270
|
}
|
|
18723
19271
|
});
|
|
18724
19272
|
}
|
|
@@ -18747,7 +19295,7 @@ class EntityQueryTemplatesImpl {
|
|
|
18747
19295
|
* @param options The options parameters.
|
|
18748
19296
|
*/
|
|
18749
19297
|
_list(resourceGroupName, workspaceName, options) {
|
|
18750
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$
|
|
19298
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$f);
|
|
18751
19299
|
}
|
|
18752
19300
|
/**
|
|
18753
19301
|
* Gets an entity query.
|
|
@@ -18757,7 +19305,7 @@ class EntityQueryTemplatesImpl {
|
|
|
18757
19305
|
* @param options The options parameters.
|
|
18758
19306
|
*/
|
|
18759
19307
|
get(resourceGroupName, workspaceName, entityQueryTemplateId, options) {
|
|
18760
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityQueryTemplateId, options }, getOperationSpec$
|
|
19308
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, entityQueryTemplateId, options }, getOperationSpec$d);
|
|
18761
19309
|
}
|
|
18762
19310
|
/**
|
|
18763
19311
|
* ListNext
|
|
@@ -18767,12 +19315,12 @@ class EntityQueryTemplatesImpl {
|
|
|
18767
19315
|
* @param options The options parameters.
|
|
18768
19316
|
*/
|
|
18769
19317
|
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
18770
|
-
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$
|
|
19318
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$c);
|
|
18771
19319
|
}
|
|
18772
19320
|
}
|
|
18773
19321
|
// Operation Specifications
|
|
18774
|
-
const serializer$
|
|
18775
|
-
const listOperationSpec$
|
|
19322
|
+
const serializer$i = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
19323
|
+
const listOperationSpec$f = {
|
|
18776
19324
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates",
|
|
18777
19325
|
httpMethod: "GET",
|
|
18778
19326
|
responses: {
|
|
@@ -18791,9 +19339,9 @@ const listOperationSpec$e = {
|
|
|
18791
19339
|
workspaceName
|
|
18792
19340
|
],
|
|
18793
19341
|
headerParameters: [accept],
|
|
18794
|
-
serializer: serializer$
|
|
19342
|
+
serializer: serializer$i
|
|
18795
19343
|
};
|
|
18796
|
-
const getOperationSpec$
|
|
19344
|
+
const getOperationSpec$d = {
|
|
18797
19345
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates/{entityQueryTemplateId}",
|
|
18798
19346
|
httpMethod: "GET",
|
|
18799
19347
|
responses: {
|
|
@@ -18813,6 +19361,335 @@ const getOperationSpec$c = {
|
|
|
18813
19361
|
entityQueryTemplateId
|
|
18814
19362
|
],
|
|
18815
19363
|
headerParameters: [accept],
|
|
19364
|
+
serializer: serializer$i
|
|
19365
|
+
};
|
|
19366
|
+
const listNextOperationSpec$c = {
|
|
19367
|
+
path: "{nextLink}",
|
|
19368
|
+
httpMethod: "GET",
|
|
19369
|
+
responses: {
|
|
19370
|
+
200: {
|
|
19371
|
+
bodyMapper: EntityQueryTemplateList
|
|
19372
|
+
},
|
|
19373
|
+
default: {
|
|
19374
|
+
bodyMapper: CloudError
|
|
19375
|
+
}
|
|
19376
|
+
},
|
|
19377
|
+
urlParameters: [
|
|
19378
|
+
$host,
|
|
19379
|
+
subscriptionId,
|
|
19380
|
+
resourceGroupName,
|
|
19381
|
+
workspaceName,
|
|
19382
|
+
nextLink
|
|
19383
|
+
],
|
|
19384
|
+
headerParameters: [accept],
|
|
19385
|
+
serializer: serializer$i
|
|
19386
|
+
};
|
|
19387
|
+
|
|
19388
|
+
/*
|
|
19389
|
+
* Copyright (c) Microsoft Corporation.
|
|
19390
|
+
* Licensed under the MIT License.
|
|
19391
|
+
*
|
|
19392
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
19393
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
19394
|
+
*/
|
|
19395
|
+
class LroImpl {
|
|
19396
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
19397
|
+
this.sendOperationFn = sendOperationFn;
|
|
19398
|
+
this.args = args;
|
|
19399
|
+
this.spec = spec;
|
|
19400
|
+
this.requestPath = requestPath;
|
|
19401
|
+
this.requestMethod = requestMethod;
|
|
19402
|
+
}
|
|
19403
|
+
sendInitialRequest() {
|
|
19404
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
19405
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
19406
|
+
});
|
|
19407
|
+
}
|
|
19408
|
+
sendPollRequest(path) {
|
|
19409
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
19410
|
+
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
19411
|
+
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
19412
|
+
});
|
|
19413
|
+
}
|
|
19414
|
+
}
|
|
19415
|
+
|
|
19416
|
+
/*
|
|
19417
|
+
* Copyright (c) Microsoft Corporation.
|
|
19418
|
+
* Licensed under the MIT License.
|
|
19419
|
+
*
|
|
19420
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
19421
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
19422
|
+
*/
|
|
19423
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19424
|
+
/** Class containing FileImports operations. */
|
|
19425
|
+
class FileImportsImpl {
|
|
19426
|
+
/**
|
|
19427
|
+
* Initialize a new instance of the class FileImports class.
|
|
19428
|
+
* @param client Reference to the service client
|
|
19429
|
+
*/
|
|
19430
|
+
constructor(client) {
|
|
19431
|
+
this.client = client;
|
|
19432
|
+
}
|
|
19433
|
+
/**
|
|
19434
|
+
* Gets all file imports.
|
|
19435
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19436
|
+
* @param workspaceName The name of the workspace.
|
|
19437
|
+
* @param options The options parameters.
|
|
19438
|
+
*/
|
|
19439
|
+
list(resourceGroupName, workspaceName, options) {
|
|
19440
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
|
|
19441
|
+
return {
|
|
19442
|
+
next() {
|
|
19443
|
+
return iter.next();
|
|
19444
|
+
},
|
|
19445
|
+
[Symbol.asyncIterator]() {
|
|
19446
|
+
return this;
|
|
19447
|
+
},
|
|
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);
|
|
19453
|
+
}
|
|
19454
|
+
};
|
|
19455
|
+
}
|
|
19456
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
19457
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
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
|
+
}
|
|
19467
|
+
while (continuationToken) {
|
|
19468
|
+
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
19469
|
+
continuationToken = result.nextLink;
|
|
19470
|
+
let page = result.value || [];
|
|
19471
|
+
setContinuationToken(page, continuationToken);
|
|
19472
|
+
yield yield tslib.__await(page);
|
|
19473
|
+
}
|
|
19474
|
+
});
|
|
19475
|
+
}
|
|
19476
|
+
listPagingAll(resourceGroupName, workspaceName, options) {
|
|
19477
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
19478
|
+
var e_1, _a;
|
|
19479
|
+
try {
|
|
19480
|
+
for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroupName, workspaceName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
19481
|
+
const page = _c.value;
|
|
19482
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
19483
|
+
}
|
|
19484
|
+
}
|
|
19485
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
19486
|
+
finally {
|
|
19487
|
+
try {
|
|
19488
|
+
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
19489
|
+
}
|
|
19490
|
+
finally { if (e_1) throw e_1.error; }
|
|
19491
|
+
}
|
|
19492
|
+
});
|
|
19493
|
+
}
|
|
19494
|
+
/**
|
|
19495
|
+
* Gets all file imports.
|
|
19496
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19497
|
+
* @param workspaceName The name of the workspace.
|
|
19498
|
+
* @param options The options parameters.
|
|
19499
|
+
*/
|
|
19500
|
+
_list(resourceGroupName, workspaceName, options) {
|
|
19501
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$e);
|
|
19502
|
+
}
|
|
19503
|
+
/**
|
|
19504
|
+
* Gets a file import.
|
|
19505
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19506
|
+
* @param workspaceName The name of the workspace.
|
|
19507
|
+
* @param fileImportId File import ID
|
|
19508
|
+
* @param options The options parameters.
|
|
19509
|
+
*/
|
|
19510
|
+
get(resourceGroupName, workspaceName, fileImportId, options) {
|
|
19511
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, fileImportId, options }, getOperationSpec$c);
|
|
19512
|
+
}
|
|
19513
|
+
/**
|
|
19514
|
+
* Creates the file import.
|
|
19515
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19516
|
+
* @param workspaceName The name of the workspace.
|
|
19517
|
+
* @param fileImportId File import ID
|
|
19518
|
+
* @param fileImport The file import
|
|
19519
|
+
* @param options The options parameters.
|
|
19520
|
+
*/
|
|
19521
|
+
create(resourceGroupName, workspaceName, fileImportId, fileImport, options) {
|
|
19522
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, fileImportId, fileImport, options }, createOperationSpec$4);
|
|
19523
|
+
}
|
|
19524
|
+
/**
|
|
19525
|
+
* Delete the file import.
|
|
19526
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19527
|
+
* @param workspaceName The name of the workspace.
|
|
19528
|
+
* @param fileImportId File import ID
|
|
19529
|
+
* @param options The options parameters.
|
|
19530
|
+
*/
|
|
19531
|
+
beginDelete(resourceGroupName, workspaceName, fileImportId, options) {
|
|
19532
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
19533
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
19534
|
+
return this.client.sendOperationRequest(args, spec);
|
|
19535
|
+
});
|
|
19536
|
+
const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
19537
|
+
var _a;
|
|
19538
|
+
let currentRawResponse = undefined;
|
|
19539
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
19540
|
+
const callback = (rawResponse, flatResponse) => {
|
|
19541
|
+
currentRawResponse = rawResponse;
|
|
19542
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
19543
|
+
};
|
|
19544
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
19545
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
19546
|
+
return {
|
|
19547
|
+
flatResponse,
|
|
19548
|
+
rawResponse: {
|
|
19549
|
+
statusCode: currentRawResponse.status,
|
|
19550
|
+
body: currentRawResponse.parsedBody,
|
|
19551
|
+
headers: currentRawResponse.headers.toJSON()
|
|
19552
|
+
}
|
|
19553
|
+
};
|
|
19554
|
+
});
|
|
19555
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, fileImportId, options }, deleteOperationSpec$c);
|
|
19556
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
19557
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
19558
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
19559
|
+
lroResourceLocationConfig: "location"
|
|
19560
|
+
});
|
|
19561
|
+
yield poller.poll();
|
|
19562
|
+
return poller;
|
|
19563
|
+
});
|
|
19564
|
+
}
|
|
19565
|
+
/**
|
|
19566
|
+
* Delete the file import.
|
|
19567
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19568
|
+
* @param workspaceName The name of the workspace.
|
|
19569
|
+
* @param fileImportId File import ID
|
|
19570
|
+
* @param options The options parameters.
|
|
19571
|
+
*/
|
|
19572
|
+
beginDeleteAndWait(resourceGroupName, workspaceName, fileImportId, options) {
|
|
19573
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
19574
|
+
const poller = yield this.beginDelete(resourceGroupName, workspaceName, fileImportId, options);
|
|
19575
|
+
return poller.pollUntilDone();
|
|
19576
|
+
});
|
|
19577
|
+
}
|
|
19578
|
+
/**
|
|
19579
|
+
* ListNext
|
|
19580
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19581
|
+
* @param workspaceName The name of the workspace.
|
|
19582
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
19583
|
+
* @param options The options parameters.
|
|
19584
|
+
*/
|
|
19585
|
+
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
19586
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$b);
|
|
19587
|
+
}
|
|
19588
|
+
}
|
|
19589
|
+
// Operation Specifications
|
|
19590
|
+
const serializer$h = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
19591
|
+
const listOperationSpec$e = {
|
|
19592
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports",
|
|
19593
|
+
httpMethod: "GET",
|
|
19594
|
+
responses: {
|
|
19595
|
+
200: {
|
|
19596
|
+
bodyMapper: FileImportList
|
|
19597
|
+
},
|
|
19598
|
+
default: {
|
|
19599
|
+
bodyMapper: CloudError
|
|
19600
|
+
}
|
|
19601
|
+
},
|
|
19602
|
+
queryParameters: [
|
|
19603
|
+
apiVersion,
|
|
19604
|
+
filter,
|
|
19605
|
+
orderby,
|
|
19606
|
+
top,
|
|
19607
|
+
skipToken
|
|
19608
|
+
],
|
|
19609
|
+
urlParameters: [
|
|
19610
|
+
$host,
|
|
19611
|
+
subscriptionId,
|
|
19612
|
+
resourceGroupName,
|
|
19613
|
+
workspaceName
|
|
19614
|
+
],
|
|
19615
|
+
headerParameters: [accept],
|
|
19616
|
+
serializer: serializer$h
|
|
19617
|
+
};
|
|
19618
|
+
const getOperationSpec$c = {
|
|
19619
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}",
|
|
19620
|
+
httpMethod: "GET",
|
|
19621
|
+
responses: {
|
|
19622
|
+
200: {
|
|
19623
|
+
bodyMapper: FileImport
|
|
19624
|
+
},
|
|
19625
|
+
default: {
|
|
19626
|
+
bodyMapper: CloudError
|
|
19627
|
+
}
|
|
19628
|
+
},
|
|
19629
|
+
queryParameters: [apiVersion],
|
|
19630
|
+
urlParameters: [
|
|
19631
|
+
$host,
|
|
19632
|
+
subscriptionId,
|
|
19633
|
+
resourceGroupName,
|
|
19634
|
+
workspaceName,
|
|
19635
|
+
fileImportId
|
|
19636
|
+
],
|
|
19637
|
+
headerParameters: [accept],
|
|
19638
|
+
serializer: serializer$h
|
|
19639
|
+
};
|
|
19640
|
+
const createOperationSpec$4 = {
|
|
19641
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}",
|
|
19642
|
+
httpMethod: "PUT",
|
|
19643
|
+
responses: {
|
|
19644
|
+
201: {
|
|
19645
|
+
bodyMapper: FileImport
|
|
19646
|
+
},
|
|
19647
|
+
default: {
|
|
19648
|
+
bodyMapper: CloudError
|
|
19649
|
+
}
|
|
19650
|
+
},
|
|
19651
|
+
requestBody: fileImport,
|
|
19652
|
+
queryParameters: [apiVersion],
|
|
19653
|
+
urlParameters: [
|
|
19654
|
+
$host,
|
|
19655
|
+
subscriptionId,
|
|
19656
|
+
resourceGroupName,
|
|
19657
|
+
workspaceName,
|
|
19658
|
+
fileImportId
|
|
19659
|
+
],
|
|
19660
|
+
headerParameters: [accept, contentType],
|
|
19661
|
+
mediaType: "json",
|
|
19662
|
+
serializer: serializer$h
|
|
19663
|
+
};
|
|
19664
|
+
const deleteOperationSpec$c = {
|
|
19665
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}",
|
|
19666
|
+
httpMethod: "DELETE",
|
|
19667
|
+
responses: {
|
|
19668
|
+
200: {
|
|
19669
|
+
bodyMapper: FileImport
|
|
19670
|
+
},
|
|
19671
|
+
201: {
|
|
19672
|
+
bodyMapper: FileImport
|
|
19673
|
+
},
|
|
19674
|
+
202: {
|
|
19675
|
+
bodyMapper: FileImport
|
|
19676
|
+
},
|
|
19677
|
+
204: {
|
|
19678
|
+
bodyMapper: FileImport
|
|
19679
|
+
},
|
|
19680
|
+
default: {
|
|
19681
|
+
bodyMapper: CloudError
|
|
19682
|
+
}
|
|
19683
|
+
},
|
|
19684
|
+
queryParameters: [apiVersion],
|
|
19685
|
+
urlParameters: [
|
|
19686
|
+
$host,
|
|
19687
|
+
subscriptionId,
|
|
19688
|
+
resourceGroupName,
|
|
19689
|
+
workspaceName,
|
|
19690
|
+
fileImportId
|
|
19691
|
+
],
|
|
19692
|
+
headerParameters: [accept],
|
|
18816
19693
|
serializer: serializer$h
|
|
18817
19694
|
};
|
|
18818
19695
|
const listNextOperationSpec$b = {
|
|
@@ -18820,13 +19697,12 @@ const listNextOperationSpec$b = {
|
|
|
18820
19697
|
httpMethod: "GET",
|
|
18821
19698
|
responses: {
|
|
18822
19699
|
200: {
|
|
18823
|
-
bodyMapper:
|
|
19700
|
+
bodyMapper: FileImportList
|
|
18824
19701
|
},
|
|
18825
19702
|
default: {
|
|
18826
19703
|
bodyMapper: CloudError
|
|
18827
19704
|
}
|
|
18828
19705
|
},
|
|
18829
|
-
queryParameters: [apiVersion, kind2],
|
|
18830
19706
|
urlParameters: [
|
|
18831
19707
|
$host,
|
|
18832
19708
|
subscriptionId,
|
|
@@ -18871,20 +19747,31 @@ class IncidentCommentsImpl {
|
|
|
18871
19747
|
[Symbol.asyncIterator]() {
|
|
18872
19748
|
return this;
|
|
18873
19749
|
},
|
|
18874
|
-
byPage: () => {
|
|
18875
|
-
|
|
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);
|
|
18876
19755
|
}
|
|
18877
19756
|
};
|
|
18878
19757
|
}
|
|
18879
|
-
listPagingPage(resourceGroupName, workspaceName, incidentId, options) {
|
|
19758
|
+
listPagingPage(resourceGroupName, workspaceName, incidentId, options, settings) {
|
|
18880
19759
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
18881
|
-
let result
|
|
18882
|
-
|
|
18883
|
-
|
|
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
|
+
}
|
|
18884
19769
|
while (continuationToken) {
|
|
18885
19770
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, incidentId, continuationToken, options));
|
|
18886
19771
|
continuationToken = result.nextLink;
|
|
18887
|
-
|
|
19772
|
+
let page = result.value || [];
|
|
19773
|
+
setContinuationToken(page, continuationToken);
|
|
19774
|
+
yield yield tslib.__await(page);
|
|
18888
19775
|
}
|
|
18889
19776
|
});
|
|
18890
19777
|
}
|
|
@@ -19095,13 +19982,6 @@ const listNextOperationSpec$a = {
|
|
|
19095
19982
|
bodyMapper: CloudError
|
|
19096
19983
|
}
|
|
19097
19984
|
},
|
|
19098
|
-
queryParameters: [
|
|
19099
|
-
apiVersion,
|
|
19100
|
-
filter,
|
|
19101
|
-
orderby,
|
|
19102
|
-
top,
|
|
19103
|
-
skipToken
|
|
19104
|
-
],
|
|
19105
19985
|
urlParameters: [
|
|
19106
19986
|
$host,
|
|
19107
19987
|
subscriptionId,
|
|
@@ -19147,20 +20027,31 @@ class IncidentRelationsImpl {
|
|
|
19147
20027
|
[Symbol.asyncIterator]() {
|
|
19148
20028
|
return this;
|
|
19149
20029
|
},
|
|
19150
|
-
byPage: () => {
|
|
19151
|
-
|
|
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);
|
|
19152
20035
|
}
|
|
19153
20036
|
};
|
|
19154
20037
|
}
|
|
19155
|
-
listPagingPage(resourceGroupName, workspaceName, incidentId, options) {
|
|
20038
|
+
listPagingPage(resourceGroupName, workspaceName, incidentId, options, settings) {
|
|
19156
20039
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
19157
|
-
let result
|
|
19158
|
-
|
|
19159
|
-
|
|
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
|
+
}
|
|
19160
20049
|
while (continuationToken) {
|
|
19161
20050
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, incidentId, continuationToken, options));
|
|
19162
20051
|
continuationToken = result.nextLink;
|
|
19163
|
-
|
|
20052
|
+
let page = result.value || [];
|
|
20053
|
+
setContinuationToken(page, continuationToken);
|
|
20054
|
+
yield yield tslib.__await(page);
|
|
19164
20055
|
}
|
|
19165
20056
|
});
|
|
19166
20057
|
}
|
|
@@ -19359,13 +20250,6 @@ const listNextOperationSpec$9 = {
|
|
|
19359
20250
|
bodyMapper: CloudError
|
|
19360
20251
|
}
|
|
19361
20252
|
},
|
|
19362
|
-
queryParameters: [
|
|
19363
|
-
apiVersion,
|
|
19364
|
-
filter,
|
|
19365
|
-
orderby,
|
|
19366
|
-
top,
|
|
19367
|
-
skipToken
|
|
19368
|
-
],
|
|
19369
20253
|
urlParameters: [
|
|
19370
20254
|
$host,
|
|
19371
20255
|
subscriptionId,
|
|
@@ -19410,20 +20294,31 @@ class MetadataImpl {
|
|
|
19410
20294
|
[Symbol.asyncIterator]() {
|
|
19411
20295
|
return this;
|
|
19412
20296
|
},
|
|
19413
|
-
byPage: () => {
|
|
19414
|
-
|
|
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);
|
|
19415
20302
|
}
|
|
19416
20303
|
};
|
|
19417
20304
|
}
|
|
19418
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
20305
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
19419
20306
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
19420
|
-
let result
|
|
19421
|
-
|
|
19422
|
-
|
|
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
|
+
}
|
|
19423
20316
|
while (continuationToken) {
|
|
19424
20317
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
19425
20318
|
continuationToken = result.nextLink;
|
|
19426
|
-
|
|
20319
|
+
let page = result.value || [];
|
|
20320
|
+
setContinuationToken(page, continuationToken);
|
|
20321
|
+
yield yield tslib.__await(page);
|
|
19427
20322
|
}
|
|
19428
20323
|
});
|
|
19429
20324
|
}
|
|
@@ -19647,13 +20542,6 @@ const listNextOperationSpec$8 = {
|
|
|
19647
20542
|
bodyMapper: CloudError
|
|
19648
20543
|
}
|
|
19649
20544
|
},
|
|
19650
|
-
queryParameters: [
|
|
19651
|
-
apiVersion,
|
|
19652
|
-
filter,
|
|
19653
|
-
orderby,
|
|
19654
|
-
top,
|
|
19655
|
-
skip
|
|
19656
|
-
],
|
|
19657
20545
|
urlParameters: [
|
|
19658
20546
|
$host,
|
|
19659
20547
|
subscriptionId,
|
|
@@ -19697,20 +20585,31 @@ class OfficeConsentsImpl {
|
|
|
19697
20585
|
[Symbol.asyncIterator]() {
|
|
19698
20586
|
return this;
|
|
19699
20587
|
},
|
|
19700
|
-
byPage: () => {
|
|
19701
|
-
|
|
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);
|
|
19702
20593
|
}
|
|
19703
20594
|
};
|
|
19704
20595
|
}
|
|
19705
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
20596
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
19706
20597
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
19707
|
-
let result
|
|
19708
|
-
|
|
19709
|
-
|
|
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
|
+
}
|
|
19710
20607
|
while (continuationToken) {
|
|
19711
20608
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
19712
20609
|
continuationToken = result.nextLink;
|
|
19713
|
-
|
|
20610
|
+
let page = result.value || [];
|
|
20611
|
+
setContinuationToken(page, continuationToken);
|
|
20612
|
+
yield yield tslib.__await(page);
|
|
19714
20613
|
}
|
|
19715
20614
|
});
|
|
19716
20615
|
}
|
|
@@ -19849,7 +20748,6 @@ const listNextOperationSpec$7 = {
|
|
|
19849
20748
|
bodyMapper: CloudError
|
|
19850
20749
|
}
|
|
19851
20750
|
},
|
|
19852
|
-
queryParameters: [apiVersion],
|
|
19853
20751
|
urlParameters: [
|
|
19854
20752
|
$host,
|
|
19855
20753
|
subscriptionId,
|
|
@@ -20058,20 +20956,31 @@ class SecurityMLAnalyticsSettingsImpl {
|
|
|
20058
20956
|
[Symbol.asyncIterator]() {
|
|
20059
20957
|
return this;
|
|
20060
20958
|
},
|
|
20061
|
-
byPage: () => {
|
|
20062
|
-
|
|
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);
|
|
20063
20964
|
}
|
|
20064
20965
|
};
|
|
20065
20966
|
}
|
|
20066
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
20967
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
20067
20968
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
20068
|
-
let result
|
|
20069
|
-
|
|
20070
|
-
|
|
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
|
+
}
|
|
20071
20978
|
while (continuationToken) {
|
|
20072
20979
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
20073
20980
|
continuationToken = result.nextLink;
|
|
20074
|
-
|
|
20981
|
+
let page = result.value || [];
|
|
20982
|
+
setContinuationToken(page, continuationToken);
|
|
20983
|
+
yield yield tslib.__await(page);
|
|
20075
20984
|
}
|
|
20076
20985
|
});
|
|
20077
20986
|
}
|
|
@@ -20254,7 +21163,6 @@ const listNextOperationSpec$6 = {
|
|
|
20254
21163
|
bodyMapper: CloudError
|
|
20255
21164
|
}
|
|
20256
21165
|
},
|
|
20257
|
-
queryParameters: [apiVersion],
|
|
20258
21166
|
urlParameters: [
|
|
20259
21167
|
$host,
|
|
20260
21168
|
subscriptionId,
|
|
@@ -20447,20 +21355,31 @@ class SourceControlOperationsImpl {
|
|
|
20447
21355
|
[Symbol.asyncIterator]() {
|
|
20448
21356
|
return this;
|
|
20449
21357
|
},
|
|
20450
|
-
byPage: () => {
|
|
20451
|
-
|
|
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);
|
|
20452
21363
|
}
|
|
20453
21364
|
};
|
|
20454
21365
|
}
|
|
20455
|
-
listRepositoriesPagingPage(resourceGroupName, workspaceName, repoType, options) {
|
|
21366
|
+
listRepositoriesPagingPage(resourceGroupName, workspaceName, repoType, options, settings) {
|
|
20456
21367
|
return tslib.__asyncGenerator(this, arguments, function* listRepositoriesPagingPage_1() {
|
|
20457
|
-
let result
|
|
20458
|
-
|
|
20459
|
-
|
|
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
|
+
}
|
|
20460
21377
|
while (continuationToken) {
|
|
20461
21378
|
result = yield tslib.__await(this._listRepositoriesNext(resourceGroupName, workspaceName, repoType, continuationToken, options));
|
|
20462
21379
|
continuationToken = result.nextLink;
|
|
20463
|
-
|
|
21380
|
+
let page = result.value || [];
|
|
21381
|
+
setContinuationToken(page, continuationToken);
|
|
21382
|
+
yield yield tslib.__await(page);
|
|
20464
21383
|
}
|
|
20465
21384
|
});
|
|
20466
21385
|
}
|
|
@@ -20540,7 +21459,6 @@ const listRepositoriesNextOperationSpec = {
|
|
|
20540
21459
|
bodyMapper: CloudError
|
|
20541
21460
|
}
|
|
20542
21461
|
},
|
|
20543
|
-
queryParameters: [apiVersion],
|
|
20544
21462
|
urlParameters: [
|
|
20545
21463
|
$host,
|
|
20546
21464
|
subscriptionId,
|
|
@@ -20585,20 +21503,31 @@ class SourceControlsImpl {
|
|
|
20585
21503
|
[Symbol.asyncIterator]() {
|
|
20586
21504
|
return this;
|
|
20587
21505
|
},
|
|
20588
|
-
byPage: () => {
|
|
20589
|
-
|
|
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);
|
|
20590
21511
|
}
|
|
20591
21512
|
};
|
|
20592
21513
|
}
|
|
20593
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
21514
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
20594
21515
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
20595
|
-
let result
|
|
20596
|
-
|
|
20597
|
-
|
|
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
|
+
}
|
|
20598
21525
|
while (continuationToken) {
|
|
20599
21526
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
20600
21527
|
continuationToken = result.nextLink;
|
|
20601
|
-
|
|
21528
|
+
let page = result.value || [];
|
|
21529
|
+
setContinuationToken(page, continuationToken);
|
|
21530
|
+
yield yield tslib.__await(page);
|
|
20602
21531
|
}
|
|
20603
21532
|
});
|
|
20604
21533
|
}
|
|
@@ -20781,7 +21710,6 @@ const listNextOperationSpec$5 = {
|
|
|
20781
21710
|
bodyMapper: CloudError
|
|
20782
21711
|
}
|
|
20783
21712
|
},
|
|
20784
|
-
queryParameters: [apiVersion],
|
|
20785
21713
|
urlParameters: [
|
|
20786
21714
|
$host,
|
|
20787
21715
|
subscriptionId,
|
|
@@ -20827,20 +21755,31 @@ class ThreatIntelligenceIndicatorImpl {
|
|
|
20827
21755
|
[Symbol.asyncIterator]() {
|
|
20828
21756
|
return this;
|
|
20829
21757
|
},
|
|
20830
|
-
byPage: () => {
|
|
20831
|
-
|
|
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);
|
|
20832
21763
|
}
|
|
20833
21764
|
};
|
|
20834
21765
|
}
|
|
20835
|
-
queryIndicatorsPagingPage(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options) {
|
|
21766
|
+
queryIndicatorsPagingPage(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, options, settings) {
|
|
20836
21767
|
return tslib.__asyncGenerator(this, arguments, function* queryIndicatorsPagingPage_1() {
|
|
20837
|
-
let result
|
|
20838
|
-
|
|
20839
|
-
|
|
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
|
+
}
|
|
20840
21777
|
while (continuationToken) {
|
|
20841
21778
|
result = yield tslib.__await(this._queryIndicatorsNext(resourceGroupName, workspaceName, threatIntelligenceFilteringCriteria, continuationToken, options));
|
|
20842
21779
|
continuationToken = result.nextLink;
|
|
20843
|
-
|
|
21780
|
+
let page = result.value || [];
|
|
21781
|
+
setContinuationToken(page, continuationToken);
|
|
21782
|
+
yield yield tslib.__await(page);
|
|
20844
21783
|
}
|
|
20845
21784
|
});
|
|
20846
21785
|
}
|
|
@@ -21163,7 +22102,6 @@ const queryIndicatorsNextOperationSpec = {
|
|
|
21163
22102
|
bodyMapper: CloudError
|
|
21164
22103
|
}
|
|
21165
22104
|
},
|
|
21166
|
-
queryParameters: [apiVersion],
|
|
21167
22105
|
urlParameters: [
|
|
21168
22106
|
$host,
|
|
21169
22107
|
subscriptionId,
|
|
@@ -21208,20 +22146,31 @@ class ThreatIntelligenceIndicatorsImpl {
|
|
|
21208
22146
|
[Symbol.asyncIterator]() {
|
|
21209
22147
|
return this;
|
|
21210
22148
|
},
|
|
21211
|
-
byPage: () => {
|
|
21212
|
-
|
|
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);
|
|
21213
22154
|
}
|
|
21214
22155
|
};
|
|
21215
22156
|
}
|
|
21216
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
22157
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
21217
22158
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
21218
|
-
let result
|
|
21219
|
-
|
|
21220
|
-
|
|
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
|
+
}
|
|
21221
22168
|
while (continuationToken) {
|
|
21222
22169
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
21223
22170
|
continuationToken = result.nextLink;
|
|
21224
|
-
|
|
22171
|
+
let page = result.value || [];
|
|
22172
|
+
setContinuationToken(page, continuationToken);
|
|
22173
|
+
yield yield tslib.__await(page);
|
|
21225
22174
|
}
|
|
21226
22175
|
});
|
|
21227
22176
|
}
|
|
@@ -21303,13 +22252,6 @@ const listNextOperationSpec$4 = {
|
|
|
21303
22252
|
bodyMapper: CloudError
|
|
21304
22253
|
}
|
|
21305
22254
|
},
|
|
21306
|
-
queryParameters: [
|
|
21307
|
-
apiVersion,
|
|
21308
|
-
filter,
|
|
21309
|
-
orderby,
|
|
21310
|
-
top,
|
|
21311
|
-
skipToken
|
|
21312
|
-
],
|
|
21313
22255
|
urlParameters: [
|
|
21314
22256
|
$host,
|
|
21315
22257
|
subscriptionId,
|
|
@@ -21403,20 +22345,31 @@ class WatchlistsImpl {
|
|
|
21403
22345
|
[Symbol.asyncIterator]() {
|
|
21404
22346
|
return this;
|
|
21405
22347
|
},
|
|
21406
|
-
byPage: () => {
|
|
21407
|
-
|
|
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);
|
|
21408
22353
|
}
|
|
21409
22354
|
};
|
|
21410
22355
|
}
|
|
21411
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
22356
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
21412
22357
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
21413
|
-
let result
|
|
21414
|
-
|
|
21415
|
-
|
|
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
|
+
}
|
|
21416
22367
|
while (continuationToken) {
|
|
21417
22368
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
21418
22369
|
continuationToken = result.nextLink;
|
|
21419
|
-
|
|
22370
|
+
let page = result.value || [];
|
|
22371
|
+
setContinuationToken(page, continuationToken);
|
|
22372
|
+
yield yield tslib.__await(page);
|
|
21420
22373
|
}
|
|
21421
22374
|
});
|
|
21422
22375
|
}
|
|
@@ -21601,7 +22554,6 @@ const listNextOperationSpec$3 = {
|
|
|
21601
22554
|
bodyMapper: CloudError
|
|
21602
22555
|
}
|
|
21603
22556
|
},
|
|
21604
|
-
queryParameters: [apiVersion, skipToken],
|
|
21605
22557
|
urlParameters: [
|
|
21606
22558
|
$host,
|
|
21607
22559
|
subscriptionId,
|
|
@@ -21646,20 +22598,31 @@ class WatchlistItemsImpl {
|
|
|
21646
22598
|
[Symbol.asyncIterator]() {
|
|
21647
22599
|
return this;
|
|
21648
22600
|
},
|
|
21649
|
-
byPage: () => {
|
|
21650
|
-
|
|
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);
|
|
21651
22606
|
}
|
|
21652
22607
|
};
|
|
21653
22608
|
}
|
|
21654
|
-
listPagingPage(resourceGroupName, workspaceName, watchlistAlias, options) {
|
|
22609
|
+
listPagingPage(resourceGroupName, workspaceName, watchlistAlias, options, settings) {
|
|
21655
22610
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
21656
|
-
let result
|
|
21657
|
-
|
|
21658
|
-
|
|
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
|
+
}
|
|
21659
22620
|
while (continuationToken) {
|
|
21660
22621
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, watchlistAlias, continuationToken, options));
|
|
21661
22622
|
continuationToken = result.nextLink;
|
|
21662
|
-
|
|
22623
|
+
let page = result.value || [];
|
|
22624
|
+
setContinuationToken(page, continuationToken);
|
|
22625
|
+
yield yield tslib.__await(page);
|
|
21663
22626
|
}
|
|
21664
22627
|
});
|
|
21665
22628
|
}
|
|
@@ -21864,7 +22827,6 @@ const listNextOperationSpec$2 = {
|
|
|
21864
22827
|
bodyMapper: CloudError
|
|
21865
22828
|
}
|
|
21866
22829
|
},
|
|
21867
|
-
queryParameters: [apiVersion, skipToken],
|
|
21868
22830
|
urlParameters: [
|
|
21869
22831
|
$host,
|
|
21870
22832
|
subscriptionId,
|
|
@@ -21909,20 +22871,31 @@ class DataConnectorsImpl {
|
|
|
21909
22871
|
[Symbol.asyncIterator]() {
|
|
21910
22872
|
return this;
|
|
21911
22873
|
},
|
|
21912
|
-
byPage: () => {
|
|
21913
|
-
|
|
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);
|
|
21914
22879
|
}
|
|
21915
22880
|
};
|
|
21916
22881
|
}
|
|
21917
|
-
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
22882
|
+
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
21918
22883
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
21919
|
-
let result
|
|
21920
|
-
|
|
21921
|
-
|
|
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
|
+
}
|
|
21922
22893
|
while (continuationToken) {
|
|
21923
22894
|
result = yield tslib.__await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
21924
22895
|
continuationToken = result.nextLink;
|
|
21925
|
-
|
|
22896
|
+
let page = result.value || [];
|
|
22897
|
+
setContinuationToken(page, continuationToken);
|
|
22898
|
+
yield yield tslib.__await(page);
|
|
21926
22899
|
}
|
|
21927
22900
|
});
|
|
21928
22901
|
}
|
|
@@ -22174,7 +23147,6 @@ const listNextOperationSpec$1 = {
|
|
|
22174
23147
|
bodyMapper: CloudError
|
|
22175
23148
|
}
|
|
22176
23149
|
},
|
|
22177
|
-
queryParameters: [apiVersion],
|
|
22178
23150
|
urlParameters: [
|
|
22179
23151
|
$host,
|
|
22180
23152
|
subscriptionId,
|
|
@@ -22274,20 +23246,31 @@ class OperationsImpl {
|
|
|
22274
23246
|
[Symbol.asyncIterator]() {
|
|
22275
23247
|
return this;
|
|
22276
23248
|
},
|
|
22277
|
-
byPage: () => {
|
|
22278
|
-
|
|
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);
|
|
22279
23254
|
}
|
|
22280
23255
|
};
|
|
22281
23256
|
}
|
|
22282
|
-
listPagingPage(options) {
|
|
23257
|
+
listPagingPage(options, settings) {
|
|
22283
23258
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
22284
|
-
let result
|
|
22285
|
-
|
|
22286
|
-
|
|
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
|
+
}
|
|
22287
23268
|
while (continuationToken) {
|
|
22288
23269
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
22289
23270
|
continuationToken = result.nextLink;
|
|
22290
|
-
|
|
23271
|
+
let page = result.value || [];
|
|
23272
|
+
setContinuationToken(page, continuationToken);
|
|
23273
|
+
yield yield tslib.__await(page);
|
|
22291
23274
|
}
|
|
22292
23275
|
});
|
|
22293
23276
|
}
|
|
@@ -22354,7 +23337,6 @@ const listNextOperationSpec = {
|
|
|
22354
23337
|
bodyMapper: CloudError
|
|
22355
23338
|
}
|
|
22356
23339
|
},
|
|
22357
|
-
queryParameters: [apiVersion],
|
|
22358
23340
|
urlParameters: [$host, nextLink],
|
|
22359
23341
|
headerParameters: [accept],
|
|
22360
23342
|
serializer
|
|
@@ -22375,7 +23357,7 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
22375
23357
|
* @param options The parameter options
|
|
22376
23358
|
*/
|
|
22377
23359
|
constructor(credentials, subscriptionId, options) {
|
|
22378
|
-
var _a, _b;
|
|
23360
|
+
var _a, _b, _c;
|
|
22379
23361
|
if (credentials === undefined) {
|
|
22380
23362
|
throw new Error("'credentials' cannot be null");
|
|
22381
23363
|
}
|
|
@@ -22390,16 +23372,13 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
22390
23372
|
requestContentType: "application/json; charset=utf-8",
|
|
22391
23373
|
credential: credentials
|
|
22392
23374
|
};
|
|
22393
|
-
const packageDetails = `azsdk-js-arm-securityinsight/1.0.0-beta.
|
|
23375
|
+
const packageDetails = `azsdk-js-arm-securityinsight/1.0.0-beta.6`;
|
|
22394
23376
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
22395
23377
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
22396
23378
|
: `${packageDetails}`;
|
|
22397
|
-
if (!options.credentialScopes) {
|
|
22398
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
22399
|
-
}
|
|
22400
23379
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
22401
23380
|
userAgentPrefix
|
|
22402
|
-
},
|
|
23381
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
22403
23382
|
super(optionsWithDefaults);
|
|
22404
23383
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
22405
23384
|
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
@@ -22416,7 +23395,7 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
22416
23395
|
});
|
|
22417
23396
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
22418
23397
|
credential: credentials,
|
|
22419
|
-
scopes: `${optionsWithDefaults.
|
|
23398
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
22420
23399
|
challengeCallbacks: {
|
|
22421
23400
|
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
22422
23401
|
}
|
|
@@ -22426,7 +23405,7 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
22426
23405
|
this.subscriptionId = subscriptionId;
|
|
22427
23406
|
// Assigning values to Constant parameters
|
|
22428
23407
|
this.$host = options.$host || "https://management.azure.com";
|
|
22429
|
-
this.apiVersion = options.apiVersion || "2022-
|
|
23408
|
+
this.apiVersion = options.apiVersion || "2022-09-01-preview";
|
|
22430
23409
|
this.alertRules = new AlertRulesImpl(this);
|
|
22431
23410
|
this.actions = new ActionsImpl(this);
|
|
22432
23411
|
this.alertRuleTemplates = new AlertRuleTemplatesImpl(this);
|
|
@@ -22443,6 +23422,7 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
22443
23422
|
this.entityRelations = new EntityRelationsImpl(this);
|
|
22444
23423
|
this.entityQueries = new EntityQueriesImpl(this);
|
|
22445
23424
|
this.entityQueryTemplates = new EntityQueryTemplatesImpl(this);
|
|
23425
|
+
this.fileImports = new FileImportsImpl(this);
|
|
22446
23426
|
this.incidentComments = new IncidentCommentsImpl(this);
|
|
22447
23427
|
this.incidentRelations = new IncidentRelationsImpl(this);
|
|
22448
23428
|
this.metadata = new MetadataImpl(this);
|
|
@@ -22492,4 +23472,5 @@ class SecurityInsights extends coreClient__namespace.ServiceClient {
|
|
|
22492
23472
|
}
|
|
22493
23473
|
|
|
22494
23474
|
exports.SecurityInsights = SecurityInsights;
|
|
23475
|
+
exports.getContinuationToken = getContinuationToken;
|
|
22495
23476
|
//# sourceMappingURL=index.js.map
|