@azure/arm-securityinsight 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +98 -0
- package/dist/index.js +20426 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +7571 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +813 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +437 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +12661 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +68 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +518 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/actions.d.ts +69 -0
- package/dist-esm/src/operations/actions.d.ts.map +1 -0
- package/dist-esm/src/operations/actions.js +249 -0
- package/dist-esm/src/operations/actions.js.map +1 -0
- package/dist-esm/src/operations/alertRuleTemplates.d.ts +46 -0
- package/dist-esm/src/operations/alertRuleTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/alertRuleTemplates.js +169 -0
- package/dist-esm/src/operations/alertRuleTemplates.js.map +1 -0
- package/dist-esm/src/operations/alertRules.d.ts +63 -0
- package/dist-esm/src/operations/alertRules.d.ts.map +1 -0
- package/dist-esm/src/operations/alertRules.js +238 -0
- package/dist-esm/src/operations/alertRules.js.map +1 -0
- package/dist-esm/src/operations/automationRules.d.ts +63 -0
- package/dist-esm/src/operations/automationRules.d.ts.map +1 -0
- package/dist-esm/src/operations/automationRules.js +244 -0
- package/dist-esm/src/operations/automationRules.js.map +1 -0
- package/dist-esm/src/operations/bookmarkOperations.d.ts +22 -0
- package/dist-esm/src/operations/bookmarkOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/bookmarkOperations.js +58 -0
- package/dist-esm/src/operations/bookmarkOperations.js.map +1 -0
- package/dist-esm/src/operations/bookmarkRelations.d.ts +69 -0
- package/dist-esm/src/operations/bookmarkRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/bookmarkRelations.js +268 -0
- package/dist-esm/src/operations/bookmarkRelations.js.map +1 -0
- package/dist-esm/src/operations/bookmarks.d.ts +63 -0
- package/dist-esm/src/operations/bookmarks.d.ts.map +1 -0
- package/dist-esm/src/operations/bookmarks.js +238 -0
- package/dist-esm/src/operations/bookmarks.js.map +1 -0
- package/dist-esm/src/operations/dataConnectors.d.ts +80 -0
- package/dist-esm/src/operations/dataConnectors.d.ts.map +1 -0
- package/dist-esm/src/operations/dataConnectors.js +313 -0
- package/dist-esm/src/operations/dataConnectors.js.map +1 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.d.ts +21 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.js +61 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.js.map +1 -0
- package/dist-esm/src/operations/domainWhois.d.ts +20 -0
- package/dist-esm/src/operations/domainWhois.d.ts.map +1 -0
- package/dist-esm/src/operations/domainWhois.js +52 -0
- package/dist-esm/src/operations/domainWhois.js.map +1 -0
- package/dist-esm/src/operations/entities.d.ts +73 -0
- package/dist-esm/src/operations/entities.d.ts.map +1 -0
- package/dist-esm/src/operations/entities.js +272 -0
- package/dist-esm/src/operations/entities.js.map +1 -0
- package/dist-esm/src/operations/entitiesGetTimeline.d.ts +22 -0
- package/dist-esm/src/operations/entitiesGetTimeline.d.ts.map +1 -0
- package/dist-esm/src/operations/entitiesGetTimeline.js +58 -0
- package/dist-esm/src/operations/entitiesGetTimeline.js.map +1 -0
- package/dist-esm/src/operations/entitiesRelations.d.ts +41 -0
- package/dist-esm/src/operations/entitiesRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/entitiesRelations.js +154 -0
- package/dist-esm/src/operations/entitiesRelations.js.map +1 -0
- package/dist-esm/src/operations/entityQueries.d.ts +63 -0
- package/dist-esm/src/operations/entityQueries.d.ts.map +1 -0
- package/dist-esm/src/operations/entityQueries.js +238 -0
- package/dist-esm/src/operations/entityQueries.js.map +1 -0
- package/dist-esm/src/operations/entityQueryTemplates.d.ts +46 -0
- package/dist-esm/src/operations/entityQueryTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/entityQueryTemplates.js +169 -0
- package/dist-esm/src/operations/entityQueryTemplates.js.map +1 -0
- package/dist-esm/src/operations/entityRelations.d.ts +22 -0
- package/dist-esm/src/operations/entityRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/entityRelations.js +57 -0
- package/dist-esm/src/operations/entityRelations.js.map +1 -0
- package/dist-esm/src/operations/iPGeodata.d.ts +20 -0
- package/dist-esm/src/operations/iPGeodata.d.ts.map +1 -0
- package/dist-esm/src/operations/iPGeodata.js +52 -0
- package/dist-esm/src/operations/iPGeodata.js.map +1 -0
- package/dist-esm/src/operations/incidentComments.d.ts +69 -0
- package/dist-esm/src/operations/incidentComments.d.ts.map +1 -0
- package/dist-esm/src/operations/incidentComments.js +280 -0
- package/dist-esm/src/operations/incidentComments.js.map +1 -0
- package/dist-esm/src/operations/incidentRelations.d.ts +69 -0
- package/dist-esm/src/operations/incidentRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/incidentRelations.js +268 -0
- package/dist-esm/src/operations/incidentRelations.js.map +1 -0
- package/dist-esm/src/operations/incidents.d.ts +97 -0
- package/dist-esm/src/operations/incidents.d.ts.map +1 -0
- package/dist-esm/src/operations/incidents.js +382 -0
- package/dist-esm/src/operations/incidents.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +33 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +40 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/metadata.d.ts +72 -0
- package/dist-esm/src/operations/metadata.d.ts.map +1 -0
- package/dist-esm/src/operations/metadata.js +291 -0
- package/dist-esm/src/operations/metadata.js.map +1 -0
- package/dist-esm/src/operations/officeConsents.d.ts +54 -0
- package/dist-esm/src/operations/officeConsents.d.ts.map +1 -0
- package/dist-esm/src/operations/officeConsents.js +200 -0
- package/dist-esm/src/operations/officeConsents.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/productSettings.d.ts +45 -0
- package/dist-esm/src/operations/productSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/productSettings.js +151 -0
- package/dist-esm/src/operations/productSettings.js.map +1 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.d.ts +44 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.d.ts.map +1 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.js +168 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.js.map +1 -0
- package/dist-esm/src/operations/sourceControlOperations.d.ts +41 -0
- package/dist-esm/src/operations/sourceControlOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/sourceControlOperations.js +143 -0
- package/dist-esm/src/operations/sourceControlOperations.js.map +1 -0
- package/dist-esm/src/operations/sourceControls.d.ts +63 -0
- package/dist-esm/src/operations/sourceControls.d.ts.map +1 -0
- package/dist-esm/src/operations/sourceControls.js +244 -0
- package/dist-esm/src/operations/sourceControls.js.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.d.ts +97 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.d.ts.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.js +387 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.js.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.d.ts +20 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.d.ts.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.js +53 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.js.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.d.ts +38 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.d.ts.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.js +149 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.js.map +1 -0
- package/dist-esm/src/operations/watchlistItems.d.ts +69 -0
- package/dist-esm/src/operations/watchlistItems.d.ts.map +1 -0
- package/dist-esm/src/operations/watchlistItems.js +268 -0
- package/dist-esm/src/operations/watchlistItems.js.map +1 -0
- package/dist-esm/src/operations/watchlists.d.ts +65 -0
- package/dist-esm/src/operations/watchlists.d.ts.map +1 -0
- package/dist-esm/src/operations/watchlists.js +240 -0
- package/dist-esm/src/operations/watchlists.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/actions.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/actions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/actions.js +9 -0
- package/dist-esm/src/operationsInterfaces/actions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRules.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/alertRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/alertRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/automationRules.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/automationRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/automationRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/automationRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.js +9 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.js +9 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.js +9 -0
- package/dist-esm/src/operationsInterfaces/entities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.js +9 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.js +9 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.js +9 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.js +9 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidents.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/incidents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidents.js +9 -0
- package/dist-esm/src/operationsInterfaces/incidents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +40 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/metadata.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/metadata.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/metadata.js +9 -0
- package/dist-esm/src/operationsInterfaces/metadata.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.js +9 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/productSettings.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/productSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/productSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/productSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.d.ts +36 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.js +9 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.js +9 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.js +9 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.js +9 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.js +9 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.js +9 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlists.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/watchlists.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlists.js +9 -0
- package/dist-esm/src/operationsInterfaces/watchlists.js.map +1 -0
- package/dist-esm/src/securityInsights.d.ts +49 -0
- package/dist-esm/src/securityInsights.d.ts.map +1 -0
- package/dist-esm/src/securityInsights.js +82 -0
- package/dist-esm/src/securityInsights.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +95 -0
- package/review/arm-securityinsight.api.md +5007 -0
- package/rollup.config.js +188 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +8349 -0
- package/src/models/mappers.ts +14311 -0
- package/src/models/parameters.ts +616 -0
- package/src/operations/actions.ts +351 -0
- package/src/operations/alertRuleTemplates.ts +221 -0
- package/src/operations/alertRules.ts +314 -0
- package/src/operations/automationRules.ts +320 -0
- package/src/operations/bookmarkOperations.ts +80 -0
- package/src/operations/bookmarkRelations.ts +369 -0
- package/src/operations/bookmarks.ts +314 -0
- package/src/operations/dataConnectors.ts +413 -0
- package/src/operations/dataConnectorsCheckRequirementsOperations.ts +83 -0
- package/src/operations/domainWhois.ts +71 -0
- package/src/operations/entities.ts +366 -0
- package/src/operations/entitiesGetTimeline.ts +80 -0
- package/src/operations/entitiesRelations.ts +216 -0
- package/src/operations/entityQueries.ts +315 -0
- package/src/operations/entityQueryTemplates.ts +221 -0
- package/src/operations/entityRelations.ts +78 -0
- package/src/operations/iPGeodata.ts +68 -0
- package/src/operations/incidentComments.ts +381 -0
- package/src/operations/incidentRelations.ts +369 -0
- package/src/operations/incidents.ts +508 -0
- package/src/operations/index.ts +40 -0
- package/src/operations/metadata.ts +381 -0
- package/src/operations/officeConsents.ts +263 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/productSettings.ts +207 -0
- package/src/operations/sentinelOnboardingStates.ts +222 -0
- package/src/operations/sourceControlOperations.ts +206 -0
- package/src/operations/sourceControls.ts +320 -0
- package/src/operations/threatIntelligenceIndicator.ts +526 -0
- package/src/operations/threatIntelligenceIndicatorMetrics.ts +73 -0
- package/src/operations/threatIntelligenceIndicators.ts +190 -0
- package/src/operations/watchlistItems.ts +369 -0
- package/src/operations/watchlists.ts +316 -0
- package/src/operationsInterfaces/actions.ts +84 -0
- package/src/operationsInterfaces/alertRuleTemplates.ts +44 -0
- package/src/operationsInterfaces/alertRules.ts +75 -0
- package/src/operationsInterfaces/automationRules.ts +75 -0
- package/src/operationsInterfaces/bookmarkOperations.ts +32 -0
- package/src/operationsInterfaces/bookmarkRelations.ts +83 -0
- package/src/operationsInterfaces/bookmarks.ts +75 -0
- package/src/operationsInterfaces/dataConnectors.ts +106 -0
- package/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.ts +30 -0
- package/src/operationsInterfaces/domainWhois.ts +27 -0
- package/src/operationsInterfaces/entities.ts +98 -0
- package/src/operationsInterfaces/entitiesGetTimeline.ts +32 -0
- package/src/operationsInterfaces/entitiesRelations.ts +28 -0
- package/src/operationsInterfaces/entityQueries.ts +76 -0
- package/src/operationsInterfaces/entityQueryTemplates.ts +44 -0
- package/src/operationsInterfaces/entityRelations.ts +31 -0
- package/src/operationsInterfaces/iPGeodata.ts +24 -0
- package/src/operationsInterfaces/incidentComments.ts +83 -0
- package/src/operationsInterfaces/incidentRelations.ts +83 -0
- package/src/operationsInterfaces/incidents.ts +139 -0
- package/src/operationsInterfaces/index.ts +40 -0
- package/src/operationsInterfaces/metadata.ts +93 -0
- package/src/operationsInterfaces/officeConsents.ts +58 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/productSettings.ts +74 -0
- package/src/operationsInterfaces/sentinelOnboardingStates.ts +71 -0
- package/src/operationsInterfaces/sourceControlOperations.ts +32 -0
- package/src/operationsInterfaces/sourceControls.ts +75 -0
- package/src/operationsInterfaces/threatIntelligenceIndicator.ts +131 -0
- package/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.ts +27 -0
- package/src/operationsInterfaces/threatIntelligenceIndicators.ts +29 -0
- package/src/operationsInterfaces/watchlistItems.ts +83 -0
- package/src/operationsInterfaces/watchlists.ts +77 -0
- package/src/securityInsights.ts +211 -0
- package/tsconfig.json +19 -0
- package/types/arm-securityinsight.d.ts +9299 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Watchlists } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
|
+
import * as Parameters from "../models/parameters";
|
|
14
|
+
import { SecurityInsights } from "../securityInsights";
|
|
15
|
+
import {
|
|
16
|
+
Watchlist,
|
|
17
|
+
WatchlistsListNextOptionalParams,
|
|
18
|
+
WatchlistsListOptionalParams,
|
|
19
|
+
WatchlistsListResponse,
|
|
20
|
+
WatchlistsGetOptionalParams,
|
|
21
|
+
WatchlistsGetResponse,
|
|
22
|
+
WatchlistsDeleteOptionalParams,
|
|
23
|
+
WatchlistsCreateOrUpdateOptionalParams,
|
|
24
|
+
WatchlistsCreateOrUpdateResponse,
|
|
25
|
+
WatchlistsListNextResponse
|
|
26
|
+
} from "../models";
|
|
27
|
+
|
|
28
|
+
/// <reference lib="esnext.asynciterable" />
|
|
29
|
+
/** Class containing Watchlists operations. */
|
|
30
|
+
export class WatchlistsImpl implements Watchlists {
|
|
31
|
+
private readonly client: SecurityInsights;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Initialize a new instance of the class Watchlists class.
|
|
35
|
+
* @param client Reference to the service client
|
|
36
|
+
*/
|
|
37
|
+
constructor(client: SecurityInsights) {
|
|
38
|
+
this.client = client;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Gets all watchlists, without watchlist items.
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param workspaceName The name of the workspace.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
public list(
|
|
48
|
+
resourceGroupName: string,
|
|
49
|
+
workspaceName: string,
|
|
50
|
+
options?: WatchlistsListOptionalParams
|
|
51
|
+
): PagedAsyncIterableIterator<Watchlist> {
|
|
52
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
|
|
53
|
+
return {
|
|
54
|
+
next() {
|
|
55
|
+
return iter.next();
|
|
56
|
+
},
|
|
57
|
+
[Symbol.asyncIterator]() {
|
|
58
|
+
return this;
|
|
59
|
+
},
|
|
60
|
+
byPage: () => {
|
|
61
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
private async *listPagingPage(
|
|
67
|
+
resourceGroupName: string,
|
|
68
|
+
workspaceName: string,
|
|
69
|
+
options?: WatchlistsListOptionalParams
|
|
70
|
+
): AsyncIterableIterator<Watchlist[]> {
|
|
71
|
+
let result = await this._list(resourceGroupName, workspaceName, options);
|
|
72
|
+
yield result.value || [];
|
|
73
|
+
let continuationToken = result.nextLink;
|
|
74
|
+
while (continuationToken) {
|
|
75
|
+
result = await this._listNext(
|
|
76
|
+
resourceGroupName,
|
|
77
|
+
workspaceName,
|
|
78
|
+
continuationToken,
|
|
79
|
+
options
|
|
80
|
+
);
|
|
81
|
+
continuationToken = result.nextLink;
|
|
82
|
+
yield result.value || [];
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
private async *listPagingAll(
|
|
87
|
+
resourceGroupName: string,
|
|
88
|
+
workspaceName: string,
|
|
89
|
+
options?: WatchlistsListOptionalParams
|
|
90
|
+
): AsyncIterableIterator<Watchlist> {
|
|
91
|
+
for await (const page of this.listPagingPage(
|
|
92
|
+
resourceGroupName,
|
|
93
|
+
workspaceName,
|
|
94
|
+
options
|
|
95
|
+
)) {
|
|
96
|
+
yield* page;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Gets all watchlists, without watchlist items.
|
|
102
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
103
|
+
* @param workspaceName The name of the workspace.
|
|
104
|
+
* @param options The options parameters.
|
|
105
|
+
*/
|
|
106
|
+
private _list(
|
|
107
|
+
resourceGroupName: string,
|
|
108
|
+
workspaceName: string,
|
|
109
|
+
options?: WatchlistsListOptionalParams
|
|
110
|
+
): Promise<WatchlistsListResponse> {
|
|
111
|
+
return this.client.sendOperationRequest(
|
|
112
|
+
{ resourceGroupName, workspaceName, options },
|
|
113
|
+
listOperationSpec
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Gets a watchlist, without its watchlist items.
|
|
119
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
120
|
+
* @param workspaceName The name of the workspace.
|
|
121
|
+
* @param watchlistAlias Watchlist Alias
|
|
122
|
+
* @param options The options parameters.
|
|
123
|
+
*/
|
|
124
|
+
get(
|
|
125
|
+
resourceGroupName: string,
|
|
126
|
+
workspaceName: string,
|
|
127
|
+
watchlistAlias: string,
|
|
128
|
+
options?: WatchlistsGetOptionalParams
|
|
129
|
+
): Promise<WatchlistsGetResponse> {
|
|
130
|
+
return this.client.sendOperationRequest(
|
|
131
|
+
{ resourceGroupName, workspaceName, watchlistAlias, options },
|
|
132
|
+
getOperationSpec
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Delete a watchlist.
|
|
138
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
139
|
+
* @param workspaceName The name of the workspace.
|
|
140
|
+
* @param watchlistAlias Watchlist Alias
|
|
141
|
+
* @param options The options parameters.
|
|
142
|
+
*/
|
|
143
|
+
delete(
|
|
144
|
+
resourceGroupName: string,
|
|
145
|
+
workspaceName: string,
|
|
146
|
+
watchlistAlias: string,
|
|
147
|
+
options?: WatchlistsDeleteOptionalParams
|
|
148
|
+
): Promise<void> {
|
|
149
|
+
return this.client.sendOperationRequest(
|
|
150
|
+
{ resourceGroupName, workspaceName, watchlistAlias, options },
|
|
151
|
+
deleteOperationSpec
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Creates or updates a watchlist and its watchlist items (bulk creation, e.g. through text/csv content
|
|
157
|
+
* type). To create a Watchlist and its items, we should call this endpoint with rawContent and
|
|
158
|
+
* contentType properties.
|
|
159
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
160
|
+
* @param workspaceName The name of the workspace.
|
|
161
|
+
* @param watchlistAlias Watchlist Alias
|
|
162
|
+
* @param watchlist The watchlist
|
|
163
|
+
* @param options The options parameters.
|
|
164
|
+
*/
|
|
165
|
+
createOrUpdate(
|
|
166
|
+
resourceGroupName: string,
|
|
167
|
+
workspaceName: string,
|
|
168
|
+
watchlistAlias: string,
|
|
169
|
+
watchlist: Watchlist,
|
|
170
|
+
options?: WatchlistsCreateOrUpdateOptionalParams
|
|
171
|
+
): Promise<WatchlistsCreateOrUpdateResponse> {
|
|
172
|
+
return this.client.sendOperationRequest(
|
|
173
|
+
{ resourceGroupName, workspaceName, watchlistAlias, watchlist, options },
|
|
174
|
+
createOrUpdateOperationSpec
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* ListNext
|
|
180
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
181
|
+
* @param workspaceName The name of the workspace.
|
|
182
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
183
|
+
* @param options The options parameters.
|
|
184
|
+
*/
|
|
185
|
+
private _listNext(
|
|
186
|
+
resourceGroupName: string,
|
|
187
|
+
workspaceName: string,
|
|
188
|
+
nextLink: string,
|
|
189
|
+
options?: WatchlistsListNextOptionalParams
|
|
190
|
+
): Promise<WatchlistsListNextResponse> {
|
|
191
|
+
return this.client.sendOperationRequest(
|
|
192
|
+
{ resourceGroupName, workspaceName, nextLink, options },
|
|
193
|
+
listNextOperationSpec
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
// Operation Specifications
|
|
198
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
199
|
+
|
|
200
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
201
|
+
path:
|
|
202
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists",
|
|
203
|
+
httpMethod: "GET",
|
|
204
|
+
responses: {
|
|
205
|
+
200: {
|
|
206
|
+
bodyMapper: Mappers.WatchlistList
|
|
207
|
+
},
|
|
208
|
+
default: {
|
|
209
|
+
bodyMapper: Mappers.CloudError
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
queryParameters: [Parameters.apiVersion],
|
|
213
|
+
urlParameters: [
|
|
214
|
+
Parameters.$host,
|
|
215
|
+
Parameters.subscriptionId,
|
|
216
|
+
Parameters.resourceGroupName,
|
|
217
|
+
Parameters.workspaceName
|
|
218
|
+
],
|
|
219
|
+
headerParameters: [Parameters.accept],
|
|
220
|
+
serializer
|
|
221
|
+
};
|
|
222
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
223
|
+
path:
|
|
224
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}",
|
|
225
|
+
httpMethod: "GET",
|
|
226
|
+
responses: {
|
|
227
|
+
200: {
|
|
228
|
+
bodyMapper: Mappers.Watchlist
|
|
229
|
+
},
|
|
230
|
+
default: {
|
|
231
|
+
bodyMapper: Mappers.CloudError
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
queryParameters: [Parameters.apiVersion],
|
|
235
|
+
urlParameters: [
|
|
236
|
+
Parameters.$host,
|
|
237
|
+
Parameters.subscriptionId,
|
|
238
|
+
Parameters.resourceGroupName,
|
|
239
|
+
Parameters.workspaceName,
|
|
240
|
+
Parameters.watchlistAlias
|
|
241
|
+
],
|
|
242
|
+
headerParameters: [Parameters.accept],
|
|
243
|
+
serializer
|
|
244
|
+
};
|
|
245
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
246
|
+
path:
|
|
247
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}",
|
|
248
|
+
httpMethod: "DELETE",
|
|
249
|
+
responses: {
|
|
250
|
+
200: {},
|
|
251
|
+
204: {},
|
|
252
|
+
default: {
|
|
253
|
+
bodyMapper: Mappers.CloudError
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
queryParameters: [Parameters.apiVersion],
|
|
257
|
+
urlParameters: [
|
|
258
|
+
Parameters.$host,
|
|
259
|
+
Parameters.subscriptionId,
|
|
260
|
+
Parameters.resourceGroupName,
|
|
261
|
+
Parameters.workspaceName,
|
|
262
|
+
Parameters.watchlistAlias
|
|
263
|
+
],
|
|
264
|
+
headerParameters: [Parameters.accept],
|
|
265
|
+
serializer
|
|
266
|
+
};
|
|
267
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
268
|
+
path:
|
|
269
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}",
|
|
270
|
+
httpMethod: "PUT",
|
|
271
|
+
responses: {
|
|
272
|
+
200: {
|
|
273
|
+
bodyMapper: Mappers.Watchlist
|
|
274
|
+
},
|
|
275
|
+
201: {
|
|
276
|
+
bodyMapper: Mappers.Watchlist
|
|
277
|
+
},
|
|
278
|
+
default: {
|
|
279
|
+
bodyMapper: Mappers.CloudError
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
requestBody: Parameters.watchlist,
|
|
283
|
+
queryParameters: [Parameters.apiVersion],
|
|
284
|
+
urlParameters: [
|
|
285
|
+
Parameters.$host,
|
|
286
|
+
Parameters.subscriptionId,
|
|
287
|
+
Parameters.resourceGroupName,
|
|
288
|
+
Parameters.workspaceName,
|
|
289
|
+
Parameters.watchlistAlias
|
|
290
|
+
],
|
|
291
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
292
|
+
mediaType: "json",
|
|
293
|
+
serializer
|
|
294
|
+
};
|
|
295
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
296
|
+
path: "{nextLink}",
|
|
297
|
+
httpMethod: "GET",
|
|
298
|
+
responses: {
|
|
299
|
+
200: {
|
|
300
|
+
bodyMapper: Mappers.WatchlistList
|
|
301
|
+
},
|
|
302
|
+
default: {
|
|
303
|
+
bodyMapper: Mappers.CloudError
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
queryParameters: [Parameters.apiVersion],
|
|
307
|
+
urlParameters: [
|
|
308
|
+
Parameters.$host,
|
|
309
|
+
Parameters.subscriptionId,
|
|
310
|
+
Parameters.resourceGroupName,
|
|
311
|
+
Parameters.workspaceName,
|
|
312
|
+
Parameters.nextLink
|
|
313
|
+
],
|
|
314
|
+
headerParameters: [Parameters.accept],
|
|
315
|
+
serializer
|
|
316
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
ActionResponse,
|
|
12
|
+
ActionsListByAlertRuleOptionalParams,
|
|
13
|
+
ActionsGetOptionalParams,
|
|
14
|
+
ActionsGetResponse,
|
|
15
|
+
ActionRequest,
|
|
16
|
+
ActionsCreateOrUpdateOptionalParams,
|
|
17
|
+
ActionsCreateOrUpdateResponse,
|
|
18
|
+
ActionsDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a Actions. */
|
|
23
|
+
export interface Actions {
|
|
24
|
+
/**
|
|
25
|
+
* Gets all actions of alert rule.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param workspaceName The name of the workspace.
|
|
28
|
+
* @param ruleId Alert rule ID
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listByAlertRule(
|
|
32
|
+
resourceGroupName: string,
|
|
33
|
+
workspaceName: string,
|
|
34
|
+
ruleId: string,
|
|
35
|
+
options?: ActionsListByAlertRuleOptionalParams
|
|
36
|
+
): PagedAsyncIterableIterator<ActionResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Gets the action of alert rule.
|
|
39
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
+
* @param workspaceName The name of the workspace.
|
|
41
|
+
* @param ruleId Alert rule ID
|
|
42
|
+
* @param actionId Action ID
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
get(
|
|
46
|
+
resourceGroupName: string,
|
|
47
|
+
workspaceName: string,
|
|
48
|
+
ruleId: string,
|
|
49
|
+
actionId: string,
|
|
50
|
+
options?: ActionsGetOptionalParams
|
|
51
|
+
): Promise<ActionsGetResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Creates or updates the action of alert rule.
|
|
54
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
55
|
+
* @param workspaceName The name of the workspace.
|
|
56
|
+
* @param ruleId Alert rule ID
|
|
57
|
+
* @param actionId Action ID
|
|
58
|
+
* @param action The action
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
createOrUpdate(
|
|
62
|
+
resourceGroupName: string,
|
|
63
|
+
workspaceName: string,
|
|
64
|
+
ruleId: string,
|
|
65
|
+
actionId: string,
|
|
66
|
+
action: ActionRequest,
|
|
67
|
+
options?: ActionsCreateOrUpdateOptionalParams
|
|
68
|
+
): Promise<ActionsCreateOrUpdateResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Delete the action of alert rule.
|
|
71
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
72
|
+
* @param workspaceName The name of the workspace.
|
|
73
|
+
* @param ruleId Alert rule ID
|
|
74
|
+
* @param actionId Action ID
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
delete(
|
|
78
|
+
resourceGroupName: string,
|
|
79
|
+
workspaceName: string,
|
|
80
|
+
ruleId: string,
|
|
81
|
+
actionId: string,
|
|
82
|
+
options?: ActionsDeleteOptionalParams
|
|
83
|
+
): Promise<void>;
|
|
84
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
AlertRuleTemplateUnion,
|
|
12
|
+
AlertRuleTemplatesListOptionalParams,
|
|
13
|
+
AlertRuleTemplatesGetOptionalParams,
|
|
14
|
+
AlertRuleTemplatesGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a AlertRuleTemplates. */
|
|
19
|
+
export interface AlertRuleTemplates {
|
|
20
|
+
/**
|
|
21
|
+
* Gets all alert rule templates.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param workspaceName The name of the workspace.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(
|
|
27
|
+
resourceGroupName: string,
|
|
28
|
+
workspaceName: string,
|
|
29
|
+
options?: AlertRuleTemplatesListOptionalParams
|
|
30
|
+
): PagedAsyncIterableIterator<AlertRuleTemplateUnion>;
|
|
31
|
+
/**
|
|
32
|
+
* Gets the alert rule template.
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param workspaceName The name of the workspace.
|
|
35
|
+
* @param alertRuleTemplateId Alert rule template ID
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(
|
|
39
|
+
resourceGroupName: string,
|
|
40
|
+
workspaceName: string,
|
|
41
|
+
alertRuleTemplateId: string,
|
|
42
|
+
options?: AlertRuleTemplatesGetOptionalParams
|
|
43
|
+
): Promise<AlertRuleTemplatesGetResponse>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
AlertRuleUnion,
|
|
12
|
+
AlertRulesListOptionalParams,
|
|
13
|
+
AlertRulesGetOptionalParams,
|
|
14
|
+
AlertRulesGetResponse,
|
|
15
|
+
AlertRulesCreateOrUpdateOptionalParams,
|
|
16
|
+
AlertRulesCreateOrUpdateResponse,
|
|
17
|
+
AlertRulesDeleteOptionalParams
|
|
18
|
+
} from "../models";
|
|
19
|
+
|
|
20
|
+
/// <reference lib="esnext.asynciterable" />
|
|
21
|
+
/** Interface representing a AlertRules. */
|
|
22
|
+
export interface AlertRules {
|
|
23
|
+
/**
|
|
24
|
+
* Gets all alert rules.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param workspaceName The name of the workspace.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(
|
|
30
|
+
resourceGroupName: string,
|
|
31
|
+
workspaceName: string,
|
|
32
|
+
options?: AlertRulesListOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<AlertRuleUnion>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the alert rule.
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param workspaceName The name of the workspace.
|
|
38
|
+
* @param ruleId Alert rule ID
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
get(
|
|
42
|
+
resourceGroupName: string,
|
|
43
|
+
workspaceName: string,
|
|
44
|
+
ruleId: string,
|
|
45
|
+
options?: AlertRulesGetOptionalParams
|
|
46
|
+
): Promise<AlertRulesGetResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Creates or updates the alert rule.
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
|
+
* @param workspaceName The name of the workspace.
|
|
51
|
+
* @param ruleId Alert rule ID
|
|
52
|
+
* @param alertRule The alert rule
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
createOrUpdate(
|
|
56
|
+
resourceGroupName: string,
|
|
57
|
+
workspaceName: string,
|
|
58
|
+
ruleId: string,
|
|
59
|
+
alertRule: AlertRuleUnion,
|
|
60
|
+
options?: AlertRulesCreateOrUpdateOptionalParams
|
|
61
|
+
): Promise<AlertRulesCreateOrUpdateResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Delete the alert rule.
|
|
64
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
+
* @param workspaceName The name of the workspace.
|
|
66
|
+
* @param ruleId Alert rule ID
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
delete(
|
|
70
|
+
resourceGroupName: string,
|
|
71
|
+
workspaceName: string,
|
|
72
|
+
ruleId: string,
|
|
73
|
+
options?: AlertRulesDeleteOptionalParams
|
|
74
|
+
): Promise<void>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
AutomationRule,
|
|
12
|
+
AutomationRulesListOptionalParams,
|
|
13
|
+
AutomationRulesGetOptionalParams,
|
|
14
|
+
AutomationRulesGetResponse,
|
|
15
|
+
AutomationRulesCreateOrUpdateOptionalParams,
|
|
16
|
+
AutomationRulesCreateOrUpdateResponse,
|
|
17
|
+
AutomationRulesDeleteOptionalParams
|
|
18
|
+
} from "../models";
|
|
19
|
+
|
|
20
|
+
/// <reference lib="esnext.asynciterable" />
|
|
21
|
+
/** Interface representing a AutomationRules. */
|
|
22
|
+
export interface AutomationRules {
|
|
23
|
+
/**
|
|
24
|
+
* Gets all automation rules.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param workspaceName The name of the workspace.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(
|
|
30
|
+
resourceGroupName: string,
|
|
31
|
+
workspaceName: string,
|
|
32
|
+
options?: AutomationRulesListOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<AutomationRule>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the automation rule.
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param workspaceName The name of the workspace.
|
|
38
|
+
* @param automationRuleId Automation rule ID
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
get(
|
|
42
|
+
resourceGroupName: string,
|
|
43
|
+
workspaceName: string,
|
|
44
|
+
automationRuleId: string,
|
|
45
|
+
options?: AutomationRulesGetOptionalParams
|
|
46
|
+
): Promise<AutomationRulesGetResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Creates or updates the automation rule.
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
|
+
* @param workspaceName The name of the workspace.
|
|
51
|
+
* @param automationRuleId Automation rule ID
|
|
52
|
+
* @param automationRule The automation rule
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
createOrUpdate(
|
|
56
|
+
resourceGroupName: string,
|
|
57
|
+
workspaceName: string,
|
|
58
|
+
automationRuleId: string,
|
|
59
|
+
automationRule: AutomationRule,
|
|
60
|
+
options?: AutomationRulesCreateOrUpdateOptionalParams
|
|
61
|
+
): Promise<AutomationRulesCreateOrUpdateResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Delete the automation rule.
|
|
64
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
+
* @param workspaceName The name of the workspace.
|
|
66
|
+
* @param automationRuleId Automation rule ID
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
delete(
|
|
70
|
+
resourceGroupName: string,
|
|
71
|
+
workspaceName: string,
|
|
72
|
+
automationRuleId: string,
|
|
73
|
+
options?: AutomationRulesDeleteOptionalParams
|
|
74
|
+
): Promise<void>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
BookmarkExpandParameters,
|
|
11
|
+
BookmarkExpandOptionalParams,
|
|
12
|
+
BookmarkExpandOperationResponse
|
|
13
|
+
} from "../models";
|
|
14
|
+
|
|
15
|
+
/** Interface representing a BookmarkOperations. */
|
|
16
|
+
export interface BookmarkOperations {
|
|
17
|
+
/**
|
|
18
|
+
* Expand an bookmark
|
|
19
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
20
|
+
* @param workspaceName The name of the workspace.
|
|
21
|
+
* @param bookmarkId Bookmark ID
|
|
22
|
+
* @param parameters The parameters required to execute an expand operation on the given bookmark.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
expand(
|
|
26
|
+
resourceGroupName: string,
|
|
27
|
+
workspaceName: string,
|
|
28
|
+
bookmarkId: string,
|
|
29
|
+
parameters: BookmarkExpandParameters,
|
|
30
|
+
options?: BookmarkExpandOptionalParams
|
|
31
|
+
): Promise<BookmarkExpandOperationResponse>;
|
|
32
|
+
}
|