@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,329 @@
|
|
|
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 AssessmentsMetadata operations. */
|
|
14
|
+
export class AssessmentsMetadataImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class AssessmentsMetadata class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get metadata information on all assessment types
|
|
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
|
+
* Get metadata information on all assessment types in a specific subscription
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
listBySubscription(options) {
|
|
75
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
76
|
+
return {
|
|
77
|
+
next() {
|
|
78
|
+
return iter.next();
|
|
79
|
+
},
|
|
80
|
+
[Symbol.asyncIterator]() {
|
|
81
|
+
return this;
|
|
82
|
+
},
|
|
83
|
+
byPage: () => {
|
|
84
|
+
return this.listBySubscriptionPagingPage(options);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
listBySubscriptionPagingPage(options) {
|
|
89
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
90
|
+
let result = yield __await(this._listBySubscription(options));
|
|
91
|
+
yield yield __await(result.value || []);
|
|
92
|
+
let continuationToken = result.nextLink;
|
|
93
|
+
while (continuationToken) {
|
|
94
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
95
|
+
continuationToken = result.nextLink;
|
|
96
|
+
yield yield __await(result.value || []);
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
listBySubscriptionPagingAll(options) {
|
|
101
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
102
|
+
var e_2, _a;
|
|
103
|
+
try {
|
|
104
|
+
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
105
|
+
const page = _c.value;
|
|
106
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
110
|
+
finally {
|
|
111
|
+
try {
|
|
112
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
113
|
+
}
|
|
114
|
+
finally { if (e_2) throw e_2.error; }
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Get metadata information on all assessment types
|
|
120
|
+
* @param options The options parameters.
|
|
121
|
+
*/
|
|
122
|
+
_list(options) {
|
|
123
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Get metadata information on an assessment type
|
|
127
|
+
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type
|
|
128
|
+
* @param options The options parameters.
|
|
129
|
+
*/
|
|
130
|
+
get(assessmentMetadataName, options) {
|
|
131
|
+
return this.client.sendOperationRequest({ assessmentMetadataName, options }, getOperationSpec);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Get metadata information on all assessment types in a specific subscription
|
|
135
|
+
* @param options The options parameters.
|
|
136
|
+
*/
|
|
137
|
+
_listBySubscription(options) {
|
|
138
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Get metadata information on an assessment type in a specific subscription
|
|
142
|
+
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
getInSubscription(assessmentMetadataName, options) {
|
|
146
|
+
return this.client.sendOperationRequest({ assessmentMetadataName, options }, getInSubscriptionOperationSpec);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Create metadata information on an assessment type in a specific subscription
|
|
150
|
+
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type
|
|
151
|
+
* @param assessmentMetadata AssessmentMetadata object
|
|
152
|
+
* @param options The options parameters.
|
|
153
|
+
*/
|
|
154
|
+
createInSubscription(assessmentMetadataName, assessmentMetadata, options) {
|
|
155
|
+
return this.client.sendOperationRequest({ assessmentMetadataName, assessmentMetadata, options }, createInSubscriptionOperationSpec);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Delete metadata information on an assessment type in a specific subscription, will cause the
|
|
159
|
+
* deletion of all the assessments of that type in that subscription
|
|
160
|
+
* @param assessmentMetadataName The Assessment Key - Unique key for the assessment type
|
|
161
|
+
* @param options The options parameters.
|
|
162
|
+
*/
|
|
163
|
+
deleteInSubscription(assessmentMetadataName, options) {
|
|
164
|
+
return this.client.sendOperationRequest({ assessmentMetadataName, options }, deleteInSubscriptionOperationSpec);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* ListNext
|
|
168
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
169
|
+
* @param options The options parameters.
|
|
170
|
+
*/
|
|
171
|
+
_listNext(nextLink, options) {
|
|
172
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* ListBySubscriptionNext
|
|
176
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
177
|
+
* @param options The options parameters.
|
|
178
|
+
*/
|
|
179
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
180
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
// Operation Specifications
|
|
184
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
185
|
+
const listOperationSpec = {
|
|
186
|
+
path: "/providers/Microsoft.Security/assessmentMetadata",
|
|
187
|
+
httpMethod: "GET",
|
|
188
|
+
responses: {
|
|
189
|
+
200: {
|
|
190
|
+
bodyMapper: Mappers.SecurityAssessmentMetadataResponseList
|
|
191
|
+
},
|
|
192
|
+
default: {
|
|
193
|
+
bodyMapper: Mappers.CloudError
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
queryParameters: [Parameters.apiVersion10],
|
|
197
|
+
urlParameters: [Parameters.$host],
|
|
198
|
+
headerParameters: [Parameters.accept],
|
|
199
|
+
serializer
|
|
200
|
+
};
|
|
201
|
+
const getOperationSpec = {
|
|
202
|
+
path: "/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}",
|
|
203
|
+
httpMethod: "GET",
|
|
204
|
+
responses: {
|
|
205
|
+
200: {
|
|
206
|
+
bodyMapper: Mappers.SecurityAssessmentMetadataResponse
|
|
207
|
+
},
|
|
208
|
+
default: {
|
|
209
|
+
bodyMapper: Mappers.CloudError
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
queryParameters: [Parameters.apiVersion10],
|
|
213
|
+
urlParameters: [Parameters.$host, Parameters.assessmentMetadataName],
|
|
214
|
+
headerParameters: [Parameters.accept],
|
|
215
|
+
serializer
|
|
216
|
+
};
|
|
217
|
+
const listBySubscriptionOperationSpec = {
|
|
218
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata",
|
|
219
|
+
httpMethod: "GET",
|
|
220
|
+
responses: {
|
|
221
|
+
200: {
|
|
222
|
+
bodyMapper: Mappers.SecurityAssessmentMetadataResponseList
|
|
223
|
+
},
|
|
224
|
+
default: {
|
|
225
|
+
bodyMapper: Mappers.CloudError
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
queryParameters: [Parameters.apiVersion10],
|
|
229
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
230
|
+
headerParameters: [Parameters.accept],
|
|
231
|
+
serializer
|
|
232
|
+
};
|
|
233
|
+
const getInSubscriptionOperationSpec = {
|
|
234
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}",
|
|
235
|
+
httpMethod: "GET",
|
|
236
|
+
responses: {
|
|
237
|
+
200: {
|
|
238
|
+
bodyMapper: Mappers.SecurityAssessmentMetadataResponse
|
|
239
|
+
},
|
|
240
|
+
default: {
|
|
241
|
+
bodyMapper: Mappers.CloudError
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
queryParameters: [Parameters.apiVersion10],
|
|
245
|
+
urlParameters: [
|
|
246
|
+
Parameters.$host,
|
|
247
|
+
Parameters.subscriptionId,
|
|
248
|
+
Parameters.assessmentMetadataName
|
|
249
|
+
],
|
|
250
|
+
headerParameters: [Parameters.accept],
|
|
251
|
+
serializer
|
|
252
|
+
};
|
|
253
|
+
const createInSubscriptionOperationSpec = {
|
|
254
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}",
|
|
255
|
+
httpMethod: "PUT",
|
|
256
|
+
responses: {
|
|
257
|
+
200: {
|
|
258
|
+
bodyMapper: Mappers.SecurityAssessmentMetadataResponse
|
|
259
|
+
},
|
|
260
|
+
default: {
|
|
261
|
+
bodyMapper: Mappers.CloudError
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
requestBody: Parameters.assessmentMetadata,
|
|
265
|
+
queryParameters: [Parameters.apiVersion10],
|
|
266
|
+
urlParameters: [
|
|
267
|
+
Parameters.$host,
|
|
268
|
+
Parameters.subscriptionId,
|
|
269
|
+
Parameters.assessmentMetadataName
|
|
270
|
+
],
|
|
271
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
272
|
+
mediaType: "json",
|
|
273
|
+
serializer
|
|
274
|
+
};
|
|
275
|
+
const deleteInSubscriptionOperationSpec = {
|
|
276
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}",
|
|
277
|
+
httpMethod: "DELETE",
|
|
278
|
+
responses: {
|
|
279
|
+
200: {},
|
|
280
|
+
default: {
|
|
281
|
+
bodyMapper: Mappers.CloudError
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
queryParameters: [Parameters.apiVersion10],
|
|
285
|
+
urlParameters: [
|
|
286
|
+
Parameters.$host,
|
|
287
|
+
Parameters.subscriptionId,
|
|
288
|
+
Parameters.assessmentMetadataName
|
|
289
|
+
],
|
|
290
|
+
headerParameters: [Parameters.accept],
|
|
291
|
+
serializer
|
|
292
|
+
};
|
|
293
|
+
const listNextOperationSpec = {
|
|
294
|
+
path: "{nextLink}",
|
|
295
|
+
httpMethod: "GET",
|
|
296
|
+
responses: {
|
|
297
|
+
200: {
|
|
298
|
+
bodyMapper: Mappers.SecurityAssessmentMetadataResponseList
|
|
299
|
+
},
|
|
300
|
+
default: {
|
|
301
|
+
bodyMapper: Mappers.CloudError
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
queryParameters: [Parameters.apiVersion10],
|
|
305
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
306
|
+
headerParameters: [Parameters.accept],
|
|
307
|
+
serializer
|
|
308
|
+
};
|
|
309
|
+
const listBySubscriptionNextOperationSpec = {
|
|
310
|
+
path: "{nextLink}",
|
|
311
|
+
httpMethod: "GET",
|
|
312
|
+
responses: {
|
|
313
|
+
200: {
|
|
314
|
+
bodyMapper: Mappers.SecurityAssessmentMetadataResponseList
|
|
315
|
+
},
|
|
316
|
+
default: {
|
|
317
|
+
bodyMapper: Mappers.CloudError
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
queryParameters: [Parameters.apiVersion10],
|
|
321
|
+
urlParameters: [
|
|
322
|
+
Parameters.$host,
|
|
323
|
+
Parameters.subscriptionId,
|
|
324
|
+
Parameters.nextLink
|
|
325
|
+
],
|
|
326
|
+
headerParameters: [Parameters.accept],
|
|
327
|
+
serializer
|
|
328
|
+
};
|
|
329
|
+
//# sourceMappingURL=assessmentsMetadata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assessmentsMetadata.js","sourceRoot":"","sources":["../../../src/operations/assessmentsMetadata.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAA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
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { AutoProvisioningSettings } from "../operationsInterfaces";
|
|
3
|
+
import { SecurityCenter } from "../securityCenter";
|
|
4
|
+
import { AutoProvisioningSetting, AutoProvisioningSettingsListOptionalParams, AutoProvisioningSettingsGetOptionalParams, AutoProvisioningSettingsGetResponse, AutoProvisioningSettingsCreateOptionalParams, AutoProvisioningSettingsCreateResponse } from "../models";
|
|
5
|
+
/** Class containing AutoProvisioningSettings operations. */
|
|
6
|
+
export declare class AutoProvisioningSettingsImpl implements AutoProvisioningSettings {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class AutoProvisioningSettings class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SecurityCenter);
|
|
13
|
+
/**
|
|
14
|
+
* Exposes the auto provisioning settings of the subscriptions
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: AutoProvisioningSettingsListOptionalParams): PagedAsyncIterableIterator<AutoProvisioningSetting>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Exposes the auto provisioning settings of the subscriptions
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
/**
|
|
26
|
+
* Details of a specific setting
|
|
27
|
+
* @param settingName Auto provisioning setting key
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
get(settingName: string, options?: AutoProvisioningSettingsGetOptionalParams): Promise<AutoProvisioningSettingsGetResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Details of a specific setting
|
|
33
|
+
* @param settingName Auto provisioning setting key
|
|
34
|
+
* @param setting Auto provisioning setting key
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
create(settingName: string, setting: AutoProvisioningSetting, options?: AutoProvisioningSettingsCreateOptionalParams): Promise<AutoProvisioningSettingsCreateResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* ListNext
|
|
40
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
private _listNext;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=autoProvisioningSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoProvisioningSettings.d.ts","sourceRoot":"","sources":["../../../src/operations/autoProvisioningSettings.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAInE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,uBAAuB,EAEvB,0CAA0C,EAE1C,yCAAyC,EACzC,mCAAmC,EACnC,4CAA4C,EAC5C,sCAAsC,EAEvC,MAAM,WAAW,CAAC;AAGnB,4DAA4D;AAC5D,qBAAa,4BAA6B,YAAW,wBAAwB;IAC3E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IAExC;;;OAGG;gBACS,MAAM,EAAE,cAAc;IAIlC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,uBAAuB,CAAC;YAevC,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,GAAG,CACD,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;;OAKG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,uBAAuB,EAChC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -0,0 +1,183 @@
|
|
|
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 AutoProvisioningSettings operations. */
|
|
14
|
+
export class AutoProvisioningSettingsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class AutoProvisioningSettings class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Exposes the auto provisioning settings of the subscriptions
|
|
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
|
+
* Exposes the auto provisioning settings of the subscriptions
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
_list(options) {
|
|
75
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Details of a specific setting
|
|
79
|
+
* @param settingName Auto provisioning setting key
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
get(settingName, options) {
|
|
83
|
+
return this.client.sendOperationRequest({ settingName, options }, getOperationSpec);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Details of a specific setting
|
|
87
|
+
* @param settingName Auto provisioning setting key
|
|
88
|
+
* @param setting Auto provisioning setting key
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
create(settingName, setting, options) {
|
|
92
|
+
return this.client.sendOperationRequest({ settingName, setting, options }, createOperationSpec);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* ListNext
|
|
96
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
_listNext(nextLink, options) {
|
|
100
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
// Operation Specifications
|
|
104
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
105
|
+
const listOperationSpec = {
|
|
106
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings",
|
|
107
|
+
httpMethod: "GET",
|
|
108
|
+
responses: {
|
|
109
|
+
200: {
|
|
110
|
+
bodyMapper: Mappers.AutoProvisioningSettingList
|
|
111
|
+
},
|
|
112
|
+
default: {
|
|
113
|
+
bodyMapper: Mappers.CloudError
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
queryParameters: [Parameters.apiVersion7],
|
|
117
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
118
|
+
headerParameters: [Parameters.accept],
|
|
119
|
+
serializer
|
|
120
|
+
};
|
|
121
|
+
const getOperationSpec = {
|
|
122
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}",
|
|
123
|
+
httpMethod: "GET",
|
|
124
|
+
responses: {
|
|
125
|
+
200: {
|
|
126
|
+
bodyMapper: Mappers.AutoProvisioningSetting
|
|
127
|
+
},
|
|
128
|
+
default: {
|
|
129
|
+
bodyMapper: Mappers.CloudError
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
queryParameters: [Parameters.apiVersion7],
|
|
133
|
+
urlParameters: [
|
|
134
|
+
Parameters.$host,
|
|
135
|
+
Parameters.subscriptionId,
|
|
136
|
+
Parameters.settingName1
|
|
137
|
+
],
|
|
138
|
+
headerParameters: [Parameters.accept],
|
|
139
|
+
serializer
|
|
140
|
+
};
|
|
141
|
+
const createOperationSpec = {
|
|
142
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}",
|
|
143
|
+
httpMethod: "PUT",
|
|
144
|
+
responses: {
|
|
145
|
+
200: {
|
|
146
|
+
bodyMapper: Mappers.AutoProvisioningSetting
|
|
147
|
+
},
|
|
148
|
+
default: {
|
|
149
|
+
bodyMapper: Mappers.CloudError
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
requestBody: Parameters.setting,
|
|
153
|
+
queryParameters: [Parameters.apiVersion7],
|
|
154
|
+
urlParameters: [
|
|
155
|
+
Parameters.$host,
|
|
156
|
+
Parameters.subscriptionId,
|
|
157
|
+
Parameters.settingName1
|
|
158
|
+
],
|
|
159
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
160
|
+
mediaType: "json",
|
|
161
|
+
serializer
|
|
162
|
+
};
|
|
163
|
+
const listNextOperationSpec = {
|
|
164
|
+
path: "{nextLink}",
|
|
165
|
+
httpMethod: "GET",
|
|
166
|
+
responses: {
|
|
167
|
+
200: {
|
|
168
|
+
bodyMapper: Mappers.AutoProvisioningSettingList
|
|
169
|
+
},
|
|
170
|
+
default: {
|
|
171
|
+
bodyMapper: Mappers.CloudError
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
queryParameters: [Parameters.apiVersion7],
|
|
175
|
+
urlParameters: [
|
|
176
|
+
Parameters.$host,
|
|
177
|
+
Parameters.subscriptionId,
|
|
178
|
+
Parameters.nextLink
|
|
179
|
+
],
|
|
180
|
+
headerParameters: [Parameters.accept],
|
|
181
|
+
serializer
|
|
182
|
+
};
|
|
183
|
+
//# sourceMappingURL=autoProvisioningSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoProvisioningSettings.js","sourceRoot":"","sources":["../../../src/operations/autoProvisioningSettings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,O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,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"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Automations } from "../operationsInterfaces";
|
|
3
|
+
import { SecurityCenter } from "../securityCenter";
|
|
4
|
+
import { Automation, AutomationsListOptionalParams, AutomationsListByResourceGroupOptionalParams, AutomationsGetOptionalParams, AutomationsGetResponse, AutomationsCreateOrUpdateOptionalParams, AutomationsCreateOrUpdateResponse, AutomationsDeleteOptionalParams, AutomationsValidateOptionalParams, AutomationsValidateResponse } from "../models";
|
|
5
|
+
/** Class containing Automations operations. */
|
|
6
|
+
export declare class AutomationsImpl implements Automations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Automations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SecurityCenter);
|
|
13
|
+
/**
|
|
14
|
+
* Lists all the security automations in the specified subscription. Use the 'nextLink' property in the
|
|
15
|
+
* response to get the next page of security automations for the specified subscription.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
list(options?: AutomationsListOptionalParams): PagedAsyncIterableIterator<Automation>;
|
|
19
|
+
private listPagingPage;
|
|
20
|
+
private listPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* Lists all the security automations in the specified resource group. Use the 'nextLink' property in
|
|
23
|
+
* the response to get the next page of security automations for the specified resource group.
|
|
24
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
25
|
+
* case insensitive.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listByResourceGroup(resourceGroupName: string, options?: AutomationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Automation>;
|
|
29
|
+
private listByResourceGroupPagingPage;
|
|
30
|
+
private listByResourceGroupPagingAll;
|
|
31
|
+
/**
|
|
32
|
+
* Lists all the security automations in the specified subscription. Use the 'nextLink' property in the
|
|
33
|
+
* response to get the next page of security automations for the specified subscription.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
private _list;
|
|
37
|
+
/**
|
|
38
|
+
* Lists all the security automations in the specified resource group. Use the 'nextLink' property in
|
|
39
|
+
* the response to get the next page of security automations for the specified resource group.
|
|
40
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
41
|
+
* case insensitive.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
private _listByResourceGroup;
|
|
45
|
+
/**
|
|
46
|
+
* Retrieves information about the model of a security automation.
|
|
47
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
48
|
+
* case insensitive.
|
|
49
|
+
* @param automationName The security automation name.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
get(resourceGroupName: string, automationName: string, options?: AutomationsGetOptionalParams): Promise<AutomationsGetResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Creates or updates a security automation. If a security automation is already created and a
|
|
55
|
+
* subsequent request is issued for the same automation id, then it will be updated.
|
|
56
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
57
|
+
* case insensitive.
|
|
58
|
+
* @param automationName The security automation name.
|
|
59
|
+
* @param automation The security automation resource
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
createOrUpdate(resourceGroupName: string, automationName: string, automation: Automation, options?: AutomationsCreateOrUpdateOptionalParams): Promise<AutomationsCreateOrUpdateResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Deletes a security automation.
|
|
65
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
66
|
+
* case insensitive.
|
|
67
|
+
* @param automationName The security automation name.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
delete(resourceGroupName: string, automationName: string, options?: AutomationsDeleteOptionalParams): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Validates the security automation model before create or update. Any validation errors are returned
|
|
73
|
+
* to the client.
|
|
74
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
75
|
+
* case insensitive.
|
|
76
|
+
* @param automationName The security automation name.
|
|
77
|
+
* @param automation The security automation resource
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
validate(resourceGroupName: string, automationName: string, automation: Automation, options?: AutomationsValidateOptionalParams): Promise<AutomationsValidateResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* ListNext
|
|
83
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
private _listNext;
|
|
87
|
+
/**
|
|
88
|
+
* ListByResourceGroupNext
|
|
89
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
90
|
+
* case insensitive.
|
|
91
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
private _listByResourceGroupNext;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=automations.d.ts.map
|