@azure/arm-security 4.0.0-beta.1 → 4.0.0
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 +6 -11
- package/README.md +4 -0
- package/dist/index.js +20327 -574
- 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/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +0 -1
- 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 +6009 -182
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +838 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +322 -13
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +7571 -195
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +101 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +855 -14
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/adaptiveApplicationControls.d.ts +37 -0
- package/dist-esm/src/operations/adaptiveApplicationControls.d.ts.map +1 -0
- package/dist-esm/src/operations/adaptiveApplicationControls.js +140 -0
- package/dist-esm/src/operations/adaptiveApplicationControls.js.map +1 -0
- package/dist-esm/src/operations/adaptiveNetworkHardenings.d.ts +83 -0
- package/dist-esm/src/operations/adaptiveNetworkHardenings.d.ts.map +1 -0
- package/dist-esm/src/operations/adaptiveNetworkHardenings.js +304 -0
- package/dist-esm/src/operations/adaptiveNetworkHardenings.js.map +1 -0
- package/dist-esm/src/operations/advancedThreatProtection.d.ts +26 -0
- package/dist-esm/src/operations/advancedThreatProtection.d.ts.map +1 -0
- package/dist-esm/src/operations/advancedThreatProtection.js +82 -0
- package/dist-esm/src/operations/advancedThreatProtection.js.map +1 -0
- package/dist-esm/src/operations/alerts.d.ts +171 -0
- package/dist-esm/src/operations/alerts.d.ts.map +1 -0
- package/dist-esm/src/operations/alerts.js +759 -0
- package/dist-esm/src/operations/alerts.js.map +1 -0
- package/dist-esm/src/operations/alertsSuppressionRules.d.ts +51 -0
- package/dist-esm/src/operations/alertsSuppressionRules.d.ts.map +1 -0
- package/dist-esm/src/operations/alertsSuppressionRules.js +209 -0
- package/dist-esm/src/operations/alertsSuppressionRules.js.map +1 -0
- package/dist-esm/src/operations/allowedConnections.d.ts +59 -0
- package/dist-esm/src/operations/allowedConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/allowedConnections.js +261 -0
- package/dist-esm/src/operations/allowedConnections.js.map +1 -0
- package/dist-esm/src/operations/assessments.d.ts +65 -0
- package/dist-esm/src/operations/assessments.d.ts.map +1 -0
- package/dist-esm/src/operations/assessments.js +223 -0
- package/dist-esm/src/operations/assessments.js.map +1 -0
- package/dist-esm/src/operations/assessmentsMetadata.d.ts +76 -0
- package/dist-esm/src/operations/assessmentsMetadata.d.ts.map +1 -0
- package/dist-esm/src/operations/assessmentsMetadata.js +329 -0
- package/dist-esm/src/operations/assessmentsMetadata.js.map +1 -0
- package/dist-esm/src/operations/autoProvisioningSettings.d.ts +45 -0
- package/dist-esm/src/operations/autoProvisioningSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/autoProvisioningSettings.js +183 -0
- package/dist-esm/src/operations/autoProvisioningSettings.js.map +1 -0
- package/dist-esm/src/operations/automations.d.ts +96 -0
- package/dist-esm/src/operations/automations.d.ts.map +1 -0
- package/dist-esm/src/operations/automations.js +371 -0
- package/dist-esm/src/operations/automations.js.map +1 -0
- package/dist-esm/src/operations/complianceResults.d.ts +48 -0
- package/dist-esm/src/operations/complianceResults.d.ts.map +1 -0
- package/dist-esm/src/operations/complianceResults.js +158 -0
- package/dist-esm/src/operations/complianceResults.js.map +1 -0
- package/dist-esm/src/operations/compliances.d.ts +50 -0
- package/dist-esm/src/operations/compliances.d.ts.map +1 -0
- package/dist-esm/src/operations/compliances.js +160 -0
- package/dist-esm/src/operations/compliances.js.map +1 -0
- package/dist-esm/src/operations/connectors.d.ts +53 -0
- package/dist-esm/src/operations/connectors.d.ts.map +1 -0
- package/dist-esm/src/operations/connectors.js +212 -0
- package/dist-esm/src/operations/connectors.js.map +1 -0
- package/dist-esm/src/operations/customAssessmentAutomations.d.ts +82 -0
- package/dist-esm/src/operations/customAssessmentAutomations.d.ts.map +1 -0
- package/dist-esm/src/operations/{standards.js → customAssessmentAutomations.js} +115 -110
- package/dist-esm/src/operations/customAssessmentAutomations.js.map +1 -0
- package/dist-esm/src/operations/customEntityStoreAssignments.d.ts +85 -0
- package/dist-esm/src/operations/customEntityStoreAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/{assignments.js → customEntityStoreAssignments.js} +124 -109
- package/dist-esm/src/operations/customEntityStoreAssignments.js.map +1 -0
- package/dist-esm/src/operations/deviceSecurityGroups.d.ts +60 -0
- package/dist-esm/src/operations/deviceSecurityGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/deviceSecurityGroups.js +218 -0
- package/dist-esm/src/operations/deviceSecurityGroups.js.map +1 -0
- package/dist-esm/src/operations/discoveredSecuritySolutions.d.ts +58 -0
- package/dist-esm/src/operations/discoveredSecuritySolutions.d.ts.map +1 -0
- package/dist-esm/src/operations/discoveredSecuritySolutions.js +260 -0
- package/dist-esm/src/operations/discoveredSecuritySolutions.js.map +1 -0
- package/dist-esm/src/operations/externalSecuritySolutions.d.ts +58 -0
- package/dist-esm/src/operations/externalSecuritySolutions.d.ts.map +1 -0
- package/dist-esm/src/operations/externalSecuritySolutions.js +260 -0
- package/dist-esm/src/operations/externalSecuritySolutions.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +49 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +49 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/informationProtectionPolicies.d.ts +60 -0
- package/dist-esm/src/operations/informationProtectionPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/informationProtectionPolicies.js +202 -0
- package/dist-esm/src/operations/informationProtectionPolicies.js.map +1 -0
- package/dist-esm/src/operations/ingestionSettings.d.ts +68 -0
- package/dist-esm/src/operations/ingestionSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/ingestionSettings.js +271 -0
- package/dist-esm/src/operations/ingestionSettings.js.map +1 -0
- package/dist-esm/src/operations/iotSecuritySolution.d.ts +91 -0
- package/dist-esm/src/operations/iotSecuritySolution.d.ts.map +1 -0
- package/dist-esm/src/operations/iotSecuritySolution.js +372 -0
- package/dist-esm/src/operations/iotSecuritySolution.js.map +1 -0
- package/dist-esm/src/operations/iotSecuritySolutionAnalytics.d.ts +29 -0
- package/dist-esm/src/operations/iotSecuritySolutionAnalytics.d.ts.map +1 -0
- package/dist-esm/src/operations/iotSecuritySolutionAnalytics.js +85 -0
- package/dist-esm/src/operations/iotSecuritySolutionAnalytics.js.map +1 -0
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts +60 -0
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts.map +1 -0
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js +205 -0
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js.map +1 -0
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.d.ts +53 -0
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.d.ts.map +1 -0
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js +181 -0
- package/dist-esm/src/operations/iotSecuritySolutionsAnalyticsRecommendation.js.map +1 -0
- package/dist-esm/src/operations/jitNetworkAccessPolicies.d.ts +133 -0
- package/dist-esm/src/operations/jitNetworkAccessPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/jitNetworkAccessPolicies.js +585 -0
- package/dist-esm/src/operations/jitNetworkAccessPolicies.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +41 -0
- package/dist-esm/src/operations/locations.d.ts.map +1 -0
- package/dist-esm/src/operations/locations.js +155 -0
- package/dist-esm/src/operations/locations.js.map +1 -0
- package/dist-esm/src/operations/mdeOnboardings.d.ts +23 -0
- package/dist-esm/src/operations/mdeOnboardings.d.ts.map +1 -0
- package/dist-esm/src/operations/mdeOnboardings.js +69 -0
- package/dist-esm/src/operations/mdeOnboardings.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/pricings.d.ts +31 -0
- package/dist-esm/src/operations/pricings.d.ts.map +1 -0
- package/dist-esm/src/operations/pricings.js +105 -0
- package/dist-esm/src/operations/pricings.js.map +1 -0
- package/dist-esm/src/operations/regulatoryComplianceAssessments.d.ts +46 -0
- package/dist-esm/src/operations/regulatoryComplianceAssessments.d.ts.map +1 -0
- package/dist-esm/src/operations/regulatoryComplianceAssessments.js +183 -0
- package/dist-esm/src/operations/regulatoryComplianceAssessments.js.map +1 -0
- package/dist-esm/src/operations/regulatoryComplianceControls.d.ts +42 -0
- package/dist-esm/src/operations/regulatoryComplianceControls.d.ts.map +1 -0
- package/dist-esm/src/operations/regulatoryComplianceControls.js +166 -0
- package/dist-esm/src/operations/regulatoryComplianceControls.js.map +1 -0
- package/dist-esm/src/operations/regulatoryComplianceStandards.d.ts +38 -0
- package/dist-esm/src/operations/regulatoryComplianceStandards.d.ts.map +1 -0
- package/dist-esm/src/operations/regulatoryComplianceStandards.js +152 -0
- package/dist-esm/src/operations/regulatoryComplianceStandards.js.map +1 -0
- package/dist-esm/src/operations/secureScoreControlDefinitions.d.ts +52 -0
- package/dist-esm/src/operations/secureScoreControlDefinitions.d.ts.map +1 -0
- package/dist-esm/src/operations/secureScoreControlDefinitions.js +221 -0
- package/dist-esm/src/operations/secureScoreControlDefinitions.js.map +1 -0
- package/dist-esm/src/operations/secureScoreControls.d.ts +56 -0
- package/dist-esm/src/operations/secureScoreControls.d.ts.map +1 -0
- package/dist-esm/src/operations/secureScoreControls.js +234 -0
- package/dist-esm/src/operations/secureScoreControls.js.map +1 -0
- package/dist-esm/src/operations/secureScores.d.ts +40 -0
- package/dist-esm/src/operations/secureScores.d.ts.map +1 -0
- package/dist-esm/src/operations/secureScores.js +154 -0
- package/dist-esm/src/operations/secureScores.js.map +1 -0
- package/dist-esm/src/operations/securityConnectors.d.ts +95 -0
- package/dist-esm/src/operations/securityConnectors.d.ts.map +1 -0
- package/dist-esm/src/operations/securityConnectors.js +371 -0
- package/dist-esm/src/operations/securityConnectors.js.map +1 -0
- package/dist-esm/src/operations/securityContacts.d.ts +58 -0
- package/dist-esm/src/operations/securityContacts.d.ts.map +1 -0
- package/dist-esm/src/operations/securityContacts.js +240 -0
- package/dist-esm/src/operations/securityContacts.js.map +1 -0
- package/dist-esm/src/operations/securitySolutions.d.ts +40 -0
- package/dist-esm/src/operations/securitySolutions.d.ts.map +1 -0
- package/dist-esm/src/operations/securitySolutions.js +156 -0
- package/dist-esm/src/operations/securitySolutions.js.map +1 -0
- package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.d.ts +23 -0
- package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.js +73 -0
- package/dist-esm/src/operations/securitySolutionsReferenceDataOperations.js.map +1 -0
- package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.d.ts +65 -0
- package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.js +239 -0
- package/dist-esm/src/operations/serverVulnerabilityAssessmentOperations.js.map +1 -0
- package/dist-esm/src/operations/settings.d.ts +45 -0
- package/dist-esm/src/operations/settings.d.ts.map +1 -0
- package/dist-esm/src/operations/settings.js +183 -0
- package/dist-esm/src/operations/settings.js.map +1 -0
- package/dist-esm/src/operations/softwareInventories.d.ts +76 -0
- package/dist-esm/src/operations/softwareInventories.d.ts.map +1 -0
- package/dist-esm/src/operations/softwareInventories.js +306 -0
- package/dist-esm/src/operations/softwareInventories.js.map +1 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.d.ts +51 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.js +154 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselineRules.js.map +1 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.d.ts +30 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.js +81 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResults.js.map +1 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.d.ts +28 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.js +74 -0
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.js.map +1 -0
- package/dist-esm/src/operations/subAssessments.d.ts +81 -0
- package/dist-esm/src/operations/subAssessments.d.ts.map +1 -0
- package/dist-esm/src/operations/subAssessments.js +278 -0
- package/dist-esm/src/operations/subAssessments.js.map +1 -0
- package/dist-esm/src/operations/tasks.d.ts +104 -0
- package/dist-esm/src/operations/tasks.d.ts.map +1 -0
- package/dist-esm/src/operations/tasks.js +462 -0
- package/dist-esm/src/operations/tasks.js.map +1 -0
- package/dist-esm/src/operations/topology.d.ts +58 -0
- package/dist-esm/src/operations/topology.d.ts.map +1 -0
- package/dist-esm/src/operations/topology.js +260 -0
- package/dist-esm/src/operations/topology.js.map +1 -0
- package/dist-esm/src/operations/workspaceSettings.d.ts +62 -0
- package/dist-esm/src/operations/workspaceSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaceSettings.js +244 -0
- package/dist-esm/src/operations/workspaceSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/adaptiveApplicationControls.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/adaptiveApplicationControls.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/adaptiveApplicationControls.js +9 -0
- package/dist-esm/src/operationsInterfaces/adaptiveApplicationControls.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.js +9 -0
- package/dist-esm/src/operationsInterfaces/adaptiveNetworkHardenings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/advancedThreatProtection.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/advancedThreatProtection.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/advancedThreatProtection.js +9 -0
- package/dist-esm/src/operationsInterfaces/advancedThreatProtection.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alerts.d.ts +100 -0
- package/dist-esm/src/operationsInterfaces/alerts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{standards.js → alerts.js} +1 -1
- package/dist-esm/src/operationsInterfaces/alerts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertsSuppressionRules.d.ts +30 -0
- package/dist-esm/src/operationsInterfaces/alertsSuppressionRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertsSuppressionRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/alertsSuppressionRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/allowedConnections.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/allowedConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/allowedConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/allowedConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/assessments.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/assessments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{assignments.js → assessments.js} +1 -1
- package/dist-esm/src/operationsInterfaces/assessments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/assessmentsMetadata.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/assessmentsMetadata.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/assessmentsMetadata.js +9 -0
- package/dist-esm/src/operationsInterfaces/assessmentsMetadata.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/autoProvisioningSettings.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/autoProvisioningSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/autoProvisioningSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/autoProvisioningSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/automations.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/automations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/automations.js +9 -0
- package/dist-esm/src/operationsInterfaces/automations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/complianceResults.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/complianceResults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/complianceResults.js +9 -0
- package/dist-esm/src/operationsInterfaces/complianceResults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/compliances.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/compliances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/compliances.js +9 -0
- package/dist-esm/src/operationsInterfaces/compliances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectors.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/connectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customAssessmentAutomations.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/customAssessmentAutomations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customAssessmentAutomations.js +9 -0
- package/dist-esm/src/operationsInterfaces/customAssessmentAutomations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customEntityStoreAssignments.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/customEntityStoreAssignments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customEntityStoreAssignments.js +9 -0
- package/dist-esm/src/operationsInterfaces/customEntityStoreAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deviceSecurityGroups.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/deviceSecurityGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deviceSecurityGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/deviceSecurityGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoveredSecuritySolutions.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/discoveredSecuritySolutions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoveredSecuritySolutions.js +9 -0
- package/dist-esm/src/operationsInterfaces/discoveredSecuritySolutions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/externalSecuritySolutions.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/externalSecuritySolutions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/externalSecuritySolutions.js +9 -0
- package/dist-esm/src/operationsInterfaces/externalSecuritySolutions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +49 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +49 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/informationProtectionPolicies.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/informationProtectionPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/informationProtectionPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/informationProtectionPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/ingestionSettings.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/ingestionSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/ingestionSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/ingestionSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolution.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolution.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolution.js +9 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolution.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionAnalytics.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionAnalytics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionAnalytics.js +9 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionAnalytics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.js +9 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.js +9 -0
- package/dist-esm/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/jitNetworkAccessPolicies.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/jitNetworkAccessPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/jitNetworkAccessPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/jitNetworkAccessPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.js +9 -0
- package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/mdeOnboardings.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/mdeOnboardings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/mdeOnboardings.js +9 -0
- package/dist-esm/src/operationsInterfaces/mdeOnboardings.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/pricings.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/pricings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/pricings.js +9 -0
- package/dist-esm/src/operationsInterfaces/pricings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceAssessments.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceAssessments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceAssessments.js +9 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceAssessments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceControls.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceControls.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceControls.js +9 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceControls.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceStandards.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceStandards.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceStandards.js +9 -0
- package/dist-esm/src/operationsInterfaces/regulatoryComplianceStandards.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secureScoreControlDefinitions.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/secureScoreControlDefinitions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secureScoreControlDefinitions.js +9 -0
- package/dist-esm/src/operationsInterfaces/secureScoreControlDefinitions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secureScoreControls.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/secureScoreControls.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secureScoreControls.js +9 -0
- package/dist-esm/src/operationsInterfaces/secureScoreControls.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secureScores.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/secureScores.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secureScores.js +9 -0
- package/dist-esm/src/operationsInterfaces/secureScores.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/securityConnectors.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/securityConnectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/securityConnectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/securityConnectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/securityContacts.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/securityContacts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/securityContacts.js +9 -0
- package/dist-esm/src/operationsInterfaces/securityContacts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/securitySolutions.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/securitySolutions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/securitySolutions.js +9 -0
- package/dist-esm/src/operationsInterfaces/securitySolutions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/securitySolutionsReferenceDataOperations.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/securitySolutionsReferenceDataOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/securitySolutionsReferenceDataOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/securitySolutionsReferenceDataOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.d.ts +57 -0
- package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/settings.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/settings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/settings.js +9 -0
- package/dist-esm/src/operationsInterfaces/settings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/softwareInventories.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/softwareInventories.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/softwareInventories.js +9 -0
- package/dist-esm/src/operationsInterfaces/softwareInventories.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/subAssessments.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/subAssessments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/subAssessments.js +9 -0
- package/dist-esm/src/operationsInterfaces/subAssessments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topology.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/topology.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/topology.js +9 -0
- package/dist-esm/src/operationsInterfaces/topology.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaceSettings.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/workspaceSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaceSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaceSettings.js.map +1 -0
- package/dist-esm/src/securityCenter.d.ts +58 -6
- package/dist-esm/src/securityCenter.d.ts.map +1 -1
- package/dist-esm/src/securityCenter.js +88 -7
- package/dist-esm/src/securityCenter.js.map +1 -1
- package/package.json +10 -8
- package/review/arm-security.api.md +5199 -135
- package/src/index.ts +0 -1
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +7015 -195
- package/src/models/mappers.ts +8411 -212
- package/src/models/parameters.ts +977 -15
- package/src/operations/adaptiveApplicationControls.ts +186 -0
- package/src/operations/adaptiveNetworkHardenings.ts +437 -0
- package/src/operations/advancedThreatProtection.ts +112 -0
- package/src/operations/alerts.ts +956 -0
- package/src/operations/alertsSuppressionRules.ts +257 -0
- package/src/operations/allowedConnections.ts +303 -0
- package/src/operations/assessments.ts +282 -0
- package/src/operations/assessmentsMetadata.ts +398 -0
- package/src/operations/autoProvisioningSettings.ts +222 -0
- package/src/operations/automations.ts +458 -0
- package/src/operations/complianceResults.ts +194 -0
- package/src/operations/compliances.ts +195 -0
- package/src/operations/connectors.ts +260 -0
- package/src/operations/{standards.ts → customAssessmentAutomations.ts} +181 -171
- package/src/operations/customEntityStoreAssignments.ts +421 -0
- package/src/operations/deviceSecurityGroups.ts +276 -0
- package/src/operations/discoveredSecuritySolutions.ts +302 -0
- package/src/operations/externalSecuritySolutions.ts +302 -0
- package/src/operations/index.ts +49 -2
- package/src/operations/informationProtectionPolicies.ts +252 -0
- package/src/operations/ingestionSettings.ts +339 -0
- package/src/operations/iotSecuritySolution.ts +463 -0
- package/src/operations/iotSecuritySolutionAnalytics.ts +116 -0
- package/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +269 -0
- package/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts +234 -0
- package/src/operations/jitNetworkAccessPolicies.ts +718 -0
- package/src/operations/locations.ts +177 -0
- package/src/operations/mdeOnboardings.ts +89 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/pricings.ts +138 -0
- package/src/operations/regulatoryComplianceAssessments.ts +248 -0
- package/src/operations/regulatoryComplianceControls.ts +211 -0
- package/src/operations/regulatoryComplianceStandards.ts +181 -0
- package/src/operations/secureScoreControlDefinitions.ts +251 -0
- package/src/operations/secureScoreControls.ts +276 -0
- package/src/operations/secureScores.ts +182 -0
- package/src/operations/securityConnectors.ts +458 -0
- package/src/operations/securityContacts.ts +299 -0
- package/src/operations/securitySolutions.ts +185 -0
- package/src/operations/securitySolutionsReferenceDataOperations.ts +97 -0
- package/src/operations/serverVulnerabilityAssessmentOperations.ts +325 -0
- package/src/operations/settings.ts +222 -0
- package/src/operations/softwareInventories.ts +404 -0
- package/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts +220 -0
- package/src/operations/sqlVulnerabilityAssessmentScanResults.ts +115 -0
- package/src/operations/sqlVulnerabilityAssessmentScans.ts +106 -0
- package/src/operations/subAssessments.ts +346 -0
- package/src/operations/tasks.ts +556 -0
- package/src/operations/topology.ts +301 -0
- package/src/operations/workspaceSettings.ts +303 -0
- package/src/operationsInterfaces/adaptiveApplicationControls.ts +58 -0
- package/src/operationsInterfaces/adaptiveNetworkHardenings.ts +97 -0
- package/src/operationsInterfaces/advancedThreatProtection.ts +39 -0
- package/src/operationsInterfaces/alerts.ts +169 -0
- package/src/operationsInterfaces/alertsSuppressionRules.ts +59 -0
- package/src/operationsInterfaces/allowedConnections.ts +49 -0
- package/src/operationsInterfaces/assessments.ts +72 -0
- package/src/operationsInterfaces/assessmentsMetadata.ts +79 -0
- package/src/operationsInterfaces/autoProvisioningSettings.ts +49 -0
- package/src/operationsInterfaces/automations.ts +99 -0
- package/src/operationsInterfaces/complianceResults.ts +42 -0
- package/src/operationsInterfaces/compliances.ts +44 -0
- package/src/operationsInterfaces/connectors.ts +61 -0
- package/src/operationsInterfaces/customAssessmentAutomations.ts +81 -0
- package/src/operationsInterfaces/customEntityStoreAssignments.ts +84 -0
- package/src/operationsInterfaces/deviceSecurityGroups.ts +70 -0
- package/src/operationsInterfaces/discoveredSecuritySolutions.ts +47 -0
- package/src/operationsInterfaces/externalSecuritySolutions.ts +47 -0
- package/src/operationsInterfaces/index.ts +49 -2
- package/src/operationsInterfaces/informationProtectionPolicies.ts +62 -0
- package/src/operationsInterfaces/ingestionSettings.ts +85 -0
- package/src/operationsInterfaces/iotSecuritySolution.ts +97 -0
- package/src/operationsInterfaces/iotSecuritySolutionAnalytics.ts +42 -0
- package/src/operationsInterfaces/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +62 -0
- package/src/operationsInterfaces/iotSecuritySolutionsAnalyticsRecommendation.ts +48 -0
- package/src/operationsInterfaces/jitNetworkAccessPolicies.ts +115 -0
- package/src/operationsInterfaces/locations.ts +34 -0
- package/src/operationsInterfaces/mdeOnboardings.ts +32 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/pricings.ts +46 -0
- package/src/operationsInterfaces/regulatoryComplianceAssessments.ts +44 -0
- package/src/operationsInterfaces/regulatoryComplianceControls.ts +40 -0
- package/src/operationsInterfaces/regulatoryComplianceStandards.ts +36 -0
- package/src/operationsInterfaces/secureScoreControlDefinitions.ts +34 -0
- package/src/operationsInterfaces/secureScoreControls.ts +36 -0
- package/src/operationsInterfaces/secureScores.ts +38 -0
- package/src/operationsInterfaces/securityConnectors.ts +98 -0
- package/src/operationsInterfaces/securityContacts.ts +72 -0
- package/src/operationsInterfaces/securitySolutions.ts +39 -0
- package/src/operationsInterfaces/securitySolutionsReferenceDataOperations.ts +32 -0
- package/src/operationsInterfaces/serverVulnerabilityAssessmentOperations.ts +103 -0
- package/src/operationsInterfaces/settings.ts +50 -0
- package/src/operationsInterfaces/softwareInventories.ts +62 -0
- package/src/operationsInterfaces/sqlVulnerabilityAssessmentBaselineRules.ts +84 -0
- package/src/operationsInterfaces/sqlVulnerabilityAssessmentScanResults.ts +46 -0
- package/src/operationsInterfaces/sqlVulnerabilityAssessmentScans.ts +42 -0
- package/src/operationsInterfaces/subAssessments.ts +60 -0
- package/src/operationsInterfaces/tasks.ts +97 -0
- package/src/operationsInterfaces/topology.ts +47 -0
- package/src/operationsInterfaces/workspaceSettings.ts +75 -0
- package/src/securityCenter.ts +286 -9
- package/types/arm-security.d.ts +8424 -287
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/operations/assignments.d.ts +0 -82
- package/dist-esm/src/operations/assignments.d.ts.map +0 -1
- package/dist-esm/src/operations/assignments.js.map +0 -1
- package/dist-esm/src/operations/standards.d.ts +0 -82
- package/dist-esm/src/operations/standards.d.ts.map +0 -1
- package/dist-esm/src/operations/standards.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/assignments.d.ts +0 -44
- package/dist-esm/src/operationsInterfaces/assignments.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/assignments.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/standards.d.ts +0 -44
- package/dist-esm/src/operationsInterfaces/standards.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/standards.js.map +0 -1
- package/dist-esm/src/securityCenterContext.d.ts +0 -16
- package/dist-esm/src/securityCenterContext.d.ts.map +0 -1
- package/dist-esm/src/securityCenterContext.js +0 -49
- package/dist-esm/src/securityCenterContext.js.map +0 -1
- package/src/operations/assignments.ts +0 -401
- package/src/operationsInterfaces/assignments.ts +0 -80
- package/src/operationsInterfaces/standards.ts +0 -80
- package/src/securityCenterContext.ts +0 -70
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automations.d.ts","sourceRoot":"","sources":["../../../src/operations/automations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,UAAU,EAEV,6BAA6B,EAE7B,4CAA4C,EAG5C,4BAA4B,EAC5B,sBAAsB,EACtB,uCAAuC,EACvC,iCAAiC,EACjC,+BAA+B,EAC/B,iCAAiC,EACjC,2BAA2B,EAG5B,MAAM,WAAW,CAAC;AA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 @@
|
|
|
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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Automations operations. */
|
|
14
|
+
export class AutomationsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Automations class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists all the security automations in the specified subscription. Use the 'nextLink' property in the
|
|
24
|
+
* response to get the next page of security automations for the specified subscription.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
list(options) {
|
|
28
|
+
const iter = this.listPagingAll(options);
|
|
29
|
+
return {
|
|
30
|
+
next() {
|
|
31
|
+
return iter.next();
|
|
32
|
+
},
|
|
33
|
+
[Symbol.asyncIterator]() {
|
|
34
|
+
return this;
|
|
35
|
+
},
|
|
36
|
+
byPage: () => {
|
|
37
|
+
return this.listPagingPage(options);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
listPagingPage(options) {
|
|
42
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
43
|
+
let result = yield __await(this._list(options));
|
|
44
|
+
yield yield __await(result.value || []);
|
|
45
|
+
let continuationToken = result.nextLink;
|
|
46
|
+
while (continuationToken) {
|
|
47
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
48
|
+
continuationToken = result.nextLink;
|
|
49
|
+
yield yield __await(result.value || []);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
listPagingAll(options) {
|
|
54
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
55
|
+
var e_1, _a;
|
|
56
|
+
try {
|
|
57
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
58
|
+
const page = _c.value;
|
|
59
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
63
|
+
finally {
|
|
64
|
+
try {
|
|
65
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
66
|
+
}
|
|
67
|
+
finally { if (e_1) throw e_1.error; }
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Lists all the security automations in the specified resource group. Use the 'nextLink' property in
|
|
73
|
+
* the response to get the next page of security automations for the specified resource group.
|
|
74
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
75
|
+
* case insensitive.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
79
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
80
|
+
return {
|
|
81
|
+
next() {
|
|
82
|
+
return iter.next();
|
|
83
|
+
},
|
|
84
|
+
[Symbol.asyncIterator]() {
|
|
85
|
+
return this;
|
|
86
|
+
},
|
|
87
|
+
byPage: () => {
|
|
88
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
93
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
94
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
95
|
+
yield yield __await(result.value || []);
|
|
96
|
+
let continuationToken = result.nextLink;
|
|
97
|
+
while (continuationToken) {
|
|
98
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
99
|
+
continuationToken = result.nextLink;
|
|
100
|
+
yield yield __await(result.value || []);
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
105
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
106
|
+
var e_2, _a;
|
|
107
|
+
try {
|
|
108
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
109
|
+
const page = _c.value;
|
|
110
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
114
|
+
finally {
|
|
115
|
+
try {
|
|
116
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
117
|
+
}
|
|
118
|
+
finally { if (e_2) throw e_2.error; }
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Lists all the security automations in the specified subscription. Use the 'nextLink' property in the
|
|
124
|
+
* response to get the next page of security automations for the specified subscription.
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
_list(options) {
|
|
128
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Lists all the security automations in the specified resource group. Use the 'nextLink' property in
|
|
132
|
+
* the response to get the next page of security automations for the specified resource group.
|
|
133
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
134
|
+
* case insensitive.
|
|
135
|
+
* @param options The options parameters.
|
|
136
|
+
*/
|
|
137
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
138
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Retrieves information about the model of a security automation.
|
|
142
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
143
|
+
* case insensitive.
|
|
144
|
+
* @param automationName The security automation name.
|
|
145
|
+
* @param options The options parameters.
|
|
146
|
+
*/
|
|
147
|
+
get(resourceGroupName, automationName, options) {
|
|
148
|
+
return this.client.sendOperationRequest({ resourceGroupName, automationName, options }, getOperationSpec);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Creates or updates a security automation. If a security automation is already created and a
|
|
152
|
+
* subsequent request is issued for the same automation id, then it will be updated.
|
|
153
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
154
|
+
* case insensitive.
|
|
155
|
+
* @param automationName The security automation name.
|
|
156
|
+
* @param automation The security automation resource
|
|
157
|
+
* @param options The options parameters.
|
|
158
|
+
*/
|
|
159
|
+
createOrUpdate(resourceGroupName, automationName, automation, options) {
|
|
160
|
+
return this.client.sendOperationRequest({ resourceGroupName, automationName, automation, options }, createOrUpdateOperationSpec);
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Deletes a security automation.
|
|
164
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
165
|
+
* case insensitive.
|
|
166
|
+
* @param automationName The security automation name.
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
delete(resourceGroupName, automationName, options) {
|
|
170
|
+
return this.client.sendOperationRequest({ resourceGroupName, automationName, options }, deleteOperationSpec);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Validates the security automation model before create or update. Any validation errors are returned
|
|
174
|
+
* to the client.
|
|
175
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
176
|
+
* case insensitive.
|
|
177
|
+
* @param automationName The security automation name.
|
|
178
|
+
* @param automation The security automation resource
|
|
179
|
+
* @param options The options parameters.
|
|
180
|
+
*/
|
|
181
|
+
validate(resourceGroupName, automationName, automation, options) {
|
|
182
|
+
return this.client.sendOperationRequest({ resourceGroupName, automationName, automation, options }, validateOperationSpec);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* ListNext
|
|
186
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
187
|
+
* @param options The options parameters.
|
|
188
|
+
*/
|
|
189
|
+
_listNext(nextLink, options) {
|
|
190
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* ListByResourceGroupNext
|
|
194
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
195
|
+
* case insensitive.
|
|
196
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
197
|
+
* @param options The options parameters.
|
|
198
|
+
*/
|
|
199
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
200
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
// Operation Specifications
|
|
204
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
205
|
+
const listOperationSpec = {
|
|
206
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/automations",
|
|
207
|
+
httpMethod: "GET",
|
|
208
|
+
responses: {
|
|
209
|
+
200: {
|
|
210
|
+
bodyMapper: Mappers.AutomationList
|
|
211
|
+
},
|
|
212
|
+
default: {
|
|
213
|
+
bodyMapper: Mappers.CloudError
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
queryParameters: [Parameters.apiVersion8],
|
|
217
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
218
|
+
headerParameters: [Parameters.accept],
|
|
219
|
+
serializer
|
|
220
|
+
};
|
|
221
|
+
const listByResourceGroupOperationSpec = {
|
|
222
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations",
|
|
223
|
+
httpMethod: "GET",
|
|
224
|
+
responses: {
|
|
225
|
+
200: {
|
|
226
|
+
bodyMapper: Mappers.AutomationList
|
|
227
|
+
},
|
|
228
|
+
default: {
|
|
229
|
+
bodyMapper: Mappers.CloudError
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
queryParameters: [Parameters.apiVersion8],
|
|
233
|
+
urlParameters: [
|
|
234
|
+
Parameters.$host,
|
|
235
|
+
Parameters.subscriptionId,
|
|
236
|
+
Parameters.resourceGroupName
|
|
237
|
+
],
|
|
238
|
+
headerParameters: [Parameters.accept],
|
|
239
|
+
serializer
|
|
240
|
+
};
|
|
241
|
+
const getOperationSpec = {
|
|
242
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}",
|
|
243
|
+
httpMethod: "GET",
|
|
244
|
+
responses: {
|
|
245
|
+
200: {
|
|
246
|
+
bodyMapper: Mappers.Automation
|
|
247
|
+
},
|
|
248
|
+
default: {
|
|
249
|
+
bodyMapper: Mappers.CloudError
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
queryParameters: [Parameters.apiVersion8],
|
|
253
|
+
urlParameters: [
|
|
254
|
+
Parameters.$host,
|
|
255
|
+
Parameters.subscriptionId,
|
|
256
|
+
Parameters.resourceGroupName,
|
|
257
|
+
Parameters.automationName
|
|
258
|
+
],
|
|
259
|
+
headerParameters: [Parameters.accept],
|
|
260
|
+
serializer
|
|
261
|
+
};
|
|
262
|
+
const createOrUpdateOperationSpec = {
|
|
263
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}",
|
|
264
|
+
httpMethod: "PUT",
|
|
265
|
+
responses: {
|
|
266
|
+
200: {
|
|
267
|
+
bodyMapper: Mappers.Automation
|
|
268
|
+
},
|
|
269
|
+
201: {
|
|
270
|
+
bodyMapper: Mappers.Automation
|
|
271
|
+
},
|
|
272
|
+
default: {
|
|
273
|
+
bodyMapper: Mappers.CloudError
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
requestBody: Parameters.automation,
|
|
277
|
+
queryParameters: [Parameters.apiVersion8],
|
|
278
|
+
urlParameters: [
|
|
279
|
+
Parameters.$host,
|
|
280
|
+
Parameters.subscriptionId,
|
|
281
|
+
Parameters.resourceGroupName,
|
|
282
|
+
Parameters.automationName
|
|
283
|
+
],
|
|
284
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
285
|
+
mediaType: "json",
|
|
286
|
+
serializer
|
|
287
|
+
};
|
|
288
|
+
const deleteOperationSpec = {
|
|
289
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}",
|
|
290
|
+
httpMethod: "DELETE",
|
|
291
|
+
responses: {
|
|
292
|
+
204: {},
|
|
293
|
+
default: {
|
|
294
|
+
bodyMapper: Mappers.CloudError
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
queryParameters: [Parameters.apiVersion8],
|
|
298
|
+
urlParameters: [
|
|
299
|
+
Parameters.$host,
|
|
300
|
+
Parameters.subscriptionId,
|
|
301
|
+
Parameters.resourceGroupName,
|
|
302
|
+
Parameters.automationName
|
|
303
|
+
],
|
|
304
|
+
headerParameters: [Parameters.accept],
|
|
305
|
+
serializer
|
|
306
|
+
};
|
|
307
|
+
const validateOperationSpec = {
|
|
308
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}/validate",
|
|
309
|
+
httpMethod: "POST",
|
|
310
|
+
responses: {
|
|
311
|
+
200: {
|
|
312
|
+
bodyMapper: Mappers.AutomationValidationStatus
|
|
313
|
+
},
|
|
314
|
+
default: {
|
|
315
|
+
bodyMapper: Mappers.CloudError
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
requestBody: Parameters.automation,
|
|
319
|
+
queryParameters: [Parameters.apiVersion8],
|
|
320
|
+
urlParameters: [
|
|
321
|
+
Parameters.$host,
|
|
322
|
+
Parameters.subscriptionId,
|
|
323
|
+
Parameters.resourceGroupName,
|
|
324
|
+
Parameters.automationName
|
|
325
|
+
],
|
|
326
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
327
|
+
mediaType: "json",
|
|
328
|
+
serializer
|
|
329
|
+
};
|
|
330
|
+
const listNextOperationSpec = {
|
|
331
|
+
path: "{nextLink}",
|
|
332
|
+
httpMethod: "GET",
|
|
333
|
+
responses: {
|
|
334
|
+
200: {
|
|
335
|
+
bodyMapper: Mappers.AutomationList
|
|
336
|
+
},
|
|
337
|
+
default: {
|
|
338
|
+
bodyMapper: Mappers.CloudError
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
queryParameters: [Parameters.apiVersion8],
|
|
342
|
+
urlParameters: [
|
|
343
|
+
Parameters.$host,
|
|
344
|
+
Parameters.subscriptionId,
|
|
345
|
+
Parameters.nextLink
|
|
346
|
+
],
|
|
347
|
+
headerParameters: [Parameters.accept],
|
|
348
|
+
serializer
|
|
349
|
+
};
|
|
350
|
+
const listByResourceGroupNextOperationSpec = {
|
|
351
|
+
path: "{nextLink}",
|
|
352
|
+
httpMethod: "GET",
|
|
353
|
+
responses: {
|
|
354
|
+
200: {
|
|
355
|
+
bodyMapper: Mappers.AutomationList
|
|
356
|
+
},
|
|
357
|
+
default: {
|
|
358
|
+
bodyMapper: Mappers.CloudError
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
queryParameters: [Parameters.apiVersion8],
|
|
362
|
+
urlParameters: [
|
|
363
|
+
Parameters.$host,
|
|
364
|
+
Parameters.subscriptionId,
|
|
365
|
+
Parameters.resourceGroupName,
|
|
366
|
+
Parameters.nextLink
|
|
367
|
+
],
|
|
368
|
+
headerParameters: [Parameters.accept],
|
|
369
|
+
serializer
|
|
370
|
+
};
|
|
371
|
+
//# sourceMappingURL=automations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automations.js","sourceRoot":"","sources":["../../../src/operations/automations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAqBnD,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAsB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,OAAuC;QAEvC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;YACtC,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAuC;;YAEvC,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACvC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACxC,OAAO,iBAAiB,EAAE;gBACxB,MAAM,GAAG,cAAM,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,OAAO,CAA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AM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ComplianceResults } from "../operationsInterfaces";
|
|
3
|
+
import { SecurityCenter } from "../securityCenter";
|
|
4
|
+
import { ComplianceResult, ComplianceResultsListOptionalParams, ComplianceResultsGetOptionalParams, ComplianceResultsGetResponse } from "../models";
|
|
5
|
+
/** Class containing ComplianceResults operations. */
|
|
6
|
+
export declare class ComplianceResultsImpl implements ComplianceResults {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class ComplianceResults class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SecurityCenter);
|
|
13
|
+
/**
|
|
14
|
+
* Security compliance results in the subscription
|
|
15
|
+
* @param scope Scope of the query, can be subscription
|
|
16
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
17
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(scope: string, options?: ComplianceResultsListOptionalParams): PagedAsyncIterableIterator<ComplianceResult>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Security compliance results in the subscription
|
|
25
|
+
* @param scope Scope of the query, can be subscription
|
|
26
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
27
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _list;
|
|
31
|
+
/**
|
|
32
|
+
* Security Compliance Result
|
|
33
|
+
* @param resourceId The identifier of the resource.
|
|
34
|
+
* @param complianceResultName name of the desired assessment compliance result
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceId: string, complianceResultName: string, options?: ComplianceResultsGetOptionalParams): Promise<ComplianceResultsGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* ListNext
|
|
40
|
+
* @param scope Scope of the query, can be subscription
|
|
41
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
42
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
43
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
private _listNext;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=complianceResults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"complianceResults.d.ts","sourceRoot":"","sources":["../../../src/operations/complianceResults.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,gBAAgB,EAEhB,mCAAmC,EAEnC,kCAAkC,EAClC,4BAA4B,EAE7B,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;;;;OAMG;IACI,IAAI,CACT,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,gBAAgB,CAAC;YAehC,cAAc;YAcd,aAAa;IAS5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|
|
@@ -0,0 +1,158 @@
|
|
|
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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing ComplianceResults operations. */
|
|
14
|
+
export class ComplianceResultsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class ComplianceResults class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Security compliance results in the subscription
|
|
24
|
+
* @param scope Scope of the query, can be subscription
|
|
25
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
26
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(scope, options) {
|
|
30
|
+
const iter = this.listPagingAll(scope, options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: () => {
|
|
39
|
+
return this.listPagingPage(scope, options);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
listPagingPage(scope, options) {
|
|
44
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
45
|
+
let result = yield __await(this._list(scope, options));
|
|
46
|
+
yield yield __await(result.value || []);
|
|
47
|
+
let continuationToken = result.nextLink;
|
|
48
|
+
while (continuationToken) {
|
|
49
|
+
result = yield __await(this._listNext(scope, continuationToken, options));
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
yield yield __await(result.value || []);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listPagingAll(scope, options) {
|
|
56
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
57
|
+
var e_1, _a;
|
|
58
|
+
try {
|
|
59
|
+
for (var _b = __asyncValues(this.listPagingPage(scope, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
+
const page = _c.value;
|
|
61
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
+
}
|
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Security compliance results in the subscription
|
|
75
|
+
* @param scope Scope of the query, can be subscription
|
|
76
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
77
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
_list(scope, options) {
|
|
81
|
+
return this.client.sendOperationRequest({ scope, options }, listOperationSpec);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Security Compliance Result
|
|
85
|
+
* @param resourceId The identifier of the resource.
|
|
86
|
+
* @param complianceResultName name of the desired assessment compliance result
|
|
87
|
+
* @param options The options parameters.
|
|
88
|
+
*/
|
|
89
|
+
get(resourceId, complianceResultName, options) {
|
|
90
|
+
return this.client.sendOperationRequest({ resourceId, complianceResultName, options }, getOperationSpec);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* ListNext
|
|
94
|
+
* @param scope Scope of the query, can be subscription
|
|
95
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
96
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
97
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
98
|
+
* @param options The options parameters.
|
|
99
|
+
*/
|
|
100
|
+
_listNext(scope, nextLink, options) {
|
|
101
|
+
return this.client.sendOperationRequest({ scope, nextLink, options }, listNextOperationSpec);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
// Operation Specifications
|
|
105
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
106
|
+
const listOperationSpec = {
|
|
107
|
+
path: "/{scope}/providers/Microsoft.Security/complianceResults",
|
|
108
|
+
httpMethod: "GET",
|
|
109
|
+
responses: {
|
|
110
|
+
200: {
|
|
111
|
+
bodyMapper: Mappers.ComplianceResultList
|
|
112
|
+
},
|
|
113
|
+
default: {
|
|
114
|
+
bodyMapper: Mappers.CloudError
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
queryParameters: [Parameters.apiVersion2],
|
|
118
|
+
urlParameters: [Parameters.$host, Parameters.scope],
|
|
119
|
+
headerParameters: [Parameters.accept],
|
|
120
|
+
serializer
|
|
121
|
+
};
|
|
122
|
+
const getOperationSpec = {
|
|
123
|
+
path: "/{resourceId}/providers/Microsoft.Security/complianceResults/{complianceResultName}",
|
|
124
|
+
httpMethod: "GET",
|
|
125
|
+
responses: {
|
|
126
|
+
200: {
|
|
127
|
+
bodyMapper: Mappers.ComplianceResult
|
|
128
|
+
},
|
|
129
|
+
default: {
|
|
130
|
+
bodyMapper: Mappers.CloudError
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
queryParameters: [Parameters.apiVersion2],
|
|
134
|
+
urlParameters: [
|
|
135
|
+
Parameters.$host,
|
|
136
|
+
Parameters.resourceId,
|
|
137
|
+
Parameters.complianceResultName
|
|
138
|
+
],
|
|
139
|
+
headerParameters: [Parameters.accept],
|
|
140
|
+
serializer
|
|
141
|
+
};
|
|
142
|
+
const listNextOperationSpec = {
|
|
143
|
+
path: "{nextLink}",
|
|
144
|
+
httpMethod: "GET",
|
|
145
|
+
responses: {
|
|
146
|
+
200: {
|
|
147
|
+
bodyMapper: Mappers.ComplianceResultList
|
|
148
|
+
},
|
|
149
|
+
default: {
|
|
150
|
+
bodyMapper: Mappers.CloudError
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
queryParameters: [Parameters.apiVersion2],
|
|
154
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],
|
|
155
|
+
headerParameters: [Parameters.accept],
|
|
156
|
+
serializer
|
|
157
|
+
};
|
|
158
|
+
//# sourceMappingURL=complianceResults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"complianceResults.js","sourceRoot":"","sources":["../../../src/operations/complianceResults.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,4CAA4C;AAC5C,qDAAqD;AACrD,MAAM,OAAO,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAAsB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,KAAa,EACb,OAA6C;QAE7C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAChD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;YAC7C,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,KAAa,EACb,OAA6C;;YAE7C,IAAI,MAAM,GAAG,cAA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AE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC;IACxE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Compliances } from "../operationsInterfaces";
|
|
3
|
+
import { SecurityCenter } from "../securityCenter";
|
|
4
|
+
import { Compliance, CompliancesListOptionalParams, CompliancesGetOptionalParams, CompliancesGetResponse } from "../models";
|
|
5
|
+
/** Class containing Compliances operations. */
|
|
6
|
+
export declare class CompliancesImpl implements Compliances {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Compliances class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SecurityCenter);
|
|
13
|
+
/**
|
|
14
|
+
* The Compliance scores of the specific management group.
|
|
15
|
+
* @param scope Scope of the query, can be subscription
|
|
16
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
17
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(scope: string, options?: CompliancesListOptionalParams): PagedAsyncIterableIterator<Compliance>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* The Compliance scores of the specific management group.
|
|
25
|
+
* @param scope Scope of the query, can be subscription
|
|
26
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
27
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _list;
|
|
31
|
+
/**
|
|
32
|
+
* Details of a specific Compliance.
|
|
33
|
+
* @param scope Scope of the query, can be subscription
|
|
34
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
35
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
36
|
+
* @param complianceName name of the Compliance
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
get(scope: string, complianceName: string, options?: CompliancesGetOptionalParams): Promise<CompliancesGetResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* ListNext
|
|
42
|
+
* @param scope Scope of the query, can be subscription
|
|
43
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
44
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
45
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
private _listNext;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=compliances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compliances.d.ts","sourceRoot":"","sources":["../../../src/operations/compliances.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,UAAU,EAEV,6BAA6B,EAE7B,4BAA4B,EAC5B,sBAAsB,EAEvB,MAAM,WAAW,CAAC;AAGnB,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;;;;OAMG;IACI,IAAI,CACT,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,UAAU,CAAC;YAe1B,cAAc;YAcd,aAAa;IAS5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;;;OAOG;IACH,GAAG,CACD,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAOlC;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|