@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,160 @@
|
|
|
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 Compliances operations. */
|
|
14
|
+
export class CompliancesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Compliances class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The Compliance scores of the specific management group.
|
|
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
|
+
* The Compliance scores of the specific management group.
|
|
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
|
+
* Details of a specific Compliance.
|
|
85
|
+
* @param scope Scope of the query, can be subscription
|
|
86
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
87
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
88
|
+
* @param complianceName name of the Compliance
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
get(scope, complianceName, options) {
|
|
92
|
+
return this.client.sendOperationRequest({ scope, complianceName, options }, getOperationSpec);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* ListNext
|
|
96
|
+
* @param scope Scope of the query, can be subscription
|
|
97
|
+
* (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group
|
|
98
|
+
* (/providers/Microsoft.Management/managementGroups/mgName).
|
|
99
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
_listNext(scope, nextLink, options) {
|
|
103
|
+
return this.client.sendOperationRequest({ scope, nextLink, options }, listNextOperationSpec);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
// Operation Specifications
|
|
107
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
108
|
+
const listOperationSpec = {
|
|
109
|
+
path: "/{scope}/providers/Microsoft.Security/compliances",
|
|
110
|
+
httpMethod: "GET",
|
|
111
|
+
responses: {
|
|
112
|
+
200: {
|
|
113
|
+
bodyMapper: Mappers.ComplianceList
|
|
114
|
+
},
|
|
115
|
+
default: {
|
|
116
|
+
bodyMapper: Mappers.CloudError
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
queryParameters: [Parameters.apiVersion7],
|
|
120
|
+
urlParameters: [Parameters.$host, Parameters.scope],
|
|
121
|
+
headerParameters: [Parameters.accept],
|
|
122
|
+
serializer
|
|
123
|
+
};
|
|
124
|
+
const getOperationSpec = {
|
|
125
|
+
path: "/{scope}/providers/Microsoft.Security/compliances/{complianceName}",
|
|
126
|
+
httpMethod: "GET",
|
|
127
|
+
responses: {
|
|
128
|
+
200: {
|
|
129
|
+
bodyMapper: Mappers.Compliance
|
|
130
|
+
},
|
|
131
|
+
default: {
|
|
132
|
+
bodyMapper: Mappers.CloudError
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
queryParameters: [Parameters.apiVersion7],
|
|
136
|
+
urlParameters: [
|
|
137
|
+
Parameters.$host,
|
|
138
|
+
Parameters.scope,
|
|
139
|
+
Parameters.complianceName
|
|
140
|
+
],
|
|
141
|
+
headerParameters: [Parameters.accept],
|
|
142
|
+
serializer
|
|
143
|
+
};
|
|
144
|
+
const listNextOperationSpec = {
|
|
145
|
+
path: "{nextLink}",
|
|
146
|
+
httpMethod: "GET",
|
|
147
|
+
responses: {
|
|
148
|
+
200: {
|
|
149
|
+
bodyMapper: Mappers.ComplianceList
|
|
150
|
+
},
|
|
151
|
+
default: {
|
|
152
|
+
bodyMapper: Mappers.CloudError
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
queryParameters: [Parameters.apiVersion7],
|
|
156
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],
|
|
157
|
+
headerParameters: [Parameters.accept],
|
|
158
|
+
serializer
|
|
159
|
+
};
|
|
160
|
+
//# sourceMappingURL=compliances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compliances.js","sourceRoot":"","sources":["../../../src/operations/compliances.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,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAsB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,KAAa,EACb,OAAuC;QAEvC,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,OAAuC;;YAEvC,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA,CAAC;YAC9C,oBAAM,MAAM,CAAC,KAAK,IAAI,EA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AC,KAAK,CAAC;IACxE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Connectors } from "../operationsInterfaces";
|
|
3
|
+
import { SecurityCenter } from "../securityCenter";
|
|
4
|
+
import { ConnectorSetting, ConnectorsListOptionalParams, ConnectorsGetOptionalParams, ConnectorsGetResponse, ConnectorsCreateOrUpdateOptionalParams, ConnectorsCreateOrUpdateResponse, ConnectorsDeleteOptionalParams } from "../models";
|
|
5
|
+
/** Class containing Connectors operations. */
|
|
6
|
+
export declare class ConnectorsImpl implements Connectors {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Connectors class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SecurityCenter);
|
|
13
|
+
/**
|
|
14
|
+
* Cloud accounts connectors of a subscription
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: ConnectorsListOptionalParams): PagedAsyncIterableIterator<ConnectorSetting>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Cloud accounts connectors of a subscription
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
/**
|
|
26
|
+
* Details of a specific cloud account connector
|
|
27
|
+
* @param connectorName Name of the cloud account connector
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
get(connectorName: string, options?: ConnectorsGetOptionalParams): Promise<ConnectorsGetResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS,
|
|
33
|
+
* use either account credentials or role-based authentication. For GCP, use account organization
|
|
34
|
+
* credentials.
|
|
35
|
+
* @param connectorName Name of the cloud account connector
|
|
36
|
+
* @param connectorSetting Settings for the cloud account connector
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
createOrUpdate(connectorName: string, connectorSetting: ConnectorSetting, options?: ConnectorsCreateOrUpdateOptionalParams): Promise<ConnectorsCreateOrUpdateResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Delete a cloud account connector from a subscription
|
|
42
|
+
* @param connectorName Name of the cloud account connector
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
delete(connectorName: string, options?: ConnectorsDeleteOptionalParams): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* ListNext
|
|
48
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
private _listNext;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=connectors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectors.d.ts","sourceRoot":"","sources":["../../../src/operations/connectors.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,gBAAgB,EAEhB,4BAA4B,EAE5B,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAE/B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,gBAAgB,CAAC;YAehC,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAOjC;;;;;;;OAOG;IACH,cAAc,CACZ,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;OAIG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -0,0 +1,212 @@
|
|
|
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 Connectors operations. */
|
|
14
|
+
export class ConnectorsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Connectors class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Cloud accounts connectors of a subscription
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options) {
|
|
27
|
+
const iter = this.listPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: () => {
|
|
36
|
+
return this.listPagingPage(options);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
listPagingPage(options) {
|
|
41
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
42
|
+
let result = yield __await(this._list(options));
|
|
43
|
+
yield yield __await(result.value || []);
|
|
44
|
+
let continuationToken = result.nextLink;
|
|
45
|
+
while (continuationToken) {
|
|
46
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
47
|
+
continuationToken = result.nextLink;
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
listPagingAll(options) {
|
|
53
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
54
|
+
var e_1, _a;
|
|
55
|
+
try {
|
|
56
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
+
const page = _c.value;
|
|
58
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
+
finally {
|
|
63
|
+
try {
|
|
64
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
+
}
|
|
66
|
+
finally { if (e_1) throw e_1.error; }
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Cloud accounts connectors of a subscription
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
_list(options) {
|
|
75
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Details of a specific cloud account connector
|
|
79
|
+
* @param connectorName Name of the cloud account connector
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
get(connectorName, options) {
|
|
83
|
+
return this.client.sendOperationRequest({ connectorName, options }, getOperationSpec);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS,
|
|
87
|
+
* use either account credentials or role-based authentication. For GCP, use account organization
|
|
88
|
+
* credentials.
|
|
89
|
+
* @param connectorName Name of the cloud account connector
|
|
90
|
+
* @param connectorSetting Settings for the cloud account connector
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
createOrUpdate(connectorName, connectorSetting, options) {
|
|
94
|
+
return this.client.sendOperationRequest({ connectorName, connectorSetting, options }, createOrUpdateOperationSpec);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Delete a cloud account connector from a subscription
|
|
98
|
+
* @param connectorName Name of the cloud account connector
|
|
99
|
+
* @param options The options parameters.
|
|
100
|
+
*/
|
|
101
|
+
delete(connectorName, options) {
|
|
102
|
+
return this.client.sendOperationRequest({ connectorName, options }, deleteOperationSpec);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* ListNext
|
|
106
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
107
|
+
* @param options The options parameters.
|
|
108
|
+
*/
|
|
109
|
+
_listNext(nextLink, options) {
|
|
110
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
// Operation Specifications
|
|
114
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
115
|
+
const listOperationSpec = {
|
|
116
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors",
|
|
117
|
+
httpMethod: "GET",
|
|
118
|
+
responses: {
|
|
119
|
+
200: {
|
|
120
|
+
bodyMapper: Mappers.ConnectorSettingList
|
|
121
|
+
},
|
|
122
|
+
default: {
|
|
123
|
+
bodyMapper: Mappers.CloudError
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
queryParameters: [Parameters.apiVersion11],
|
|
127
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
128
|
+
headerParameters: [Parameters.accept],
|
|
129
|
+
serializer
|
|
130
|
+
};
|
|
131
|
+
const getOperationSpec = {
|
|
132
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}",
|
|
133
|
+
httpMethod: "GET",
|
|
134
|
+
responses: {
|
|
135
|
+
200: {
|
|
136
|
+
bodyMapper: Mappers.ConnectorSetting
|
|
137
|
+
},
|
|
138
|
+
default: {
|
|
139
|
+
bodyMapper: Mappers.CloudError
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
queryParameters: [Parameters.apiVersion11],
|
|
143
|
+
urlParameters: [
|
|
144
|
+
Parameters.$host,
|
|
145
|
+
Parameters.subscriptionId,
|
|
146
|
+
Parameters.connectorName
|
|
147
|
+
],
|
|
148
|
+
headerParameters: [Parameters.accept],
|
|
149
|
+
serializer
|
|
150
|
+
};
|
|
151
|
+
const createOrUpdateOperationSpec = {
|
|
152
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}",
|
|
153
|
+
httpMethod: "PUT",
|
|
154
|
+
responses: {
|
|
155
|
+
200: {
|
|
156
|
+
bodyMapper: Mappers.ConnectorSetting
|
|
157
|
+
},
|
|
158
|
+
default: {
|
|
159
|
+
bodyMapper: Mappers.CloudError
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
requestBody: Parameters.connectorSetting,
|
|
163
|
+
queryParameters: [Parameters.apiVersion11],
|
|
164
|
+
urlParameters: [
|
|
165
|
+
Parameters.$host,
|
|
166
|
+
Parameters.subscriptionId,
|
|
167
|
+
Parameters.connectorName
|
|
168
|
+
],
|
|
169
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
170
|
+
mediaType: "json",
|
|
171
|
+
serializer
|
|
172
|
+
};
|
|
173
|
+
const deleteOperationSpec = {
|
|
174
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}",
|
|
175
|
+
httpMethod: "DELETE",
|
|
176
|
+
responses: {
|
|
177
|
+
200: {},
|
|
178
|
+
204: {},
|
|
179
|
+
default: {
|
|
180
|
+
bodyMapper: Mappers.CloudError
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
queryParameters: [Parameters.apiVersion11],
|
|
184
|
+
urlParameters: [
|
|
185
|
+
Parameters.$host,
|
|
186
|
+
Parameters.subscriptionId,
|
|
187
|
+
Parameters.connectorName
|
|
188
|
+
],
|
|
189
|
+
headerParameters: [Parameters.accept],
|
|
190
|
+
serializer
|
|
191
|
+
};
|
|
192
|
+
const listNextOperationSpec = {
|
|
193
|
+
path: "{nextLink}",
|
|
194
|
+
httpMethod: "GET",
|
|
195
|
+
responses: {
|
|
196
|
+
200: {
|
|
197
|
+
bodyMapper: Mappers.ConnectorSettingList
|
|
198
|
+
},
|
|
199
|
+
default: {
|
|
200
|
+
bodyMapper: Mappers.CloudError
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
queryParameters: [Parameters.apiVersion11],
|
|
204
|
+
urlParameters: [
|
|
205
|
+
Parameters.$host,
|
|
206
|
+
Parameters.subscriptionId,
|
|
207
|
+
Parameters.nextLink
|
|
208
|
+
],
|
|
209
|
+
headerParameters: [Parameters.accept],
|
|
210
|
+
serializer
|
|
211
|
+
};
|
|
212
|
+
//# sourceMappingURL=connectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectors.js","sourceRoot":"","sources":["../../../src/operations/connectors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAA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AAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,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,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IAC1C,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"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { CustomAssessmentAutomations } from "../operationsInterfaces";
|
|
3
|
+
import { SecurityCenter } from "../securityCenter";
|
|
4
|
+
import { CustomAssessmentAutomation, CustomAssessmentAutomationsListByResourceGroupOptionalParams, CustomAssessmentAutomationsListBySubscriptionOptionalParams, CustomAssessmentAutomationsGetOptionalParams, CustomAssessmentAutomationsGetResponse, CustomAssessmentAutomationRequest, CustomAssessmentAutomationsCreateOptionalParams, CustomAssessmentAutomationsCreateResponse, CustomAssessmentAutomationsDeleteOptionalParams } from "../models";
|
|
5
|
+
/** Class containing CustomAssessmentAutomations operations. */
|
|
6
|
+
export declare class CustomAssessmentAutomationsImpl implements CustomAssessmentAutomations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class CustomAssessmentAutomations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SecurityCenter);
|
|
13
|
+
/**
|
|
14
|
+
* List custom assessment automations by provided subscription and resource group
|
|
15
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
16
|
+
* case insensitive.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listByResourceGroup(resourceGroupName: string, options?: CustomAssessmentAutomationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<CustomAssessmentAutomation>;
|
|
20
|
+
private listByResourceGroupPagingPage;
|
|
21
|
+
private listByResourceGroupPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* List custom assessment automations by provided subscription
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listBySubscription(options?: CustomAssessmentAutomationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CustomAssessmentAutomation>;
|
|
27
|
+
private listBySubscriptionPagingPage;
|
|
28
|
+
private listBySubscriptionPagingAll;
|
|
29
|
+
/**
|
|
30
|
+
* Gets a single custom assessment automation by name for the provided subscription and resource group.
|
|
31
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
32
|
+
* case insensitive.
|
|
33
|
+
* @param customAssessmentAutomationName Name of the Custom Assessment Automation.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(resourceGroupName: string, customAssessmentAutomationName: string, options?: CustomAssessmentAutomationsGetOptionalParams): Promise<CustomAssessmentAutomationsGetResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Creates or updates a custom assessment automation for the provided subscription. Please note that
|
|
39
|
+
* providing an existing custom assessment automation will replace the existing record.
|
|
40
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
41
|
+
* case insensitive.
|
|
42
|
+
* @param customAssessmentAutomationName Name of the Custom Assessment Automation.
|
|
43
|
+
* @param customAssessmentAutomationBody Custom Assessment Automation body
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
create(resourceGroupName: string, customAssessmentAutomationName: string, customAssessmentAutomationBody: CustomAssessmentAutomationRequest, options?: CustomAssessmentAutomationsCreateOptionalParams): Promise<CustomAssessmentAutomationsCreateResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Deletes a custom assessment automation by name for a provided subscription
|
|
49
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
50
|
+
* case insensitive.
|
|
51
|
+
* @param customAssessmentAutomationName Name of the Custom Assessment Automation.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
delete(resourceGroupName: string, customAssessmentAutomationName: string, options?: CustomAssessmentAutomationsDeleteOptionalParams): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* List custom assessment automations by provided subscription and resource group
|
|
57
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
58
|
+
* case insensitive.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
private _listByResourceGroup;
|
|
62
|
+
/**
|
|
63
|
+
* List custom assessment automations by provided subscription
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
private _listBySubscription;
|
|
67
|
+
/**
|
|
68
|
+
* ListByResourceGroupNext
|
|
69
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
70
|
+
* case insensitive.
|
|
71
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
private _listByResourceGroupNext;
|
|
75
|
+
/**
|
|
76
|
+
* ListBySubscriptionNext
|
|
77
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
private _listBySubscriptionNext;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=customAssessmentAutomations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customAssessmentAutomations.d.ts","sourceRoot":"","sources":["../../../src/operations/customAssessmentAutomations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAItE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,0BAA0B,EAE1B,4DAA4D,EAE5D,2DAA2D,EAC3D,4CAA4C,EAC5C,sCAAsC,EACtC,iCAAiC,EACjC,+CAA+C,EAC/C,yCAAyC,EACzC,+CAA+C,EAKhD,MAAM,WAAW,CAAC;AAGnB,+DAA+D;AAC/D,qBAAa,+BACX,YAAW,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4DAA4D,GACrE,0BAA0B,CAAC,0BAA0B,CAAC;YAe1C,6BAA6B;YAkB7B,4BAA4B;IAY3C;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,2DAA2D,GACpE,0BAA0B,CAAC,0BAA0B,CAAC;YAe1C,4BAA4B;YAa5B,2BAA2B;IAQ1C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,8BAA8B,EAAE,MAAM,EACtC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,8B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