diff --git a/sdk/security/arm-security/README.md b/sdk/security/arm-security/README.md index 16cb67aa9e5f..abf11562e58e 100644 --- a/sdk/security/arm-security/README.md +++ b/sdk/security/arm-security/README.md @@ -36,7 +36,7 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -#### nodejs - Authentication, client creation, and list complianceResults as an example written in JavaScript. +#### nodejs - Authentication, client creation, and list mdeOnboardings as an example written in JavaScript. ##### Sample code @@ -49,8 +49,7 @@ const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; // Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. const creds = new DefaultAzureCredential(); const client = new SecurityCenter(creds, subscriptionId); -const scope = "testscope"; -client.complianceResults.list(scope).then((result) => { +client.mdeOnboardings.list().then((result) => { console.log("The result is:"); console.log(result); }).catch((err) => { @@ -59,7 +58,7 @@ client.complianceResults.list(scope).then((result) => { }); ``` -#### browser - Authentication, client creation, and list complianceResults as an example written in JavaScript. +#### browser - Authentication, client creation, and list mdeOnboardings as an example written in JavaScript. In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. @@ -87,8 +86,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t tenant: "" }); const client = new Azure.ArmSecurity.SecurityCenter(creds, subscriptionId); - const scope = "testscope"; - client.complianceResults.list(scope).then((result) => { + client.mdeOnboardings.list().then((result) => { console.log("The result is:"); console.log(result); }).catch((err) => { diff --git a/sdk/security/arm-security/package.json b/sdk/security/arm-security/package.json index 7c2ce716cf2a..79c90f2bba6c 100644 --- a/sdk/security/arm-security/package.json +++ b/sdk/security/arm-security/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/security/arm-security", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/security/arm-security", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/security/arm-security/src/models/adaptiveNetworkHardeningsMappers.ts b/sdk/security/arm-security/src/models/adaptiveNetworkHardeningsMappers.ts index 983b333d426b..1c3301178f07 100644 --- a/sdk/security/arm-security/src/models/adaptiveNetworkHardeningsMappers.ts +++ b/sdk/security/arm-security/src/models/adaptiveNetworkHardeningsMappers.ts @@ -25,6 +25,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -45,17 +46,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -65,34 +67,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -119,22 +110,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts b/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts index 4fac024d16d6..cfaeb264500f 100644 --- a/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts +++ b/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -117,22 +108,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/alertsMappers.ts b/sdk/security/arm-security/src/models/alertsMappers.ts index e40ad5185eaa..a3f458fd8882 100644 --- a/sdk/security/arm-security/src/models/alertsMappers.ts +++ b/sdk/security/arm-security/src/models/alertsMappers.ts @@ -27,6 +27,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -47,17 +48,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -67,34 +69,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -121,22 +112,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts b/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts index 85425a2d0840..66caf55d0ef1 100644 --- a/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts +++ b/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts @@ -24,6 +24,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -44,17 +45,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +66,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/assessmentsMappers.ts b/sdk/security/arm-security/src/models/assessmentsMappers.ts index 7ec5955c83c1..a7be35c916c7 100644 --- a/sdk/security/arm-security/src/models/assessmentsMappers.ts +++ b/sdk/security/arm-security/src/models/assessmentsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts b/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts index 6e6b5c282cd8..1a18f6453e07 100644 --- a/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts +++ b/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -115,25 +106,27 @@ export { SecureScoreItem, SecurityAssessment, SecurityAssessmentMetadata, - SecurityAssessmentMetadataList, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, + SecurityAssessmentMetadataResponseList, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts b/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts index 584b2f099280..9ebd3129cd5b 100644 --- a/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts +++ b/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AutoProvisioningSettingList, @@ -44,17 +45,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +66,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/automationsMappers.ts b/sdk/security/arm-security/src/models/automationsMappers.ts index 5c234eb53d3d..970bc615c0e8 100644 --- a/sdk/security/arm-security/src/models/automationsMappers.ts +++ b/sdk/security/arm-security/src/models/automationsMappers.ts @@ -20,5 +20,20 @@ export { AutomationTriggeringRule, AutomationValidationStatus, CloudError, + CloudOffering, + CspmMonitorAwsOffering, + CspmMonitorAwsOfferingNativeCloudConnection, + DefenderForContainersAwsOffering, + DefenderForContainersAwsOfferingCloudWatchToKinesis, + DefenderForContainersAwsOfferingKinesisToS3, + DefenderForContainersAwsOfferingKubernetesScubaReader, + DefenderForContainersAwsOfferingKubernetesService, + DefenderForServersAwsOffering, + DefenderForServersAwsOfferingArcAutoProvisioning, + DefenderForServersAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata, + DefenderForServersAwsOfferingDefenderForServers, + SecurityConnector, + SecurityConnectorPropertiesOrganizationalData, + SystemData, TrackedResource } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/complianceResultsMappers.ts b/sdk/security/arm-security/src/models/complianceResultsMappers.ts index 66bdc211b151..296693231327 100644 --- a/sdk/security/arm-security/src/models/complianceResultsMappers.ts +++ b/sdk/security/arm-security/src/models/complianceResultsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -44,17 +45,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +66,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/compliancesMappers.ts b/sdk/security/arm-security/src/models/compliancesMappers.ts index cbee8d0d4e77..af66cfc73529 100644 --- a/sdk/security/arm-security/src/models/compliancesMappers.ts +++ b/sdk/security/arm-security/src/models/compliancesMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -44,17 +45,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +66,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/connectorsMappers.ts b/sdk/security/arm-security/src/models/connectorsMappers.ts index ab08542a6ac3..5097ef91ba2a 100644 --- a/sdk/security/arm-security/src/models/connectorsMappers.ts +++ b/sdk/security/arm-security/src/models/connectorsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -44,17 +45,18 @@ export { ConnectorSettingList, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +66,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/devicesForHubMappers.ts b/sdk/security/arm-security/src/models/customAssessmentAutomationsMappers.ts similarity index 90% rename from sdk/security/arm-security/src/models/devicesForHubMappers.ts rename to sdk/security/arm-security/src/models/customAssessmentAutomationsMappers.ts index 40d1e77831fa..5f68a913c6b1 100644 --- a/sdk/security/arm-security/src/models/devicesForHubMappers.ts +++ b/sdk/security/arm-security/src/models/customAssessmentAutomationsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,18 +44,19 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomAssessmentAutomationsListResult, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, - DeviceList, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +66,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts b/sdk/security/arm-security/src/models/customEntityStoreAssignmentsMappers.ts similarity index 90% rename from sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts rename to sdk/security/arm-security/src/models/customEntityStoreAssignmentsMappers.ts index 40d1e77831fa..7326c1b2a734 100644 --- a/sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts +++ b/sdk/security/arm-security/src/models/customEntityStoreAssignmentsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,18 +44,20 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, + CustomEntityStoreAssignmentRequest, + CustomEntityStoreAssignmentsListResult, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, - DeviceList, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +67,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +110,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts b/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts index 0246a6a6b306..6dffe1fd94f6 100644 --- a/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts +++ b/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,18 +44,19 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DeviceSecurityGroupList, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +66,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/index.ts b/sdk/security/arm-security/src/models/index.ts index 9588180edf0a..660b0f61286c 100644 --- a/sdk/security/arm-security/src/models/index.ts +++ b/sdk/security/arm-security/src/models/index.ts @@ -33,15 +33,29 @@ export interface Resource extends BaseResource { } /** - * a compliance result + * The resource of the configuration or data needed to onboard the machine to MDE */ -export interface ComplianceResult extends Resource { +export interface MdeOnboardingData extends Resource { /** - * The status of the resource regarding a single assessment. Possible values include: 'Healthy', - * 'NotApplicable', 'OffByPolicy', 'NotHealthy' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The onboarding package used to onboard Windows machines to MDE, coded in base64. This can also + * be used for onboarding using the dedicated VM Extension */ - readonly resourceStatus?: ResourceStatus; + onboardingPackageWindows?: Uint8Array; + /** + * The onboarding package used to onboard Linux machines to MDE, coded in base64. This can also + * be used for onboarding using the dedicated VM Extension + */ + onboardingPackageLinux?: Uint8Array; +} + +/** + * List of all MDE onboarding data resources + */ +export interface MdeOnboardingDataList { + /** + * List of the resources of the configuration or data needed to onboard the machine to MDE + */ + value?: MdeOnboardingData[]; } /** @@ -144,6 +158,167 @@ export interface ErrorAdditionalInfo { readonly info?: any; } +/** + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; +} + +/** + * Custom Assessment Automation + */ +export interface CustomAssessmentAutomation extends Resource { + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; + /** + * GZip encoded KQL query representing the assessment automation results required. + */ + compressedQuery?: string; + /** + * Relevant cloud for the custom assessment automation. Possible values include: 'AWS' + */ + supportedCloud?: SupportedCloudEnum; + /** + * The severity to relate to the assessments generated by this assessment automation. Possible + * values include: 'High', 'Medium', 'Low' + */ + severity?: SeverityEnum; + /** + * The user impact to relate to the assessments generated by this assessment automation. Possible + * values include: 'High', 'Moderate', 'Low' + */ + userImpact?: UserImpactEnum; + /** + * The implementation effort to relate to the assessments generated by this assessment + * automation. Possible values include: 'High', 'Moderate', 'Low' + */ + implementationEffort?: ImplementationEffortEnum; + /** + * The description to relate to the assessments generated by this assessment automation. + */ + description?: string; + /** + * The remediation description to relate to the assessments generated by this assessment + * automation. + */ + remediationDescription?: string; + /** + * The assessment metadata key used when an assessment is generated for this assessment + * automation. + */ + assessmentKey?: string; +} + +/** + * Custom Assessment Automation request + */ +export interface CustomAssessmentAutomationRequest extends Resource { + /** + * Base 64 encoded KQL query representing the assessment automation results required. + */ + compressedQuery?: string; + /** + * Relevant cloud for the custom assessment automation. Possible values include: 'AWS' + */ + supportedCloud?: SupportedCloudEnum; + /** + * The severity to relate to the assessments generated by this assessment automation. Possible + * values include: 'High', 'Medium', 'Low' + */ + severity?: SeverityEnum; + /** + * The user impact to relate to the assessments generated by this assessment automation. Possible + * values include: 'High', 'Moderate', 'Low' + */ + userImpact?: UserImpactEnum; + /** + * The implementation effort to relate to the assessments generated by this assessment + * automation. Possible values include: 'High', 'Moderate', 'Low' + */ + implementationEffort?: ImplementationEffortEnum; + /** + * The description to relate to the assessments generated by this assessment automation. + */ + description?: string; + /** + * The remediation description to relate to the assessments generated by this assessment + * automation. + */ + remediationDescription?: string; +} + +/** + * Custom entity store assignment + */ +export interface CustomEntityStoreAssignment extends Resource { + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; + /** + * The principal assigned with entity store. Format of principal is: [AAD + * type]=[PrincipalObjectId];[TenantId] + */ + principal?: string; + /** + * The link to entity store database. + */ + entityStoreDatabaseLink?: string; +} + +/** + * describes the custom entity store assignment request + */ +export interface CustomEntityStoreAssignmentRequest { + /** + * The principal assigned with entity store. If not provided, will use caller principal. Format + * of principal is: [AAD type]=[PrincipalObjectId];[TenantId] + */ + principal?: string; +} + +/** + * a compliance result + */ +export interface ComplianceResult extends Resource { + /** + * The status of the resource regarding a single assessment. Possible values include: 'Healthy', + * 'NotApplicable', 'OffByPolicy', 'NotHealthy' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceStatus?: ResourceStatus; +} + /** * Azure Security Center is provided in two pricing tiers: free and standard, with the standard * tier available with a trial period. The standard tier offers advanced security capabilities, @@ -1199,38 +1374,6 @@ export interface AdditionalWorkspacesProperties { dataTypes?: AdditionalWorkspaceDataType[]; } -/** - * Metadata pertaining to creation and last modification of the resource. - */ -export interface SystemData { - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. Possible values include: 'User', - * 'Application', 'ManagedIdentity', 'Key' - */ - createdByType?: CreatedByType; - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: Date; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. Possible values include: 'User', - * 'Application', 'ManagedIdentity', 'Key' - */ - lastModifiedByType?: CreatedByType; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: Date; -} - /** * IoT Security solution configuration and resource information. */ @@ -2430,9 +2573,10 @@ export interface AutomationRuleSet { */ export interface AutomationSource { /** - * A valid event source type. Possible values include: 'Assessments', 'SubAssessments', 'Alerts', - * 'SecureScores', 'SecureScoresSnapshot', 'SecureScoreControls', 'SecureScoreControlsSnapshot', - * 'RegulatoryComplianceAssessment', 'RegulatoryComplianceAssessmentSnapshot' + * A valid event source type. Possible values include: 'Assessments', 'AssessmentsSnapshot', + * 'SubAssessments', 'SubAssessmentsSnapshot', 'Alerts', 'SecureScores', 'SecureScoresSnapshot', + * 'SecureScoreControls', 'SecureScoreControlsSnapshot', 'RegulatoryComplianceAssessment', + * 'RegulatoryComplianceAssessmentSnapshot' */ eventSource?: EventSource; /** @@ -2642,6 +2786,67 @@ export interface ServerVulnerabilityAssessmentsList { value?: ServerVulnerabilityAssessment[]; } +/** + * An interface representing SecurityAssessmentMetadataPropertiesResponsePublishDates. + */ +export interface SecurityAssessmentMetadataPropertiesResponsePublishDates { + ga?: string; + publicProperty: string; +} + +/** + * Security assessment metadata response + */ +export interface SecurityAssessmentMetadataResponse extends Resource { + /** + * User friendly display name of the assessment + */ + displayName: string; + /** + * Azure resource ID of the policy definition that turns this assessment calculation on + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly policyDefinitionId?: string; + /** + * Human readable description of the assessment + */ + description?: string; + /** + * Human readable description of what you should do to mitigate this security issue + */ + remediationDescription?: string; + categories?: Categories[]; + /** + * The severity level of the assessment. Possible values include: 'Low', 'Medium', 'High' + */ + severity: Severity; + /** + * The user impact of the assessment. Possible values include: 'Low', 'Moderate', 'High' + */ + userImpact?: UserImpact; + /** + * The implementation effort required to remediate this assessment. Possible values include: + * 'Low', 'Moderate', 'High' + */ + implementationEffort?: ImplementationEffort; + threats?: Threats[]; + /** + * True if this assessment is in preview release status + */ + preview?: boolean; + /** + * BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment + * based on custom Azure Policy definition. Possible values include: 'BuiltIn', 'CustomPolicy', + * 'CustomerManaged', 'VerifiedPartner' + */ + assessmentType: AssessmentType; + partnerData?: SecurityAssessmentMetadataPartnerData; + publishDates?: SecurityAssessmentMetadataPropertiesResponsePublishDates; + plannedDeprecationDate?: string; + tactics?: Tactics[]; + techniques?: Techniques[]; +} + /** * Describes the partner that created the assessment */ @@ -2778,28 +2983,41 @@ export interface AssessmentStatus { } /** - * Links relevant to the assessment + * The result of the assessment */ -export interface AssessmentLinks { +export interface AssessmentStatusResponse extends AssessmentStatus { /** - * Link to assessment in Azure Portal + * The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 + * format * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly azurePortalUri?: string; + readonly firstEvaluationDate?: Date; + /** + * The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 + * format + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly statusChangeDate?: Date; } /** - * Data regarding 3rd party partner integration + * Security assessment on a resource - response format */ -export interface SecurityAssessmentPartnerData { +export interface SecurityAssessmentResponse extends Resource { + resourceDetails: ResourceDetailsUnion; /** - * Name of the company of the partner + * User friendly display name of the assessment + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - partnerName: string; + readonly displayName?: string; /** - * secret to authenticate the partner - write only + * Additional data regarding the assessment */ - secret: string; + additionalData?: { [propertyName: string]: string }; + links?: AssessmentLinks; + metadata?: SecurityAssessmentMetadataProperties; + partnersData?: SecurityAssessmentPartnerData; + status: AssessmentStatusResponse; } /** @@ -2812,7 +3030,6 @@ export interface SecurityAssessment extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayName?: string; - status: AssessmentStatus; /** * Additional data regarding the assessment */ @@ -2820,33 +3037,78 @@ export interface SecurityAssessment extends Resource { links?: AssessmentLinks; metadata?: SecurityAssessmentMetadataProperties; partnersData?: SecurityAssessmentPartnerData; + status: AssessmentStatus; } /** - * The protection mode of the collection/file types. Exe/Msi/Script are used for Windows, - * Executable is used for Linux. + * Links relevant to the assessment */ -export interface ProtectionMode { - /** - * Possible values include: 'Audit', 'Enforce', 'None' - */ - exe?: Exe; - /** - * Possible values include: 'Audit', 'Enforce', 'None' - */ - msi?: Msi; - /** - * Possible values include: 'Audit', 'Enforce', 'None' - */ - script?: Script; +export interface AssessmentLinks { /** - * Possible values include: 'Audit', 'Enforce', 'None' + * Link to assessment in Azure Portal + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - executable?: Executable; + readonly azurePortalUri?: string; } /** - * Represents a summary of the alerts of the machine group + * Data regarding 3rd party partner integration + */ +export interface SecurityAssessmentPartnerData { + /** + * Name of the company of the partner + */ + partnerName: string; + /** + * secret to authenticate the partner - write only + */ + secret: string; +} + +/** + * Describes properties of an assessment. + */ +export interface SecurityAssessmentPropertiesBase { + resourceDetails: ResourceDetailsUnion; + /** + * User friendly display name of the assessment + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayName?: string; + /** + * Additional data regarding the assessment + */ + additionalData?: { [propertyName: string]: string }; + links?: AssessmentLinks; + metadata?: SecurityAssessmentMetadataProperties; + partnersData?: SecurityAssessmentPartnerData; +} + +/** + * The protection mode of the collection/file types. Exe/Msi/Script are used for Windows, + * Executable is used for Linux. + */ +export interface ProtectionMode { + /** + * Possible values include: 'Audit', 'Enforce', 'None' + */ + exe?: Exe; + /** + * Possible values include: 'Audit', 'Enforce', 'None' + */ + msi?: Msi; + /** + * Possible values include: 'Audit', 'Enforce', 'None' + */ + script?: Script; + /** + * Possible values include: 'Audit', 'Enforce', 'None' + */ + executable?: Executable; +} + +/** + * Represents a summary of the alerts of the machine group */ export interface AdaptiveApplicationControlIssueSummary { /** @@ -4537,1298 +4799,722 @@ export interface RulesResultsInput { } /** - * IoT Defender settings + * Contains the possible cases for ResourceIdentifier. */ -export interface IotDefenderSettingsModel extends Resource { - /** - * Size of the device quota (as a opposed to a Pay as You Go billing model). Value is required to - * be in multiples of 1000. - */ - deviceQuota: number; - /** - * Sentinel Workspace Resource Ids - */ - sentinelWorkspaceResourceIds: string[]; - /** - * The kind of onboarding for the subscription. Possible values include: 'Default', - * 'MigratedToAzure', 'Evaluation', 'Purchased' - */ - onboardingKind: OnboardingKind; - /** - * End time of the evaluation period, if such exist - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly evaluationEndTime?: Date; -} +export type ResourceIdentifierUnion = ResourceIdentifier | AzureResourceIdentifier | LogAnalyticsIdentifier; /** - * List of IoT Defender settings + * A resource identifier for an alert which can be used to direct the alert to the right product + * exposure group (tenant, workspace, subscription etc.). */ -export interface IotDefenderSettingsList { +export interface ResourceIdentifier { /** - * List data - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly value?: IotDefenderSettingsModel[]; + type: "ResourceIdentifier"; } /** - * Information on a specific package download + * Changing set of properties depending on the entity type. */ -export interface PackageDownloadInfo { +export interface AlertEntity { /** - * Version number + * Type of entity * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly version?: string; - /** - * Download link - */ - link?: string; + readonly type?: string; /** - * Kind of the version. Possible values include: 'Latest', 'Previous', 'Preview' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - readonly versionKind?: VersionKind; + [property: string]: any; } /** - * Information on a specific package upgrade download + * Security alert */ -export interface UpgradePackageDownloadInfo extends PackageDownloadInfo { +export interface Alert extends Resource { /** - * Minimum base version for upgrade + * Unique identifier for the detection logic (all alert instances from the same detection logic + * will have the same alertType). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fromVersion?: string; -} - -/** - * Contains all OVF (virtual machine) full versions for the sensor - */ -export interface PackageDownloadsSensorFullOvf { + readonly alertType?: string; /** - * Enterprise package type + * Unique identifier for the alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly enterprise?: PackageDownloadInfo[]; + readonly systemAlertId?: string; /** - * Medium package type + * The name of Azure Security Center pricing tier which powering this alert. Learn more: + * https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly medium?: PackageDownloadInfo[]; + readonly productComponentName?: string; /** - * Line package type + * The display name of the alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly line?: PackageDownloadInfo[]; -} - -/** - * Contains full package downloads - */ -export interface PackageDownloadsSensorFull { + readonly alertDisplayName?: string; /** - * Contains all ISO full versions for the sensor + * Description of the suspicious activity that was detected. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly iso?: PackageDownloadInfo[]; + readonly description?: string; /** - * Contains all OVF (virtual machine) full versions for the sensor + * The risk level of the threat that was detected. Learn more: + * https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified. + * Possible values include: 'Informational', 'Low', 'Medium', 'High' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - ovf?: PackageDownloadsSensorFullOvf; -} - -/** - * Contains all Sensor binary downloads - */ -export interface PackageDownloadsSensor { + readonly severity?: AlertSeverity; /** - * Contains full package downloads + * The kill chain related intent behind the alert. For list of supported values, and explanations + * of Azure Security Center's supported kill chain intents. Possible values include: 'Unknown', + * 'PreAttack', 'InitialAccess', 'Persistence', 'PrivilegeEscalation', 'DefenseEvasion', + * 'CredentialAccess', 'Discovery', 'LateralMovement', 'Execution', 'Collection', 'Exfiltration', + * 'CommandAndControl', 'Impact', 'Probing', 'Exploitation' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly full?: PackageDownloadsSensorFull; + readonly intent?: Intent; /** - * Sensor upgrade package downloads (on existing installations) + * The UTC time of the first event or activity included in the alert in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - upgrade?: UpgradePackageDownloadInfo[]; -} - -/** - * Contains all OVF (virtual machine) full versions of the Central Manager - */ -export interface PackageDownloadsCentralManagerFullOvf { + readonly startTimeUtc?: Date; /** - * The Enterprise package type + * The UTC time of the last event or activity included in the alert in ISO8601 format. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly enterprise?: PackageDownloadInfo[]; + readonly endTimeUtc?: Date; /** - * The EnterpriseHighAvailability package type + * The resource identifiers that can be used to direct the alert to the right product exposure + * group (tenant, workspace, subscription etc.). There can be multiple identifiers of different + * type per alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly enterpriseHighAvailability?: PackageDownloadInfo[]; + readonly resourceIdentifiers?: ResourceIdentifierUnion[]; /** - * The Medium package type + * Manual action items to take to remediate the alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly medium?: PackageDownloadInfo[]; + readonly remediationSteps?: string[]; /** - * The MediumHighAvailability package type + * The name of the vendor that raises the alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly mediumHighAvailability?: PackageDownloadInfo[]; -} - -/** - * Contains full package downloads - */ -export interface PackageDownloadsCentralManagerFull { + readonly vendorName?: string; /** - * Contains all ISO full versions of the Central Manager + * The life cycle status of the alert. Possible values include: 'Active', 'Resolved', 'Dismissed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly iso?: PackageDownloadInfo[]; + readonly status?: AlertStatus; /** - * Contains all OVF (virtual machine) full versions of the Central Manager + * Links related to the alert * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly ovf?: PackageDownloadsCentralManagerFullOvf; -} - -/** - * All downloads for Central Manager - */ -export interface PackageDownloadsCentralManager { + readonly extendedLinks?: { [propertyName: string]: string }[]; /** - * Contains full package downloads + * A direct link to the alert page in Azure Portal. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly full?: PackageDownloadsCentralManagerFull; + readonly alertUri?: string; /** - * Central Manager upgrade package downloads (on existing installations) + * The UTC time the alert was generated in ISO8601 format. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly upgrade?: UpgradePackageDownloadInfo[]; -} - -/** - * Information about package downloads - */ -export interface PackageDownloads { + readonly timeGeneratedUtc?: Date; /** - * Contains all Sensor binary downloads + * The name of the product which published this alert (Azure Security Center, Azure ATP, + * Microsoft Defender ATP, O365 ATP, MCAS, and so on). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly sensor?: PackageDownloadsSensor; + readonly productName?: string; /** - * All downloads for Central Manager + * The UTC processing end time of the alert in ISO8601 format. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly centralManager?: PackageDownloadsCentralManager; + readonly processingEndTimeUtc?: Date; /** - * All downloads for threat intelligence + * A list of entities related to the alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly threatIntelligence?: PackageDownloadInfo[]; + readonly entities?: AlertEntity[]; /** - * SNMP Server file + * This field determines whether the alert is an incident (a compound grouping of several alerts) + * or a single alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly snmp?: PackageDownloadInfo[]; + readonly isIncident?: boolean; /** - * Used for local configuration export + * Key for corelating related alerts. Alerts with the same correlation key considered to be + * related. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly wmiTool?: PackageDownloadInfo[]; + readonly correlationKey?: string; /** - * Authorized devices import template - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Custom properties for the alert. */ - readonly authorizedDevicesImportTemplate?: PackageDownloadInfo[]; + extendedProperties?: { [propertyName: string]: string }; /** - * Authorized devices import template + * The display name of the resource most related to this alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly deviceInformationUpdateImportTemplate?: PackageDownloadInfo[]; + readonly compromisedEntity?: string; } /** - * IoT sensor model + * Azure resource identifier. */ -export interface IotSensorsModel extends Resource { - /** - * Last connectivity time of the IoT sensor - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly connectivityTime?: string; +export interface AzureResourceIdentifier { /** - * Creation time of the IoT sensor - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly creationTime?: string; + type: "AzureResource"; /** - * Dynamic mode status of the IoT sensor + * ARM resource identifier for the cloud resource being alerted on * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly dynamicLearning?: boolean; + readonly azureResourceId?: string; +} + +/** + * Represents a Log Analytics workspace scope identifier. + */ +export interface LogAnalyticsIdentifier { /** - * Learning mode status of the IoT sensor - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly learningMode?: boolean; + type: "LogAnalytics"; /** - * Status of the IoT sensor. Possible values include: 'Ok', 'Disconnected', 'Unavailable' + * The LogAnalytics workspace id that stores this alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly sensorStatus?: SensorStatus; + readonly workspaceId?: string; /** - * Version of the IoT sensor + * The azure subscription id for the LogAnalytics workspace storing this alert. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly sensorVersion?: string; - /** - * TI Automatic mode status of the IoT sensor - */ - tiAutomaticUpdates?: boolean; + readonly workspaceSubscriptionId?: string; /** - * TI Status of the IoT sensor. Possible values include: 'Ok', 'Failed', 'InProgress', - * 'UpdateAvailable' + * The azure resource group for the LogAnalytics workspace storing this alert * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly tiStatus?: TiStatus; + readonly workspaceResourceGroup?: string; /** - * TI Version of the IoT sensor + * (optional) The LogAnalytics agent id reporting the event that this alert is based on. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly tiVersion?: string; + readonly agentId?: string; +} + +/** + * Contains the possible cases for AlertSimulatorRequestProperties. + */ +export type AlertSimulatorRequestPropertiesUnion = AlertSimulatorRequestProperties | AlertSimulatorBundlesRequestProperties; + +/** + * Describes properties of an alert simulation request + */ +export interface AlertSimulatorRequestProperties { /** - * Zone of the IoT sensor + * Polymorphic Discriminator */ - zone?: string; + kind: "AlertSimulatorRequestProperties"; /** - * Type of sensor. Possible values include: 'Ot', 'Enterprise' + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - sensorType?: SensorType; + [property: string]: any; } /** - * List of IoT sensors + * Alert Simulator request body. */ -export interface IotSensorsList { +export interface AlertSimulatorRequestBody { /** - * List data - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Alert Simulator request body data. */ - readonly value?: IotSensorsModel[]; + properties?: AlertSimulatorRequestPropertiesUnion; } /** - * Reset password input. + * Simulate alerts according to this bundles. */ -export interface ResetPasswordInput { +export interface AlertSimulatorBundlesRequestProperties { + /** + * Polymorphic Discriminator + */ + kind: "Bundles"; /** - * The appliance id of the sensor. + * Bundles list. */ - applianceId?: string; + bundles?: BundleType[]; } /** - * IP Address information + * Contains the possible cases for Setting. + */ +export type SettingUnion = Setting | DataExportSettings | AlertSyncSettings; + +/** + * The kind of the security setting */ -export interface IpAddress { - /** - * IPV4 address - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly v4Address?: string; +export interface Setting { /** - * Detection time of the ip address. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly detectionTime?: Date; + kind: "Setting"; /** - * Subnet Classless Inter-Domain Routing + * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly subnetCidr?: string; + readonly id?: string; /** - * Fully qualified domain name + * Resource name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fqdn?: string; + readonly name?: string; /** - * FQDN last lookup time. + * Resource type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly fqdnLastLookupTime?: Date; + readonly type?: string; } /** - * MAC Address information + * Represents a data export setting */ -export interface MacAddress { +export interface DataExportSettings { /** - * MAC address - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly address?: string; + kind: "DataExportSettings"; /** - * Detection time of the mac address. + * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly detectionTime?: Date; - /** - * Indicates whether this is the primary secondary MAC address of the device. Possible values - * include: 'Primary', 'Secondary' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly significance?: MacSignificance; - /** - * Indicates whether the relation of the mac to the ip address is certain or a guess. Possible - * values include: 'Guess', 'Certain' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly relationToIpStatus?: RelationToIpStatus; -} - -/** - * Network interface - */ -export interface NetworkInterface { - ipAddress?: IpAddress; - macAddress?: MacAddress; + readonly id?: string; /** - * List of device vlans. + * Resource name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly vlans?: string[]; -} - -/** - * Protocol data - */ -export interface Protocol1 { + readonly name?: string; /** - * Protocol name + * Resource type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly type?: string; /** - * list of protocol identifiers. + * Is the data export setting enabled */ - identifiers?: string; + enabled: boolean; } /** - * Firmware information + * Represents an alert sync setting */ -export interface Firmware { +export interface AlertSyncSettings { /** - * Address of the specific module a firmware is related to - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly moduleAddress?: string; + kind: "AlertSyncSettings"; /** - * Rack number of the module a firmware is related to. + * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly rack?: string; + readonly id?: string; /** - * Slot number in the rack of the module a firmware is related to + * Resource name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly slot?: string; + readonly name?: string; /** - * Serial of the firmware + * Resource type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly serial?: string; + readonly type?: string; /** - * Firmware model - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Is the alert sync setting enabled */ - readonly model?: string; + enabled: boolean; +} + +/** + * Configures how to correlate scan data and logs with resources associated with the subscription. + */ +export interface IngestionSetting extends Resource { /** - * Firmware version - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Ingestion setting data */ - readonly version?: string; + properties?: any; +} + +/** + * Configures how to correlate scan data and logs with resources associated with the subscription. + */ +export interface IngestionSettingToken { /** - * A bag of fields which extends the firmware information. + * The token is used for correlating security data and logs with the resources in the + * subscription. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly additionalData?: any; + readonly token?: string; } /** - * Sensor data + * Connection string for ingesting security data and logs */ -export interface Sensor { +export interface IngestionConnectionString { /** - * Sensor name + * The region where ingested logs and data resides * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + readonly location?: string; /** - * Zone Name. + * Connection string value * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly zone?: string; + readonly value?: string; } /** - * Site data + * Connection string for ingesting security data and logs */ -export interface Site { +export interface ConnectionStrings { /** - * Site display name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Connection strings */ - readonly displayName?: string; + value: IngestionConnectionString[]; } /** - * Device model + * Represents a software data */ -export interface Device extends Resource { +export interface Software extends Resource { /** - * Device display name given by the collector + * Unique identifier for the virtual machine in the service. */ - displayName?: string; + deviceId?: string; /** - * Device type. + * Platform of the operating system running on the device. */ - deviceType?: string; + osPlatform?: string; /** - * The source that created the device - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of the software vendor. */ - readonly sourceName?: string; + vendor?: string; /** - * List of network interfaces. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of the software product. */ - readonly networkInterfaces?: NetworkInterface[]; + softwareName?: string; /** - * Device vendor - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Version number of the software product. */ - readonly vendor?: string; + version?: string; /** - * Device operating system name. + * End of support status. Possible values include: 'None', 'noLongerSupported', + * 'versionNoLongerSupported', 'upcomingNoLongerSupported', 'upcomingVersionNoLongerSupported' */ - osName?: string; + endOfSupportStatus?: EndOfSupportStatus; /** - * List of protocols. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The end of support date in case the product is upcoming end of support. */ - readonly protocols?: Protocol1[]; + endOfSupportDate?: string; /** - * last time the device was active in the network - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Number of weaknesses. */ - readonly lastActiveTime?: Date; + numberOfKnownVulnerabilities?: number; /** - * last time the device was updated - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * First time that the software was seen in the device. */ - readonly lastUpdateTime?: Date; + firstSeenAt?: string; +} + +/** + * Contains the possible cases for CloudOffering. + */ +export type CloudOfferingUnion = CloudOffering | CspmMonitorAwsOffering | DefenderForContainersAwsOffering | DefenderForServersAwsOffering; + +/** + * The security offering details + */ +export interface CloudOffering { /** - * Managed state of the device. Possible values include: 'Managed', 'Unmanaged' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly managementState?: ManagementState; + offeringType: "cloudOffering"; /** - * Authorized state of the device. Possible values include: 'Authorized', 'Unauthorized'. Default - * value: 'Unauthorized'. + * The offering description. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - authorizationState?: AuthorizationState; + readonly description?: string; +} + +/** + * The multi cloud account's organizational data + */ +export interface SecurityConnectorPropertiesOrganizationalData { /** - * Device criticality. Possible values include: 'Important', 'Standard'. Default value: - * 'Standard'. + * The multi cloud account's membership type in the organization. Possible values include: + * 'Member', 'Organization' */ - deviceCriticality?: DeviceCriticality; + organizationMembershipType?: OrganizationMembershipType; /** - * Purdue level of the device. Possible values include: 'ProcessControl', 'Supervisory', - * 'Enterprise'. Default value: 'ProcessControl'. + * If the multi cloud account is not of membership type organization, this will be the ID of the + * account's parent */ - purdueLevel?: PurdueLevel; + parentHierarchyId?: string; /** - * user notes for the device, up to 300 characters. + * If the multi cloud account is of membership type organization, this will be the name of the + * onboarding stackset */ - notes?: string; + stacksetName?: string; /** - * List of device firmwares. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * If the multi cloud account is of membership type organization, list of accounts excluded from + * offering */ - readonly firmwares?: Firmware[]; + excludedAccountIds?: string[]; +} + +/** + * The security connector resource. + */ +export interface SecurityConnector extends TrackedResource { /** - * Discovered time of the device. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly discoveryTime?: Date; + readonly systemData?: SystemData; /** - * Indicates whether this device is programming. Possible values include: 'ProgrammingDevice', - * 'NotProgrammingDevice' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The multi cloud resource identifier (account id in case of AWS connector). */ - readonly programmingState?: ProgrammingState; + hierarchyIdentifier?: string; /** - * last time the device was programming or programed. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The multi cloud resource's cloud name. Possible values include: 'Azure', 'AWS', 'GCP' */ - readonly lastProgrammingTime?: Date; + cloudName?: CloudName; /** - * Indicates whether the device is a scanner. Possible values include: 'ScannerDevice', - * 'NotScannerDevice' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A collection of offerings for the security connector. */ - readonly scanningFunctionality?: ScanningFunctionality; + offerings?: CloudOfferingUnion[]; /** - * last time the device was scanning. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The multi cloud account's organizational data */ - readonly lastScanTime?: Date; + organizationalData?: SecurityConnectorPropertiesOrganizationalData; +} + +/** + * The native cloud connection configuration + */ +export interface CspmMonitorAwsOfferingNativeCloudConnection { /** - * risk score of the device. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The cloud role ARN in AWS for this feature */ - readonly riskScore?: number; + cloudRoleArn?: string; +} + +/** + * The CSPM monitoring for AWS offering configurations + */ +export interface CspmMonitorAwsOffering { /** - * List of sensors that scanned this device. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly sensors?: Sensor[]; + offeringType: "CspmMonitorAws"; /** + * The offering description. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly site?: Site; + readonly description?: string; /** - * Device status. Possible values include: 'Active', 'Removed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The native cloud connection configuration */ - readonly deviceStatus?: DeviceStatus; + nativeCloudConnection?: CspmMonitorAwsOfferingNativeCloudConnection; } /** - * On-premise IoT sensor + * The kubernetes service connection configuration */ -export interface OnPremiseIotSensor extends Resource { +export interface DefenderForContainersAwsOfferingKubernetesService { /** - * On-premise IoT sensor properties + * The cloud role ARN in AWS for this feature */ - properties?: any; + cloudRoleArn?: string; } /** - * List of on-premise IoT sensors + * The kubernetes to scuba connection configuration */ -export interface OnPremiseIotSensorsList { +export interface DefenderForContainersAwsOfferingKubernetesScubaReader { /** - * List data - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The cloud role ARN in AWS for this feature */ - readonly value?: OnPremiseIotSensor[]; + cloudRoleArn?: string; } /** - * IoT site model + * The cloudwatch to kinesis connection configuration */ -export interface IotSitesModel extends Resource { - /** - * Display name of the IoT site - */ - displayName: string; +export interface DefenderForContainersAwsOfferingCloudWatchToKinesis { /** - * Tags of the IoT site + * The cloud role ARN in AWS for this feature */ - tags?: { [propertyName: string]: string }; + cloudRoleArn?: string; } /** - * List of IoT sites + * The kinesis to s3 connection configuration */ -export interface IotSitesList { +export interface DefenderForContainersAwsOfferingKinesisToS3 { /** - * List data - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The cloud role ARN in AWS for this feature */ - readonly value?: IotSitesModel[]; + cloudRoleArn?: string; } /** - * IoT alert + * The Defender for Containers AWS offering configurations */ -export interface IotAlertModel extends Resource { +export interface DefenderForContainersAwsOffering { /** - * Holds the product canonical identifier of the alert within the scope of a product - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly systemAlertId?: string; + offeringType: "DefenderForContainersAws"; /** - * Display name of the main entity being reported on + * The offering description. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly compromisedEntity?: string; + readonly description?: string; /** - * The type name of the alert - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The kubernetes service connection configuration */ - readonly alertType?: string; + kubernetesService?: DefenderForContainersAwsOfferingKubernetesService; /** - * The impact start time of the alert (the time of the first event or activity included in the - * alert) - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The kubernetes to scuba connection configuration */ - readonly startTimeUtc?: string; + kubernetesScubaReader?: DefenderForContainersAwsOfferingKubernetesScubaReader; /** - * The impact end time of the alert (the time of the last event or activity included in the - * alert) - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The cloudwatch to kinesis connection configuration */ - readonly endTimeUtc?: string; + cloudWatchToKinesis?: DefenderForContainersAwsOfferingCloudWatchToKinesis; /** - * A list of entities related to the alert + * The kinesis to s3 connection configuration */ - entities?: any[]; + kinesisToS3?: DefenderForContainersAwsOfferingKinesisToS3; +} + +/** + * The Defender for servers connection configuration + */ +export interface DefenderForServersAwsOfferingDefenderForServers { /** - * A bag of fields which extends the alert information + * The cloud role ARN in AWS for this feature */ - extendedProperties?: any; + cloudRoleArn?: string; } /** - * IoT alert type. + * Metadata of Service Principal secret for autoprovisioning */ -export interface IotAlertType extends Resource { +export interface DefenderForServersAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata { /** - * The display name of the alert - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * expiration date of service principal secret */ - readonly alertDisplayName?: string; + expiryDate?: string; /** - * The severity of the alert. Possible values include: 'Informational', 'Low', 'Medium', 'High' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * region of parameter store where secret is kept */ - readonly severity?: AlertSeverity; + parameterStoreRegion?: string; /** - * Description of the suspected vulnerability and meaning. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * name of secret resource in parameter store */ - readonly description?: string; + parameterNameInStore?: string; +} + +/** + * The ARC autoprovisioning configuration + */ +export interface DefenderForServersAwsOfferingArcAutoProvisioning { /** - * The name of the alert provider or internal partner - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Is arc auto provisioning enabled */ - readonly providerName?: string; + enabled?: boolean; /** - * The name of the product which published this alert - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Metadata of Service Principal secret for autoprovisioning */ - readonly productName?: string; + servicePrincipalSecretMetadata?: DefenderForServersAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata; +} + +/** + * The Defender for Servers AWS offering configurations + */ +export interface DefenderForServersAwsOffering { /** - * The name of a component inside the product which generated the alert - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly productComponentName?: string; + offeringType: "DefenderForServersAWS"; /** - * The name of the vendor that raise the alert + * The offering description. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly vendorName?: string; + readonly description?: string; /** - * Kill chain related intent behind the alert. Could contain multiple enum values (separated by - * commas). Possible values include: 'Unknown', 'PreAttack', 'InitialAccess', 'Persistence', - * 'PrivilegeEscalation', 'DefenseEvasion', 'CredentialAccess', 'Discovery', 'LateralMovement', - * 'Execution', 'Collection', 'Exfiltration', 'CommandAndControl', 'Impact', 'Probing', - * 'Exploitation' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The Defender for servers connection configuration */ - readonly intent?: AlertIntent; + defenderForServers?: DefenderForServersAwsOfferingDefenderForServers; /** - * Manual action items to take to remediate the alert - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The ARC autoprovisioning configuration */ - readonly remediationSteps?: string[]; + arcAutoProvisioning?: DefenderForServersAwsOfferingArcAutoProvisioning; } /** - * List of alert types + * Optional Parameters. */ -export interface IotAlertTypeList { +export interface IotSecuritySolutionListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { /** - * List data + * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. */ - value?: IotAlertType[]; + filter?: string; } /** - * IoT recommendation + * Optional Parameters. */ -export interface IotRecommendationModel extends Resource { - /** - * Identifier of the device being reported on - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly deviceId?: string; - /** - * The type name of the recommendation - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly recommendationType?: string; - /** - * The discovery time of the recommendation - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly discoveredTimeUtc?: string; +export interface IotSecuritySolutionListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * A bag of fields which extends the recommendation information + * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. */ - recommendationAdditionalData?: any; + filter?: string; } /** - * IoT recommendation type. + * Optional Parameters. */ -export interface IotRecommendationType extends Resource { - /** - * The display name of the recommendation - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly recommendationDisplayName?: string; - /** - * The severity of the recommendation. Possible values include: 'Unknown', 'NotApplicable', - * 'Healthy', 'OffByPolicy', 'Low', 'Medium', 'High' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly severity?: RecommendationSeverity; - /** - * Description of the suspected vulnerability and meaning. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly description?: string; - /** - * The name of the product which published this recommendation - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly productName?: string; - /** - * The name of a component inside the product which generated the recommendation - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly productComponentName?: string; - /** - * The name of the vendor that raised the recommendation - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly vendorName?: string; - /** - * The name of the recommendation's control category - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly control?: string; - /** - * Manual action items to take to resolve the recommendation - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly remediationSteps?: string[]; +export interface IotSecuritySolutionListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { /** - * The alert's data source - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. */ - readonly dataSource?: string; + filter?: string; } /** - * List of recommendation types + * Optional Parameters. */ -export interface IotRecommendationTypeList { +export interface IotSecuritySolutionListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { /** - * List data + * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. */ - value?: IotRecommendationType[]; + filter?: string; } /** - * Contains the possible cases for ResourceIdentifier. - */ -export type ResourceIdentifierUnion = ResourceIdentifier | AzureResourceIdentifier | LogAnalyticsIdentifier; - -/** - * A resource identifier for an alert which can be used to direct the alert to the right product - * exposure group (tenant, workspace, subscription etc.). + * Optional Parameters. */ -export interface ResourceIdentifier { +export interface IotSecuritySolutionsAnalyticsAggregatedAlertListOptionalParams extends msRest.RequestOptionsBase { /** - * Polymorphic Discriminator + * Number of results to retrieve. */ - type: "ResourceIdentifier"; -} - -/** - * Changing set of properties depending on the entity type. - */ -export interface AlertEntity { - /** - * Type of entity - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Security alert - */ -export interface Alert extends Resource { - /** - * Unique identifier for the detection logic (all alert instances from the same detection logic - * will have the same alertType). - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly alertType?: string; - /** - * Unique identifier for the alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly systemAlertId?: string; - /** - * The name of Azure Security Center pricing tier which powering this alert. Learn more: - * https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly productComponentName?: string; - /** - * The display name of the alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly alertDisplayName?: string; - /** - * Description of the suspicious activity that was detected. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly description?: string; - /** - * The risk level of the threat that was detected. Learn more: - * https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified. - * Possible values include: 'Informational', 'Low', 'Medium', 'High' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly severity?: AlertSeverity; - /** - * The kill chain related intent behind the alert. For list of supported values, and explanations - * of Azure Security Center's supported kill chain intents. Possible values include: 'Unknown', - * 'PreAttack', 'InitialAccess', 'Persistence', 'PrivilegeEscalation', 'DefenseEvasion', - * 'CredentialAccess', 'Discovery', 'LateralMovement', 'Execution', 'Collection', 'Exfiltration', - * 'CommandAndControl', 'Impact', 'Probing', 'Exploitation' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly intent?: Intent; - /** - * The UTC time of the first event or activity included in the alert in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly startTimeUtc?: Date; - /** - * The UTC time of the last event or activity included in the alert in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly endTimeUtc?: Date; - /** - * The resource identifiers that can be used to direct the alert to the right product exposure - * group (tenant, workspace, subscription etc.). There can be multiple identifiers of different - * type per alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly resourceIdentifiers?: ResourceIdentifierUnion[]; - /** - * Manual action items to take to remediate the alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly remediationSteps?: string[]; - /** - * The name of the vendor that raises the alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly vendorName?: string; - /** - * The life cycle status of the alert. Possible values include: 'Active', 'Resolved', 'Dismissed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly status?: AlertStatus; - /** - * Links related to the alert - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly extendedLinks?: { [propertyName: string]: string }[]; - /** - * A direct link to the alert page in Azure Portal. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly alertUri?: string; - /** - * The UTC time the alert was generated in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly timeGeneratedUtc?: Date; - /** - * The name of the product which published this alert (Azure Security Center, Azure ATP, - * Microsoft Defender ATP, O365 ATP, MCAS, and so on). - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly productName?: string; - /** - * The UTC processing end time of the alert in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly processingEndTimeUtc?: Date; - /** - * A list of entities related to the alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly entities?: AlertEntity[]; - /** - * This field determines whether the alert is an incident (a compound grouping of several alerts) - * or a single alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly isIncident?: boolean; - /** - * Key for corelating related alerts. Alerts with the same correlation key considered to be - * related. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly correlationKey?: string; - /** - * Custom properties for the alert. - */ - extendedProperties?: { [propertyName: string]: string }; - /** - * The display name of the resource most related to this alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly compromisedEntity?: string; -} - -/** - * Azure resource identifier. - */ -export interface AzureResourceIdentifier { - /** - * Polymorphic Discriminator - */ - type: "AzureResource"; - /** - * ARM resource identifier for the cloud resource being alerted on - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly azureResourceId?: string; -} - -/** - * Represents a Log Analytics workspace scope identifier. - */ -export interface LogAnalyticsIdentifier { - /** - * Polymorphic Discriminator - */ - type: "LogAnalytics"; - /** - * The LogAnalytics workspace id that stores this alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly workspaceId?: string; - /** - * The azure subscription id for the LogAnalytics workspace storing this alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly workspaceSubscriptionId?: string; - /** - * The azure resource group for the LogAnalytics workspace storing this alert - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly workspaceResourceGroup?: string; - /** - * (optional) The LogAnalytics agent id reporting the event that this alert is based on. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly agentId?: string; -} - -/** - * Contains the possible cases for AlertSimulatorRequestProperties. - */ -export type AlertSimulatorRequestPropertiesUnion = AlertSimulatorRequestProperties | AlertSimulatorBundlesRequestProperties; - -/** - * Describes properties of an alert simulation request - */ -export interface AlertSimulatorRequestProperties { - /** - * Polymorphic Discriminator - */ - kind: "AlertSimulatorRequestProperties"; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Alert Simulator request body. - */ -export interface AlertSimulatorRequestBody { - /** - * Alert Simulator request body data. - */ - properties?: AlertSimulatorRequestPropertiesUnion; -} - -/** - * Simulate alerts according to this bundles. - */ -export interface AlertSimulatorBundlesRequestProperties { - /** - * Polymorphic Discriminator - */ - kind: "Bundles"; - /** - * Bundles list. - */ - bundles?: BundleType[]; -} - -/** - * Contains the possible cases for Setting. - */ -export type SettingUnion = Setting | DataExportSettings | AlertSyncSettings; - -/** - * The kind of the security setting - */ -export interface Setting { - /** - * Polymorphic Discriminator - */ - kind: "Setting"; - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; -} - -/** - * Represents a data export setting - */ -export interface DataExportSettings { - /** - * Polymorphic Discriminator - */ - kind: "DataExportSettings"; - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * Is the data export setting enabled - */ - enabled: boolean; -} - -/** - * Represents an alert sync setting - */ -export interface AlertSyncSettings { - /** - * Polymorphic Discriminator - */ - kind: "AlertSyncSettings"; - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * Is the alert sync setting enabled - */ - enabled: boolean; -} - -/** - * Configures how to correlate scan data and logs with resources associated with the subscription. - */ -export interface IngestionSetting extends Resource { - /** - * Ingestion setting data - */ - properties?: any; -} - -/** - * Configures how to correlate scan data and logs with resources associated with the subscription. - */ -export interface IngestionSettingToken { - /** - * The token is used for correlating security data and logs with the resources in the - * subscription. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly token?: string; -} - -/** - * Connection string for ingesting security data and logs - */ -export interface IngestionConnectionString { - /** - * The region where ingested logs and data resides - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly location?: string; - /** - * Connection string value - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly value?: string; -} - -/** - * Connection string for ingesting security data and logs - */ -export interface ConnectionStrings { - /** - * Connection strings - */ - value: IngestionConnectionString[]; -} - -/** - * Represents a software data - */ -export interface Software extends Resource { - /** - * Unique identifier for the virtual machine in the service. - */ - deviceId?: string; - /** - * Platform of the operating system running on the device. - */ - osPlatform?: string; - /** - * Name of the software vendor. - */ - vendor?: string; - /** - * Name of the software product. - */ - softwareName?: string; - /** - * Version number of the software product. - */ - version?: string; - /** - * End of support status. Possible values include: 'None', 'noLongerSupported', - * 'versionNoLongerSupported', 'upcomingNoLongerSupported', 'upcomingVersionNoLongerSupported' - */ - endOfSupportStatus?: EndOfSupportStatus; - /** - * The end of support date in case the product is upcoming end of support. - */ - endOfSupportDate?: string; - /** - * Number of weaknesses. - */ - numberOfKnownVulnerabilities?: number; - /** - * First time that the software was seen in the device. - */ - firstSeenAt?: string; -} - -/** - * Optional Parameters. - */ -export interface IotSecuritySolutionListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { - /** - * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. - */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface IotSecuritySolutionListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { - /** - * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. - */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface IotSecuritySolutionListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { - /** - * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. - */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface IotSecuritySolutionListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { - /** - * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. - */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface IotSecuritySolutionsAnalyticsAggregatedAlertListOptionalParams extends msRest.RequestOptionsBase { - /** - * Number of results to retrieve. - */ - top?: number; + top?: number; } /** @@ -6006,273 +5692,83 @@ export interface AlertsSuppressionRulesListNextOptionalParams extends msRest.Req */ export interface AssessmentsGetOptionalParams extends msRest.RequestOptionsBase { /** - * OData expand. Optional. Possible values include: 'links', 'metadata' - */ - expand?: ExpandEnum; -} - -/** - * Optional Parameters. - */ -export interface AdaptiveApplicationControlsListOptionalParams extends msRest.RequestOptionsBase { - /** - * Include the policy rules - */ - includePathRecommendations?: boolean; - /** - * Return output in a summarized form - */ - summary?: boolean; -} - -/** - * Optional Parameters. - */ -export interface SecureScoreControlsListBySecureScoreOptionalParams extends msRest.RequestOptionsBase { - /** - * OData expand. Optional. Possible values include: 'definition' - */ - expand?: ExpandControlsEnum; -} - -/** - * Optional Parameters. - */ -export interface SecureScoreControlsListOptionalParams extends msRest.RequestOptionsBase { - /** - * OData expand. Optional. Possible values include: 'definition' - */ - expand?: ExpandControlsEnum; -} - -/** - * Optional Parameters. - */ -export interface SecureScoreControlsListBySecureScoreNextOptionalParams extends msRest.RequestOptionsBase { - /** - * OData expand. Optional. Possible values include: 'definition' - */ - expand?: ExpandControlsEnum; -} - -/** - * Optional Parameters. - */ -export interface SecureScoreControlsListNextOptionalParams extends msRest.RequestOptionsBase { - /** - * OData expand. Optional. Possible values include: 'definition' - */ - expand?: ExpandControlsEnum; -} - -/** - * Optional Parameters. - */ -export interface SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * The baseline results for this rule. - */ - body?: RuleResultsInput; -} - -/** - * Optional Parameters. - */ -export interface SqlVulnerabilityAssessmentBaselineRulesAddOptionalParams extends msRest.RequestOptionsBase { - /** - * The baseline rules. - */ - body?: RulesResultsInput; -} - -/** - * Optional Parameters. - */ -export interface DevicesForSubscriptionListOptionalParams extends msRest.RequestOptionsBase { - /** - * Limit the number of items returned in a single page - */ - limit?: number; - /** - * Skip token used for pagination - */ - skipToken?: string; - /** - * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', - * 'Unmanaged' + * OData expand. Optional. Possible values include: 'links', 'metadata' */ - deviceManagementType?: ManagementState; + expand?: ExpandEnum; } /** * Optional Parameters. */ -export interface DevicesForSubscriptionListNextOptionalParams extends msRest.RequestOptionsBase { - /** - * Limit the number of items returned in a single page - */ - limit?: number; +export interface AdaptiveApplicationControlsListOptionalParams extends msRest.RequestOptionsBase { /** - * Skip token used for pagination + * Include the policy rules */ - skipToken?: string; + includePathRecommendations?: boolean; /** - * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', - * 'Unmanaged' + * Return output in a summarized form */ - deviceManagementType?: ManagementState; + summary?: boolean; } /** * Optional Parameters. */ -export interface DevicesForHubListOptionalParams extends msRest.RequestOptionsBase { - /** - * Limit the number of items returned in a single page - */ - limit?: number; - /** - * Skip token used for pagination - */ - skipToken?: string; +export interface SecureScoreControlsListBySecureScoreOptionalParams extends msRest.RequestOptionsBase { /** - * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', - * 'Unmanaged' + * OData expand. Optional. Possible values include: 'definition' */ - deviceManagementType?: ManagementState; + expand?: ExpandControlsEnum; } /** * Optional Parameters. */ -export interface DevicesForHubListNextOptionalParams extends msRest.RequestOptionsBase { - /** - * Limit the number of items returned in a single page - */ - limit?: number; - /** - * Skip token used for pagination - */ - skipToken?: string; +export interface SecureScoreControlsListOptionalParams extends msRest.RequestOptionsBase { /** - * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', - * 'Unmanaged' + * OData expand. Optional. Possible values include: 'definition' */ - deviceManagementType?: ManagementState; + expand?: ExpandControlsEnum; } /** * Optional Parameters. */ -export interface IotAlertsListOptionalParams extends msRest.RequestOptionsBase { - /** - * Filter by minimum startTimeUtc (ISO 8601 format) - */ - minStartTimeUtc?: string; - /** - * Filter by maximum startTimeUtc (ISO 8601 format) - */ - maxStartTimeUtc?: string; - /** - * Filter by alert type - */ - alertType?: string; - /** - * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', - * 'Unmanaged' - */ - deviceManagementType?: ManagementState; - /** - * Filter by compromised device - */ - compromisedEntity?: string; - /** - * Limit the number of items returned in a single page - */ - limit?: number; +export interface SecureScoreControlsListBySecureScoreNextOptionalParams extends msRest.RequestOptionsBase { /** - * Skip token used for pagination + * OData expand. Optional. Possible values include: 'definition' */ - skipToken?: string; + expand?: ExpandControlsEnum; } /** * Optional Parameters. */ -export interface IotAlertsListNextOptionalParams extends msRest.RequestOptionsBase { - /** - * Filter by minimum startTimeUtc (ISO 8601 format) - */ - minStartTimeUtc?: string; - /** - * Filter by maximum startTimeUtc (ISO 8601 format) - */ - maxStartTimeUtc?: string; - /** - * Filter by alert type - */ - alertType?: string; - /** - * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', - * 'Unmanaged' - */ - deviceManagementType?: ManagementState; - /** - * Filter by compromised device - */ - compromisedEntity?: string; - /** - * Limit the number of items returned in a single page - */ - limit?: number; +export interface SecureScoreControlsListNextOptionalParams extends msRest.RequestOptionsBase { /** - * Skip token used for pagination + * OData expand. Optional. Possible values include: 'definition' */ - skipToken?: string; + expand?: ExpandControlsEnum; } /** * Optional Parameters. */ -export interface IotRecommendationsListOptionalParams extends msRest.RequestOptionsBase { - /** - * Filter by recommendation type - */ - recommendationType?: string; - /** - * Filter by device id - */ - deviceId?: string; - /** - * Limit the number of items returned in a single page - */ - limit?: number; +export interface SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * Skip token used for pagination + * The baseline results for this rule. */ - skipToken?: string; + body?: RuleResultsInput; } /** * Optional Parameters. */ -export interface IotRecommendationsListNextOptionalParams extends msRest.RequestOptionsBase { - /** - * Filter by recommendation type - */ - recommendationType?: string; - /** - * Filter by device id - */ - deviceId?: string; - /** - * Limit the number of items returned in a single page - */ - limit?: number; +export interface SqlVulnerabilityAssessmentBaselineRulesAddOptionalParams extends msRest.RequestOptionsBase { /** - * Skip token used for pagination + * The baseline rules. */ - skipToken?: string; + body?: RulesResultsInput; } /** @@ -6282,6 +5778,30 @@ export interface SecurityCenterOptions extends AzureServiceClientOptions { baseUri?: string; } +/** + * @interface + * A list of Custom Assessment Automations + * @extends Array + */ +export interface CustomAssessmentAutomationsListResult extends Array { + /** + * The link used to get the next page of operations. + */ + nextLink?: string; +} + +/** + * @interface + * A list of custom entity store assignments + * @extends Array + */ +export interface CustomEntityStoreAssignmentsListResult extends Array { + /** + * The link used to get the next page of operations. + */ + nextLink?: string; +} + /** * @interface * List of compliance results response @@ -6532,9 +6052,9 @@ export interface AlertsSuppressionRulesList extends Array /** * @interface * List of security assessment metadata - * @extends Array + * @extends Array */ -export interface SecurityAssessmentMetadataList extends Array { +export interface SecurityAssessmentMetadataResponseList extends Array { /** * The URI to fetch the next page. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -6545,9 +6065,9 @@ export interface SecurityAssessmentMetadataList extends Array + * @extends Array */ -export interface SecurityAssessmentList extends Array { +export interface SecurityAssessmentList extends Array { /** * The URI to fetch the next page. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -6699,12 +6219,12 @@ export interface ConnectorSettingList extends Array { /** * @interface - * List of Devices - * @extends Array + * List of security alerts + * @extends Array */ -export interface DeviceList extends Array { +export interface AlertList extends Array { /** - * When there are too many devices for one page, use this URI to fetch the next page. + * The URI to fetch the next page. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; @@ -6712,12 +6232,12 @@ export interface DeviceList extends Array { /** * @interface - * List of IoT alerts - * @extends Array + * Subscription settings list. + * @extends Array */ -export interface IotAlertListModel extends Array { +export interface SettingsList extends Array { /** - * When available, follow the URI to get the next page of data + * The URI to fetch the next page. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; @@ -6725,12 +6245,12 @@ export interface IotAlertListModel extends Array { /** * @interface - * List of IoT recommendations - * @extends Array + * List of ingestion settings + * @extends Array */ -export interface IotRecommendationListModel extends Array { +export interface IngestionSettingList extends Array { /** - * When available, follow the URI to get the next page of data + * The URI to fetch the next page. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; @@ -6738,10 +6258,10 @@ export interface IotRecommendationListModel extends Array + * Represents the software inventory of the virtual machine. + * @extends Array */ -export interface AlertList extends Array { +export interface SoftwaresList extends Array { /** * The URI to fetch the next page. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -6751,10 +6271,10 @@ export interface AlertList extends Array { /** * @interface - * Subscription settings list. - * @extends Array + * List of security connectors response. + * @extends Array */ -export interface SettingsList extends Array { +export interface SecurityConnectorsList extends Array { /** * The URI to fetch the next page. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -6763,30 +6283,44 @@ export interface SettingsList extends Array { } /** - * @interface - * List of ingestion settings - * @extends Array + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} */ -export interface IngestionSettingList extends Array { - /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; /** - * @interface - * Represents the software inventory of the virtual machine. - * @extends Array + * Defines values for SupportedCloudEnum. + * Possible values include: 'AWS' + * @readonly + * @enum {string} */ -export interface SoftwaresList extends Array { - /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} +export type SupportedCloudEnum = 'AWS'; + +/** + * Defines values for SeverityEnum. + * Possible values include: 'High', 'Medium', 'Low' + * @readonly + * @enum {string} + */ +export type SeverityEnum = 'High' | 'Medium' | 'Low'; + +/** + * Defines values for UserImpactEnum. + * Possible values include: 'High', 'Moderate', 'Low' + * @readonly + * @enum {string} + */ +export type UserImpactEnum = 'High' | 'Moderate' | 'Low'; + +/** + * Defines values for ImplementationEffortEnum. + * Possible values include: 'High', 'Moderate', 'Low' + * @readonly + * @enum {string} + */ +export type ImplementationEffortEnum = 'High' | 'Moderate' | 'Low'; /** * Defines values for ResourceStatus. @@ -6881,14 +6415,6 @@ export type AdditionalWorkspaceType = 'Sentinel'; */ export type AdditionalWorkspaceDataType = 'Alerts' | 'RawEvents'; -/** - * Defines values for CreatedByType. - * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' - * @readonly - * @enum {string} - */ -export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; - /** * Defines values for ReportedSeverity. * Possible values include: 'Informational', 'Low', 'Medium', 'High' @@ -6955,13 +6481,14 @@ export type Severity = 'Low' | 'Medium' | 'High'; /** * Defines values for EventSource. - * Possible values include: 'Assessments', 'SubAssessments', 'Alerts', 'SecureScores', - * 'SecureScoresSnapshot', 'SecureScoreControls', 'SecureScoreControlsSnapshot', - * 'RegulatoryComplianceAssessment', 'RegulatoryComplianceAssessmentSnapshot' + * Possible values include: 'Assessments', 'AssessmentsSnapshot', 'SubAssessments', + * 'SubAssessmentsSnapshot', 'Alerts', 'SecureScores', 'SecureScoresSnapshot', + * 'SecureScoreControls', 'SecureScoreControlsSnapshot', 'RegulatoryComplianceAssessment', + * 'RegulatoryComplianceAssessmentSnapshot' * @readonly * @enum {string} */ -export type EventSource = 'Assessments' | 'SubAssessments' | 'Alerts' | 'SecureScores' | 'SecureScoresSnapshot' | 'SecureScoreControls' | 'SecureScoreControlsSnapshot' | 'RegulatoryComplianceAssessment' | 'RegulatoryComplianceAssessmentSnapshot'; +export type EventSource = 'Assessments' | 'AssessmentsSnapshot' | 'SubAssessments' | 'SubAssessmentsSnapshot' | 'Alerts' | 'SecureScores' | 'SecureScoresSnapshot' | 'SecureScoreControls' | 'SecureScoreControlsSnapshot' | 'RegulatoryComplianceAssessment' | 'RegulatoryComplianceAssessmentSnapshot'; /** * Defines values for PropertyType. @@ -6988,6 +6515,54 @@ export type Operator = 'Equals' | 'GreaterThan' | 'GreaterThanOrEqualTo' | 'Less */ export type RuleState = 'Enabled' | 'Disabled' | 'Expired'; +/** + * Defines values for Tactics. + * Possible values include: 'Reconnaissance', 'Resource Development', 'Initial Access', + * 'Execution', 'Persistence', 'Privilege Escalation', 'Defense Evasion', 'Credential Access', + * 'Discovery', 'Lateral Movement', 'Collection', 'Command and Control', 'Exfiltration', 'Impact' + * @readonly + * @enum {string} + */ +export type Tactics = 'Reconnaissance' | 'Resource Development' | 'Initial Access' | 'Execution' | 'Persistence' | 'Privilege Escalation' | 'Defense Evasion' | 'Credential Access' | 'Discovery' | 'Lateral Movement' | 'Collection' | 'Command and Control' | 'Exfiltration' | 'Impact'; + +/** + * Defines values for Techniques. + * Possible values include: 'Abuse Elevation Control Mechanism', 'Access Token Manipulation', + * 'Account Discovery', 'Account Manipulation', 'Active Scanning', 'Application Layer Protocol', + * 'Audio Capture', 'Boot or Logon Autostart Execution', 'Boot or Logon Initialization Scripts', + * 'Brute Force', 'Cloud Infrastructure Discovery', 'Cloud Service Dashboard', 'Cloud Service + * Discovery', 'Command and Scripting Interpreter', 'Compromise Client Software Binary', + * 'Compromise Infrastructure', 'Container and Resource Discovery', 'Create Account', 'Create or + * Modify System Process', 'Credentials from Password Stores', 'Data Destruction', 'Data Encrypted + * for Impact', 'Data from Cloud Storage Object', 'Data from Configuration Repository', 'Data from + * Information Repositories', 'Data from Local System', 'Data Manipulation', 'Data Staged', + * 'Defacement', 'Deobfuscate/Decode Files or Information', 'Disk Wipe', 'Domain Trust Discovery', + * 'Drive-by Compromise', 'Dynamic Resolution', 'Endpoint Denial of Service', 'Event Triggered + * Execution', 'Exfiltration Over Alternative Protocol', 'Exploit Public-Facing Application', + * 'Exploitation for Client Execution', 'Exploitation for Credential Access', 'Exploitation for + * Defense Evasion', 'Exploitation for Privilege Escalation', 'Exploitation of Remote Services', + * 'External Remote Services', 'Fallback Channels', 'File and Directory Discovery', 'Gather Victim + * Network Information', 'Hide Artifacts', 'Hijack Execution Flow', 'Impair Defenses', 'Implant + * Container Image', 'Indicator Removal on Host', 'Indirect Command Execution', 'Ingress Tool + * Transfer', 'Input Capture', 'Inter-Process Communication', 'Lateral Tool Transfer', + * 'Man-in-the-Middle', 'Masquerading', 'Modify Authentication Process', 'Modify Registry', + * 'Network Denial of Service', 'Network Service Scanning', 'Network Sniffing', 'Non-Application + * Layer Protocol', 'Non-Standard Port', 'Obtain Capabilities', 'Obfuscated Files or Information', + * 'Office Application Startup', 'OS Credential Dumping', 'Permission Groups Discovery', + * 'Phishing', 'Pre-OS Boot', 'Process Discovery', 'Process Injection', 'Protocol Tunneling', + * 'Proxy', 'Query Registry', 'Remote Access Software', 'Remote Service Session Hijacking', 'Remote + * Services', 'Remote System Discovery', 'Resource Hijacking', 'Scheduled Task/Job', 'Screen + * Capture', 'Search Victim-Owned Websites', 'Server Software Component', 'Service Stop', 'Signed + * Binary Proxy Execution', 'Software Deployment Tools', 'SQL Stored Procedures', 'Steal or Forge + * Kerberos Tickets', 'Subvert Trust Controls', 'Supply Chain Compromise', 'System Information + * Discovery', 'Taint Shared Content', 'Traffic Signaling', 'Transfer Data to Cloud Account', + * 'Trusted Relationship', 'Unsecured Credentials', 'User Execution', 'Valid Accounts', 'Windows + * Management Instrumentation', 'File and Directory Permissions Modification' + * @readonly + * @enum {string} + */ +export type Techniques = 'Abuse Elevation Control Mechanism' | 'Access Token Manipulation' | 'Account Discovery' | 'Account Manipulation' | 'Active Scanning' | 'Application Layer Protocol' | 'Audio Capture' | 'Boot or Logon Autostart Execution' | 'Boot or Logon Initialization Scripts' | 'Brute Force' | 'Cloud Infrastructure Discovery' | 'Cloud Service Dashboard' | 'Cloud Service Discovery' | 'Command and Scripting Interpreter' | 'Compromise Client Software Binary' | 'Compromise Infrastructure' | 'Container and Resource Discovery' | 'Create Account' | 'Create or Modify System Process' | 'Credentials from Password Stores' | 'Data Destruction' | 'Data Encrypted for Impact' | 'Data from Cloud Storage Object' | 'Data from Configuration Repository' | 'Data from Information Repositories' | 'Data from Local System' | 'Data Manipulation' | 'Data Staged' | 'Defacement' | 'Deobfuscate/Decode Files or Information' | 'Disk Wipe' | 'Domain Trust Discovery' | 'Drive-by Compromise' | 'Dynamic Resolution' | 'Endpoint Denial of Service' | 'Event Triggered Execution' | 'Exfiltration Over Alternative Protocol' | 'Exploit Public-Facing Application' | 'Exploitation for Client Execution' | 'Exploitation for Credential Access' | 'Exploitation for Defense Evasion' | 'Exploitation for Privilege Escalation' | 'Exploitation of Remote Services' | 'External Remote Services' | 'Fallback Channels' | 'File and Directory Discovery' | 'Gather Victim Network Information' | 'Hide Artifacts' | 'Hijack Execution Flow' | 'Impair Defenses' | 'Implant Container Image' | 'Indicator Removal on Host' | 'Indirect Command Execution' | 'Ingress Tool Transfer' | 'Input Capture' | 'Inter-Process Communication' | 'Lateral Tool Transfer' | 'Man-in-the-Middle' | 'Masquerading' | 'Modify Authentication Process' | 'Modify Registry' | 'Network Denial of Service' | 'Network Service Scanning' | 'Network Sniffing' | 'Non-Application Layer Protocol' | 'Non-Standard Port' | 'Obtain Capabilities' | 'Obfuscated Files or Information' | 'Office Application Startup' | 'OS Credential Dumping' | 'Permission Groups Discovery' | 'Phishing' | 'Pre-OS Boot' | 'Process Discovery' | 'Process Injection' | 'Protocol Tunneling' | 'Proxy' | 'Query Registry' | 'Remote Access Software' | 'Remote Service Session Hijacking' | 'Remote Services' | 'Remote System Discovery' | 'Resource Hijacking' | 'Scheduled Task/Job' | 'Screen Capture' | 'Search Victim-Owned Websites' | 'Server Software Component' | 'Service Stop' | 'Signed Binary Proxy Execution' | 'Software Deployment Tools' | 'SQL Stored Procedures' | 'Steal or Forge Kerberos Tickets' | 'Subvert Trust Controls' | 'Supply Chain Compromise' | 'System Information Discovery' | 'Taint Shared Content' | 'Traffic Signaling' | 'Transfer Data to Cloud Account' | 'Trusted Relationship' | 'Unsecured Credentials' | 'User Execution' | 'Valid Accounts' | 'Windows Management Instrumentation' | 'File and Directory Permissions Modification'; + /** * Defines values for Categories. * Possible values include: 'Compute', 'Networking', 'Data', 'IdentityAndAccess', 'IoT' @@ -7176,152 +6751,20 @@ export type RuleStatus = 'NonFinding' | 'Finding' | 'InternalError'; export type RuleSeverity = 'High' | 'Medium' | 'Low' | 'Informational' | 'Obsolete'; /** - * Defines values for RuleType. - * Possible values include: 'Binary', 'BaselineExpected', 'PositiveList', 'NegativeList' - * @readonly - * @enum {string} - */ -export type RuleType = 'Binary' | 'BaselineExpected' | 'PositiveList' | 'NegativeList'; - -/** - * Defines values for OnboardingKind. - * Possible values include: 'Default', 'MigratedToAzure', 'Evaluation', 'Purchased' - * @readonly - * @enum {string} - */ -export type OnboardingKind = 'Default' | 'MigratedToAzure' | 'Evaluation' | 'Purchased'; - -/** - * Defines values for VersionKind. - * Possible values include: 'Latest', 'Previous', 'Preview' - * @readonly - * @enum {string} - */ -export type VersionKind = 'Latest' | 'Previous' | 'Preview'; - -/** - * Defines values for SensorStatus. - * Possible values include: 'Ok', 'Disconnected', 'Unavailable' - * @readonly - * @enum {string} - */ -export type SensorStatus = 'Ok' | 'Disconnected' | 'Unavailable'; - -/** - * Defines values for TiStatus. - * Possible values include: 'Ok', 'Failed', 'InProgress', 'UpdateAvailable' - * @readonly - * @enum {string} - */ -export type TiStatus = 'Ok' | 'Failed' | 'InProgress' | 'UpdateAvailable'; - -/** - * Defines values for SensorType. - * Possible values include: 'Ot', 'Enterprise' - * @readonly - * @enum {string} - */ -export type SensorType = 'Ot' | 'Enterprise'; - -/** - * Defines values for MacSignificance. - * Possible values include: 'Primary', 'Secondary' - * @readonly - * @enum {string} - */ -export type MacSignificance = 'Primary' | 'Secondary'; - -/** - * Defines values for RelationToIpStatus. - * Possible values include: 'Guess', 'Certain' - * @readonly - * @enum {string} - */ -export type RelationToIpStatus = 'Guess' | 'Certain'; - -/** - * Defines values for ManagementState. - * Possible values include: 'Managed', 'Unmanaged' - * @readonly - * @enum {string} - */ -export type ManagementState = 'Managed' | 'Unmanaged'; - -/** - * Defines values for AuthorizationState. - * Possible values include: 'Authorized', 'Unauthorized' - * @readonly - * @enum {string} - */ -export type AuthorizationState = 'Authorized' | 'Unauthorized'; - -/** - * Defines values for DeviceCriticality. - * Possible values include: 'Important', 'Standard' - * @readonly - * @enum {string} - */ -export type DeviceCriticality = 'Important' | 'Standard'; - -/** - * Defines values for PurdueLevel. - * Possible values include: 'ProcessControl', 'Supervisory', 'Enterprise' - * @readonly - * @enum {string} - */ -export type PurdueLevel = 'ProcessControl' | 'Supervisory' | 'Enterprise'; - -/** - * Defines values for ProgrammingState. - * Possible values include: 'ProgrammingDevice', 'NotProgrammingDevice' - * @readonly - * @enum {string} - */ -export type ProgrammingState = 'ProgrammingDevice' | 'NotProgrammingDevice'; - -/** - * Defines values for ScanningFunctionality. - * Possible values include: 'ScannerDevice', 'NotScannerDevice' - * @readonly - * @enum {string} - */ -export type ScanningFunctionality = 'ScannerDevice' | 'NotScannerDevice'; - -/** - * Defines values for DeviceStatus. - * Possible values include: 'Active', 'Removed' - * @readonly - * @enum {string} - */ -export type DeviceStatus = 'Active' | 'Removed'; - -/** - * Defines values for AlertSeverity. - * Possible values include: 'Informational', 'Low', 'Medium', 'High' - * @readonly - * @enum {string} - */ -export type AlertSeverity = 'Informational' | 'Low' | 'Medium' | 'High'; - -/** - * Defines values for AlertIntent. - * Possible values include: 'Unknown', 'PreAttack', 'InitialAccess', 'Persistence', - * 'PrivilegeEscalation', 'DefenseEvasion', 'CredentialAccess', 'Discovery', 'LateralMovement', - * 'Execution', 'Collection', 'Exfiltration', 'CommandAndControl', 'Impact', 'Probing', - * 'Exploitation' + * Defines values for RuleType. + * Possible values include: 'Binary', 'BaselineExpected', 'PositiveList', 'NegativeList' * @readonly * @enum {string} */ -export type AlertIntent = 'Unknown' | 'PreAttack' | 'InitialAccess' | 'Persistence' | 'PrivilegeEscalation' | 'DefenseEvasion' | 'CredentialAccess' | 'Discovery' | 'LateralMovement' | 'Execution' | 'Collection' | 'Exfiltration' | 'CommandAndControl' | 'Impact' | 'Probing' | 'Exploitation'; +export type RuleType = 'Binary' | 'BaselineExpected' | 'PositiveList' | 'NegativeList'; /** - * Defines values for RecommendationSeverity. - * Possible values include: 'Unknown', 'NotApplicable', 'Healthy', 'OffByPolicy', 'Low', 'Medium', - * 'High' + * Defines values for AlertSeverity. + * Possible values include: 'Informational', 'Low', 'Medium', 'High' * @readonly * @enum {string} */ -export type RecommendationSeverity = 'Unknown' | 'NotApplicable' | 'Healthy' | 'OffByPolicy' | 'Low' | 'Medium' | 'High'; +export type AlertSeverity = 'Informational' | 'Low' | 'Medium' | 'High'; /** * Defines values for Intent. @@ -7360,6 +6803,22 @@ export type BundleType = 'AppServices' | 'DNS' | 'KeyVaults' | 'KubernetesServic */ export type EndOfSupportStatus = 'None' | 'noLongerSupported' | 'versionNoLongerSupported' | 'upcomingNoLongerSupported' | 'upcomingVersionNoLongerSupported'; +/** + * Defines values for CloudName. + * Possible values include: 'Azure', 'AWS', 'GCP' + * @readonly + * @enum {string} + */ +export type CloudName = 'Azure' | 'AWS' | 'GCP'; + +/** + * Defines values for OrganizationMembershipType. + * Possible values include: 'Member', 'Organization' + * @readonly + * @enum {string} + */ +export type OrganizationMembershipType = 'Member' | 'Organization'; + /** * Defines values for ExpandEnum. * Possible values include: 'links', 'metadata' @@ -7479,371 +6938,111 @@ export type Action = 'Recommended' | 'Add' | 'Remove'; * Possible values include: 'File', 'FileHash', 'PublisherSignature', 'ProductSignature', * 'BinarySignature', 'VersionAndAboveSignature' * @readonly - * @enum {string} - */ -export type Type = 'File' | 'FileHash' | 'PublisherSignature' | 'ProductSignature' | 'BinarySignature' | 'VersionAndAboveSignature'; - -/** - * Defines values for FileType. - * Possible values include: 'Exe', 'Dll', 'Msi', 'Script', 'Executable', 'Unknown' - * @readonly - * @enum {string} - */ -export type FileType = 'Exe' | 'Dll' | 'Msi' | 'Script' | 'Executable' | 'Unknown'; - -/** - * Defines values for ConfigurationStatus1. - * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' - * @readonly - * @enum {string} - */ -export type ConfigurationStatus1 = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; - -/** - * Defines values for EnforcementMode. - * Possible values include: 'Audit', 'Enforce', 'None' - * @readonly - * @enum {string} - */ -export type EnforcementMode = 'Audit' | 'Enforce' | 'None'; - -/** - * Defines values for ConfigurationStatus2. - * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' - * @readonly - * @enum {string} - */ -export type ConfigurationStatus2 = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; - -/** - * Defines values for RecommendationStatus. - * Possible values include: 'Recommended', 'NotRecommended', 'NotAvailable', 'NoStatus' - * @readonly - * @enum {string} - */ -export type RecommendationStatus = 'Recommended' | 'NotRecommended' | 'NotAvailable' | 'NoStatus'; - -/** - * Defines values for SourceSystem. - * Possible values include: 'Azure_AppLocker', 'Azure_AuditD', 'NonAzure_AppLocker', - * 'NonAzure_AuditD', 'None' - * @readonly - * @enum {string} - */ -export type SourceSystem = 'Azure_AppLocker' | 'Azure_AuditD' | 'NonAzure_AppLocker' | 'NonAzure_AuditD' | 'None'; - -/** - * Defines values for TaskUpdateActionType. - * Possible values include: 'Activate', 'Dismiss', 'Start', 'Resolve', 'Close' - * @readonly - * @enum {string} - */ -export type TaskUpdateActionType = 'Activate' | 'Dismiss' | 'Start' | 'Resolve' | 'Close'; - -/** - * Defines values for TaskUpdateActionType1. - * Possible values include: 'Activate', 'Dismiss', 'Start', 'Resolve', 'Close' - * @readonly - * @enum {string} - */ -export type TaskUpdateActionType1 = 'Activate' | 'Dismiss' | 'Start' | 'Resolve' | 'Close'; - -/** - * Defines values for InformationProtectionPolicyName. - * Possible values include: 'effective', 'custom' - * @readonly - * @enum {string} - */ -export type InformationProtectionPolicyName = 'effective' | 'custom'; - -/** - * Defines values for InformationProtectionPolicyName1. - * Possible values include: 'effective', 'custom' - * @readonly - * @enum {string} - */ -export type InformationProtectionPolicyName1 = 'effective' | 'custom'; - -/** - * Defines values for SettingName. - * Possible values include: 'MCAS', 'WDATP', 'Sentinel' - * @readonly - * @enum {string} - */ -export type SettingName = 'MCAS' | 'WDATP' | 'Sentinel'; - -/** - * Defines values for SettingName1. - * Possible values include: 'MCAS', 'WDATP', 'Sentinel' - * @readonly - * @enum {string} - */ -export type SettingName1 = 'MCAS' | 'WDATP' | 'Sentinel'; - -/** - * Contains response data for the list operation. - */ -export type ComplianceResultsListResponse = ComplianceResultList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ComplianceResultList; - }; -}; - -/** - * Contains response data for the get operation. - */ -export type ComplianceResultsGetResponse = ComplianceResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ComplianceResult; - }; -}; - -/** - * Contains response data for the listNext operation. - */ -export type ComplianceResultsListNextResponse = ComplianceResultList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ComplianceResultList; - }; -}; - -/** - * Contains response data for the list operation. - */ -export type PricingsListResponse = PricingList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PricingList; - }; -}; - -/** - * Contains response data for the get operation. - */ -export type PricingsGetResponse = Pricing & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: Pricing; - }; -}; - -/** - * Contains response data for the update operation. - */ -export type PricingsUpdateResponse = Pricing & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: Pricing; - }; -}; - -/** - * Contains response data for the get operation. - */ -export type AdvancedThreatProtectionGetResponse = AdvancedThreatProtectionSetting & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: AdvancedThreatProtectionSetting; - }; -}; + * @enum {string} + */ +export type Type = 'File' | 'FileHash' | 'PublisherSignature' | 'ProductSignature' | 'BinarySignature' | 'VersionAndAboveSignature'; /** - * Contains response data for the create operation. + * Defines values for FileType. + * Possible values include: 'Exe', 'Dll', 'Msi', 'Script', 'Executable', 'Unknown' + * @readonly + * @enum {string} */ -export type AdvancedThreatProtectionCreateResponse = AdvancedThreatProtectionSetting & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; +export type FileType = 'Exe' | 'Dll' | 'Msi' | 'Script' | 'Executable' | 'Unknown'; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AdvancedThreatProtectionSetting; - }; -}; +/** + * Defines values for ConfigurationStatus1. + * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' + * @readonly + * @enum {string} + */ +export type ConfigurationStatus1 = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; /** - * Contains response data for the list operation. + * Defines values for EnforcementMode. + * Possible values include: 'Audit', 'Enforce', 'None' + * @readonly + * @enum {string} */ -export type DeviceSecurityGroupsListResponse = DeviceSecurityGroupList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; +export type EnforcementMode = 'Audit' | 'Enforce' | 'None'; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DeviceSecurityGroupList; - }; -}; +/** + * Defines values for ConfigurationStatus2. + * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' + * @readonly + * @enum {string} + */ +export type ConfigurationStatus2 = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; /** - * Contains response data for the get operation. + * Defines values for RecommendationStatus. + * Possible values include: 'Recommended', 'NotRecommended', 'NotAvailable', 'NoStatus' + * @readonly + * @enum {string} */ -export type DeviceSecurityGroupsGetResponse = DeviceSecurityGroup & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; +export type RecommendationStatus = 'Recommended' | 'NotRecommended' | 'NotAvailable' | 'NoStatus'; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DeviceSecurityGroup; - }; -}; +/** + * Defines values for SourceSystem. + * Possible values include: 'Azure_AppLocker', 'Azure_AuditD', 'NonAzure_AppLocker', + * 'NonAzure_AuditD', 'None' + * @readonly + * @enum {string} + */ +export type SourceSystem = 'Azure_AppLocker' | 'Azure_AuditD' | 'NonAzure_AppLocker' | 'NonAzure_AuditD' | 'None'; /** - * Contains response data for the createOrUpdate operation. + * Defines values for TaskUpdateActionType. + * Possible values include: 'Activate', 'Dismiss', 'Start', 'Resolve', 'Close' + * @readonly + * @enum {string} */ -export type DeviceSecurityGroupsCreateOrUpdateResponse = DeviceSecurityGroup & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; +export type TaskUpdateActionType = 'Activate' | 'Dismiss' | 'Start' | 'Resolve' | 'Close'; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DeviceSecurityGroup; - }; -}; +/** + * Defines values for TaskUpdateActionType1. + * Possible values include: 'Activate', 'Dismiss', 'Start', 'Resolve', 'Close' + * @readonly + * @enum {string} + */ +export type TaskUpdateActionType1 = 'Activate' | 'Dismiss' | 'Start' | 'Resolve' | 'Close'; /** - * Contains response data for the listNext operation. + * Defines values for InformationProtectionPolicyName. + * Possible values include: 'effective', 'custom' + * @readonly + * @enum {string} */ -export type DeviceSecurityGroupsListNextResponse = DeviceSecurityGroupList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; +export type InformationProtectionPolicyName = 'effective' | 'custom'; - /** - * The response body as parsed JSON or XML - */ - parsedBody: DeviceSecurityGroupList; - }; -}; +/** + * Defines values for InformationProtectionPolicyName1. + * Possible values include: 'effective', 'custom' + * @readonly + * @enum {string} + */ +export type InformationProtectionPolicyName1 = 'effective' | 'custom'; /** - * Contains response data for the listBySubscription operation. + * Defines values for SettingName. + * Possible values include: 'MCAS', 'WDATP', 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' + * @readonly + * @enum {string} */ -export type IotSecuritySolutionListBySubscriptionResponse = IoTSecuritySolutionsList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; +export type SettingName = 'MCAS' | 'WDATP' | 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW' | 'Sentinel'; - /** - * The response body as parsed JSON or XML - */ - parsedBody: IoTSecuritySolutionsList; - }; -}; +/** + * Defines values for SettingName1. + * Possible values include: 'MCAS', 'WDATP', 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' + * @readonly + * @enum {string} + */ +export type SettingName1 = 'MCAS' | 'WDATP' | 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW' | 'Sentinel'; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the list operation. */ -export type IotSecuritySolutionListByResourceGroupResponse = IoTSecuritySolutionsList & { +export type MdeOnboardingsListResponse = MdeOnboardingDataList & { /** * The underlying HTTP response. */ @@ -7856,14 +7055,14 @@ export type IotSecuritySolutionListByResourceGroupResponse = IoTSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: MdeOnboardingDataList; }; }; /** * Contains response data for the get operation. */ -export type IotSecuritySolutionGetResponse = IoTSecuritySolutionModel & { +export type MdeOnboardingsGetResponse = MdeOnboardingData & { /** * The underlying HTTP response. */ @@ -7876,14 +7075,14 @@ export type IotSecuritySolutionGetResponse = IoTSecuritySolutionModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionModel; + parsedBody: MdeOnboardingData; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type IotSecuritySolutionCreateOrUpdateResponse = IoTSecuritySolutionModel & { +export type CustomAssessmentAutomationsGetResponse = CustomAssessmentAutomation & { /** * The underlying HTTP response. */ @@ -7896,14 +7095,14 @@ export type IotSecuritySolutionCreateOrUpdateResponse = IoTSecuritySolutionModel /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionModel; + parsedBody: CustomAssessmentAutomation; }; }; /** - * Contains response data for the update operation. + * Contains response data for the create operation. */ -export type IotSecuritySolutionUpdateResponse = IoTSecuritySolutionModel & { +export type CustomAssessmentAutomationsCreateResponse = CustomAssessmentAutomation & { /** * The underlying HTTP response. */ @@ -7916,14 +7115,14 @@ export type IotSecuritySolutionUpdateResponse = IoTSecuritySolutionModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionModel; + parsedBody: CustomAssessmentAutomation; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type IotSecuritySolutionListBySubscriptionNextResponse = IoTSecuritySolutionsList & { +export type CustomAssessmentAutomationsListByResourceGroupResponse = CustomAssessmentAutomationsListResult & { /** * The underlying HTTP response. */ @@ -7936,14 +7135,14 @@ export type IotSecuritySolutionListBySubscriptionNextResponse = IoTSecuritySolut /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: CustomAssessmentAutomationsListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listBySubscription operation. */ -export type IotSecuritySolutionListByResourceGroupNextResponse = IoTSecuritySolutionsList & { +export type CustomAssessmentAutomationsListBySubscriptionResponse = CustomAssessmentAutomationsListResult & { /** * The underlying HTTP response. */ @@ -7956,14 +7155,14 @@ export type IotSecuritySolutionListByResourceGroupNextResponse = IoTSecuritySolu /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: CustomAssessmentAutomationsListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type IotSecuritySolutionAnalyticsListResponse = IoTSecuritySolutionAnalyticsModelList & { +export type CustomAssessmentAutomationsListByResourceGroupNextResponse = CustomAssessmentAutomationsListResult & { /** * The underlying HTTP response. */ @@ -7976,14 +7175,14 @@ export type IotSecuritySolutionAnalyticsListResponse = IoTSecuritySolutionAnalyt /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionAnalyticsModelList; + parsedBody: CustomAssessmentAutomationsListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type IotSecuritySolutionAnalyticsGetResponse = IoTSecuritySolutionAnalyticsModel & { +export type CustomAssessmentAutomationsListBySubscriptionNextResponse = CustomAssessmentAutomationsListResult & { /** * The underlying HTTP response. */ @@ -7996,14 +7195,14 @@ export type IotSecuritySolutionAnalyticsGetResponse = IoTSecuritySolutionAnalyti /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionAnalyticsModel; + parsedBody: CustomAssessmentAutomationsListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type IotSecuritySolutionsAnalyticsAggregatedAlertListResponse = IoTSecurityAggregatedAlertList & { +export type CustomEntityStoreAssignmentsGetResponse = CustomEntityStoreAssignment & { /** * The underlying HTTP response. */ @@ -8016,14 +7215,14 @@ export type IotSecuritySolutionsAnalyticsAggregatedAlertListResponse = IoTSecuri /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedAlertList; + parsedBody: CustomEntityStoreAssignment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type IotSecuritySolutionsAnalyticsAggregatedAlertGetResponse = IoTSecurityAggregatedAlert & { +export type CustomEntityStoreAssignmentsCreateResponse = CustomEntityStoreAssignment & { /** * The underlying HTTP response. */ @@ -8036,14 +7235,14 @@ export type IotSecuritySolutionsAnalyticsAggregatedAlertGetResponse = IoTSecurit /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedAlert; + parsedBody: CustomEntityStoreAssignment; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type IotSecuritySolutionsAnalyticsAggregatedAlertListNextResponse = IoTSecurityAggregatedAlertList & { +export type CustomEntityStoreAssignmentsListByResourceGroupResponse = CustomEntityStoreAssignmentsListResult & { /** * The underlying HTTP response. */ @@ -8056,14 +7255,14 @@ export type IotSecuritySolutionsAnalyticsAggregatedAlertListNextResponse = IoTSe /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedAlertList; + parsedBody: CustomEntityStoreAssignmentsListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySubscription operation. */ -export type IotSecuritySolutionsAnalyticsRecommendationGetResponse = IoTSecurityAggregatedRecommendation & { +export type CustomEntityStoreAssignmentsListBySubscriptionResponse = CustomEntityStoreAssignmentsListResult & { /** * The underlying HTTP response. */ @@ -8076,14 +7275,14 @@ export type IotSecuritySolutionsAnalyticsRecommendationGetResponse = IoTSecurity /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedRecommendation; + parsedBody: CustomEntityStoreAssignmentsListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type IotSecuritySolutionsAnalyticsRecommendationListResponse = IoTSecurityAggregatedRecommendationList & { +export type CustomEntityStoreAssignmentsListByResourceGroupNextResponse = CustomEntityStoreAssignmentsListResult & { /** * The underlying HTTP response. */ @@ -8096,14 +7295,14 @@ export type IotSecuritySolutionsAnalyticsRecommendationListResponse = IoTSecurit /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedRecommendationList; + parsedBody: CustomEntityStoreAssignmentsListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type IotSecuritySolutionsAnalyticsRecommendationListNextResponse = IoTSecurityAggregatedRecommendationList & { +export type CustomEntityStoreAssignmentsListBySubscriptionNextResponse = CustomEntityStoreAssignmentsListResult & { /** * The underlying HTTP response. */ @@ -8116,14 +7315,14 @@ export type IotSecuritySolutionsAnalyticsRecommendationListNextResponse = IoTSec /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedRecommendationList; + parsedBody: CustomEntityStoreAssignmentsListResult; }; }; /** * Contains response data for the list operation. */ -export type LocationsListResponse = AscLocationList & { +export type ComplianceResultsListResponse = ComplianceResultList & { /** * The underlying HTTP response. */ @@ -8136,14 +7335,14 @@ export type LocationsListResponse = AscLocationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AscLocationList; + parsedBody: ComplianceResultList; }; }; /** * Contains response data for the get operation. */ -export type LocationsGetResponse = AscLocation & { +export type ComplianceResultsGetResponse = ComplianceResult & { /** * The underlying HTTP response. */ @@ -8156,14 +7355,14 @@ export type LocationsGetResponse = AscLocation & { /** * The response body as parsed JSON or XML */ - parsedBody: AscLocation; + parsedBody: ComplianceResult; }; }; /** * Contains response data for the listNext operation. */ -export type LocationsListNextResponse = AscLocationList & { +export type ComplianceResultsListNextResponse = ComplianceResultList & { /** * The underlying HTTP response. */ @@ -8176,34 +7375,14 @@ export type LocationsListNextResponse = AscLocationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AscLocationList; + parsedBody: ComplianceResultList; }; }; /** * Contains response data for the list operation. */ -export type OperationsListResponse = OperationList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationList; - }; -}; - -/** - * Contains response data for the listNext operation. - */ -export type OperationsListNextResponse = OperationList & { +export type PricingsListResponse = PricingList & { /** * The underlying HTTP response. */ @@ -8216,14 +7395,14 @@ export type OperationsListNextResponse = OperationList & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationList; + parsedBody: PricingList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type TasksListResponse = SecurityTaskList & { +export type PricingsGetResponse = Pricing & { /** * The underlying HTTP response. */ @@ -8236,14 +7415,14 @@ export type TasksListResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: Pricing; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the update operation. */ -export type TasksListByHomeRegionResponse = SecurityTaskList & { +export type PricingsUpdateResponse = Pricing & { /** * The underlying HTTP response. */ @@ -8256,14 +7435,14 @@ export type TasksListByHomeRegionResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: Pricing; }; }; /** - * Contains response data for the getSubscriptionLevelTask operation. + * Contains response data for the get operation. */ -export type TasksGetSubscriptionLevelTaskResponse = SecurityTask & { +export type AdvancedThreatProtectionGetResponse = AdvancedThreatProtectionSetting & { /** * The underlying HTTP response. */ @@ -8276,14 +7455,14 @@ export type TasksGetSubscriptionLevelTaskResponse = SecurityTask & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTask; + parsedBody: AdvancedThreatProtectionSetting; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the create operation. */ -export type TasksListByResourceGroupResponse = SecurityTaskList & { +export type AdvancedThreatProtectionCreateResponse = AdvancedThreatProtectionSetting & { /** * The underlying HTTP response. */ @@ -8296,14 +7475,14 @@ export type TasksListByResourceGroupResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: AdvancedThreatProtectionSetting; }; }; /** - * Contains response data for the getResourceGroupLevelTask operation. + * Contains response data for the list operation. */ -export type TasksGetResourceGroupLevelTaskResponse = SecurityTask & { +export type DeviceSecurityGroupsListResponse = DeviceSecurityGroupList & { /** * The underlying HTTP response. */ @@ -8316,14 +7495,14 @@ export type TasksGetResourceGroupLevelTaskResponse = SecurityTask & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTask; + parsedBody: DeviceSecurityGroupList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type TasksListNextResponse = SecurityTaskList & { +export type DeviceSecurityGroupsGetResponse = DeviceSecurityGroup & { /** * The underlying HTTP response. */ @@ -8336,14 +7515,14 @@ export type TasksListNextResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: DeviceSecurityGroup; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the createOrUpdate operation. */ -export type TasksListByHomeRegionNextResponse = SecurityTaskList & { +export type DeviceSecurityGroupsCreateOrUpdateResponse = DeviceSecurityGroup & { /** * The underlying HTTP response. */ @@ -8356,14 +7535,14 @@ export type TasksListByHomeRegionNextResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: DeviceSecurityGroup; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listNext operation. */ -export type TasksListByResourceGroupNextResponse = SecurityTaskList & { +export type DeviceSecurityGroupsListNextResponse = DeviceSecurityGroupList & { /** * The underlying HTTP response. */ @@ -8376,14 +7555,14 @@ export type TasksListByResourceGroupNextResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: DeviceSecurityGroupList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listBySubscription operation. */ -export type AutoProvisioningSettingsListResponse = AutoProvisioningSettingList & { +export type IotSecuritySolutionListBySubscriptionResponse = IoTSecuritySolutionsList & { /** * The underlying HTTP response. */ @@ -8396,14 +7575,14 @@ export type AutoProvisioningSettingsListResponse = AutoProvisioningSettingList & /** * The response body as parsed JSON or XML */ - parsedBody: AutoProvisioningSettingList; + parsedBody: IoTSecuritySolutionsList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroup operation. */ -export type AutoProvisioningSettingsGetResponse = AutoProvisioningSetting & { +export type IotSecuritySolutionListByResourceGroupResponse = IoTSecuritySolutionsList & { /** * The underlying HTTP response. */ @@ -8416,14 +7595,14 @@ export type AutoProvisioningSettingsGetResponse = AutoProvisioningSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: AutoProvisioningSetting; + parsedBody: IoTSecuritySolutionsList; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type AutoProvisioningSettingsCreateResponse = AutoProvisioningSetting & { +export type IotSecuritySolutionGetResponse = IoTSecuritySolutionModel & { /** * The underlying HTTP response. */ @@ -8436,14 +7615,14 @@ export type AutoProvisioningSettingsCreateResponse = AutoProvisioningSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: AutoProvisioningSetting; + parsedBody: IoTSecuritySolutionModel; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type AutoProvisioningSettingsListNextResponse = AutoProvisioningSettingList & { +export type IotSecuritySolutionCreateOrUpdateResponse = IoTSecuritySolutionModel & { /** * The underlying HTTP response. */ @@ -8456,14 +7635,14 @@ export type AutoProvisioningSettingsListNextResponse = AutoProvisioningSettingLi /** * The response body as parsed JSON or XML */ - parsedBody: AutoProvisioningSettingList; + parsedBody: IoTSecuritySolutionModel; }; }; /** - * Contains response data for the list operation. + * Contains response data for the update operation. */ -export type CompliancesListResponse = ComplianceList & { +export type IotSecuritySolutionUpdateResponse = IoTSecuritySolutionModel & { /** * The underlying HTTP response. */ @@ -8476,14 +7655,14 @@ export type CompliancesListResponse = ComplianceList & { /** * The response body as parsed JSON or XML */ - parsedBody: ComplianceList; + parsedBody: IoTSecuritySolutionModel; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type CompliancesGetResponse = Compliance & { +export type IotSecuritySolutionListBySubscriptionNextResponse = IoTSecuritySolutionsList & { /** * The underlying HTTP response. */ @@ -8496,14 +7675,14 @@ export type CompliancesGetResponse = Compliance & { /** * The response body as parsed JSON or XML */ - parsedBody: Compliance; + parsedBody: IoTSecuritySolutionsList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type CompliancesListNextResponse = ComplianceList & { +export type IotSecuritySolutionListByResourceGroupNextResponse = IoTSecuritySolutionsList & { /** * The underlying HTTP response. */ @@ -8516,14 +7695,14 @@ export type CompliancesListNextResponse = ComplianceList & { /** * The response body as parsed JSON or XML */ - parsedBody: ComplianceList; + parsedBody: IoTSecuritySolutionsList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type InformationProtectionPoliciesGetResponse = InformationProtectionPolicy & { +export type IotSecuritySolutionAnalyticsListResponse = IoTSecuritySolutionAnalyticsModelList & { /** * The underlying HTTP response. */ @@ -8536,14 +7715,14 @@ export type InformationProtectionPoliciesGetResponse = InformationProtectionPoli /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicy; + parsedBody: IoTSecuritySolutionAnalyticsModelList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type InformationProtectionPoliciesCreateOrUpdateResponse = InformationProtectionPolicy & { +export type IotSecuritySolutionAnalyticsGetResponse = IoTSecuritySolutionAnalyticsModel & { /** * The underlying HTTP response. */ @@ -8556,14 +7735,14 @@ export type InformationProtectionPoliciesCreateOrUpdateResponse = InformationPro /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicy; + parsedBody: IoTSecuritySolutionAnalyticsModel; }; }; /** * Contains response data for the list operation. */ -export type InformationProtectionPoliciesListResponse = InformationProtectionPolicyList & { +export type IotSecuritySolutionsAnalyticsAggregatedAlertListResponse = IoTSecurityAggregatedAlertList & { /** * The underlying HTTP response. */ @@ -8576,14 +7755,14 @@ export type InformationProtectionPoliciesListResponse = InformationProtectionPol /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicyList; + parsedBody: IoTSecurityAggregatedAlertList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type InformationProtectionPoliciesListNextResponse = InformationProtectionPolicyList & { +export type IotSecuritySolutionsAnalyticsAggregatedAlertGetResponse = IoTSecurityAggregatedAlert & { /** * The underlying HTTP response. */ @@ -8596,14 +7775,14 @@ export type InformationProtectionPoliciesListNextResponse = InformationProtectio /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicyList; + parsedBody: IoTSecurityAggregatedAlert; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type SecurityContactsListResponse = SecurityContactList & { +export type IotSecuritySolutionsAnalyticsAggregatedAlertListNextResponse = IoTSecurityAggregatedAlertList & { /** * The underlying HTTP response. */ @@ -8616,14 +7795,14 @@ export type SecurityContactsListResponse = SecurityContactList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContactList; + parsedBody: IoTSecurityAggregatedAlertList; }; }; /** * Contains response data for the get operation. */ -export type SecurityContactsGetResponse = SecurityContact & { +export type IotSecuritySolutionsAnalyticsRecommendationGetResponse = IoTSecurityAggregatedRecommendation & { /** * The underlying HTTP response. */ @@ -8636,14 +7815,14 @@ export type SecurityContactsGetResponse = SecurityContact & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContact; + parsedBody: IoTSecurityAggregatedRecommendation; }; }; /** - * Contains response data for the create operation. + * Contains response data for the list operation. */ -export type SecurityContactsCreateResponse = SecurityContact & { +export type IotSecuritySolutionsAnalyticsRecommendationListResponse = IoTSecurityAggregatedRecommendationList & { /** * The underlying HTTP response. */ @@ -8656,14 +7835,14 @@ export type SecurityContactsCreateResponse = SecurityContact & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContact; + parsedBody: IoTSecurityAggregatedRecommendationList; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listNext operation. */ -export type SecurityContactsUpdateResponse = SecurityContact & { +export type IotSecuritySolutionsAnalyticsRecommendationListNextResponse = IoTSecurityAggregatedRecommendationList & { /** * The underlying HTTP response. */ @@ -8676,14 +7855,14 @@ export type SecurityContactsUpdateResponse = SecurityContact & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContact; + parsedBody: IoTSecurityAggregatedRecommendationList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type SecurityContactsListNextResponse = SecurityContactList & { +export type LocationsListResponse = AscLocationList & { /** * The underlying HTTP response. */ @@ -8696,14 +7875,14 @@ export type SecurityContactsListNextResponse = SecurityContactList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContactList; + parsedBody: AscLocationList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type WorkspaceSettingsListResponse = WorkspaceSettingList & { +export type LocationsGetResponse = AscLocation & { /** * The underlying HTTP response. */ @@ -8716,14 +7895,14 @@ export type WorkspaceSettingsListResponse = WorkspaceSettingList & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSettingList; + parsedBody: AscLocation; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type WorkspaceSettingsGetResponse = WorkspaceSetting & { +export type LocationsListNextResponse = AscLocationList & { /** * The underlying HTTP response. */ @@ -8736,14 +7915,14 @@ export type WorkspaceSettingsGetResponse = WorkspaceSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSetting; + parsedBody: AscLocationList; }; }; /** - * Contains response data for the create operation. + * Contains response data for the list operation. */ -export type WorkspaceSettingsCreateResponse = WorkspaceSetting & { +export type OperationsListResponse = OperationList & { /** * The underlying HTTP response. */ @@ -8756,14 +7935,14 @@ export type WorkspaceSettingsCreateResponse = WorkspaceSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSetting; + parsedBody: OperationList; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listNext operation. */ -export type WorkspaceSettingsUpdateResponse = WorkspaceSetting & { +export type OperationsListNextResponse = OperationList & { /** * The underlying HTTP response. */ @@ -8776,14 +7955,14 @@ export type WorkspaceSettingsUpdateResponse = WorkspaceSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSetting; + parsedBody: OperationList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type WorkspaceSettingsListNextResponse = WorkspaceSettingList & { +export type TasksListResponse = SecurityTaskList & { /** * The underlying HTTP response. */ @@ -8796,14 +7975,14 @@ export type WorkspaceSettingsListNextResponse = WorkspaceSettingList & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSettingList; + parsedBody: SecurityTaskList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByHomeRegion operation. */ -export type RegulatoryComplianceStandardsListResponse = RegulatoryComplianceStandardList & { +export type TasksListByHomeRegionResponse = SecurityTaskList & { /** * The underlying HTTP response. */ @@ -8816,14 +7995,14 @@ export type RegulatoryComplianceStandardsListResponse = RegulatoryComplianceStan /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceStandardList; + parsedBody: SecurityTaskList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getSubscriptionLevelTask operation. */ -export type RegulatoryComplianceStandardsGetResponse = RegulatoryComplianceStandard & { +export type TasksGetSubscriptionLevelTaskResponse = SecurityTask & { /** * The underlying HTTP response. */ @@ -8836,14 +8015,14 @@ export type RegulatoryComplianceStandardsGetResponse = RegulatoryComplianceStand /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceStandard; + parsedBody: SecurityTask; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type RegulatoryComplianceStandardsListNextResponse = RegulatoryComplianceStandardList & { +export type TasksListByResourceGroupResponse = SecurityTaskList & { /** * The underlying HTTP response. */ @@ -8856,14 +8035,14 @@ export type RegulatoryComplianceStandardsListNextResponse = RegulatoryCompliance /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceStandardList; + parsedBody: SecurityTaskList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the getResourceGroupLevelTask operation. */ -export type RegulatoryComplianceControlsListResponse = RegulatoryComplianceControlList & { +export type TasksGetResourceGroupLevelTaskResponse = SecurityTask & { /** * The underlying HTTP response. */ @@ -8876,14 +8055,14 @@ export type RegulatoryComplianceControlsListResponse = RegulatoryComplianceContr /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceControlList; + parsedBody: SecurityTask; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type RegulatoryComplianceControlsGetResponse = RegulatoryComplianceControl & { +export type TasksListNextResponse = SecurityTaskList & { /** * The underlying HTTP response. */ @@ -8896,14 +8075,14 @@ export type RegulatoryComplianceControlsGetResponse = RegulatoryComplianceContro /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceControl; + parsedBody: SecurityTaskList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type RegulatoryComplianceControlsListNextResponse = RegulatoryComplianceControlList & { +export type TasksListByHomeRegionNextResponse = SecurityTaskList & { /** * The underlying HTTP response. */ @@ -8916,14 +8095,14 @@ export type RegulatoryComplianceControlsListNextResponse = RegulatoryComplianceC /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceControlList; + parsedBody: SecurityTaskList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type RegulatoryComplianceAssessmentsListResponse = RegulatoryComplianceAssessmentList & { +export type TasksListByResourceGroupNextResponse = SecurityTaskList & { /** * The underlying HTTP response. */ @@ -8936,14 +8115,14 @@ export type RegulatoryComplianceAssessmentsListResponse = RegulatoryComplianceAs /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceAssessmentList; + parsedBody: SecurityTaskList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type RegulatoryComplianceAssessmentsGetResponse = RegulatoryComplianceAssessment & { +export type AutoProvisioningSettingsListResponse = AutoProvisioningSettingList & { /** * The underlying HTTP response. */ @@ -8956,14 +8135,14 @@ export type RegulatoryComplianceAssessmentsGetResponse = RegulatoryComplianceAss /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceAssessment; + parsedBody: AutoProvisioningSettingList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type RegulatoryComplianceAssessmentsListNextResponse = RegulatoryComplianceAssessmentList & { +export type AutoProvisioningSettingsGetResponse = AutoProvisioningSetting & { /** * The underlying HTTP response. */ @@ -8976,14 +8155,14 @@ export type RegulatoryComplianceAssessmentsListNextResponse = RegulatoryComplian /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceAssessmentList; + parsedBody: AutoProvisioningSetting; }; }; /** - * Contains response data for the listAll operation. + * Contains response data for the create operation. */ -export type SubAssessmentsListAllResponse = SecuritySubAssessmentList & { +export type AutoProvisioningSettingsCreateResponse = AutoProvisioningSetting & { /** * The underlying HTTP response. */ @@ -8996,14 +8175,14 @@ export type SubAssessmentsListAllResponse = SecuritySubAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessmentList; + parsedBody: AutoProvisioningSetting; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type SubAssessmentsListResponse = SecuritySubAssessmentList & { +export type AutoProvisioningSettingsListNextResponse = AutoProvisioningSettingList & { /** * The underlying HTTP response. */ @@ -9016,14 +8195,14 @@ export type SubAssessmentsListResponse = SecuritySubAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessmentList; + parsedBody: AutoProvisioningSettingList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type SubAssessmentsGetResponse = SecuritySubAssessment & { +export type CompliancesListResponse = ComplianceList & { /** * The underlying HTTP response. */ @@ -9036,14 +8215,14 @@ export type SubAssessmentsGetResponse = SecuritySubAssessment & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessment; + parsedBody: ComplianceList; }; }; /** - * Contains response data for the listAllNext operation. + * Contains response data for the get operation. */ -export type SubAssessmentsListAllNextResponse = SecuritySubAssessmentList & { +export type CompliancesGetResponse = Compliance & { /** * The underlying HTTP response. */ @@ -9056,14 +8235,14 @@ export type SubAssessmentsListAllNextResponse = SecuritySubAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessmentList; + parsedBody: Compliance; }; }; /** * Contains response data for the listNext operation. */ -export type SubAssessmentsListNextResponse = SecuritySubAssessmentList & { +export type CompliancesListNextResponse = ComplianceList & { /** * The underlying HTTP response. */ @@ -9076,14 +8255,14 @@ export type SubAssessmentsListNextResponse = SecuritySubAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessmentList; + parsedBody: ComplianceList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type AutomationsListResponse = AutomationList & { +export type InformationProtectionPoliciesGetResponse = InformationProtectionPolicy & { /** * The underlying HTTP response. */ @@ -9096,14 +8275,14 @@ export type AutomationsListResponse = AutomationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationList; + parsedBody: InformationProtectionPolicy; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the createOrUpdate operation. */ -export type AutomationsListByResourceGroupResponse = AutomationList & { +export type InformationProtectionPoliciesCreateOrUpdateResponse = InformationProtectionPolicy & { /** * The underlying HTTP response. */ @@ -9116,14 +8295,14 @@ export type AutomationsListByResourceGroupResponse = AutomationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationList; + parsedBody: InformationProtectionPolicy; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type AutomationsGetResponse = Automation & { +export type InformationProtectionPoliciesListResponse = InformationProtectionPolicyList & { /** * The underlying HTTP response. */ @@ -9136,14 +8315,14 @@ export type AutomationsGetResponse = Automation & { /** * The response body as parsed JSON or XML */ - parsedBody: Automation; + parsedBody: InformationProtectionPolicyList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type AutomationsCreateOrUpdateResponse = Automation & { +export type InformationProtectionPoliciesListNextResponse = InformationProtectionPolicyList & { /** * The underlying HTTP response. */ @@ -9156,14 +8335,14 @@ export type AutomationsCreateOrUpdateResponse = Automation & { /** * The response body as parsed JSON or XML */ - parsedBody: Automation; + parsedBody: InformationProtectionPolicyList; }; }; /** - * Contains response data for the validate operation. + * Contains response data for the list operation. */ -export type AutomationsValidateResponse = AutomationValidationStatus & { +export type SecurityContactsListResponse = SecurityContactList & { /** * The underlying HTTP response. */ @@ -9176,14 +8355,14 @@ export type AutomationsValidateResponse = AutomationValidationStatus & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationValidationStatus; + parsedBody: SecurityContactList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type AutomationsListNextResponse = AutomationList & { +export type SecurityContactsGetResponse = SecurityContact & { /** * The underlying HTTP response. */ @@ -9196,14 +8375,14 @@ export type AutomationsListNextResponse = AutomationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationList; + parsedBody: SecurityContact; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the create operation. */ -export type AutomationsListByResourceGroupNextResponse = AutomationList & { +export type SecurityContactsCreateResponse = SecurityContact & { /** * The underlying HTTP response. */ @@ -9216,14 +8395,14 @@ export type AutomationsListByResourceGroupNextResponse = AutomationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationList; + parsedBody: SecurityContact; }; }; /** - * Contains response data for the list operation. + * Contains response data for the update operation. */ -export type AlertsSuppressionRulesListResponse = AlertsSuppressionRulesList & { +export type SecurityContactsUpdateResponse = SecurityContact & { /** * The underlying HTTP response. */ @@ -9236,14 +8415,14 @@ export type AlertsSuppressionRulesListResponse = AlertsSuppressionRulesList & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertsSuppressionRulesList; + parsedBody: SecurityContact; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type AlertsSuppressionRulesGetResponse = AlertsSuppressionRule & { +export type SecurityContactsListNextResponse = SecurityContactList & { /** * The underlying HTTP response. */ @@ -9256,14 +8435,14 @@ export type AlertsSuppressionRulesGetResponse = AlertsSuppressionRule & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertsSuppressionRule; + parsedBody: SecurityContactList; }; }; /** - * Contains response data for the update operation. + * Contains response data for the list operation. */ -export type AlertsSuppressionRulesUpdateResponse = AlertsSuppressionRule & { +export type WorkspaceSettingsListResponse = WorkspaceSettingList & { /** * The underlying HTTP response. */ @@ -9276,14 +8455,14 @@ export type AlertsSuppressionRulesUpdateResponse = AlertsSuppressionRule & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertsSuppressionRule; + parsedBody: WorkspaceSettingList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type AlertsSuppressionRulesListNextResponse = AlertsSuppressionRulesList & { +export type WorkspaceSettingsGetResponse = WorkspaceSetting & { /** * The underlying HTTP response. */ @@ -9296,14 +8475,14 @@ export type AlertsSuppressionRulesListNextResponse = AlertsSuppressionRulesList /** * The response body as parsed JSON or XML */ - parsedBody: AlertsSuppressionRulesList; + parsedBody: WorkspaceSetting; }; }; /** - * Contains response data for the listByExtendedResource operation. + * Contains response data for the create operation. */ -export type ServerVulnerabilityAssessmentListByExtendedResourceResponse = ServerVulnerabilityAssessmentsList & { +export type WorkspaceSettingsCreateResponse = WorkspaceSetting & { /** * The underlying HTTP response. */ @@ -9316,14 +8495,14 @@ export type ServerVulnerabilityAssessmentListByExtendedResourceResponse = Server /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentsList; + parsedBody: WorkspaceSetting; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ServerVulnerabilityAssessmentGetResponse = ServerVulnerabilityAssessment & { +export type WorkspaceSettingsUpdateResponse = WorkspaceSetting & { /** * The underlying HTTP response. */ @@ -9336,14 +8515,14 @@ export type ServerVulnerabilityAssessmentGetResponse = ServerVulnerabilityAssess /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: WorkspaceSetting; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ServerVulnerabilityAssessmentCreateOrUpdateResponse = ServerVulnerabilityAssessment & { +export type WorkspaceSettingsListNextResponse = WorkspaceSettingList & { /** * The underlying HTTP response. */ @@ -9356,14 +8535,14 @@ export type ServerVulnerabilityAssessmentCreateOrUpdateResponse = ServerVulnerab /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: WorkspaceSettingList; }; }; /** * Contains response data for the list operation. */ -export type AssessmentsMetadataListResponse = SecurityAssessmentMetadataList & { +export type RegulatoryComplianceStandardsListResponse = RegulatoryComplianceStandardList & { /** * The underlying HTTP response. */ @@ -9376,14 +8555,14 @@ export type AssessmentsMetadataListResponse = SecurityAssessmentMetadataList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: RegulatoryComplianceStandardList; }; }; /** * Contains response data for the get operation. */ -export type AssessmentsMetadataGetResponse = SecurityAssessmentMetadata & { +export type RegulatoryComplianceStandardsGetResponse = RegulatoryComplianceStandard & { /** * The underlying HTTP response. */ @@ -9396,14 +8575,14 @@ export type AssessmentsMetadataGetResponse = SecurityAssessmentMetadata & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadata; + parsedBody: RegulatoryComplianceStandard; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the listNext operation. */ -export type AssessmentsMetadataListBySubscriptionResponse = SecurityAssessmentMetadataList & { +export type RegulatoryComplianceStandardsListNextResponse = RegulatoryComplianceStandardList & { /** * The underlying HTTP response. */ @@ -9416,14 +8595,14 @@ export type AssessmentsMetadataListBySubscriptionResponse = SecurityAssessmentMe /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: RegulatoryComplianceStandardList; }; }; /** - * Contains response data for the getInSubscription operation. + * Contains response data for the list operation. */ -export type AssessmentsMetadataGetInSubscriptionResponse = SecurityAssessmentMetadata & { +export type RegulatoryComplianceControlsListResponse = RegulatoryComplianceControlList & { /** * The underlying HTTP response. */ @@ -9436,14 +8615,14 @@ export type AssessmentsMetadataGetInSubscriptionResponse = SecurityAssessmentMet /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadata; + parsedBody: RegulatoryComplianceControlList; }; }; /** - * Contains response data for the createInSubscription operation. + * Contains response data for the get operation. */ -export type AssessmentsMetadataCreateInSubscriptionResponse = SecurityAssessmentMetadata & { +export type RegulatoryComplianceControlsGetResponse = RegulatoryComplianceControl & { /** * The underlying HTTP response. */ @@ -9456,14 +8635,14 @@ export type AssessmentsMetadataCreateInSubscriptionResponse = SecurityAssessment /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadata; + parsedBody: RegulatoryComplianceControl; }; }; /** * Contains response data for the listNext operation. */ -export type AssessmentsMetadataListNextResponse = SecurityAssessmentMetadataList & { +export type RegulatoryComplianceControlsListNextResponse = RegulatoryComplianceControlList & { /** * The underlying HTTP response. */ @@ -9476,14 +8655,14 @@ export type AssessmentsMetadataListNextResponse = SecurityAssessmentMetadataList /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: RegulatoryComplianceControlList; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the list operation. */ -export type AssessmentsMetadataListBySubscriptionNextResponse = SecurityAssessmentMetadataList & { +export type RegulatoryComplianceAssessmentsListResponse = RegulatoryComplianceAssessmentList & { /** * The underlying HTTP response. */ @@ -9496,14 +8675,14 @@ export type AssessmentsMetadataListBySubscriptionNextResponse = SecurityAssessme /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: RegulatoryComplianceAssessmentList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type AssessmentsListResponse = SecurityAssessmentList & { +export type RegulatoryComplianceAssessmentsGetResponse = RegulatoryComplianceAssessment & { /** * The underlying HTTP response. */ @@ -9516,14 +8695,14 @@ export type AssessmentsListResponse = SecurityAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentList; + parsedBody: RegulatoryComplianceAssessment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type AssessmentsGetResponse = SecurityAssessment & { +export type RegulatoryComplianceAssessmentsListNextResponse = RegulatoryComplianceAssessmentList & { /** * The underlying HTTP response. */ @@ -9536,14 +8715,14 @@ export type AssessmentsGetResponse = SecurityAssessment & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessment; + parsedBody: RegulatoryComplianceAssessmentList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listAll operation. */ -export type AssessmentsCreateOrUpdateResponse = SecurityAssessment & { +export type SubAssessmentsListAllResponse = SecuritySubAssessmentList & { /** * The underlying HTTP response. */ @@ -9556,14 +8735,14 @@ export type AssessmentsCreateOrUpdateResponse = SecurityAssessment & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessment; + parsedBody: SecuritySubAssessmentList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type AssessmentsListNextResponse = SecurityAssessmentList & { +export type SubAssessmentsListResponse = SecuritySubAssessmentList & { /** * The underlying HTTP response. */ @@ -9576,14 +8755,14 @@ export type AssessmentsListNextResponse = SecurityAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentList; + parsedBody: SecuritySubAssessmentList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type AdaptiveApplicationControlsListResponse = AdaptiveApplicationControlGroups & { +export type SubAssessmentsGetResponse = SecuritySubAssessment & { /** * The underlying HTTP response. */ @@ -9596,14 +8775,14 @@ export type AdaptiveApplicationControlsListResponse = AdaptiveApplicationControl /** * The response body as parsed JSON or XML */ - parsedBody: AdaptiveApplicationControlGroups; + parsedBody: SecuritySubAssessment; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listAllNext operation. */ -export type AdaptiveApplicationControlsGetResponse = AdaptiveApplicationControlGroup & { +export type SubAssessmentsListAllNextResponse = SecuritySubAssessmentList & { /** * The underlying HTTP response. */ @@ -9616,14 +8795,14 @@ export type AdaptiveApplicationControlsGetResponse = AdaptiveApplicationControlG /** * The response body as parsed JSON or XML */ - parsedBody: AdaptiveApplicationControlGroup; + parsedBody: SecuritySubAssessmentList; }; }; /** - * Contains response data for the put operation. + * Contains response data for the listNext operation. */ -export type AdaptiveApplicationControlsPutResponse = AdaptiveApplicationControlGroup & { +export type SubAssessmentsListNextResponse = SecuritySubAssessmentList & { /** * The underlying HTTP response. */ @@ -9636,14 +8815,14 @@ export type AdaptiveApplicationControlsPutResponse = AdaptiveApplicationControlG /** * The response body as parsed JSON or XML */ - parsedBody: AdaptiveApplicationControlGroup; + parsedBody: SecuritySubAssessmentList; }; }; /** - * Contains response data for the listByExtendedResource operation. + * Contains response data for the list operation. */ -export type AdaptiveNetworkHardeningsListByExtendedResourceResponse = AdaptiveNetworkHardeningsList & { +export type AutomationsListResponse = AutomationList & { /** * The underlying HTTP response. */ @@ -9656,14 +8835,14 @@ export type AdaptiveNetworkHardeningsListByExtendedResourceResponse = AdaptiveNe /** * The response body as parsed JSON or XML */ - parsedBody: AdaptiveNetworkHardeningsList; + parsedBody: AutomationList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroup operation. */ -export type AdaptiveNetworkHardeningsGetResponse = AdaptiveNetworkHardening & { +export type AutomationsListByResourceGroupResponse = AutomationList & { /** * The underlying HTTP response. */ @@ -9676,14 +8855,14 @@ export type AdaptiveNetworkHardeningsGetResponse = AdaptiveNetworkHardening & { /** * The response body as parsed JSON or XML */ - parsedBody: AdaptiveNetworkHardening; + parsedBody: AutomationList; }; }; /** - * Contains response data for the listByExtendedResourceNext operation. + * Contains response data for the get operation. */ -export type AdaptiveNetworkHardeningsListByExtendedResourceNextResponse = AdaptiveNetworkHardeningsList & { +export type AutomationsGetResponse = Automation & { /** * The underlying HTTP response. */ @@ -9696,14 +8875,14 @@ export type AdaptiveNetworkHardeningsListByExtendedResourceNextResponse = Adapti /** * The response body as parsed JSON or XML */ - parsedBody: AdaptiveNetworkHardeningsList; + parsedBody: Automation; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type AllowedConnectionsListResponse = AllowedConnectionsList & { +export type AutomationsCreateOrUpdateResponse = Automation & { /** * The underlying HTTP response. */ @@ -9716,14 +8895,14 @@ export type AllowedConnectionsListResponse = AllowedConnectionsList & { /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: Automation; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the validate operation. */ -export type AllowedConnectionsListByHomeRegionResponse = AllowedConnectionsList & { +export type AutomationsValidateResponse = AutomationValidationStatus & { /** * The underlying HTTP response. */ @@ -9736,14 +8915,14 @@ export type AllowedConnectionsListByHomeRegionResponse = AllowedConnectionsList /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: AutomationValidationStatus; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type AllowedConnectionsGetResponse = AllowedConnectionsResource & { +export type AutomationsListNextResponse = AutomationList & { /** * The underlying HTTP response. */ @@ -9756,14 +8935,14 @@ export type AllowedConnectionsGetResponse = AllowedConnectionsResource & { /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsResource; + parsedBody: AutomationList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type AllowedConnectionsListNextResponse = AllowedConnectionsList & { +export type AutomationsListByResourceGroupNextResponse = AutomationList & { /** * The underlying HTTP response. */ @@ -9776,14 +8955,14 @@ export type AllowedConnectionsListNextResponse = AllowedConnectionsList & { /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: AutomationList; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the list operation. */ -export type AllowedConnectionsListByHomeRegionNextResponse = AllowedConnectionsList & { +export type AlertsSuppressionRulesListResponse = AlertsSuppressionRulesList & { /** * The underlying HTTP response. */ @@ -9796,14 +8975,14 @@ export type AllowedConnectionsListByHomeRegionNextResponse = AllowedConnectionsL /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: AlertsSuppressionRulesList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type TopologyListResponse = TopologyList & { +export type AlertsSuppressionRulesGetResponse = AlertsSuppressionRule & { /** * The underlying HTTP response. */ @@ -9816,14 +8995,14 @@ export type TopologyListResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: AlertsSuppressionRule; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the update operation. */ -export type TopologyListByHomeRegionResponse = TopologyList & { +export type AlertsSuppressionRulesUpdateResponse = AlertsSuppressionRule & { /** * The underlying HTTP response. */ @@ -9836,14 +9015,14 @@ export type TopologyListByHomeRegionResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: AlertsSuppressionRule; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type TopologyGetResponse = TopologyResource & { +export type AlertsSuppressionRulesListNextResponse = AlertsSuppressionRulesList & { /** * The underlying HTTP response. */ @@ -9856,14 +9035,14 @@ export type TopologyGetResponse = TopologyResource & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyResource; + parsedBody: AlertsSuppressionRulesList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByExtendedResource operation. */ -export type TopologyListNextResponse = TopologyList & { +export type ServerVulnerabilityAssessmentListByExtendedResourceResponse = ServerVulnerabilityAssessmentsList & { /** * The underlying HTTP response. */ @@ -9876,14 +9055,14 @@ export type TopologyListNextResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: ServerVulnerabilityAssessmentsList; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the get operation. */ -export type TopologyListByHomeRegionNextResponse = TopologyList & { +export type ServerVulnerabilityAssessmentGetResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -9896,14 +9075,14 @@ export type TopologyListByHomeRegionNextResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type JitNetworkAccessPoliciesListResponse = JitNetworkAccessPoliciesList & { +export type ServerVulnerabilityAssessmentCreateOrUpdateResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -9916,14 +9095,14 @@ export type JitNetworkAccessPoliciesListResponse = JitNetworkAccessPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the listByRegion operation. + * Contains response data for the list operation. */ -export type JitNetworkAccessPoliciesListByRegionResponse = JitNetworkAccessPoliciesList & { +export type AssessmentsMetadataListResponse = SecurityAssessmentMetadataResponseList & { /** * The underlying HTTP response. */ @@ -9936,14 +9115,14 @@ export type JitNetworkAccessPoliciesListByRegionResponse = JitNetworkAccessPolic /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: SecurityAssessmentMetadataResponseList; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupResponse = JitNetworkAccessPoliciesList & { +export type AssessmentsMetadataGetResponse = SecurityAssessmentMetadataResponse & { /** * The underlying HTTP response. */ @@ -9956,14 +9135,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupResponse = JitNetworkAcce /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: SecurityAssessmentMetadataResponse; }; }; /** - * Contains response data for the listByResourceGroupAndRegion operation. + * Contains response data for the listBySubscription operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupAndRegionResponse = JitNetworkAccessPoliciesList & { +export type AssessmentsMetadataListBySubscriptionResponse = SecurityAssessmentMetadataResponseList & { /** * The underlying HTTP response. */ @@ -9976,14 +9155,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupAndRegionResponse = JitNe /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: SecurityAssessmentMetadataResponseList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the getInSubscription operation. */ -export type JitNetworkAccessPoliciesGetResponse = JitNetworkAccessPolicy & { +export type AssessmentsMetadataGetInSubscriptionResponse = SecurityAssessmentMetadataResponse & { /** * The underlying HTTP response. */ @@ -9996,14 +9175,14 @@ export type JitNetworkAccessPoliciesGetResponse = JitNetworkAccessPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPolicy; + parsedBody: SecurityAssessmentMetadataResponse; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the createInSubscription operation. */ -export type JitNetworkAccessPoliciesCreateOrUpdateResponse = JitNetworkAccessPolicy & { +export type AssessmentsMetadataCreateInSubscriptionResponse = SecurityAssessmentMetadataResponse & { /** * The underlying HTTP response. */ @@ -10016,14 +9195,14 @@ export type JitNetworkAccessPoliciesCreateOrUpdateResponse = JitNetworkAccessPol /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPolicy; + parsedBody: SecurityAssessmentMetadataResponse; }; }; /** - * Contains response data for the initiate operation. + * Contains response data for the listNext operation. */ -export type JitNetworkAccessPoliciesInitiateResponse = JitNetworkAccessRequest & { +export type AssessmentsMetadataListNextResponse = SecurityAssessmentMetadataResponseList & { /** * The underlying HTTP response. */ @@ -10036,14 +9215,14 @@ export type JitNetworkAccessPoliciesInitiateResponse = JitNetworkAccessRequest & /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessRequest; + parsedBody: SecurityAssessmentMetadataResponseList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type JitNetworkAccessPoliciesListNextResponse = JitNetworkAccessPoliciesList & { +export type AssessmentsMetadataListBySubscriptionNextResponse = SecurityAssessmentMetadataResponseList & { /** * The underlying HTTP response. */ @@ -10056,14 +9235,14 @@ export type JitNetworkAccessPoliciesListNextResponse = JitNetworkAccessPoliciesL /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: SecurityAssessmentMetadataResponseList; }; }; /** - * Contains response data for the listByRegionNext operation. + * Contains response data for the list operation. */ -export type JitNetworkAccessPoliciesListByRegionNextResponse = JitNetworkAccessPoliciesList & { +export type AssessmentsListResponse = SecurityAssessmentList & { /** * The underlying HTTP response. */ @@ -10076,14 +9255,14 @@ export type JitNetworkAccessPoliciesListByRegionNextResponse = JitNetworkAccessP /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: SecurityAssessmentList; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the get operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupNextResponse = JitNetworkAccessPoliciesList & { +export type AssessmentsGetResponse = SecurityAssessmentResponse & { /** * The underlying HTTP response. */ @@ -10096,14 +9275,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupNextResponse = JitNetwork /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: SecurityAssessmentResponse; }; }; /** - * Contains response data for the listByResourceGroupAndRegionNext operation. + * Contains response data for the createOrUpdate operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupAndRegionNextResponse = JitNetworkAccessPoliciesList & { +export type AssessmentsCreateOrUpdateResponse = SecurityAssessmentResponse & { /** * The underlying HTTP response. */ @@ -10116,14 +9295,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupAndRegionNextResponse = J /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: SecurityAssessmentResponse; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type DiscoveredSecuritySolutionsListResponse = DiscoveredSecuritySolutionList & { +export type AssessmentsListNextResponse = SecurityAssessmentList & { /** * The underlying HTTP response. */ @@ -10136,14 +9315,14 @@ export type DiscoveredSecuritySolutionsListResponse = DiscoveredSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: SecurityAssessmentList; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the list operation. */ -export type DiscoveredSecuritySolutionsListByHomeRegionResponse = DiscoveredSecuritySolutionList & { +export type AdaptiveApplicationControlsListResponse = AdaptiveApplicationControlGroups & { /** * The underlying HTTP response. */ @@ -10156,14 +9335,14 @@ export type DiscoveredSecuritySolutionsListByHomeRegionResponse = DiscoveredSecu /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: AdaptiveApplicationControlGroups; }; }; /** * Contains response data for the get operation. */ -export type DiscoveredSecuritySolutionsGetResponse = DiscoveredSecuritySolution & { +export type AdaptiveApplicationControlsGetResponse = AdaptiveApplicationControlGroup & { /** * The underlying HTTP response. */ @@ -10176,14 +9355,14 @@ export type DiscoveredSecuritySolutionsGetResponse = DiscoveredSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolution; + parsedBody: AdaptiveApplicationControlGroup; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the put operation. */ -export type DiscoveredSecuritySolutionsListNextResponse = DiscoveredSecuritySolutionList & { +export type AdaptiveApplicationControlsPutResponse = AdaptiveApplicationControlGroup & { /** * The underlying HTTP response. */ @@ -10196,14 +9375,14 @@ export type DiscoveredSecuritySolutionsListNextResponse = DiscoveredSecuritySolu /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: AdaptiveApplicationControlGroup; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the listByExtendedResource operation. */ -export type DiscoveredSecuritySolutionsListByHomeRegionNextResponse = DiscoveredSecuritySolutionList & { +export type AdaptiveNetworkHardeningsListByExtendedResourceResponse = AdaptiveNetworkHardeningsList & { /** * The underlying HTTP response. */ @@ -10216,14 +9395,14 @@ export type DiscoveredSecuritySolutionsListByHomeRegionNextResponse = Discovered /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: AdaptiveNetworkHardeningsList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type SecuritySolutionsReferenceDataListResponse = SecuritySolutionsReferenceDataList & { +export type AdaptiveNetworkHardeningsGetResponse = AdaptiveNetworkHardening & { /** * The underlying HTTP response. */ @@ -10236,14 +9415,14 @@ export type SecuritySolutionsReferenceDataListResponse = SecuritySolutionsRefere /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySolutionsReferenceDataList; + parsedBody: AdaptiveNetworkHardening; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the listByExtendedResourceNext operation. */ -export type SecuritySolutionsReferenceDataListByHomeRegionResponse = SecuritySolutionsReferenceDataList & { +export type AdaptiveNetworkHardeningsListByExtendedResourceNextResponse = AdaptiveNetworkHardeningsList & { /** * The underlying HTTP response. */ @@ -10256,14 +9435,14 @@ export type SecuritySolutionsReferenceDataListByHomeRegionResponse = SecuritySol /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySolutionsReferenceDataList; + parsedBody: AdaptiveNetworkHardeningsList; }; }; /** * Contains response data for the list operation. */ -export type ExternalSecuritySolutionsListResponse = ExternalSecuritySolutionList & { +export type AllowedConnectionsListResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -10276,14 +9455,14 @@ export type ExternalSecuritySolutionsListResponse = ExternalSecuritySolutionList /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: AllowedConnectionsList; }; }; /** * Contains response data for the listByHomeRegion operation. */ -export type ExternalSecuritySolutionsListByHomeRegionResponse = ExternalSecuritySolutionList & { +export type AllowedConnectionsListByHomeRegionResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -10296,14 +9475,14 @@ export type ExternalSecuritySolutionsListByHomeRegionResponse = ExternalSecurity /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: AllowedConnectionsList; }; }; /** * Contains response data for the get operation. */ -export type ExternalSecuritySolutionsGetResponse = ExternalSecuritySolutionUnion & { +export type AllowedConnectionsGetResponse = AllowedConnectionsResource & { /** * The underlying HTTP response. */ @@ -10316,14 +9495,14 @@ export type ExternalSecuritySolutionsGetResponse = ExternalSecuritySolutionUnion /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionUnion; + parsedBody: AllowedConnectionsResource; }; }; /** * Contains response data for the listNext operation. */ -export type ExternalSecuritySolutionsListNextResponse = ExternalSecuritySolutionList & { +export type AllowedConnectionsListNextResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -10336,14 +9515,14 @@ export type ExternalSecuritySolutionsListNextResponse = ExternalSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: AllowedConnectionsList; }; }; /** * Contains response data for the listByHomeRegionNext operation. */ -export type ExternalSecuritySolutionsListByHomeRegionNextResponse = ExternalSecuritySolutionList & { +export type AllowedConnectionsListByHomeRegionNextResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -10356,14 +9535,14 @@ export type ExternalSecuritySolutionsListByHomeRegionNextResponse = ExternalSecu /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: AllowedConnectionsList; }; }; /** * Contains response data for the list operation. */ -export type SecureScoresListResponse = SecureScoresList & { +export type TopologyListResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -10376,14 +9555,14 @@ export type SecureScoresListResponse = SecureScoresList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoresList; + parsedBody: TopologyList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByHomeRegion operation. */ -export type SecureScoresGetResponse = SecureScoreItem & { +export type TopologyListByHomeRegionResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -10396,14 +9575,14 @@ export type SecureScoresGetResponse = SecureScoreItem & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreItem; + parsedBody: TopologyList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type SecureScoresListNextResponse = SecureScoresList & { +export type TopologyGetResponse = TopologyResource & { /** * The underlying HTTP response. */ @@ -10416,14 +9595,14 @@ export type SecureScoresListNextResponse = SecureScoresList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoresList; + parsedBody: TopologyResource; }; }; /** - * Contains response data for the listBySecureScore operation. + * Contains response data for the listNext operation. */ -export type SecureScoreControlsListBySecureScoreResponse = SecureScoreControlList & { +export type TopologyListNextResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -10436,14 +9615,14 @@ export type SecureScoreControlsListBySecureScoreResponse = SecureScoreControlLis /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlList; + parsedBody: TopologyList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type SecureScoreControlsListResponse = SecureScoreControlList & { +export type TopologyListByHomeRegionNextResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -10456,14 +9635,14 @@ export type SecureScoreControlsListResponse = SecureScoreControlList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlList; + parsedBody: TopologyList; }; }; /** - * Contains response data for the listBySecureScoreNext operation. + * Contains response data for the list operation. */ -export type SecureScoreControlsListBySecureScoreNextResponse = SecureScoreControlList & { +export type JitNetworkAccessPoliciesListResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -10476,14 +9655,14 @@ export type SecureScoreControlsListBySecureScoreNextResponse = SecureScoreContro /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByRegion operation. */ -export type SecureScoreControlsListNextResponse = SecureScoreControlList & { +export type JitNetworkAccessPoliciesListByRegionResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -10496,14 +9675,14 @@ export type SecureScoreControlsListNextResponse = SecureScoreControlList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroup operation. */ -export type SecureScoreControlDefinitionsListResponse = SecureScoreControlDefinitionList & { +export type JitNetworkAccessPoliciesListByResourceGroupResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -10516,14 +9695,14 @@ export type SecureScoreControlDefinitionsListResponse = SecureScoreControlDefini /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlDefinitionList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the listByResourceGroupAndRegion operation. */ -export type SecureScoreControlDefinitionsListBySubscriptionResponse = SecureScoreControlDefinitionList & { +export type JitNetworkAccessPoliciesListByResourceGroupAndRegionResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -10536,14 +9715,14 @@ export type SecureScoreControlDefinitionsListBySubscriptionResponse = SecureScor /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlDefinitionList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type SecureScoreControlDefinitionsListNextResponse = SecureScoreControlDefinitionList & { +export type JitNetworkAccessPoliciesGetResponse = JitNetworkAccessPolicy & { /** * The underlying HTTP response. */ @@ -10556,14 +9735,14 @@ export type SecureScoreControlDefinitionsListNextResponse = SecureScoreControlDe /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlDefinitionList; + parsedBody: JitNetworkAccessPolicy; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SecureScoreControlDefinitionsListBySubscriptionNextResponse = SecureScoreControlDefinitionList & { +export type JitNetworkAccessPoliciesCreateOrUpdateResponse = JitNetworkAccessPolicy & { /** * The underlying HTTP response. */ @@ -10576,14 +9755,14 @@ export type SecureScoreControlDefinitionsListBySubscriptionNextResponse = Secure /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlDefinitionList; + parsedBody: JitNetworkAccessPolicy; }; }; /** - * Contains response data for the list operation. + * Contains response data for the initiate operation. */ -export type SecuritySolutionsListResponse = SecuritySolutionList & { +export type JitNetworkAccessPoliciesInitiateResponse = JitNetworkAccessRequest & { /** * The underlying HTTP response. */ @@ -10596,14 +9775,14 @@ export type SecuritySolutionsListResponse = SecuritySolutionList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySolutionList; + parsedBody: JitNetworkAccessRequest; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type SecuritySolutionsGetResponse = SecuritySolution & { +export type JitNetworkAccessPoliciesListNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -10616,14 +9795,14 @@ export type SecuritySolutionsGetResponse = SecuritySolution & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySolution; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByRegionNext operation. */ -export type SecuritySolutionsListNextResponse = SecuritySolutionList & { +export type JitNetworkAccessPoliciesListByRegionNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -10636,14 +9815,14 @@ export type SecuritySolutionsListNextResponse = SecuritySolutionList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySolutionList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ConnectorsListResponse = ConnectorSettingList & { +export type JitNetworkAccessPoliciesListByResourceGroupNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -10656,14 +9835,14 @@ export type ConnectorsListResponse = ConnectorSettingList & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectorSettingList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupAndRegionNext operation. */ -export type ConnectorsGetResponse = ConnectorSetting & { +export type JitNetworkAccessPoliciesListByResourceGroupAndRegionNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -10676,14 +9855,14 @@ export type ConnectorsGetResponse = ConnectorSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectorSetting; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type ConnectorsCreateOrUpdateResponse = ConnectorSetting & { +export type DiscoveredSecuritySolutionsListResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -10696,14 +9875,14 @@ export type ConnectorsCreateOrUpdateResponse = ConnectorSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectorSetting; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByHomeRegion operation. */ -export type ConnectorsListNextResponse = ConnectorSettingList & { +export type DiscoveredSecuritySolutionsListByHomeRegionResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -10716,14 +9895,14 @@ export type ConnectorsListNextResponse = ConnectorSettingList & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectorSettingList; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** * Contains response data for the get operation. */ -export type SqlVulnerabilityAssessmentScansGetResponse = Scan & { +export type DiscoveredSecuritySolutionsGetResponse = DiscoveredSecuritySolution & { /** * The underlying HTTP response. */ @@ -10736,14 +9915,14 @@ export type SqlVulnerabilityAssessmentScansGetResponse = Scan & { /** * The response body as parsed JSON or XML */ - parsedBody: Scan; + parsedBody: DiscoveredSecuritySolution; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type SqlVulnerabilityAssessmentScansListResponse = Scans & { +export type DiscoveredSecuritySolutionsListNextResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -10756,14 +9935,14 @@ export type SqlVulnerabilityAssessmentScansListResponse = Scans & { /** * The response body as parsed JSON or XML */ - parsedBody: Scans; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type SqlVulnerabilityAssessmentScanResultsGetResponse = ScanResult & { +export type DiscoveredSecuritySolutionsListByHomeRegionNextResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -10776,14 +9955,14 @@ export type SqlVulnerabilityAssessmentScanResultsGetResponse = ScanResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ScanResult; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** * Contains response data for the list operation. */ -export type SqlVulnerabilityAssessmentScanResultsListResponse = ScanResults & { +export type SecuritySolutionsReferenceDataListResponse = SecuritySolutionsReferenceDataList & { /** * The underlying HTTP response. */ @@ -10796,14 +9975,14 @@ export type SqlVulnerabilityAssessmentScanResultsListResponse = ScanResults & { /** * The response body as parsed JSON or XML */ - parsedBody: ScanResults; + parsedBody: SecuritySolutionsReferenceDataList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByHomeRegion operation. */ -export type SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateResponse = RuleResults & { +export type SecuritySolutionsReferenceDataListByHomeRegionResponse = SecuritySolutionsReferenceDataList & { /** * The underlying HTTP response. */ @@ -10816,14 +9995,14 @@ export type SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateResponse = Rule /** * The response body as parsed JSON or XML */ - parsedBody: RuleResults; + parsedBody: SecuritySolutionsReferenceDataList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type SqlVulnerabilityAssessmentBaselineRulesGetResponse = RuleResults & { +export type ExternalSecuritySolutionsListResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -10836,14 +10015,14 @@ export type SqlVulnerabilityAssessmentBaselineRulesGetResponse = RuleResults & { /** * The response body as parsed JSON or XML */ - parsedBody: RuleResults; + parsedBody: ExternalSecuritySolutionList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByHomeRegion operation. */ -export type SqlVulnerabilityAssessmentBaselineRulesListResponse = RulesResults & { +export type ExternalSecuritySolutionsListByHomeRegionResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -10856,14 +10035,14 @@ export type SqlVulnerabilityAssessmentBaselineRulesListResponse = RulesResults & /** * The response body as parsed JSON or XML */ - parsedBody: RulesResults; + parsedBody: ExternalSecuritySolutionList; }; }; /** - * Contains response data for the add operation. + * Contains response data for the get operation. */ -export type SqlVulnerabilityAssessmentBaselineRulesAddResponse = RulesResults & { +export type ExternalSecuritySolutionsGetResponse = ExternalSecuritySolutionUnion & { /** * The underlying HTTP response. */ @@ -10876,14 +10055,14 @@ export type SqlVulnerabilityAssessmentBaselineRulesAddResponse = RulesResults & /** * The response body as parsed JSON or XML */ - parsedBody: RulesResults; + parsedBody: ExternalSecuritySolutionUnion; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type IotDefenderSettingsListResponse = IotDefenderSettingsList & { +export type ExternalSecuritySolutionsListNextResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -10896,14 +10075,14 @@ export type IotDefenderSettingsListResponse = IotDefenderSettingsList & { /** * The response body as parsed JSON or XML */ - parsedBody: IotDefenderSettingsList; + parsedBody: ExternalSecuritySolutionList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type IotDefenderSettingsGetResponse = IotDefenderSettingsModel & { +export type ExternalSecuritySolutionsListByHomeRegionNextResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -10916,14 +10095,14 @@ export type IotDefenderSettingsGetResponse = IotDefenderSettingsModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotDefenderSettingsModel; + parsedBody: ExternalSecuritySolutionList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type IotDefenderSettingsCreateOrUpdateResponse = IotDefenderSettingsModel & { +export type SecureScoresListResponse = SecureScoresList & { /** * The underlying HTTP response. */ @@ -10936,14 +10115,14 @@ export type IotDefenderSettingsCreateOrUpdateResponse = IotDefenderSettingsModel /** * The response body as parsed JSON or XML */ - parsedBody: IotDefenderSettingsModel; + parsedBody: SecureScoresList; }; }; /** - * Contains response data for the packageDownloadsMethod operation. + * Contains response data for the get operation. */ -export type IotDefenderSettingsPackageDownloadsMethodResponse = PackageDownloads & { +export type SecureScoresGetResponse = SecureScoreItem & { /** * The underlying HTTP response. */ @@ -10956,40 +10135,14 @@ export type IotDefenderSettingsPackageDownloadsMethodResponse = PackageDownloads /** * The response body as parsed JSON or XML */ - parsedBody: PackageDownloads; + parsedBody: SecureScoreItem; }; }; /** - * Contains response data for the downloadManagerActivation operation. - */ -export type IotDefenderSettingsDownloadManagerActivationResponse = { - /** - * BROWSER ONLY - * - * The response body as a browser Blob. - * Always undefined in node.js. - */ - blobBody?: Promise; - - /** - * NODEJS ONLY - * - * The response body as a node.js Readable stream. - * Always undefined in the browser. - */ - readableStreamBody?: NodeJS.ReadableStream; - - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse; -}; - -/** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type IotSensorsListResponse = IotSensorsList & { +export type SecureScoresListNextResponse = SecureScoresList & { /** * The underlying HTTP response. */ @@ -11002,14 +10155,14 @@ export type IotSensorsListResponse = IotSensorsList & { /** * The response body as parsed JSON or XML */ - parsedBody: IotSensorsList; + parsedBody: SecureScoresList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySecureScore operation. */ -export type IotSensorsGetResponse = IotSensorsModel & { +export type SecureScoreControlsListBySecureScoreResponse = SecureScoreControlList & { /** * The underlying HTTP response. */ @@ -11022,14 +10175,14 @@ export type IotSensorsGetResponse = IotSensorsModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotSensorsModel; + parsedBody: SecureScoreControlList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type IotSensorsCreateOrUpdateResponse = IotSensorsModel & { +export type SecureScoreControlsListResponse = SecureScoreControlList & { /** * The underlying HTTP response. */ @@ -11042,66 +10195,14 @@ export type IotSensorsCreateOrUpdateResponse = IotSensorsModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotSensorsModel; + parsedBody: SecureScoreControlList; }; }; /** - * Contains response data for the downloadActivation operation. - */ -export type IotSensorsDownloadActivationResponse = { - /** - * BROWSER ONLY - * - * The response body as a browser Blob. - * Always undefined in node.js. - */ - blobBody?: Promise; - - /** - * NODEJS ONLY - * - * The response body as a node.js Readable stream. - * Always undefined in the browser. - */ - readableStreamBody?: NodeJS.ReadableStream; - - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse; -}; - -/** - * Contains response data for the downloadResetPassword operation. - */ -export type IotSensorsDownloadResetPasswordResponse = { - /** - * BROWSER ONLY - * - * The response body as a browser Blob. - * Always undefined in node.js. - */ - blobBody?: Promise; - - /** - * NODEJS ONLY - * - * The response body as a node.js Readable stream. - * Always undefined in the browser. - */ - readableStreamBody?: NodeJS.ReadableStream; - - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse; -}; - -/** - * Contains response data for the list operation. + * Contains response data for the listBySecureScoreNext operation. */ -export type DevicesForSubscriptionListResponse = DeviceList & { +export type SecureScoreControlsListBySecureScoreNextResponse = SecureScoreControlList & { /** * The underlying HTTP response. */ @@ -11114,14 +10215,14 @@ export type DevicesForSubscriptionListResponse = DeviceList & { /** * The response body as parsed JSON or XML */ - parsedBody: DeviceList; + parsedBody: SecureScoreControlList; }; }; /** * Contains response data for the listNext operation. */ -export type DevicesForSubscriptionListNextResponse = DeviceList & { +export type SecureScoreControlsListNextResponse = SecureScoreControlList & { /** * The underlying HTTP response. */ @@ -11134,14 +10235,14 @@ export type DevicesForSubscriptionListNextResponse = DeviceList & { /** * The response body as parsed JSON or XML */ - parsedBody: DeviceList; + parsedBody: SecureScoreControlList; }; }; /** * Contains response data for the list operation. */ -export type DevicesForHubListResponse = DeviceList & { +export type SecureScoreControlDefinitionsListResponse = SecureScoreControlDefinitionList & { /** * The underlying HTTP response. */ @@ -11154,14 +10255,14 @@ export type DevicesForHubListResponse = DeviceList & { /** * The response body as parsed JSON or XML */ - parsedBody: DeviceList; + parsedBody: SecureScoreControlDefinitionList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listBySubscription operation. */ -export type DevicesForHubListNextResponse = DeviceList & { +export type SecureScoreControlDefinitionsListBySubscriptionResponse = SecureScoreControlDefinitionList & { /** * The underlying HTTP response. */ @@ -11174,14 +10275,14 @@ export type DevicesForHubListNextResponse = DeviceList & { /** * The response body as parsed JSON or XML */ - parsedBody: DeviceList; + parsedBody: SecureScoreControlDefinitionList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type DeviceGetResponse = Device & { +export type SecureScoreControlDefinitionsListNextResponse = SecureScoreControlDefinitionList & { /** * The underlying HTTP response. */ @@ -11194,14 +10295,14 @@ export type DeviceGetResponse = Device & { /** * The response body as parsed JSON or XML */ - parsedBody: Device; + parsedBody: SecureScoreControlDefinitionList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type OnPremiseIotSensorsListResponse = OnPremiseIotSensorsList & { +export type SecureScoreControlDefinitionsListBySubscriptionNextResponse = SecureScoreControlDefinitionList & { /** * The underlying HTTP response. */ @@ -11214,14 +10315,14 @@ export type OnPremiseIotSensorsListResponse = OnPremiseIotSensorsList & { /** * The response body as parsed JSON or XML */ - parsedBody: OnPremiseIotSensorsList; + parsedBody: SecureScoreControlDefinitionList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type OnPremiseIotSensorsGetResponse = OnPremiseIotSensor & { +export type SecuritySolutionsListResponse = SecuritySolutionList & { /** * The underlying HTTP response. */ @@ -11234,14 +10335,14 @@ export type OnPremiseIotSensorsGetResponse = OnPremiseIotSensor & { /** * The response body as parsed JSON or XML */ - parsedBody: OnPremiseIotSensor; + parsedBody: SecuritySolutionList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type OnPremiseIotSensorsCreateOrUpdateResponse = OnPremiseIotSensor & { +export type SecuritySolutionsGetResponse = SecuritySolution & { /** * The underlying HTTP response. */ @@ -11254,66 +10355,14 @@ export type OnPremiseIotSensorsCreateOrUpdateResponse = OnPremiseIotSensor & { /** * The response body as parsed JSON or XML */ - parsedBody: OnPremiseIotSensor; + parsedBody: SecuritySolution; }; }; /** - * Contains response data for the downloadActivation operation. - */ -export type OnPremiseIotSensorsDownloadActivationResponse = { - /** - * BROWSER ONLY - * - * The response body as a browser Blob. - * Always undefined in node.js. - */ - blobBody?: Promise; - - /** - * NODEJS ONLY - * - * The response body as a node.js Readable stream. - * Always undefined in the browser. - */ - readableStreamBody?: NodeJS.ReadableStream; - - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse; -}; - -/** - * Contains response data for the downloadResetPassword operation. - */ -export type OnPremiseIotSensorsDownloadResetPasswordResponse = { - /** - * BROWSER ONLY - * - * The response body as a browser Blob. - * Always undefined in node.js. - */ - blobBody?: Promise; - - /** - * NODEJS ONLY - * - * The response body as a node.js Readable stream. - * Always undefined in the browser. - */ - readableStreamBody?: NodeJS.ReadableStream; - - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse; -}; - -/** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type IotSitesListResponse = IotSitesList & { +export type SecuritySolutionsListNextResponse = SecuritySolutionList & { /** * The underlying HTTP response. */ @@ -11326,14 +10375,14 @@ export type IotSitesListResponse = IotSitesList & { /** * The response body as parsed JSON or XML */ - parsedBody: IotSitesList; + parsedBody: SecuritySolutionList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type IotSitesGetResponse = IotSitesModel & { +export type ConnectorsListResponse = ConnectorSettingList & { /** * The underlying HTTP response. */ @@ -11346,14 +10395,14 @@ export type IotSitesGetResponse = IotSitesModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotSitesModel; + parsedBody: ConnectorSettingList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type IotSitesCreateOrUpdateResponse = IotSitesModel & { +export type ConnectorsGetResponse = ConnectorSetting & { /** * The underlying HTTP response. */ @@ -11366,14 +10415,14 @@ export type IotSitesCreateOrUpdateResponse = IotSitesModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotSitesModel; + parsedBody: ConnectorSetting; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type IotAlertsListResponse = IotAlertListModel & { +export type ConnectorsCreateOrUpdateResponse = ConnectorSetting & { /** * The underlying HTTP response. */ @@ -11386,14 +10435,14 @@ export type IotAlertsListResponse = IotAlertListModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotAlertListModel; + parsedBody: ConnectorSetting; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type IotAlertsGetResponse = IotAlertModel & { +export type ConnectorsListNextResponse = ConnectorSettingList & { /** * The underlying HTTP response. */ @@ -11406,14 +10455,14 @@ export type IotAlertsGetResponse = IotAlertModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotAlertModel; + parsedBody: ConnectorSettingList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type IotAlertsListNextResponse = IotAlertListModel & { +export type SqlVulnerabilityAssessmentScansGetResponse = Scan & { /** * The underlying HTTP response. */ @@ -11426,14 +10475,14 @@ export type IotAlertsListNextResponse = IotAlertListModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotAlertListModel; + parsedBody: Scan; }; }; /** * Contains response data for the list operation. */ -export type IotAlertTypesListResponse = IotAlertTypeList & { +export type SqlVulnerabilityAssessmentScansListResponse = Scans & { /** * The underlying HTTP response. */ @@ -11446,14 +10495,14 @@ export type IotAlertTypesListResponse = IotAlertTypeList & { /** * The response body as parsed JSON or XML */ - parsedBody: IotAlertTypeList; + parsedBody: Scans; }; }; /** * Contains response data for the get operation. */ -export type IotAlertTypesGetResponse = IotAlertType & { +export type SqlVulnerabilityAssessmentScanResultsGetResponse = ScanResult & { /** * The underlying HTTP response. */ @@ -11466,14 +10515,14 @@ export type IotAlertTypesGetResponse = IotAlertType & { /** * The response body as parsed JSON or XML */ - parsedBody: IotAlertType; + parsedBody: ScanResult; }; }; /** * Contains response data for the list operation. */ -export type IotRecommendationsListResponse = IotRecommendationListModel & { +export type SqlVulnerabilityAssessmentScanResultsListResponse = ScanResults & { /** * The underlying HTTP response. */ @@ -11486,14 +10535,14 @@ export type IotRecommendationsListResponse = IotRecommendationListModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotRecommendationListModel; + parsedBody: ScanResults; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type IotRecommendationsGetResponse = IotRecommendationModel & { +export type SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateResponse = RuleResults & { /** * The underlying HTTP response. */ @@ -11506,14 +10555,14 @@ export type IotRecommendationsGetResponse = IotRecommendationModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotRecommendationModel; + parsedBody: RuleResults; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type IotRecommendationsListNextResponse = IotRecommendationListModel & { +export type SqlVulnerabilityAssessmentBaselineRulesGetResponse = RuleResults & { /** * The underlying HTTP response. */ @@ -11526,14 +10575,14 @@ export type IotRecommendationsListNextResponse = IotRecommendationListModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IotRecommendationListModel; + parsedBody: RuleResults; }; }; /** * Contains response data for the list operation. */ -export type IotRecommendationTypesListResponse = IotRecommendationTypeList & { +export type SqlVulnerabilityAssessmentBaselineRulesListResponse = RulesResults & { /** * The underlying HTTP response. */ @@ -11546,14 +10595,14 @@ export type IotRecommendationTypesListResponse = IotRecommendationTypeList & { /** * The response body as parsed JSON or XML */ - parsedBody: IotRecommendationTypeList; + parsedBody: RulesResults; }; }; /** - * Contains response data for the get operation. + * Contains response data for the add operation. */ -export type IotRecommendationTypesGetResponse = IotRecommendationType & { +export type SqlVulnerabilityAssessmentBaselineRulesAddResponse = RulesResults & { /** * The underlying HTTP response. */ @@ -11566,7 +10615,7 @@ export type IotRecommendationTypesGetResponse = IotRecommendationType & { /** * The response body as parsed JSON or XML */ - parsedBody: IotRecommendationType; + parsedBody: RulesResults; }; }; @@ -12069,3 +11118,143 @@ export type SoftwareInventoriesListBySubscriptionNextResponse = SoftwaresList & parsedBody: SoftwaresList; }; }; + +/** + * Contains response data for the list operation. + */ +export type SecurityConnectorsListResponse = SecurityConnectorsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityConnectorsList; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type SecurityConnectorsListByResourceGroupResponse = SecurityConnectorsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityConnectorsList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type SecurityConnectorsGetResponse = SecurityConnector & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityConnector; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type SecurityConnectorsCreateOrUpdateResponse = SecurityConnector & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityConnector; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type SecurityConnectorsUpdateResponse = SecurityConnector & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityConnector; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type SecurityConnectorsListNextResponse = SecurityConnectorsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityConnectorsList; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type SecurityConnectorsListByResourceGroupNextResponse = SecurityConnectorsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityConnectorsList; + }; +}; diff --git a/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts b/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts index 311426e1e10c..99996731b086 100644 --- a/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts +++ b/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +66,23 @@ export { InformationProtectionPolicyList, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/ingestionSettingsMappers.ts b/sdk/security/arm-security/src/models/ingestionSettingsMappers.ts index 3782812f79e1..1f55a27a2e96 100644 --- a/sdk/security/arm-security/src/models/ingestionSettingsMappers.ts +++ b/sdk/security/arm-security/src/models/ingestionSettingsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -44,17 +45,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -67,34 +69,23 @@ export { IngestionSetting, IngestionSettingList, IngestionSettingToken, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -121,22 +112,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts b/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts deleted file mode 100644 index 062f7953b60c..000000000000 --- a/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - ActiveConnectionsNotInAllowedRange, - AdaptiveNetworkHardening, - AdditionalData, - AdvancedThreatProtectionSetting, - Alert, - AlertEntity, - AlertsSuppressionRule, - AlertSyncSettings, - AllowlistCustomAlertRule, - AmqpC2DMessagesNotInAllowedRange, - AmqpC2DRejectedMessagesNotInAllowedRange, - AmqpD2CMessagesNotInAllowedRange, - AscLocation, - AssessmentLinks, - AssessmentStatus, - AuthenticationDetailsProperties, - AutoProvisioningSetting, - AwAssumeRoleAuthenticationDetailsProperties, - AwsCredsAuthenticationDetailsProperties, - AzureResourceDetails, - AzureResourceIdentifier, - AzureResourceLink, - Baseline, - BaselineAdjustedResult, - BaseResource, - BenchmarkReference, - CloudError, - Compliance, - ComplianceResult, - ComplianceSegment, - ConnectionFromIpNotAllowed, - ConnectionToIpNotAllowed, - ConnectorSetting, - ContainerRegistryVulnerabilityProperties, - CustomAlertRule, - CVE, - CVSS, - DataExportSettings, - DenylistCustomAlertRule, - Device, - DeviceSecurityGroup, - DirectMethodInvokesNotInAllowedRange, - EffectiveNetworkSecurityGroups, - FailedLocalLoginsNotInAllowedRange, - FileUploadsNotInAllowedRange, - Firmware, - GcpCredentialsDetailsProperties, - HttpC2DMessagesNotInAllowedRange, - HttpC2DRejectedMessagesNotInAllowedRange, - HttpD2CMessagesNotInAllowedRange, - HybridComputeSettingsProperties, - InformationProtectionKeyword, - InformationProtectionPolicy, - InformationType, - IngestionSetting, - IotAlertModel, - IotAlertType, - IotAlertTypeList, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, - IoTSecurityAlertedDevice, - IoTSecurityDeviceAlert, - IoTSecurityDeviceRecommendation, - IoTSecuritySolutionAnalyticsModel, - IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, - IoTSeverityMetrics, - IotSitesModel, - IpAddress, - ListCustomAlertRule, - LocalUserNotAllowed, - LogAnalyticsIdentifier, - MacAddress, - MqttC2DMessagesNotInAllowedRange, - MqttC2DRejectedMessagesNotInAllowedRange, - MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, - OnPremiseResourceDetails, - OnPremiseSqlResourceDetails, - Pricing, - ProcessNotAllowed, - Protocol1, - ProxyServerProperties, - QueryCheck, - QueuePurgesNotInAllowedRange, - RegulatoryComplianceAssessment, - RegulatoryComplianceControl, - RegulatoryComplianceStandard, - Remediation, - Resource, - ResourceDetails, - ResourceIdentifier, - Rule, - RuleResults, - RuleResultsProperties, - Scan, - ScanProperties, - ScanResult, - ScanResultProperties, - ScopeElement, - SecureScoreControlDefinitionItem, - SecureScoreControlDefinitionSource, - SecureScoreControlDetails, - SecureScoreItem, - SecurityAssessment, - SecurityAssessmentMetadata, - SecurityAssessmentMetadataPartnerData, - SecurityAssessmentMetadataProperties, - SecurityAssessmentPartnerData, - SecurityContact, - SecuritySubAssessment, - SecurityTask, - SecurityTaskParameters, - SensitivityLabel, - Sensor, - ServerVulnerabilityAssessment, - ServerVulnerabilityProperties, - ServicePrincipalProperties, - Setting, - Site, - Software, - SqlServerVulnerabilityProperties, - SubAssessmentStatus, - SuppressionAlertsScope, - ThresholdCustomAlertRule, - TimeWindowCustomAlertRule, - TwinUpdatesNotInAllowedRange, - UnauthorizedOperationsNotInAllowedRange, - VaRule, - VendorReference, - WorkspaceSetting -} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotAlertsMappers.ts b/sdk/security/arm-security/src/models/iotAlertsMappers.ts deleted file mode 100644 index c05b8763c45d..000000000000 --- a/sdk/security/arm-security/src/models/iotAlertsMappers.ts +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - ActiveConnectionsNotInAllowedRange, - AdaptiveNetworkHardening, - AdditionalData, - AdvancedThreatProtectionSetting, - Alert, - AlertEntity, - AlertsSuppressionRule, - AlertSyncSettings, - AllowlistCustomAlertRule, - AmqpC2DMessagesNotInAllowedRange, - AmqpC2DRejectedMessagesNotInAllowedRange, - AmqpD2CMessagesNotInAllowedRange, - AscLocation, - AssessmentLinks, - AssessmentStatus, - AuthenticationDetailsProperties, - AutoProvisioningSetting, - AwAssumeRoleAuthenticationDetailsProperties, - AwsCredsAuthenticationDetailsProperties, - AzureResourceDetails, - AzureResourceIdentifier, - AzureResourceLink, - Baseline, - BaselineAdjustedResult, - BaseResource, - BenchmarkReference, - CloudError, - Compliance, - ComplianceResult, - ComplianceSegment, - ConnectionFromIpNotAllowed, - ConnectionToIpNotAllowed, - ConnectorSetting, - ContainerRegistryVulnerabilityProperties, - CustomAlertRule, - CVE, - CVSS, - DataExportSettings, - DenylistCustomAlertRule, - Device, - DeviceSecurityGroup, - DirectMethodInvokesNotInAllowedRange, - EffectiveNetworkSecurityGroups, - FailedLocalLoginsNotInAllowedRange, - FileUploadsNotInAllowedRange, - Firmware, - GcpCredentialsDetailsProperties, - HttpC2DMessagesNotInAllowedRange, - HttpC2DRejectedMessagesNotInAllowedRange, - HttpD2CMessagesNotInAllowedRange, - HybridComputeSettingsProperties, - InformationProtectionKeyword, - InformationProtectionPolicy, - InformationType, - IngestionSetting, - IotAlertListModel, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, - IoTSecurityAlertedDevice, - IoTSecurityDeviceAlert, - IoTSecurityDeviceRecommendation, - IoTSecuritySolutionAnalyticsModel, - IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, - IoTSeverityMetrics, - IotSitesModel, - IpAddress, - ListCustomAlertRule, - LocalUserNotAllowed, - LogAnalyticsIdentifier, - MacAddress, - MqttC2DMessagesNotInAllowedRange, - MqttC2DRejectedMessagesNotInAllowedRange, - MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, - OnPremiseResourceDetails, - OnPremiseSqlResourceDetails, - Pricing, - ProcessNotAllowed, - Protocol1, - ProxyServerProperties, - QueryCheck, - QueuePurgesNotInAllowedRange, - RegulatoryComplianceAssessment, - RegulatoryComplianceControl, - RegulatoryComplianceStandard, - Remediation, - Resource, - ResourceDetails, - ResourceIdentifier, - Rule, - RuleResults, - RuleResultsProperties, - Scan, - ScanProperties, - ScanResult, - ScanResultProperties, - ScopeElement, - SecureScoreControlDefinitionItem, - SecureScoreControlDefinitionSource, - SecureScoreControlDetails, - SecureScoreItem, - SecurityAssessment, - SecurityAssessmentMetadata, - SecurityAssessmentMetadataPartnerData, - SecurityAssessmentMetadataProperties, - SecurityAssessmentPartnerData, - SecurityContact, - SecuritySubAssessment, - SecurityTask, - SecurityTaskParameters, - SensitivityLabel, - Sensor, - ServerVulnerabilityAssessment, - ServerVulnerabilityProperties, - ServicePrincipalProperties, - Setting, - Site, - Software, - SqlServerVulnerabilityProperties, - SubAssessmentStatus, - SuppressionAlertsScope, - ThresholdCustomAlertRule, - TimeWindowCustomAlertRule, - TwinUpdatesNotInAllowedRange, - UnauthorizedOperationsNotInAllowedRange, - VaRule, - VendorReference, - WorkspaceSetting -} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts b/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts deleted file mode 100644 index 4170abcc4b17..000000000000 --- a/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - ActiveConnectionsNotInAllowedRange, - AdaptiveNetworkHardening, - AdditionalData, - AdvancedThreatProtectionSetting, - Alert, - AlertEntity, - AlertsSuppressionRule, - AlertSyncSettings, - AllowlistCustomAlertRule, - AmqpC2DMessagesNotInAllowedRange, - AmqpC2DRejectedMessagesNotInAllowedRange, - AmqpD2CMessagesNotInAllowedRange, - AscLocation, - AssessmentLinks, - AssessmentStatus, - AuthenticationDetailsProperties, - AutoProvisioningSetting, - AwAssumeRoleAuthenticationDetailsProperties, - AwsCredsAuthenticationDetailsProperties, - AzureResourceDetails, - AzureResourceIdentifier, - AzureResourceLink, - Baseline, - BaselineAdjustedResult, - BaseResource, - BenchmarkReference, - CloudError, - Compliance, - ComplianceResult, - ComplianceSegment, - ConnectionFromIpNotAllowed, - ConnectionToIpNotAllowed, - ConnectorSetting, - ContainerRegistryVulnerabilityProperties, - CustomAlertRule, - CVE, - CVSS, - DataExportSettings, - DenylistCustomAlertRule, - Device, - DeviceSecurityGroup, - DirectMethodInvokesNotInAllowedRange, - EffectiveNetworkSecurityGroups, - FailedLocalLoginsNotInAllowedRange, - FileUploadsNotInAllowedRange, - Firmware, - GcpCredentialsDetailsProperties, - HttpC2DMessagesNotInAllowedRange, - HttpC2DRejectedMessagesNotInAllowedRange, - HttpD2CMessagesNotInAllowedRange, - HybridComputeSettingsProperties, - InformationProtectionKeyword, - InformationProtectionPolicy, - InformationType, - IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsList, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, - IoTSecurityAlertedDevice, - IoTSecurityDeviceAlert, - IoTSecurityDeviceRecommendation, - IoTSecuritySolutionAnalyticsModel, - IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, - IoTSeverityMetrics, - IotSitesModel, - IpAddress, - ListCustomAlertRule, - LocalUserNotAllowed, - LogAnalyticsIdentifier, - MacAddress, - MqttC2DMessagesNotInAllowedRange, - MqttC2DRejectedMessagesNotInAllowedRange, - MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, - OnPremiseResourceDetails, - OnPremiseSqlResourceDetails, - PackageDownloadInfo, - PackageDownloads, - PackageDownloadsCentralManager, - PackageDownloadsCentralManagerFull, - PackageDownloadsCentralManagerFullOvf, - PackageDownloadsSensor, - PackageDownloadsSensorFull, - PackageDownloadsSensorFullOvf, - Pricing, - ProcessNotAllowed, - Protocol1, - ProxyServerProperties, - QueryCheck, - QueuePurgesNotInAllowedRange, - RegulatoryComplianceAssessment, - RegulatoryComplianceControl, - RegulatoryComplianceStandard, - Remediation, - Resource, - ResourceDetails, - ResourceIdentifier, - Rule, - RuleResults, - RuleResultsProperties, - Scan, - ScanProperties, - ScanResult, - ScanResultProperties, - ScopeElement, - SecureScoreControlDefinitionItem, - SecureScoreControlDefinitionSource, - SecureScoreControlDetails, - SecureScoreItem, - SecurityAssessment, - SecurityAssessmentMetadata, - SecurityAssessmentMetadataPartnerData, - SecurityAssessmentMetadataProperties, - SecurityAssessmentPartnerData, - SecurityContact, - SecuritySubAssessment, - SecurityTask, - SecurityTaskParameters, - SensitivityLabel, - Sensor, - ServerVulnerabilityAssessment, - ServerVulnerabilityProperties, - ServicePrincipalProperties, - Setting, - Site, - Software, - SqlServerVulnerabilityProperties, - SubAssessmentStatus, - SuppressionAlertsScope, - ThresholdCustomAlertRule, - TimeWindowCustomAlertRule, - TwinUpdatesNotInAllowedRange, - UnauthorizedOperationsNotInAllowedRange, - UpgradePackageDownloadInfo, - VaRule, - VendorReference, - WorkspaceSetting -} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts b/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts deleted file mode 100644 index 89454e2f7d7f..000000000000 --- a/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - ActiveConnectionsNotInAllowedRange, - AdaptiveNetworkHardening, - AdditionalData, - AdvancedThreatProtectionSetting, - Alert, - AlertEntity, - AlertsSuppressionRule, - AlertSyncSettings, - AllowlistCustomAlertRule, - AmqpC2DMessagesNotInAllowedRange, - AmqpC2DRejectedMessagesNotInAllowedRange, - AmqpD2CMessagesNotInAllowedRange, - AscLocation, - AssessmentLinks, - AssessmentStatus, - AuthenticationDetailsProperties, - AutoProvisioningSetting, - AwAssumeRoleAuthenticationDetailsProperties, - AwsCredsAuthenticationDetailsProperties, - AzureResourceDetails, - AzureResourceIdentifier, - AzureResourceLink, - Baseline, - BaselineAdjustedResult, - BaseResource, - BenchmarkReference, - CloudError, - Compliance, - ComplianceResult, - ComplianceSegment, - ConnectionFromIpNotAllowed, - ConnectionToIpNotAllowed, - ConnectorSetting, - ContainerRegistryVulnerabilityProperties, - CustomAlertRule, - CVE, - CVSS, - DataExportSettings, - DenylistCustomAlertRule, - Device, - DeviceSecurityGroup, - DirectMethodInvokesNotInAllowedRange, - EffectiveNetworkSecurityGroups, - FailedLocalLoginsNotInAllowedRange, - FileUploadsNotInAllowedRange, - Firmware, - GcpCredentialsDetailsProperties, - HttpC2DMessagesNotInAllowedRange, - HttpC2DRejectedMessagesNotInAllowedRange, - HttpD2CMessagesNotInAllowedRange, - HybridComputeSettingsProperties, - InformationProtectionKeyword, - InformationProtectionPolicy, - InformationType, - IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, - IotRecommendationTypeList, - IoTSecurityAlertedDevice, - IoTSecurityDeviceAlert, - IoTSecurityDeviceRecommendation, - IoTSecuritySolutionAnalyticsModel, - IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, - IoTSeverityMetrics, - IotSitesModel, - IpAddress, - ListCustomAlertRule, - LocalUserNotAllowed, - LogAnalyticsIdentifier, - MacAddress, - MqttC2DMessagesNotInAllowedRange, - MqttC2DRejectedMessagesNotInAllowedRange, - MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, - OnPremiseResourceDetails, - OnPremiseSqlResourceDetails, - Pricing, - ProcessNotAllowed, - Protocol1, - ProxyServerProperties, - QueryCheck, - QueuePurgesNotInAllowedRange, - RegulatoryComplianceAssessment, - RegulatoryComplianceControl, - RegulatoryComplianceStandard, - Remediation, - Resource, - ResourceDetails, - ResourceIdentifier, - Rule, - RuleResults, - RuleResultsProperties, - Scan, - ScanProperties, - ScanResult, - ScanResultProperties, - ScopeElement, - SecureScoreControlDefinitionItem, - SecureScoreControlDefinitionSource, - SecureScoreControlDetails, - SecureScoreItem, - SecurityAssessment, - SecurityAssessmentMetadata, - SecurityAssessmentMetadataPartnerData, - SecurityAssessmentMetadataProperties, - SecurityAssessmentPartnerData, - SecurityContact, - SecuritySubAssessment, - SecurityTask, - SecurityTaskParameters, - SensitivityLabel, - Sensor, - ServerVulnerabilityAssessment, - ServerVulnerabilityProperties, - ServicePrincipalProperties, - Setting, - Site, - Software, - SqlServerVulnerabilityProperties, - SubAssessmentStatus, - SuppressionAlertsScope, - ThresholdCustomAlertRule, - TimeWindowCustomAlertRule, - TwinUpdatesNotInAllowedRange, - UnauthorizedOperationsNotInAllowedRange, - VaRule, - VendorReference, - WorkspaceSetting -} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts b/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts deleted file mode 100644 index ea269f0ce54d..000000000000 --- a/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - ActiveConnectionsNotInAllowedRange, - AdaptiveNetworkHardening, - AdditionalData, - AdvancedThreatProtectionSetting, - Alert, - AlertEntity, - AlertsSuppressionRule, - AlertSyncSettings, - AllowlistCustomAlertRule, - AmqpC2DMessagesNotInAllowedRange, - AmqpC2DRejectedMessagesNotInAllowedRange, - AmqpD2CMessagesNotInAllowedRange, - AscLocation, - AssessmentLinks, - AssessmentStatus, - AuthenticationDetailsProperties, - AutoProvisioningSetting, - AwAssumeRoleAuthenticationDetailsProperties, - AwsCredsAuthenticationDetailsProperties, - AzureResourceDetails, - AzureResourceIdentifier, - AzureResourceLink, - Baseline, - BaselineAdjustedResult, - BaseResource, - BenchmarkReference, - CloudError, - Compliance, - ComplianceResult, - ComplianceSegment, - ConnectionFromIpNotAllowed, - ConnectionToIpNotAllowed, - ConnectorSetting, - ContainerRegistryVulnerabilityProperties, - CustomAlertRule, - CVE, - CVSS, - DataExportSettings, - DenylistCustomAlertRule, - Device, - DeviceSecurityGroup, - DirectMethodInvokesNotInAllowedRange, - EffectiveNetworkSecurityGroups, - FailedLocalLoginsNotInAllowedRange, - FileUploadsNotInAllowedRange, - Firmware, - GcpCredentialsDetailsProperties, - HttpC2DMessagesNotInAllowedRange, - HttpC2DRejectedMessagesNotInAllowedRange, - HttpD2CMessagesNotInAllowedRange, - HybridComputeSettingsProperties, - InformationProtectionKeyword, - InformationProtectionPolicy, - InformationType, - IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationListModel, - IotRecommendationModel, - IotRecommendationType, - IoTSecurityAlertedDevice, - IoTSecurityDeviceAlert, - IoTSecurityDeviceRecommendation, - IoTSecuritySolutionAnalyticsModel, - IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, - IoTSeverityMetrics, - IotSitesModel, - IpAddress, - ListCustomAlertRule, - LocalUserNotAllowed, - LogAnalyticsIdentifier, - MacAddress, - MqttC2DMessagesNotInAllowedRange, - MqttC2DRejectedMessagesNotInAllowedRange, - MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, - OnPremiseResourceDetails, - OnPremiseSqlResourceDetails, - Pricing, - ProcessNotAllowed, - Protocol1, - ProxyServerProperties, - QueryCheck, - QueuePurgesNotInAllowedRange, - RegulatoryComplianceAssessment, - RegulatoryComplianceControl, - RegulatoryComplianceStandard, - Remediation, - Resource, - ResourceDetails, - ResourceIdentifier, - Rule, - RuleResults, - RuleResultsProperties, - Scan, - ScanProperties, - ScanResult, - ScanResultProperties, - ScopeElement, - SecureScoreControlDefinitionItem, - SecureScoreControlDefinitionSource, - SecureScoreControlDetails, - SecureScoreItem, - SecurityAssessment, - SecurityAssessmentMetadata, - SecurityAssessmentMetadataPartnerData, - SecurityAssessmentMetadataProperties, - SecurityAssessmentPartnerData, - SecurityContact, - SecuritySubAssessment, - SecurityTask, - SecurityTaskParameters, - SensitivityLabel, - Sensor, - ServerVulnerabilityAssessment, - ServerVulnerabilityProperties, - ServicePrincipalProperties, - Setting, - Site, - Software, - SqlServerVulnerabilityProperties, - SubAssessmentStatus, - SuppressionAlertsScope, - ThresholdCustomAlertRule, - TimeWindowCustomAlertRule, - TwinUpdatesNotInAllowedRange, - UnauthorizedOperationsNotInAllowedRange, - VaRule, - VendorReference, - WorkspaceSetting -} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts b/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts index b0a2893e6450..866f14d8b503 100644 --- a/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts +++ b/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,35 +65,24 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelList, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/iotSensorsMappers.ts b/sdk/security/arm-security/src/models/iotSensorsMappers.ts deleted file mode 100644 index 5376ebbb2d56..000000000000 --- a/sdk/security/arm-security/src/models/iotSensorsMappers.ts +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - ActiveConnectionsNotInAllowedRange, - AdaptiveNetworkHardening, - AdditionalData, - AdvancedThreatProtectionSetting, - Alert, - AlertEntity, - AlertsSuppressionRule, - AlertSyncSettings, - AllowlistCustomAlertRule, - AmqpC2DMessagesNotInAllowedRange, - AmqpC2DRejectedMessagesNotInAllowedRange, - AmqpD2CMessagesNotInAllowedRange, - AscLocation, - AssessmentLinks, - AssessmentStatus, - AuthenticationDetailsProperties, - AutoProvisioningSetting, - AwAssumeRoleAuthenticationDetailsProperties, - AwsCredsAuthenticationDetailsProperties, - AzureResourceDetails, - AzureResourceIdentifier, - AzureResourceLink, - Baseline, - BaselineAdjustedResult, - BaseResource, - BenchmarkReference, - CloudError, - Compliance, - ComplianceResult, - ComplianceSegment, - ConnectionFromIpNotAllowed, - ConnectionToIpNotAllowed, - ConnectorSetting, - ContainerRegistryVulnerabilityProperties, - CustomAlertRule, - CVE, - CVSS, - DataExportSettings, - DenylistCustomAlertRule, - Device, - DeviceSecurityGroup, - DirectMethodInvokesNotInAllowedRange, - EffectiveNetworkSecurityGroups, - FailedLocalLoginsNotInAllowedRange, - FileUploadsNotInAllowedRange, - Firmware, - GcpCredentialsDetailsProperties, - HttpC2DMessagesNotInAllowedRange, - HttpC2DRejectedMessagesNotInAllowedRange, - HttpD2CMessagesNotInAllowedRange, - HybridComputeSettingsProperties, - InformationProtectionKeyword, - InformationProtectionPolicy, - InformationType, - IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, - IoTSecurityAlertedDevice, - IoTSecurityDeviceAlert, - IoTSecurityDeviceRecommendation, - IoTSecuritySolutionAnalyticsModel, - IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsList, - IotSensorsModel, - IoTSeverityMetrics, - IotSitesModel, - IpAddress, - ListCustomAlertRule, - LocalUserNotAllowed, - LogAnalyticsIdentifier, - MacAddress, - MqttC2DMessagesNotInAllowedRange, - MqttC2DRejectedMessagesNotInAllowedRange, - MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, - OnPremiseResourceDetails, - OnPremiseSqlResourceDetails, - Pricing, - ProcessNotAllowed, - Protocol1, - ProxyServerProperties, - QueryCheck, - QueuePurgesNotInAllowedRange, - RegulatoryComplianceAssessment, - RegulatoryComplianceControl, - RegulatoryComplianceStandard, - Remediation, - ResetPasswordInput, - Resource, - ResourceDetails, - ResourceIdentifier, - Rule, - RuleResults, - RuleResultsProperties, - Scan, - ScanProperties, - ScanResult, - ScanResultProperties, - ScopeElement, - SecureScoreControlDefinitionItem, - SecureScoreControlDefinitionSource, - SecureScoreControlDetails, - SecureScoreItem, - SecurityAssessment, - SecurityAssessmentMetadata, - SecurityAssessmentMetadataPartnerData, - SecurityAssessmentMetadataProperties, - SecurityAssessmentPartnerData, - SecurityContact, - SecuritySubAssessment, - SecurityTask, - SecurityTaskParameters, - SensitivityLabel, - Sensor, - ServerVulnerabilityAssessment, - ServerVulnerabilityProperties, - ServicePrincipalProperties, - Setting, - Site, - Software, - SqlServerVulnerabilityProperties, - SubAssessmentStatus, - SuppressionAlertsScope, - ThresholdCustomAlertRule, - TimeWindowCustomAlertRule, - TwinUpdatesNotInAllowedRange, - UnauthorizedOperationsNotInAllowedRange, - VaRule, - VendorReference, - WorkspaceSetting -} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotSitesMappers.ts b/sdk/security/arm-security/src/models/iotSitesMappers.ts deleted file mode 100644 index a4cbe1be32f2..000000000000 --- a/sdk/security/arm-security/src/models/iotSitesMappers.ts +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - ActiveConnectionsNotInAllowedRange, - AdaptiveNetworkHardening, - AdditionalData, - AdvancedThreatProtectionSetting, - Alert, - AlertEntity, - AlertsSuppressionRule, - AlertSyncSettings, - AllowlistCustomAlertRule, - AmqpC2DMessagesNotInAllowedRange, - AmqpC2DRejectedMessagesNotInAllowedRange, - AmqpD2CMessagesNotInAllowedRange, - AscLocation, - AssessmentLinks, - AssessmentStatus, - AuthenticationDetailsProperties, - AutoProvisioningSetting, - AwAssumeRoleAuthenticationDetailsProperties, - AwsCredsAuthenticationDetailsProperties, - AzureResourceDetails, - AzureResourceIdentifier, - AzureResourceLink, - Baseline, - BaselineAdjustedResult, - BaseResource, - BenchmarkReference, - CloudError, - Compliance, - ComplianceResult, - ComplianceSegment, - ConnectionFromIpNotAllowed, - ConnectionToIpNotAllowed, - ConnectorSetting, - ContainerRegistryVulnerabilityProperties, - CustomAlertRule, - CVE, - CVSS, - DataExportSettings, - DenylistCustomAlertRule, - Device, - DeviceSecurityGroup, - DirectMethodInvokesNotInAllowedRange, - EffectiveNetworkSecurityGroups, - FailedLocalLoginsNotInAllowedRange, - FileUploadsNotInAllowedRange, - Firmware, - GcpCredentialsDetailsProperties, - HttpC2DMessagesNotInAllowedRange, - HttpC2DRejectedMessagesNotInAllowedRange, - HttpD2CMessagesNotInAllowedRange, - HybridComputeSettingsProperties, - InformationProtectionKeyword, - InformationProtectionPolicy, - InformationType, - IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, - IoTSecurityAlertedDevice, - IoTSecurityDeviceAlert, - IoTSecurityDeviceRecommendation, - IoTSecuritySolutionAnalyticsModel, - IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, - IoTSeverityMetrics, - IotSitesList, - IotSitesModel, - IpAddress, - ListCustomAlertRule, - LocalUserNotAllowed, - LogAnalyticsIdentifier, - MacAddress, - MqttC2DMessagesNotInAllowedRange, - MqttC2DRejectedMessagesNotInAllowedRange, - MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, - OnPremiseResourceDetails, - OnPremiseSqlResourceDetails, - Pricing, - ProcessNotAllowed, - Protocol1, - ProxyServerProperties, - QueryCheck, - QueuePurgesNotInAllowedRange, - RegulatoryComplianceAssessment, - RegulatoryComplianceControl, - RegulatoryComplianceStandard, - Remediation, - Resource, - ResourceDetails, - ResourceIdentifier, - Rule, - RuleResults, - RuleResultsProperties, - Scan, - ScanProperties, - ScanResult, - ScanResultProperties, - ScopeElement, - SecureScoreControlDefinitionItem, - SecureScoreControlDefinitionSource, - SecureScoreControlDetails, - SecureScoreItem, - SecurityAssessment, - SecurityAssessmentMetadata, - SecurityAssessmentMetadataPartnerData, - SecurityAssessmentMetadataProperties, - SecurityAssessmentPartnerData, - SecurityContact, - SecuritySubAssessment, - SecurityTask, - SecurityTaskParameters, - SensitivityLabel, - Sensor, - ServerVulnerabilityAssessment, - ServerVulnerabilityProperties, - ServicePrincipalProperties, - Setting, - Site, - Software, - SqlServerVulnerabilityProperties, - SubAssessmentStatus, - SuppressionAlertsScope, - ThresholdCustomAlertRule, - TimeWindowCustomAlertRule, - TwinUpdatesNotInAllowedRange, - UnauthorizedOperationsNotInAllowedRange, - VaRule, - VendorReference, - WorkspaceSetting -} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/locationsMappers.ts b/sdk/security/arm-security/src/models/locationsMappers.ts index 9182a818b048..baa5dd4375f6 100644 --- a/sdk/security/arm-security/src/models/locationsMappers.ts +++ b/sdk/security/arm-security/src/models/locationsMappers.ts @@ -24,6 +24,7 @@ export { AscLocationList, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -44,17 +45,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -64,34 +66,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/mappers.ts b/sdk/security/arm-security/src/models/mappers.ts index 945c8529f4af..90dba371300b 100644 --- a/sdk/security/arm-security/src/models/mappers.ts +++ b/sdk/security/arm-security/src/models/mappers.ts @@ -43,18 +43,45 @@ export const Resource: msRest.CompositeMapper = { } }; -export const ComplianceResult: msRest.CompositeMapper = { - serializedName: "ComplianceResult", +export const MdeOnboardingData: msRest.CompositeMapper = { + serializedName: "MdeOnboardingData", type: { name: "Composite", - className: "ComplianceResult", + className: "MdeOnboardingData", modelProperties: { ...Resource.type.modelProperties, - resourceStatus: { - readOnly: true, - serializedName: "properties.resourceStatus", + onboardingPackageWindows: { + serializedName: "properties.onboardingPackageWindows", type: { - name: "String" + name: "ByteArray" + } + }, + onboardingPackageLinux: { + serializedName: "properties.onboardingPackageLinux", + type: { + name: "ByteArray" + } + } + } + } +}; + +export const MdeOnboardingDataList: msRest.CompositeMapper = { + serializedName: "MdeOnboardingDataList", + type: { + name: "Composite", + className: "MdeOnboardingDataList", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MdeOnboardingData" + } + } } } } @@ -231,6 +258,237 @@ export const ErrorAdditionalInfo: msRest.CompositeMapper = { } }; +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + +export const CustomAssessmentAutomation: msRest.CompositeMapper = { + serializedName: "customAssessmentAutomation", + type: { + name: "Composite", + className: "CustomAssessmentAutomation", + modelProperties: { + ...Resource.type.modelProperties, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + }, + compressedQuery: { + serializedName: "properties.compressedQuery", + type: { + name: "String" + } + }, + supportedCloud: { + serializedName: "properties.supportedCloud", + type: { + name: "String" + } + }, + severity: { + serializedName: "properties.severity", + type: { + name: "String" + } + }, + userImpact: { + serializedName: "properties.userImpact", + type: { + name: "String" + } + }, + implementationEffort: { + serializedName: "properties.implementationEffort", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + remediationDescription: { + serializedName: "properties.remediationDescription", + type: { + name: "String" + } + }, + assessmentKey: { + serializedName: "properties.assessmentKey", + type: { + name: "String" + } + } + } + } +}; + +export const CustomAssessmentAutomationRequest: msRest.CompositeMapper = { + serializedName: "customAssessmentAutomationRequest", + type: { + name: "Composite", + className: "CustomAssessmentAutomationRequest", + modelProperties: { + ...Resource.type.modelProperties, + compressedQuery: { + serializedName: "properties.compressedQuery", + type: { + name: "String" + } + }, + supportedCloud: { + serializedName: "properties.supportedCloud", + type: { + name: "String" + } + }, + severity: { + serializedName: "properties.severity", + type: { + name: "String" + } + }, + userImpact: { + serializedName: "properties.userImpact", + type: { + name: "String" + } + }, + implementationEffort: { + serializedName: "properties.implementationEffort", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + remediationDescription: { + serializedName: "properties.remediationDescription", + type: { + name: "String" + } + } + } + } +}; + +export const CustomEntityStoreAssignment: msRest.CompositeMapper = { + serializedName: "CustomEntityStoreAssignment", + type: { + name: "Composite", + className: "CustomEntityStoreAssignment", + modelProperties: { + ...Resource.type.modelProperties, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + }, + principal: { + serializedName: "properties.principal", + type: { + name: "String" + } + }, + entityStoreDatabaseLink: { + serializedName: "properties.entityStoreDatabaseLink", + type: { + name: "String" + } + } + } + } +}; + +export const CustomEntityStoreAssignmentRequest: msRest.CompositeMapper = { + serializedName: "CustomEntityStoreAssignmentRequest", + type: { + name: "Composite", + className: "CustomEntityStoreAssignmentRequest", + modelProperties: { + principal: { + serializedName: "properties.principal", + type: { + name: "String" + } + } + } + } +}; + +export const ComplianceResult: msRest.CompositeMapper = { + serializedName: "ComplianceResult", + type: { + name: "Composite", + className: "ComplianceResult", + modelProperties: { + ...Resource.type.modelProperties, + resourceStatus: { + readOnly: true, + serializedName: "properties.resourceStatus", + type: { + name: "String" + } + } + } + } +}; + export const Pricing: msRest.CompositeMapper = { serializedName: "Pricing", type: { @@ -893,77 +1151,31 @@ export const AdditionalWorkspacesProperties: msRest.CompositeMapper = { } }; -export const SystemData: msRest.CompositeMapper = { - serializedName: "systemData", +export const IoTSecuritySolutionModel: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionModel", type: { name: "Composite", - className: "SystemData", + className: "IoTSecuritySolutionModel", modelProperties: { - createdBy: { - serializedName: "createdBy", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - createdByType: { - serializedName: "createdByType", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - createdAt: { - serializedName: "createdAt", + type: { + readOnly: true, + serializedName: "type", type: { - name: "DateTime" - } - }, - lastModifiedBy: { - serializedName: "lastModifiedBy", - type: { - name: "String" - } - }, - lastModifiedByType: { - serializedName: "lastModifiedByType", - type: { - name: "String" - } - }, - lastModifiedAt: { - serializedName: "lastModifiedAt", - type: { - name: "DateTime" - } - } - } - } -}; - -export const IoTSecuritySolutionModel: msRest.CompositeMapper = { - serializedName: "IoTSecuritySolutionModel", - type: { - name: "Composite", - className: "IoTSecuritySolutionModel", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" + name: "String" } }, tags: { @@ -3228,6 +3440,171 @@ export const ServerVulnerabilityAssessmentsList: msRest.CompositeMapper = { } }; +export const SecurityAssessmentMetadataPropertiesResponsePublishDates: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentMetadataPropertiesResponse_publishDates", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataPropertiesResponsePublishDates", + modelProperties: { + ga: { + serializedName: "GA", + constraints: { + Pattern: /^([0-9]{2}\/){2}[0-9]{4}$/ + }, + type: { + name: "String" + } + }, + publicProperty: { + required: true, + serializedName: "public", + constraints: { + Pattern: /^([0-9]{2}\/){2}[0-9]{4}$/ + }, + type: { + name: "String" + } + } + } + } +}; + +export const SecurityAssessmentMetadataResponse: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentMetadataResponse", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataResponse", + modelProperties: { + ...Resource.type.modelProperties, + displayName: { + required: true, + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + policyDefinitionId: { + readOnly: true, + serializedName: "properties.policyDefinitionId", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + remediationDescription: { + serializedName: "properties.remediationDescription", + type: { + name: "String" + } + }, + categories: { + serializedName: "properties.categories", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + severity: { + required: true, + serializedName: "properties.severity", + type: { + name: "String" + } + }, + userImpact: { + serializedName: "properties.userImpact", + type: { + name: "String" + } + }, + implementationEffort: { + serializedName: "properties.implementationEffort", + type: { + name: "String" + } + }, + threats: { + serializedName: "properties.threats", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + preview: { + serializedName: "properties.preview", + type: { + name: "Boolean" + } + }, + assessmentType: { + required: true, + serializedName: "properties.assessmentType", + type: { + name: "String" + } + }, + partnerData: { + serializedName: "properties.partnerData", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataPartnerData" + } + }, + publishDates: { + serializedName: "properties.publishDates", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataPropertiesResponsePublishDates" + } + }, + plannedDeprecationDate: { + serializedName: "properties.plannedDeprecationDate", + constraints: { + Pattern: /^[0-9]{2}\/[0-9]{4}$/ + }, + type: { + name: "String" + } + }, + tactics: { + serializedName: "properties.tactics", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + techniques: { + serializedName: "properties.techniques", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const SecurityAssessmentMetadataPartnerData: msRest.CompositeMapper = { serializedName: "SecurityAssessmentMetadataPartnerData", type: { @@ -3482,52 +3859,36 @@ export const AssessmentStatus: msRest.CompositeMapper = { } }; -export const AssessmentLinks: msRest.CompositeMapper = { - serializedName: "AssessmentLinks", +export const AssessmentStatusResponse: msRest.CompositeMapper = { + serializedName: "AssessmentStatusResponse", type: { name: "Composite", - className: "AssessmentLinks", + className: "AssessmentStatusResponse", modelProperties: { - azurePortalUri: { + ...AssessmentStatus.type.modelProperties, + firstEvaluationDate: { readOnly: true, - serializedName: "azurePortalUri", - type: { - name: "String" - } - } - } - } -}; - -export const SecurityAssessmentPartnerData: msRest.CompositeMapper = { - serializedName: "SecurityAssessmentPartnerData", - type: { - name: "Composite", - className: "SecurityAssessmentPartnerData", - modelProperties: { - partnerName: { - required: true, - serializedName: "partnerName", + serializedName: "firstEvaluationDate", type: { - name: "String" + name: "DateTime" } }, - secret: { - required: true, - serializedName: "secret", + statusChangeDate: { + readOnly: true, + serializedName: "statusChangeDate", type: { - name: "String" + name: "DateTime" } } } } }; -export const SecurityAssessment: msRest.CompositeMapper = { - serializedName: "SecurityAssessment", +export const SecurityAssessmentResponse: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentResponse", type: { name: "Composite", - className: "SecurityAssessment", + className: "SecurityAssessmentResponse", modelProperties: { ...Resource.type.modelProperties, resourceDetails: { @@ -3545,14 +3906,6 @@ export const SecurityAssessment: msRest.CompositeMapper = { name: "String" } }, - status: { - required: true, - serializedName: "properties.status", - type: { - name: "Composite", - className: "AssessmentStatus" - } - }, additionalData: { serializedName: "properties.additionalData", type: { @@ -3584,26 +3937,198 @@ export const SecurityAssessment: msRest.CompositeMapper = { name: "Composite", className: "SecurityAssessmentPartnerData" } + }, + status: { + required: true, + serializedName: "properties.status", + type: { + name: "Composite", + className: "AssessmentStatusResponse" + } } } } }; -export const ProtectionMode: msRest.CompositeMapper = { - serializedName: "ProtectionMode", +export const SecurityAssessment: msRest.CompositeMapper = { + serializedName: "SecurityAssessment", type: { name: "Composite", - className: "ProtectionMode", + className: "SecurityAssessment", modelProperties: { - exe: { - serializedName: "exe", + ...Resource.type.modelProperties, + resourceDetails: { + required: true, + serializedName: "properties.resourceDetails", type: { - name: "String" + name: "Composite", + className: "ResourceDetails" } }, - msi: { - serializedName: "msi", - type: { + displayName: { + readOnly: true, + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + additionalData: { + serializedName: "properties.additionalData", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + links: { + serializedName: "properties.links", + type: { + name: "Composite", + className: "AssessmentLinks" + } + }, + metadata: { + serializedName: "properties.metadata", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataProperties" + } + }, + partnersData: { + serializedName: "properties.partnersData", + type: { + name: "Composite", + className: "SecurityAssessmentPartnerData" + } + }, + status: { + required: true, + serializedName: "properties.status", + type: { + name: "Composite", + className: "AssessmentStatus" + } + } + } + } +}; + +export const AssessmentLinks: msRest.CompositeMapper = { + serializedName: "AssessmentLinks", + type: { + name: "Composite", + className: "AssessmentLinks", + modelProperties: { + azurePortalUri: { + readOnly: true, + serializedName: "azurePortalUri", + type: { + name: "String" + } + } + } + } +}; + +export const SecurityAssessmentPartnerData: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentPartnerData", + type: { + name: "Composite", + className: "SecurityAssessmentPartnerData", + modelProperties: { + partnerName: { + required: true, + serializedName: "partnerName", + type: { + name: "String" + } + }, + secret: { + required: true, + serializedName: "secret", + type: { + name: "String" + } + } + } + } +}; + +export const SecurityAssessmentPropertiesBase: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentPropertiesBase", + type: { + name: "Composite", + className: "SecurityAssessmentPropertiesBase", + modelProperties: { + resourceDetails: { + required: true, + serializedName: "resourceDetails", + type: { + name: "Composite", + className: "ResourceDetails" + } + }, + displayName: { + readOnly: true, + serializedName: "displayName", + type: { + name: "String" + } + }, + additionalData: { + serializedName: "additionalData", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + links: { + serializedName: "links", + type: { + name: "Composite", + className: "AssessmentLinks" + } + }, + metadata: { + serializedName: "metadata", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataProperties" + } + }, + partnersData: { + serializedName: "partnersData", + type: { + name: "Composite", + className: "SecurityAssessmentPartnerData" + } + } + } + } +}; + +export const ProtectionMode: msRest.CompositeMapper = { + serializedName: "ProtectionMode", + type: { + name: "Composite", + className: "ProtectionMode", + modelProperties: { + exe: { + serializedName: "exe", + type: { + name: "String" + } + }, + msi: { + serializedName: "msi", + type: { name: "String" } }, @@ -6551,548 +7076,363 @@ export const RulesResultsInput: msRest.CompositeMapper = { } }; -export const IotDefenderSettingsModel: msRest.CompositeMapper = { - serializedName: "IotDefenderSettingsModel", +export const ResourceIdentifier: msRest.CompositeMapper = { + serializedName: "ResourceIdentifier", type: { name: "Composite", - className: "IotDefenderSettingsModel", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "ResourceIdentifier", + className: "ResourceIdentifier", modelProperties: { - ...Resource.type.modelProperties, - deviceQuota: { - required: true, - serializedName: "properties.deviceQuota", - constraints: { - InclusiveMinimum: 1000 - }, - type: { - name: "Number" - } - }, - sentinelWorkspaceResourceIds: { - required: true, - serializedName: "properties.sentinelWorkspaceResourceIds", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - onboardingKind: { + type: { required: true, - serializedName: "properties.onboardingKind", + serializedName: "type", type: { name: "String" } - }, - evaluationEndTime: { - readOnly: true, - serializedName: "properties.evaluationEndTime", - type: { - name: "DateTime" - } } } } }; -export const IotDefenderSettingsList: msRest.CompositeMapper = { - serializedName: "IotDefenderSettingsList", +export const AlertEntity: msRest.CompositeMapper = { + serializedName: "AlertEntity", type: { name: "Composite", - className: "IotDefenderSettingsList", + className: "AlertEntity", modelProperties: { - value: { + type: { readOnly: true, - serializedName: "value", + serializedName: "type", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IotDefenderSettingsModel" - } - } + name: "String" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const PackageDownloadInfo: msRest.CompositeMapper = { - serializedName: "PackageDownloadInfo", +export const Alert: msRest.CompositeMapper = { + serializedName: "Alert", type: { name: "Composite", - className: "PackageDownloadInfo", + className: "Alert", modelProperties: { - version: { + ...Resource.type.modelProperties, + alertType: { readOnly: true, - serializedName: "version", + serializedName: "properties.alertType", type: { name: "String" } }, - link: { - serializedName: "link", + systemAlertId: { + readOnly: true, + serializedName: "properties.systemAlertId", type: { name: "String" } }, - versionKind: { + productComponentName: { readOnly: true, - serializedName: "versionKind", + serializedName: "properties.productComponentName", type: { name: "String" } - } - } - } -}; - -export const UpgradePackageDownloadInfo: msRest.CompositeMapper = { - serializedName: "UpgradePackageDownloadInfo", - type: { - name: "Composite", - className: "UpgradePackageDownloadInfo", - modelProperties: { - ...PackageDownloadInfo.type.modelProperties, - fromVersion: { + }, + alertDisplayName: { readOnly: true, - serializedName: "fromVersion", + serializedName: "properties.alertDisplayName", type: { name: "String" } - } - } - } -}; - -export const PackageDownloadsSensorFullOvf: msRest.CompositeMapper = { - serializedName: "PackageDownloads_sensor_full_ovf", - type: { - name: "Composite", - className: "PackageDownloadsSensorFullOvf", - modelProperties: { - enterprise: { + }, + description: { readOnly: true, - serializedName: "enterprise", + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PackageDownloadInfo" - } - } + name: "String" } }, - medium: { + severity: { readOnly: true, - serializedName: "medium", + serializedName: "properties.severity", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PackageDownloadInfo" - } - } + name: "String" } }, - line: { + intent: { readOnly: true, - serializedName: "line", + serializedName: "properties.intent", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PackageDownloadInfo" - } - } + name: "String" } - } - } - } -}; - -export const PackageDownloadsSensorFull: msRest.CompositeMapper = { - serializedName: "PackageDownloads_sensor_full", - type: { - name: "Composite", - className: "PackageDownloadsSensorFull", - modelProperties: { - iso: { + }, + startTimeUtc: { readOnly: true, - serializedName: "iso", + serializedName: "properties.startTimeUtc", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PackageDownloadInfo" - } - } + name: "DateTime" } }, - ovf: { - serializedName: "ovf", - type: { - name: "Composite", - className: "PackageDownloadsSensorFullOvf" - } - } - } - } -}; - -export const PackageDownloadsSensor: msRest.CompositeMapper = { - serializedName: "PackageDownloads_sensor", - type: { - name: "Composite", - className: "PackageDownloadsSensor", - modelProperties: { - full: { + endTimeUtc: { readOnly: true, - serializedName: "full", + serializedName: "properties.endTimeUtc", type: { - name: "Composite", - className: "PackageDownloadsSensorFull" + name: "DateTime" } }, - upgrade: { - serializedName: "upgrade", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UpgradePackageDownloadInfo" - } - } - } - } - } - } -}; - -export const PackageDownloadsCentralManagerFullOvf: msRest.CompositeMapper = { - serializedName: "PackageDownloads_centralManager_full_ovf", - type: { - name: "Composite", - className: "PackageDownloadsCentralManagerFullOvf", - modelProperties: { - enterprise: { + resourceIdentifiers: { readOnly: true, - serializedName: "enterprise", + serializedName: "properties.resourceIdentifiers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PackageDownloadInfo" + className: "ResourceIdentifier" } } } }, - enterpriseHighAvailability: { + remediationSteps: { readOnly: true, - serializedName: "enterpriseHighAvailability", + serializedName: "properties.remediationSteps", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "PackageDownloadInfo" + name: "String" } } } }, - medium: { + vendorName: { readOnly: true, - serializedName: "medium", + serializedName: "properties.vendorName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PackageDownloadInfo" - } - } + name: "String" } }, - mediumHighAvailability: { + status: { readOnly: true, - serializedName: "mediumHighAvailability", + serializedName: "properties.status", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PackageDownloadInfo" - } - } + name: "String" } - } - } - } -}; - -export const PackageDownloadsCentralManagerFull: msRest.CompositeMapper = { - serializedName: "PackageDownloads_centralManager_full", - type: { - name: "Composite", - className: "PackageDownloadsCentralManagerFull", - modelProperties: { - iso: { + }, + extendedLinks: { readOnly: true, - serializedName: "iso", + serializedName: "properties.extendedLinks", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "PackageDownloadInfo" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } }, - ovf: { - readOnly: true, - serializedName: "ovf", - type: { - name: "Composite", - className: "PackageDownloadsCentralManagerFullOvf" - } - } - } - } -}; - -export const PackageDownloadsCentralManager: msRest.CompositeMapper = { - serializedName: "PackageDownloads_centralManager", - type: { - name: "Composite", - className: "PackageDownloadsCentralManager", - modelProperties: { - full: { + alertUri: { readOnly: true, - serializedName: "full", + serializedName: "properties.alertUri", type: { - name: "Composite", - className: "PackageDownloadsCentralManagerFull" + name: "String" } }, - upgrade: { + timeGeneratedUtc: { readOnly: true, - serializedName: "upgrade", + serializedName: "properties.timeGeneratedUtc", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UpgradePackageDownloadInfo" - } - } + name: "DateTime" } - } - } - } -}; - -export const PackageDownloads: msRest.CompositeMapper = { - serializedName: "PackageDownloads", - type: { - name: "Composite", - className: "PackageDownloads", - modelProperties: { - sensor: { + }, + productName: { readOnly: true, - serializedName: "sensor", + serializedName: "properties.productName", type: { - name: "Composite", - className: "PackageDownloadsSensor" + name: "String" } }, - centralManager: { + processingEndTimeUtc: { readOnly: true, - serializedName: "centralManager", + serializedName: "properties.processingEndTimeUtc", type: { - name: "Composite", - className: "PackageDownloadsCentralManager" + name: "DateTime" } }, - threatIntelligence: { + entities: { readOnly: true, - serializedName: "threatIntelligence", + serializedName: "properties.entities", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PackageDownloadInfo" + className: "AlertEntity", + additionalProperties: { + type: { + name: "Object" + } + } } } } }, - snmp: { + isIncident: { readOnly: true, - serializedName: "snmp", + serializedName: "properties.isIncident", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PackageDownloadInfo" - } - } + name: "Boolean" } }, - wmiTool: { + correlationKey: { readOnly: true, - serializedName: "wmiTool", + serializedName: "properties.correlationKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PackageDownloadInfo" - } - } + name: "String" } }, - authorizedDevicesImportTemplate: { - readOnly: true, - serializedName: "authorizedDevicesImportTemplate", + extendedProperties: { + serializedName: "properties.extendedProperties", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { - name: "Composite", - className: "PackageDownloadInfo" + name: "String" } } } }, - deviceInformationUpdateImportTemplate: { + compromisedEntity: { readOnly: true, - serializedName: "deviceInformationUpdateImportTemplate", + serializedName: "properties.compromisedEntity", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PackageDownloadInfo" - } - } + name: "String" } } } } }; -export const IotSensorsModel: msRest.CompositeMapper = { - serializedName: "IotSensorsModel", +export const AzureResourceIdentifier: msRest.CompositeMapper = { + serializedName: "AzureResource", type: { name: "Composite", - className: "IotSensorsModel", + polymorphicDiscriminator: ResourceIdentifier.type.polymorphicDiscriminator, + uberParent: "ResourceIdentifier", + className: "AzureResourceIdentifier", modelProperties: { - ...Resource.type.modelProperties, - connectivityTime: { - readOnly: true, - serializedName: "properties.connectivityTime", - type: { - name: "String" - } - }, - creationTime: { + ...ResourceIdentifier.type.modelProperties, + azureResourceId: { readOnly: true, - serializedName: "properties.creationTime", + serializedName: "azureResourceId", type: { name: "String" } - }, - dynamicLearning: { - readOnly: true, - serializedName: "properties.dynamicLearning", - type: { - name: "Boolean" - } - }, - learningMode: { - readOnly: true, - serializedName: "properties.learningMode", - type: { - name: "Boolean" - } - }, - sensorStatus: { + } + } + } +}; + +export const LogAnalyticsIdentifier: msRest.CompositeMapper = { + serializedName: "LogAnalytics", + type: { + name: "Composite", + polymorphicDiscriminator: ResourceIdentifier.type.polymorphicDiscriminator, + uberParent: "ResourceIdentifier", + className: "LogAnalyticsIdentifier", + modelProperties: { + ...ResourceIdentifier.type.modelProperties, + workspaceId: { readOnly: true, - serializedName: "properties.sensorStatus", + serializedName: "workspaceId", type: { name: "String" } }, - sensorVersion: { + workspaceSubscriptionId: { readOnly: true, - serializedName: "properties.sensorVersion", + serializedName: "workspaceSubscriptionId", + constraints: { + Pattern: /^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$/ + }, type: { name: "String" } }, - tiAutomaticUpdates: { - serializedName: "properties.tiAutomaticUpdates", - type: { - name: "Boolean" - } - }, - tiStatus: { + workspaceResourceGroup: { readOnly: true, - serializedName: "properties.tiStatus", + serializedName: "workspaceResourceGroup", type: { name: "String" } }, - tiVersion: { + agentId: { readOnly: true, - serializedName: "properties.tiVersion", - type: { - name: "String" - } - }, - zone: { - serializedName: "properties.zone", + serializedName: "agentId", type: { name: "String" } - }, - sensorType: { - serializedName: "properties.sensorType", + } + } + } +}; + +export const AlertSimulatorRequestProperties: msRest.CompositeMapper = { + serializedName: "AlertSimulatorRequestProperties", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "AlertSimulatorRequestProperties", + className: "AlertSimulatorRequestProperties", + modelProperties: { + kind: { + required: true, + serializedName: "kind", type: { name: "String" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const IotSensorsList: msRest.CompositeMapper = { - serializedName: "IotSensorsList", +export const AlertSimulatorRequestBody: msRest.CompositeMapper = { + serializedName: "AlertSimulatorRequestBody", type: { name: "Composite", - className: "IotSensorsList", + className: "AlertSimulatorRequestBody", modelProperties: { - value: { - readOnly: true, - serializedName: "value", + properties: { + serializedName: "properties", type: { - name: "Sequence", - element: { + name: "Composite", + className: "AlertSimulatorRequestProperties", + additionalProperties: { type: { - name: "Composite", - className: "IotSensorsModel" + name: "Object" } } } @@ -7101,97 +7441,144 @@ export const IotSensorsList: msRest.CompositeMapper = { } }; -export const ResetPasswordInput: msRest.CompositeMapper = { - serializedName: "ResetPasswordInput", +export const AlertSimulatorBundlesRequestProperties: msRest.CompositeMapper = { + serializedName: "Bundles", type: { name: "Composite", - className: "ResetPasswordInput", + polymorphicDiscriminator: AlertSimulatorRequestProperties.type.polymorphicDiscriminator, + uberParent: "AlertSimulatorRequestProperties", + className: "AlertSimulatorBundlesRequestProperties", modelProperties: { - applianceId: { - serializedName: "applianceId", + ...AlertSimulatorRequestProperties.type.modelProperties, + bundles: { + serializedName: "bundles", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } - } + }, + additionalProperties: AlertSimulatorRequestProperties.type.additionalProperties } }; -export const IpAddress: msRest.CompositeMapper = { - serializedName: "IpAddress", +export const Setting: msRest.CompositeMapper = { + serializedName: "Setting", type: { name: "Composite", - className: "IpAddress", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "Setting", + className: "Setting", modelProperties: { - v4Address: { - readOnly: true, - serializedName: "v4Address", + ...Resource.type.modelProperties, + kind: { + required: true, + serializedName: "kind", type: { name: "String" } - }, - detectionTime: { - readOnly: true, - serializedName: "detectionTime", - type: { - name: "DateTime" - } - }, - subnetCidr: { - readOnly: true, - serializedName: "subnetCidr", + } + } + } +}; + +export const DataExportSettings: msRest.CompositeMapper = { + serializedName: "DataExportSettings", + type: { + name: "Composite", + polymorphicDiscriminator: Setting.type.polymorphicDiscriminator, + uberParent: "Setting", + className: "DataExportSettings", + modelProperties: { + ...Setting.type.modelProperties, + enabled: { + required: true, + serializedName: "properties.enabled", type: { - name: "String" + name: "Boolean" } - }, - fqdn: { - readOnly: true, - serializedName: "fqdn", + } + } + } +}; + +export const AlertSyncSettings: msRest.CompositeMapper = { + serializedName: "AlertSyncSettings", + type: { + name: "Composite", + polymorphicDiscriminator: Setting.type.polymorphicDiscriminator, + uberParent: "Setting", + className: "AlertSyncSettings", + modelProperties: { + ...Setting.type.modelProperties, + enabled: { + required: true, + serializedName: "properties.enabled", type: { - name: "String" + name: "Boolean" } - }, - fqdnLastLookupTime: { - readOnly: true, - serializedName: "fqdnLastLookupTime", + } + } + } +}; + +export const IngestionSetting: msRest.CompositeMapper = { + serializedName: "IngestionSetting", + type: { + name: "Composite", + className: "IngestionSetting", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "DateTime" + name: "Object" } } } } }; -export const MacAddress: msRest.CompositeMapper = { - serializedName: "MacAddress", +export const IngestionSettingToken: msRest.CompositeMapper = { + serializedName: "IngestionSettingToken", type: { name: "Composite", - className: "MacAddress", + className: "IngestionSettingToken", modelProperties: { - address: { + token: { readOnly: true, - serializedName: "address", + serializedName: "token", type: { name: "String" } - }, - detectionTime: { - readOnly: true, - serializedName: "detectionTime", - type: { - name: "DateTime" - } - }, - significance: { + } + } + } +}; + +export const IngestionConnectionString: msRest.CompositeMapper = { + serializedName: "IngestionConnectionString", + type: { + name: "Composite", + className: "IngestionConnectionString", + modelProperties: { + location: { readOnly: true, - serializedName: "significance", + serializedName: "location", type: { name: "String" } }, - relationToIpStatus: { + value: { readOnly: true, - serializedName: "relationToIpStatus", + serializedName: "value", type: { name: "String" } @@ -7200,34 +7587,21 @@ export const MacAddress: msRest.CompositeMapper = { } }; -export const NetworkInterface: msRest.CompositeMapper = { - serializedName: "NetworkInterface", +export const ConnectionStrings: msRest.CompositeMapper = { + serializedName: "ConnectionStrings", type: { name: "Composite", - className: "NetworkInterface", + className: "ConnectionStrings", modelProperties: { - ipAddress: { - serializedName: "ipAddress", - type: { - name: "Composite", - className: "IpAddress" - } - }, - macAddress: { - serializedName: "macAddress", - type: { - name: "Composite", - className: "MacAddress" - } - }, - vlans: { - readOnly: true, - serializedName: "vlans", + value: { + required: true, + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "IngestionConnectionString" } } } @@ -7236,121 +7610,92 @@ export const NetworkInterface: msRest.CompositeMapper = { } }; -export const Protocol1: msRest.CompositeMapper = { - serializedName: "Protocol", +export const Software: msRest.CompositeMapper = { + serializedName: "Software", type: { name: "Composite", - className: "Protocol1", + className: "Software", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + ...Resource.type.modelProperties, + deviceId: { + serializedName: "properties.deviceId", type: { name: "String" } }, - identifiers: { - serializedName: "identifiers", + osPlatform: { + serializedName: "properties.osPlatform", type: { name: "String" } - } - } - } -}; - -export const Firmware: msRest.CompositeMapper = { - serializedName: "Firmware", - type: { - name: "Composite", - className: "Firmware", - modelProperties: { - moduleAddress: { - readOnly: true, - serializedName: "moduleAddress", + }, + vendor: { + serializedName: "properties.vendor", type: { name: "String" } }, - rack: { - readOnly: true, - serializedName: "rack", + softwareName: { + serializedName: "properties.softwareName", type: { name: "String" } }, - slot: { - readOnly: true, - serializedName: "slot", + version: { + serializedName: "properties.version", type: { name: "String" } }, - serial: { - readOnly: true, - serializedName: "serial", + endOfSupportStatus: { + serializedName: "properties.endOfSupportStatus", type: { name: "String" } }, - model: { - readOnly: true, - serializedName: "model", + endOfSupportDate: { + serializedName: "properties.endOfSupportDate", type: { name: "String" } }, - version: { - readOnly: true, - serializedName: "version", + numberOfKnownVulnerabilities: { + serializedName: "properties.numberOfKnownVulnerabilities", type: { - name: "String" + name: "Number" } }, - additionalData: { - readOnly: true, - serializedName: "additionalData", + firstSeenAt: { + serializedName: "properties.firstSeenAt", type: { - name: "Object" + name: "String" } } } } }; -export const Sensor: msRest.CompositeMapper = { - serializedName: "Sensor", +export const CloudOffering: msRest.CompositeMapper = { + serializedName: "cloudOffering", type: { name: "Composite", - className: "Sensor", + polymorphicDiscriminator: { + serializedName: "offeringType", + clientName: "offeringType" + }, + uberParent: "CloudOffering", + className: "CloudOffering", modelProperties: { - name: { + description: { readOnly: true, - serializedName: "name", + serializedName: "description", type: { name: "String" } }, - zone: { - readOnly: true, - serializedName: "zone", - type: { - name: "String" - } - } - } - } -}; - -export const Site: msRest.CompositeMapper = { - serializedName: "Site", - type: { - name: "Composite", - className: "Site", - modelProperties: { - displayName: { - readOnly: true, - serializedName: "displayName", + offeringType: { + required: true, + serializedName: "offeringType", type: { name: "String" } @@ -7359,1084 +7704,187 @@ export const Site: msRest.CompositeMapper = { } }; -export const Device: msRest.CompositeMapper = { - serializedName: "Device", +export const SecurityConnectorPropertiesOrganizationalData: msRest.CompositeMapper = { + serializedName: "SecurityConnectorProperties_organizationalData", type: { name: "Composite", - className: "Device", + className: "SecurityConnectorPropertiesOrganizationalData", modelProperties: { - ...Resource.type.modelProperties, - displayName: { - serializedName: "properties.displayName", + organizationMembershipType: { + serializedName: "organizationMembershipType", type: { name: "String" } }, - deviceType: { - serializedName: "properties.deviceType", + parentHierarchyId: { + serializedName: "parentHierarchyId", type: { name: "String" } }, - sourceName: { - readOnly: true, - serializedName: "properties.sourceName", + stacksetName: { + serializedName: "stacksetName", type: { name: "String" } }, - networkInterfaces: { - readOnly: true, - serializedName: "properties.networkInterfaces", + excludedAccountIds: { + serializedName: "excludedAccountIds", type: { name: "Sequence", element: { - type: { - name: "Composite", - className: "NetworkInterface" - } - } - } - }, - vendor: { - readOnly: true, - serializedName: "properties.vendor", - type: { - name: "String" - } - }, - osName: { - serializedName: "properties.osName", - type: { - name: "String" - } - }, - protocols: { - readOnly: true, - serializedName: "properties.protocols", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Protocol1" - } - } - } - }, - lastActiveTime: { - readOnly: true, - serializedName: "properties.lastActiveTime", - type: { - name: "DateTime" - } - }, - lastUpdateTime: { - readOnly: true, - serializedName: "properties.lastUpdateTime", - type: { - name: "DateTime" - } - }, - managementState: { - readOnly: true, - serializedName: "properties.managementState", - type: { - name: "String" - } - }, - authorizationState: { - serializedName: "properties.authorizationState", - defaultValue: 'Unauthorized', - type: { - name: "String" - } - }, - deviceCriticality: { - serializedName: "properties.deviceCriticality", - defaultValue: 'Standard', - type: { - name: "String" - } - }, - purdueLevel: { - serializedName: "properties.purdueLevel", - defaultValue: 'ProcessControl', - type: { - name: "String" - } - }, - notes: { - serializedName: "properties.notes", - type: { - name: "String" - } - }, - firmwares: { - readOnly: true, - serializedName: "properties.firmwares", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Firmware" - } - } - } - }, - discoveryTime: { - readOnly: true, - serializedName: "properties.discoveryTime", - type: { - name: "DateTime" - } - }, - programmingState: { - readOnly: true, - serializedName: "properties.programmingState", - type: { - name: "String" - } - }, - lastProgrammingTime: { - readOnly: true, - serializedName: "properties.lastProgrammingTime", - type: { - name: "DateTime" - } - }, - scanningFunctionality: { - readOnly: true, - serializedName: "properties.scanningFunctionality", - type: { - name: "String" - } - }, - lastScanTime: { - readOnly: true, - serializedName: "properties.lastScanTime", - type: { - name: "DateTime" - } - }, - riskScore: { - readOnly: true, - serializedName: "properties.riskScore", - constraints: { - InclusiveMaximum: 100, - InclusiveMinimum: 0 - }, - type: { - name: "Number" - } - }, - sensors: { - readOnly: true, - serializedName: "properties.sensors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Sensor" - } - } - } - }, - site: { - readOnly: true, - serializedName: "properties.site", - type: { - name: "Composite", - className: "Site" - } - }, - deviceStatus: { - readOnly: true, - serializedName: "properties.deviceStatus", - type: { - name: "String" - } - } - } - } -}; - -export const OnPremiseIotSensor: msRest.CompositeMapper = { - serializedName: "OnPremiseIotSensor", - type: { - name: "Composite", - className: "OnPremiseIotSensor", - modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Object" - } - } - } - } -}; - -export const OnPremiseIotSensorsList: msRest.CompositeMapper = { - serializedName: "OnPremiseIotSensorsList", - type: { - name: "Composite", - className: "OnPremiseIotSensorsList", - modelProperties: { - value: { - readOnly: true, - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OnPremiseIotSensor" - } - } - } - } - } - } -}; - -export const IotSitesModel: msRest.CompositeMapper = { - serializedName: "IotSitesModel", - type: { - name: "Composite", - className: "IotSitesModel", - modelProperties: { - ...Resource.type.modelProperties, - displayName: { - required: true, - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - tags: { - serializedName: "properties.tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const IotSitesList: msRest.CompositeMapper = { - serializedName: "IotSitesList", - type: { - name: "Composite", - className: "IotSitesList", - modelProperties: { - value: { - readOnly: true, - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IotSitesModel" - } - } - } - } - } - } -}; - -export const IotAlertModel: msRest.CompositeMapper = { - serializedName: "IotAlertModel", - type: { - name: "Composite", - className: "IotAlertModel", - modelProperties: { - ...Resource.type.modelProperties, - systemAlertId: { - readOnly: true, - serializedName: "properties.systemAlertId", - type: { - name: "String" - } - }, - compromisedEntity: { - readOnly: true, - serializedName: "properties.compromisedEntity", - type: { - name: "String" - } - }, - alertType: { - readOnly: true, - serializedName: "properties.alertType", - type: { - name: "String" - } - }, - startTimeUtc: { - readOnly: true, - serializedName: "properties.startTimeUtc", - type: { - name: "String" - } - }, - endTimeUtc: { - readOnly: true, - serializedName: "properties.endTimeUtc", - type: { - name: "String" - } - }, - entities: { - serializedName: "properties.entities", - type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } - } - }, - extendedProperties: { - serializedName: "properties.extendedProperties", - type: { - name: "Object" - } - } - } - } -}; - -export const IotAlertType: msRest.CompositeMapper = { - serializedName: "IotAlertType", - type: { - name: "Composite", - className: "IotAlertType", - modelProperties: { - ...Resource.type.modelProperties, - alertDisplayName: { - readOnly: true, - serializedName: "properties.alertDisplayName", - type: { - name: "String" - } - }, - severity: { - readOnly: true, - serializedName: "properties.severity", - type: { - name: "String" - } - }, - description: { - readOnly: true, - serializedName: "properties.description", - type: { - name: "String" - } - }, - providerName: { - readOnly: true, - serializedName: "properties.providerName", - type: { - name: "String" - } - }, - productName: { - readOnly: true, - serializedName: "properties.productName", - type: { - name: "String" - } - }, - productComponentName: { - readOnly: true, - serializedName: "properties.productComponentName", - type: { - name: "String" - } - }, - vendorName: { - readOnly: true, - serializedName: "properties.vendorName", - type: { - name: "String" - } - }, - intent: { - readOnly: true, - serializedName: "properties.intent", - type: { - name: "String" - } - }, - remediationSteps: { - readOnly: true, - serializedName: "properties.remediationSteps", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const IotAlertTypeList: msRest.CompositeMapper = { - serializedName: "IotAlertTypeList", - type: { - name: "Composite", - className: "IotAlertTypeList", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IotAlertType" - } - } - } - } - } - } -}; - -export const IotRecommendationModel: msRest.CompositeMapper = { - serializedName: "IotRecommendationModel", - type: { - name: "Composite", - className: "IotRecommendationModel", - modelProperties: { - ...Resource.type.modelProperties, - deviceId: { - readOnly: true, - serializedName: "properties.deviceId", - type: { - name: "String" - } - }, - recommendationType: { - readOnly: true, - serializedName: "properties.recommendationType", - type: { - name: "String" - } - }, - discoveredTimeUtc: { - readOnly: true, - serializedName: "properties.discoveredTimeUtc", - type: { - name: "String" - } - }, - recommendationAdditionalData: { - serializedName: "properties.recommendationAdditionalData", - type: { - name: "Object" - } - } - } - } -}; - -export const IotRecommendationType: msRest.CompositeMapper = { - serializedName: "IotRecommendationType", - type: { - name: "Composite", - className: "IotRecommendationType", - modelProperties: { - ...Resource.type.modelProperties, - recommendationDisplayName: { - readOnly: true, - serializedName: "properties.recommendationDisplayName", - type: { - name: "String" - } - }, - severity: { - readOnly: true, - serializedName: "properties.severity", - type: { - name: "String" - } - }, - description: { - readOnly: true, - serializedName: "properties.description", - type: { - name: "String" - } - }, - productName: { - readOnly: true, - serializedName: "properties.productName", - type: { - name: "String" - } - }, - productComponentName: { - readOnly: true, - serializedName: "properties.productComponentName", - type: { - name: "String" - } - }, - vendorName: { - readOnly: true, - serializedName: "properties.vendorName", - type: { - name: "String" - } - }, - control: { - readOnly: true, - serializedName: "properties.control", - type: { - name: "String" - } - }, - remediationSteps: { - readOnly: true, - serializedName: "properties.remediationSteps", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - dataSource: { - readOnly: true, - serializedName: "properties.dataSource", - type: { - name: "String" - } - } - } - } -}; - -export const IotRecommendationTypeList: msRest.CompositeMapper = { - serializedName: "IotRecommendationTypeList", - type: { - name: "Composite", - className: "IotRecommendationTypeList", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IotRecommendationType" - } - } - } - } - } - } -}; - -export const ResourceIdentifier: msRest.CompositeMapper = { - serializedName: "ResourceIdentifier", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "ResourceIdentifier", - className: "ResourceIdentifier", - modelProperties: { - type: { - required: true, - serializedName: "type", - type: { - name: "String" - } - } - } - } -}; - -export const AlertEntity: msRest.CompositeMapper = { - serializedName: "AlertEntity", - type: { - name: "Composite", - className: "AlertEntity", - modelProperties: { - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const Alert: msRest.CompositeMapper = { - serializedName: "Alert", - type: { - name: "Composite", - className: "Alert", - modelProperties: { - ...Resource.type.modelProperties, - alertType: { - readOnly: true, - serializedName: "properties.alertType", - type: { - name: "String" - } - }, - systemAlertId: { - readOnly: true, - serializedName: "properties.systemAlertId", - type: { - name: "String" - } - }, - productComponentName: { - readOnly: true, - serializedName: "properties.productComponentName", - type: { - name: "String" - } - }, - alertDisplayName: { - readOnly: true, - serializedName: "properties.alertDisplayName", - type: { - name: "String" - } - }, - description: { - readOnly: true, - serializedName: "properties.description", - type: { - name: "String" - } - }, - severity: { - readOnly: true, - serializedName: "properties.severity", - type: { - name: "String" - } - }, - intent: { - readOnly: true, - serializedName: "properties.intent", - type: { - name: "String" - } - }, - startTimeUtc: { - readOnly: true, - serializedName: "properties.startTimeUtc", - type: { - name: "DateTime" - } - }, - endTimeUtc: { - readOnly: true, - serializedName: "properties.endTimeUtc", - type: { - name: "DateTime" - } - }, - resourceIdentifiers: { - readOnly: true, - serializedName: "properties.resourceIdentifiers", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceIdentifier" - } - } - } - }, - remediationSteps: { - readOnly: true, - serializedName: "properties.remediationSteps", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - vendorName: { - readOnly: true, - serializedName: "properties.vendorName", - type: { - name: "String" - } - }, - status: { - readOnly: true, - serializedName: "properties.status", - type: { - name: "String" - } - }, - extendedLinks: { - readOnly: true, - serializedName: "properties.extendedLinks", - type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - }, - alertUri: { - readOnly: true, - serializedName: "properties.alertUri", - type: { - name: "String" - } - }, - timeGeneratedUtc: { - readOnly: true, - serializedName: "properties.timeGeneratedUtc", - type: { - name: "DateTime" - } - }, - productName: { - readOnly: true, - serializedName: "properties.productName", - type: { - name: "String" - } - }, - processingEndTimeUtc: { - readOnly: true, - serializedName: "properties.processingEndTimeUtc", - type: { - name: "DateTime" - } - }, - entities: { - readOnly: true, - serializedName: "properties.entities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AlertEntity", - additionalProperties: { - type: { - name: "Object" - } - } - } - } - } - }, - isIncident: { - readOnly: true, - serializedName: "properties.isIncident", - type: { - name: "Boolean" - } - }, - correlationKey: { - readOnly: true, - serializedName: "properties.correlationKey", - type: { - name: "String" - } - }, - extendedProperties: { - serializedName: "properties.extendedProperties", - type: { - name: "Dictionary", - value: { type: { name: "String" } } } - }, - compromisedEntity: { - readOnly: true, - serializedName: "properties.compromisedEntity", - type: { - name: "String" - } } } } }; -export const AzureResourceIdentifier: msRest.CompositeMapper = { - serializedName: "AzureResource", +export const SecurityConnector: msRest.CompositeMapper = { + serializedName: "SecurityConnector", type: { name: "Composite", - polymorphicDiscriminator: ResourceIdentifier.type.polymorphicDiscriminator, - uberParent: "ResourceIdentifier", - className: "AzureResourceIdentifier", + className: "SecurityConnector", modelProperties: { - ...ResourceIdentifier.type.modelProperties, - azureResourceId: { + ...TrackedResource.type.modelProperties, + systemData: { readOnly: true, - serializedName: "azureResourceId", + serializedName: "systemData", type: { - name: "String" + name: "Composite", + className: "SystemData" } - } - } - } -}; - -export const LogAnalyticsIdentifier: msRest.CompositeMapper = { - serializedName: "LogAnalytics", - type: { - name: "Composite", - polymorphicDiscriminator: ResourceIdentifier.type.polymorphicDiscriminator, - uberParent: "ResourceIdentifier", - className: "LogAnalyticsIdentifier", - modelProperties: { - ...ResourceIdentifier.type.modelProperties, - workspaceId: { - readOnly: true, - serializedName: "workspaceId", + }, + hierarchyIdentifier: { + serializedName: "properties.hierarchyIdentifier", type: { name: "String" } }, - workspaceSubscriptionId: { - readOnly: true, - serializedName: "workspaceSubscriptionId", - constraints: { - Pattern: /^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$/ - }, + cloudName: { + serializedName: "properties.cloudName", type: { name: "String" } }, - workspaceResourceGroup: { - readOnly: true, - serializedName: "workspaceResourceGroup", + offerings: { + serializedName: "properties.offerings", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudOffering" + } + } } }, - agentId: { - readOnly: true, - serializedName: "agentId", + organizationalData: { + serializedName: "properties.organizationalData", type: { - name: "String" + name: "Composite", + className: "SecurityConnectorPropertiesOrganizationalData" } } } } }; -export const AlertSimulatorRequestProperties: msRest.CompositeMapper = { - serializedName: "AlertSimulatorRequestProperties", +export const CspmMonitorAwsOfferingNativeCloudConnection: msRest.CompositeMapper = { + serializedName: "cspmMonitorAwsOffering_nativeCloudConnection", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "AlertSimulatorRequestProperties", - className: "AlertSimulatorRequestProperties", + className: "CspmMonitorAwsOfferingNativeCloudConnection", modelProperties: { - kind: { - required: true, - serializedName: "kind", + cloudRoleArn: { + serializedName: "cloudRoleArn", type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const AlertSimulatorRequestBody: msRest.CompositeMapper = { - serializedName: "AlertSimulatorRequestBody", - type: { - name: "Composite", - className: "AlertSimulatorRequestBody", - modelProperties: { - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "AlertSimulatorRequestProperties", - additionalProperties: { - type: { - name: "Object" - } - } - } - } } } }; -export const AlertSimulatorBundlesRequestProperties: msRest.CompositeMapper = { - serializedName: "Bundles", - type: { - name: "Composite", - polymorphicDiscriminator: AlertSimulatorRequestProperties.type.polymorphicDiscriminator, - uberParent: "AlertSimulatorRequestProperties", - className: "AlertSimulatorBundlesRequestProperties", - modelProperties: { - ...AlertSimulatorRequestProperties.type.modelProperties, - bundles: { - serializedName: "bundles", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - }, - additionalProperties: AlertSimulatorRequestProperties.type.additionalProperties - } -}; - -export const Setting: msRest.CompositeMapper = { - serializedName: "Setting", +export const CspmMonitorAwsOffering: msRest.CompositeMapper = { + serializedName: "CspmMonitorAws", type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "Setting", - className: "Setting", + name: "Composite", + polymorphicDiscriminator: CloudOffering.type.polymorphicDiscriminator, + uberParent: "CloudOffering", + className: "CspmMonitorAwsOffering", modelProperties: { - ...Resource.type.modelProperties, - kind: { - required: true, - serializedName: "kind", + ...CloudOffering.type.modelProperties, + nativeCloudConnection: { + serializedName: "nativeCloudConnection", type: { - name: "String" + name: "Composite", + className: "CspmMonitorAwsOfferingNativeCloudConnection" } } } } }; -export const DataExportSettings: msRest.CompositeMapper = { - serializedName: "DataExportSettings", +export const DefenderForContainersAwsOfferingKubernetesService: msRest.CompositeMapper = { + serializedName: "defenderForContainersAwsOffering_kubernetesService", type: { name: "Composite", - polymorphicDiscriminator: Setting.type.polymorphicDiscriminator, - uberParent: "Setting", - className: "DataExportSettings", + className: "DefenderForContainersAwsOfferingKubernetesService", modelProperties: { - ...Setting.type.modelProperties, - enabled: { - required: true, - serializedName: "properties.enabled", + cloudRoleArn: { + serializedName: "cloudRoleArn", type: { - name: "Boolean" + name: "String" } } } } }; -export const AlertSyncSettings: msRest.CompositeMapper = { - serializedName: "AlertSyncSettings", +export const DefenderForContainersAwsOfferingKubernetesScubaReader: msRest.CompositeMapper = { + serializedName: "defenderForContainersAwsOffering_kubernetesScubaReader", type: { name: "Composite", - polymorphicDiscriminator: Setting.type.polymorphicDiscriminator, - uberParent: "Setting", - className: "AlertSyncSettings", + className: "DefenderForContainersAwsOfferingKubernetesScubaReader", modelProperties: { - ...Setting.type.modelProperties, - enabled: { - required: true, - serializedName: "properties.enabled", + cloudRoleArn: { + serializedName: "cloudRoleArn", type: { - name: "Boolean" + name: "String" } } } } }; -export const IngestionSetting: msRest.CompositeMapper = { - serializedName: "IngestionSetting", +export const DefenderForContainersAwsOfferingCloudWatchToKinesis: msRest.CompositeMapper = { + serializedName: "defenderForContainersAwsOffering_cloudWatchToKinesis", type: { name: "Composite", - className: "IngestionSetting", + className: "DefenderForContainersAwsOfferingCloudWatchToKinesis", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + cloudRoleArn: { + serializedName: "cloudRoleArn", type: { - name: "Object" + name: "String" } } } } }; -export const IngestionSettingToken: msRest.CompositeMapper = { - serializedName: "IngestionSettingToken", +export const DefenderForContainersAwsOfferingKinesisToS3: msRest.CompositeMapper = { + serializedName: "defenderForContainersAwsOffering_kinesisToS3", type: { name: "Composite", - className: "IngestionSettingToken", + className: "DefenderForContainersAwsOfferingKinesisToS3", modelProperties: { - token: { - readOnly: true, - serializedName: "token", + cloudRoleArn: { + serializedName: "cloudRoleArn", type: { name: "String" } @@ -8445,110 +7893,191 @@ export const IngestionSettingToken: msRest.CompositeMapper = { } }; -export const IngestionConnectionString: msRest.CompositeMapper = { - serializedName: "IngestionConnectionString", +export const DefenderForContainersAwsOffering: msRest.CompositeMapper = { + serializedName: "DefenderForContainersAws", type: { name: "Composite", - className: "IngestionConnectionString", + polymorphicDiscriminator: CloudOffering.type.polymorphicDiscriminator, + uberParent: "CloudOffering", + className: "DefenderForContainersAwsOffering", modelProperties: { - location: { - readOnly: true, - serializedName: "location", + ...CloudOffering.type.modelProperties, + kubernetesService: { + serializedName: "kubernetesService", type: { - name: "String" + name: "Composite", + className: "DefenderForContainersAwsOfferingKubernetesService" } }, - value: { - readOnly: true, - serializedName: "value", + kubernetesScubaReader: { + serializedName: "kubernetesScubaReader", type: { - name: "String" + name: "Composite", + className: "DefenderForContainersAwsOfferingKubernetesScubaReader" + } + }, + cloudWatchToKinesis: { + serializedName: "cloudWatchToKinesis", + type: { + name: "Composite", + className: "DefenderForContainersAwsOfferingCloudWatchToKinesis" + } + }, + kinesisToS3: { + serializedName: "kinesisToS3", + type: { + name: "Composite", + className: "DefenderForContainersAwsOfferingKinesisToS3" } } } } }; -export const ConnectionStrings: msRest.CompositeMapper = { - serializedName: "ConnectionStrings", +export const DefenderForServersAwsOfferingDefenderForServers: msRest.CompositeMapper = { + serializedName: "defenderForServersAwsOffering_defenderForServers", type: { name: "Composite", - className: "ConnectionStrings", + className: "DefenderForServersAwsOfferingDefenderForServers", modelProperties: { - value: { - required: true, - serializedName: "value", + cloudRoleArn: { + serializedName: "cloudRoleArn", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IngestionConnectionString" - } - } + name: "String" } } } } }; -export const Software: msRest.CompositeMapper = { - serializedName: "Software", +export const DefenderForServersAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata: msRest.CompositeMapper = { + serializedName: "defenderForServersAwsOffering_arcAutoProvisioning_servicePrincipalSecretMetadata", type: { name: "Composite", - className: "Software", + className: "DefenderForServersAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata", modelProperties: { - ...Resource.type.modelProperties, - deviceId: { - serializedName: "properties.deviceId", + expiryDate: { + serializedName: "expiryDate", type: { name: "String" } }, - osPlatform: { - serializedName: "properties.osPlatform", + parameterStoreRegion: { + serializedName: "parameterStoreRegion", type: { name: "String" } }, - vendor: { - serializedName: "properties.vendor", + parameterNameInStore: { + serializedName: "parameterNameInStore", type: { name: "String" } - }, - softwareName: { - serializedName: "properties.softwareName", + } + } + } +}; + +export const DefenderForServersAwsOfferingArcAutoProvisioning: msRest.CompositeMapper = { + serializedName: "defenderForServersAwsOffering_arcAutoProvisioning", + type: { + name: "Composite", + className: "DefenderForServersAwsOfferingArcAutoProvisioning", + modelProperties: { + enabled: { + serializedName: "enabled", type: { - name: "String" + name: "Boolean" } }, - version: { - serializedName: "properties.version", + servicePrincipalSecretMetadata: { + serializedName: "servicePrincipalSecretMetadata", type: { - name: "String" + name: "Composite", + className: "DefenderForServersAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata" + } + } + } + } +}; + +export const DefenderForServersAwsOffering: msRest.CompositeMapper = { + serializedName: "DefenderForServersAWS", + type: { + name: "Composite", + polymorphicDiscriminator: CloudOffering.type.polymorphicDiscriminator, + uberParent: "CloudOffering", + className: "DefenderForServersAwsOffering", + modelProperties: { + ...CloudOffering.type.modelProperties, + defenderForServers: { + serializedName: "defenderForServers", + type: { + name: "Composite", + className: "DefenderForServersAwsOfferingDefenderForServers" } }, - endOfSupportStatus: { - serializedName: "properties.endOfSupportStatus", + arcAutoProvisioning: { + serializedName: "arcAutoProvisioning", type: { - name: "String" + name: "Composite", + className: "DefenderForServersAwsOfferingArcAutoProvisioning" + } + } + } + } +}; + +export const CustomAssessmentAutomationsListResult: msRest.CompositeMapper = { + serializedName: "customAssessmentAutomationsListResult", + type: { + name: "Composite", + className: "CustomAssessmentAutomationsListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomAssessmentAutomation" + } + } } }, - endOfSupportDate: { - serializedName: "properties.endOfSupportDate", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - numberOfKnownVulnerabilities: { - serializedName: "properties.numberOfKnownVulnerabilities", + } + } + } +}; + +export const CustomEntityStoreAssignmentsListResult: msRest.CompositeMapper = { + serializedName: "CustomEntityStoreAssignmentsListResult", + type: { + name: "Composite", + className: "CustomEntityStoreAssignmentsListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomEntityStoreAssignment" + } + } } }, - firstSeenAt: { - serializedName: "properties.firstSeenAt", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -9122,11 +8651,11 @@ export const AlertsSuppressionRulesList: msRest.CompositeMapper = { } }; -export const SecurityAssessmentMetadataList: msRest.CompositeMapper = { - serializedName: "SecurityAssessmentMetadataList", +export const SecurityAssessmentMetadataResponseList: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentMetadataResponseList", type: { name: "Composite", - className: "SecurityAssessmentMetadataList", + className: "SecurityAssessmentMetadataResponseList", modelProperties: { value: { readOnly: true, @@ -9136,7 +8665,7 @@ export const SecurityAssessmentMetadataList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SecurityAssessmentMetadata" + className: "SecurityAssessmentMetadataResponse" } } } @@ -9166,7 +8695,7 @@ export const SecurityAssessmentList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SecurityAssessment" + className: "SecurityAssessmentResponse" } } } @@ -9505,51 +9034,20 @@ export const ConnectorSettingList: msRest.CompositeMapper = { } }; -export const DeviceList: msRest.CompositeMapper = { - serializedName: "DeviceList", - type: { - name: "Composite", - className: "DeviceList", - modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Device" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const IotAlertListModel: msRest.CompositeMapper = { - serializedName: "IotAlertListModel", +export const AlertList: msRest.CompositeMapper = { + serializedName: "AlertList", type: { name: "Composite", - className: "IotAlertListModel", + className: "AlertList", modelProperties: { value: { - readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IotAlertModel" + className: "Alert" } } } @@ -9565,21 +9063,20 @@ export const IotAlertListModel: msRest.CompositeMapper = { } }; -export const IotRecommendationListModel: msRest.CompositeMapper = { - serializedName: "IotRecommendationListModel", +export const SettingsList: msRest.CompositeMapper = { + serializedName: "SettingsList", type: { name: "Composite", - className: "IotRecommendationListModel", + className: "SettingsList", modelProperties: { value: { - readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IotRecommendationModel" + className: "Setting" } } } @@ -9595,49 +9092,21 @@ export const IotRecommendationListModel: msRest.CompositeMapper = { } }; -export const AlertList: msRest.CompositeMapper = { - serializedName: "AlertList", +export const IngestionSettingList: msRest.CompositeMapper = { + serializedName: "IngestionSettingList", type: { name: "Composite", - className: "AlertList", + className: "IngestionSettingList", modelProperties: { value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Alert" - } - } - } - }, - nextLink: { readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const SettingsList: msRest.CompositeMapper = { - serializedName: "SettingsList", - type: { - name: "Composite", - className: "SettingsList", - modelProperties: { - value: { serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Setting" + className: "IngestionSetting" } } } @@ -9653,21 +9122,20 @@ export const SettingsList: msRest.CompositeMapper = { } }; -export const IngestionSettingList: msRest.CompositeMapper = { - serializedName: "IngestionSettingList", +export const SoftwaresList: msRest.CompositeMapper = { + serializedName: "SoftwaresList", type: { name: "Composite", - className: "IngestionSettingList", + className: "SoftwaresList", modelProperties: { value: { - readOnly: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IngestionSetting" + className: "Software" } } } @@ -9683,20 +9151,21 @@ export const IngestionSettingList: msRest.CompositeMapper = { } }; -export const SoftwaresList: msRest.CompositeMapper = { - serializedName: "SoftwaresList", +export const SecurityConnectorsList: msRest.CompositeMapper = { + serializedName: "SecurityConnectorsList", type: { name: "Composite", - className: "SoftwaresList", + className: "SecurityConnectorsList", modelProperties: { value: { + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Software" + className: "SecurityConnector" } } } @@ -9766,6 +9235,10 @@ export const discriminators = { 'AlertSimulatorRequestProperties.Bundles' : AlertSimulatorBundlesRequestProperties, 'Setting' : Setting, 'Setting.DataExportSettings' : DataExportSettings, - 'Setting.AlertSyncSettings' : AlertSyncSettings + 'Setting.AlertSyncSettings' : AlertSyncSettings, + 'cloudOffering' : CloudOffering, + 'CloudOffering.CspmMonitorAws' : CspmMonitorAwsOffering, + 'CloudOffering.DefenderForContainersAws' : DefenderForContainersAwsOffering, + 'CloudOffering.DefenderForServersAWS' : DefenderForServersAwsOffering }; diff --git a/sdk/security/arm-security/src/models/deviceOperationsMappers.ts b/sdk/security/arm-security/src/models/mdeOnboardingsMappers.ts similarity index 91% rename from sdk/security/arm-security/src/models/deviceOperationsMappers.ts rename to sdk/security/arm-security/src/models/mdeOnboardingsMappers.ts index 4fac024d16d6..3c1eb58cde0f 100644 --- a/sdk/security/arm-security/src/models/deviceOperationsMappers.ts +++ b/sdk/security/arm-security/src/models/mdeOnboardingsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,24 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, + MdeOnboardingDataList, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -117,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts b/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts deleted file mode 100644 index 7e62c67c18c6..000000000000 --- a/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - ActiveConnectionsNotInAllowedRange, - AdaptiveNetworkHardening, - AdditionalData, - AdvancedThreatProtectionSetting, - Alert, - AlertEntity, - AlertsSuppressionRule, - AlertSyncSettings, - AllowlistCustomAlertRule, - AmqpC2DMessagesNotInAllowedRange, - AmqpC2DRejectedMessagesNotInAllowedRange, - AmqpD2CMessagesNotInAllowedRange, - AscLocation, - AssessmentLinks, - AssessmentStatus, - AuthenticationDetailsProperties, - AutoProvisioningSetting, - AwAssumeRoleAuthenticationDetailsProperties, - AwsCredsAuthenticationDetailsProperties, - AzureResourceDetails, - AzureResourceIdentifier, - AzureResourceLink, - Baseline, - BaselineAdjustedResult, - BaseResource, - BenchmarkReference, - CloudError, - Compliance, - ComplianceResult, - ComplianceSegment, - ConnectionFromIpNotAllowed, - ConnectionToIpNotAllowed, - ConnectorSetting, - ContainerRegistryVulnerabilityProperties, - CustomAlertRule, - CVE, - CVSS, - DataExportSettings, - DenylistCustomAlertRule, - Device, - DeviceSecurityGroup, - DirectMethodInvokesNotInAllowedRange, - EffectiveNetworkSecurityGroups, - FailedLocalLoginsNotInAllowedRange, - FileUploadsNotInAllowedRange, - Firmware, - GcpCredentialsDetailsProperties, - HttpC2DMessagesNotInAllowedRange, - HttpC2DRejectedMessagesNotInAllowedRange, - HttpD2CMessagesNotInAllowedRange, - HybridComputeSettingsProperties, - InformationProtectionKeyword, - InformationProtectionPolicy, - InformationType, - IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, - IoTSecurityAlertedDevice, - IoTSecurityDeviceAlert, - IoTSecurityDeviceRecommendation, - IoTSecuritySolutionAnalyticsModel, - IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, - IoTSeverityMetrics, - IotSitesModel, - IpAddress, - ListCustomAlertRule, - LocalUserNotAllowed, - LogAnalyticsIdentifier, - MacAddress, - MqttC2DMessagesNotInAllowedRange, - MqttC2DRejectedMessagesNotInAllowedRange, - MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, - OnPremiseIotSensorsList, - OnPremiseResourceDetails, - OnPremiseSqlResourceDetails, - Pricing, - ProcessNotAllowed, - Protocol1, - ProxyServerProperties, - QueryCheck, - QueuePurgesNotInAllowedRange, - RegulatoryComplianceAssessment, - RegulatoryComplianceControl, - RegulatoryComplianceStandard, - Remediation, - ResetPasswordInput, - Resource, - ResourceDetails, - ResourceIdentifier, - Rule, - RuleResults, - RuleResultsProperties, - Scan, - ScanProperties, - ScanResult, - ScanResultProperties, - ScopeElement, - SecureScoreControlDefinitionItem, - SecureScoreControlDefinitionSource, - SecureScoreControlDetails, - SecureScoreItem, - SecurityAssessment, - SecurityAssessmentMetadata, - SecurityAssessmentMetadataPartnerData, - SecurityAssessmentMetadataProperties, - SecurityAssessmentPartnerData, - SecurityContact, - SecuritySubAssessment, - SecurityTask, - SecurityTaskParameters, - SensitivityLabel, - Sensor, - ServerVulnerabilityAssessment, - ServerVulnerabilityProperties, - ServicePrincipalProperties, - Setting, - Site, - Software, - SqlServerVulnerabilityProperties, - SubAssessmentStatus, - SuppressionAlertsScope, - ThresholdCustomAlertRule, - TimeWindowCustomAlertRule, - TwinUpdatesNotInAllowedRange, - UnauthorizedOperationsNotInAllowedRange, - VaRule, - VendorReference, - WorkspaceSetting -} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/parameters.ts b/sdk/security/arm-security/src/models/parameters.ts index a22ff0f8d0db..80fc954b6b7a 100644 --- a/sdk/security/arm-security/src/models/parameters.ts +++ b/sdk/security/arm-security/src/models/parameters.ts @@ -81,7 +81,7 @@ export const alertsSuppressionRuleName: msRest.OperationURLParameter = { } } }; -export const alertType0: msRest.OperationQueryParameter = { +export const alertType: msRest.OperationQueryParameter = { parameterPath: [ "options", "alertType" @@ -93,55 +93,65 @@ export const alertType0: msRest.OperationQueryParameter = { } } }; -export const alertType1: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "alertType" - ], +export const apiVersion0: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", mapper: { - serializedName: "alertType", + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2021-10-01-preview', type: { name: "String" } } }; -export const apiVersion0: msRest.OperationQueryParameter = { +export const apiVersion1: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-08-01', + defaultValue: '2021-07-01-preview', type: { name: "String" } } }; -export const apiVersion1: msRest.OperationQueryParameter = { +export const apiVersion10: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2018-06-01', + defaultValue: '2021-06-01', type: { name: "String" } } }; -export const apiVersion10: msRest.OperationQueryParameter = { +export const apiVersion11: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-08-06-preview', + defaultValue: '2020-01-01-preview', type: { name: "String" } } }; -export const apiVersion11: msRest.OperationQueryParameter = { +export const apiVersion12: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; +export const apiVersion13: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -153,19 +163,19 @@ export const apiVersion11: msRest.OperationQueryParameter = { } } }; -export const apiVersion12: msRest.OperationQueryParameter = { +export const apiVersion14: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2021-06-01', + defaultValue: '2021-07-01', type: { name: "String" } } }; -export const apiVersion13: msRest.OperationQueryParameter = { +export const apiVersion15: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -177,7 +187,7 @@ export const apiVersion13: msRest.OperationQueryParameter = { } } }; -export const apiVersion14: msRest.OperationQueryParameter = { +export const apiVersion16: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -195,7 +205,7 @@ export const apiVersion2: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2019-01-01', + defaultValue: '2017-08-01', type: { name: "String" } @@ -207,7 +217,7 @@ export const apiVersion3: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2019-08-01', + defaultValue: '2018-06-01', type: { name: "String" } @@ -219,7 +229,7 @@ export const apiVersion4: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2015-06-01-preview', + defaultValue: '2019-01-01', type: { name: "String" } @@ -231,7 +241,7 @@ export const apiVersion5: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2017-08-01-preview', + defaultValue: '2019-08-01', type: { name: "String" } @@ -243,7 +253,7 @@ export const apiVersion6: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2019-01-01-preview', + defaultValue: '2015-06-01-preview', type: { name: "String" } @@ -255,7 +265,7 @@ export const apiVersion7: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-01-01', + defaultValue: '2017-08-01-preview', type: { name: "String" } @@ -267,7 +277,7 @@ export const apiVersion8: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-01-01-preview', + defaultValue: '2019-01-01-preview', type: { name: "String" } @@ -277,7 +287,9 @@ export const apiVersion9: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, + isConstant: true, serializedName: "api-version", + defaultValue: '2020-01-01', type: { name: "String" } @@ -343,18 +355,6 @@ export const complianceResultName: msRest.OperationURLParameter = { } } }; -export const compromisedEntity: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "compromisedEntity" - ], - mapper: { - serializedName: "compromisedEntity", - type: { - name: "String" - } - } -}; export const connectionType: msRest.OperationURLParameter = { parameterPath: "connectionType", mapper: { @@ -375,35 +375,21 @@ export const connectorName: msRest.OperationURLParameter = { } } }; -export const deviceId0: msRest.OperationURLParameter = { - parameterPath: "deviceId", +export const customAssessmentAutomationName: msRest.OperationURLParameter = { + parameterPath: "customAssessmentAutomationName", mapper: { required: true, - serializedName: "deviceId", - type: { - name: "String" - } - } -}; -export const deviceId1: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "deviceId" - ], - mapper: { - serializedName: "deviceId", + serializedName: "customAssessmentAutomationName", type: { name: "String" } } }; -export const deviceManagementType: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "deviceManagementType" - ], +export const customEntityStoreAssignmentName: msRest.OperationURLParameter = { + parameterPath: "customEntityStoreAssignmentName", mapper: { - serializedName: "deviceManagementType", + required: true, + serializedName: "customEntityStoreAssignmentName", type: { name: "String" } @@ -505,56 +491,6 @@ export const ingestionSettingName: msRest.OperationURLParameter = { } } }; -export const iotAlertId: msRest.OperationURLParameter = { - parameterPath: "iotAlertId", - mapper: { - required: true, - serializedName: "iotAlertId", - type: { - name: "String" - } - } -}; -export const iotAlertTypeName: msRest.OperationURLParameter = { - parameterPath: "iotAlertTypeName", - mapper: { - required: true, - serializedName: "iotAlertTypeName", - type: { - name: "String" - } - } -}; -export const iotRecommendationId: msRest.OperationURLParameter = { - parameterPath: "iotRecommendationId", - mapper: { - required: true, - serializedName: "iotRecommendationId", - type: { - name: "String" - } - } -}; -export const iotRecommendationTypeName: msRest.OperationURLParameter = { - parameterPath: "iotRecommendationTypeName", - mapper: { - required: true, - serializedName: "iotRecommendationTypeName", - type: { - name: "String" - } - } -}; -export const iotSensorName: msRest.OperationURLParameter = { - parameterPath: "iotSensorName", - mapper: { - required: true, - serializedName: "iotSensorName", - type: { - name: "String" - } - } -}; export const jitNetworkAccessPolicyInitiateType: msRest.OperationURLParameter = { parameterPath: "jitNetworkAccessPolicyInitiateType", mapper: { @@ -577,42 +513,6 @@ export const jitNetworkAccessPolicyName: msRest.OperationURLParameter = { } } }; -export const limit: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "limit" - ], - mapper: { - serializedName: "$limit", - type: { - name: "Number" - } - } -}; -export const maxStartTimeUtc: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "maxStartTimeUtc" - ], - mapper: { - serializedName: "startTimeUtc<", - type: { - name: "String" - } - } -}; -export const minStartTimeUtc: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "minStartTimeUtc" - ], - mapper: { - serializedName: "startTimeUtc>", - type: { - name: "String" - } - } -}; export const nextPageLink: msRest.OperationURLParameter = { parameterPath: "nextPageLink", mapper: { @@ -624,16 +524,6 @@ export const nextPageLink: msRest.OperationURLParameter = { }, skipEncoding: true }; -export const onPremiseIotSensorName: msRest.OperationURLParameter = { - parameterPath: "onPremiseIotSensorName", - mapper: { - required: true, - serializedName: "onPremiseIotSensorName", - type: { - name: "String" - } - } -}; export const pricingName: msRest.OperationURLParameter = { parameterPath: "pricingName", mapper: { @@ -644,18 +534,6 @@ export const pricingName: msRest.OperationURLParameter = { } } }; -export const recommendationType: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "recommendationType" - ], - mapper: { - serializedName: "recommendationType", - type: { - name: "String" - } - } -}; export const regulatoryComplianceAssessmentName: msRest.OperationURLParameter = { parameterPath: "regulatoryComplianceAssessmentName", mapper: { @@ -793,6 +671,16 @@ export const secureScoreName: msRest.OperationURLParameter = { } } }; +export const securityConnectorName: msRest.OperationURLParameter = { + parameterPath: "securityConnectorName", + mapper: { + required: true, + serializedName: "securityConnectorName", + type: { + name: "String" + } + } +}; export const securityContactName: msRest.OperationURLParameter = { parameterPath: "securityContactName", mapper: { @@ -847,18 +735,6 @@ export const settingName1: msRest.OperationURLParameter = { } } }; -export const skipToken: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "skipToken" - ], - mapper: { - serializedName: "$skipToken", - type: { - name: "String" - } - } -}; export const softwareName: msRest.OperationURLParameter = { parameterPath: "softwareName", mapper: { diff --git a/sdk/security/arm-security/src/models/pricingsMappers.ts b/sdk/security/arm-security/src/models/pricingsMappers.ts index cd5b9ba52653..3ac924f8f937 100644 --- a/sdk/security/arm-security/src/models/pricingsMappers.ts +++ b/sdk/security/arm-security/src/models/pricingsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,35 +65,24 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, PricingList, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts b/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts index 2aa52938afb9..5ccef851948c 100644 --- a/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts +++ b/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts b/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts index 9b546318a0fb..5ee950976cbe 100644 --- a/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts +++ b/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts b/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts index f71c9be427e1..22522dab1052 100644 --- a/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts +++ b/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts b/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts index ccfb073559a9..e00e973a53b8 100644 --- a/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts +++ b/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts b/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts index 18831f247670..e36f04067e68 100644 --- a/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts +++ b/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/secureScoresMappers.ts b/sdk/security/arm-security/src/models/secureScoresMappers.ts index 7a8e2e4fe3e6..9fedd65e9916 100644 --- a/sdk/security/arm-security/src/models/secureScoresMappers.ts +++ b/sdk/security/arm-security/src/models/secureScoresMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/securityConnectorsMappers.ts b/sdk/security/arm-security/src/models/securityConnectorsMappers.ts new file mode 100644 index 000000000000..c24498b92a28 --- /dev/null +++ b/sdk/security/arm-security/src/models/securityConnectorsMappers.ts @@ -0,0 +1,38 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Automation, + AutomationAction, + AutomationActionEventHub, + AutomationActionLogicApp, + AutomationActionWorkspace, + AutomationRuleSet, + AutomationScope, + AutomationSource, + AutomationTriggeringRule, + CloudError, + CloudOffering, + CspmMonitorAwsOffering, + CspmMonitorAwsOfferingNativeCloudConnection, + DefenderForContainersAwsOffering, + DefenderForContainersAwsOfferingCloudWatchToKinesis, + DefenderForContainersAwsOfferingKinesisToS3, + DefenderForContainersAwsOfferingKubernetesScubaReader, + DefenderForContainersAwsOfferingKubernetesService, + DefenderForServersAwsOffering, + DefenderForServersAwsOfferingArcAutoProvisioning, + DefenderForServersAwsOfferingArcAutoProvisioningServicePrincipalSecretMetadata, + DefenderForServersAwsOfferingDefenderForServers, + SecurityConnector, + SecurityConnectorPropertiesOrganizationalData, + SecurityConnectorsList, + SystemData, + TrackedResource +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/securityContactsMappers.ts b/sdk/security/arm-security/src/models/securityContactsMappers.ts index d65ed7c3ecf5..9d3dc4fa0251 100644 --- a/sdk/security/arm-security/src/models/securityContactsMappers.ts +++ b/sdk/security/arm-security/src/models/securityContactsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -117,23 +108,25 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecurityContactList, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts b/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts index 3c9889a7549e..6a856727f753 100644 --- a/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts +++ b/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -117,23 +108,25 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityAssessmentsList, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/settingsMappers.ts b/sdk/security/arm-security/src/models/settingsMappers.ts index 01ab7cffadc7..c5fba63960fa 100644 --- a/sdk/security/arm-security/src/models/settingsMappers.ts +++ b/sdk/security/arm-security/src/models/settingsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -117,23 +108,25 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, SettingsList, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/softwareInventoriesMappers.ts b/sdk/security/arm-security/src/models/softwareInventoriesMappers.ts index 16d53638fabd..946079b4fb6c 100644 --- a/sdk/security/arm-security/src/models/softwareInventoriesMappers.ts +++ b/sdk/security/arm-security/src/models/softwareInventoriesMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -117,23 +108,25 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SoftwaresList, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts index ffa9771f7eb8..6e1fbb50af9c 100644 --- a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts +++ b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -120,22 +111,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts index e410464eff2a..890e7b48a922 100644 --- a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts +++ b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts index ffc403e3625a..9131c5825167 100644 --- a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts +++ b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -118,22 +109,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/subAssessmentsMappers.ts b/sdk/security/arm-security/src/models/subAssessmentsMappers.ts index 5e4c6901a101..d9733e390461 100644 --- a/sdk/security/arm-security/src/models/subAssessmentsMappers.ts +++ b/sdk/security/arm-security/src/models/subAssessmentsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -117,23 +108,25 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecuritySubAssessmentList, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/tasksMappers.ts b/sdk/security/arm-security/src/models/tasksMappers.ts index 1f079e13f684..363a416bfc55 100644 --- a/sdk/security/arm-security/src/models/tasksMappers.ts +++ b/sdk/security/arm-security/src/models/tasksMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -117,23 +108,25 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskList, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts b/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts index 15b4b89f160c..84aee939134c 100644 --- a/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts +++ b/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -43,17 +44,18 @@ export { ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, + CustomAssessmentAutomation, + CustomAssessmentAutomationRequest, + CustomEntityStoreAssignment, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, - Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, - Firmware, GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, @@ -63,34 +65,23 @@ export { InformationProtectionPolicy, InformationType, IngestionSetting, - IotAlertModel, - IotAlertType, - IotDefenderSettingsModel, - IotRecommendationModel, - IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, - IotSensorsModel, IoTSeverityMetrics, - IotSitesModel, - IpAddress, ListCustomAlertRule, LocalUserNotAllowed, LogAnalyticsIdentifier, - MacAddress, + MdeOnboardingData, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, - NetworkInterface, - OnPremiseIotSensor, OnPremiseResourceDetails, OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, - Protocol1, ProxyServerProperties, QueryCheck, QueuePurgesNotInAllowedRange, @@ -117,22 +108,24 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, SecurityTaskParameters, SensitivityLabel, - Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, ServicePrincipalProperties, Setting, - Site, Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, + SystemData, ThresholdCustomAlertRule, TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, diff --git a/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts b/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts index 14a11210a0fc..46d81c94e121 100644 --- a/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts +++ b/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts @@ -147,7 +147,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7, + Parameters.apiVersion9, Parameters.includePathRecommendations, Parameters.summary ], @@ -174,7 +174,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.groupName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -199,7 +199,7 @@ const putOperationSpec: msRest.OperationSpec = { Parameters.groupName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -231,7 +231,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.groupName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/adaptiveNetworkHardenings.ts b/sdk/security/arm-security/src/operations/adaptiveNetworkHardenings.ts index c4878b87fbf7..fce09c14204e 100644 --- a/sdk/security/arm-security/src/operations/adaptiveNetworkHardenings.ts +++ b/sdk/security/arm-security/src/operations/adaptiveNetworkHardenings.ts @@ -202,7 +202,7 @@ const listByExtendedResourceOperationSpec: msRest.OperationSpec = { Parameters.resourceName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -230,7 +230,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.adaptiveNetworkHardeningResourceName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -259,7 +259,7 @@ const beginEnforceOperationSpec: msRest.OperationSpec = { Parameters.adaptiveNetworkHardeningEnforceAction ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -289,7 +289,7 @@ const listByExtendedResourceNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/advancedThreatProtection.ts b/sdk/security/arm-security/src/operations/advancedThreatProtection.ts index 085123332b48..48f20fa1e513 100644 --- a/sdk/security/arm-security/src/operations/advancedThreatProtection.ts +++ b/sdk/security/arm-security/src/operations/advancedThreatProtection.ts @@ -96,7 +96,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.settingName0 ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -120,7 +120,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.settingName0 ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/alerts.ts b/sdk/security/arm-security/src/operations/alerts.ts index 12abd12e522a..7ddde7d30aaa 100644 --- a/sdk/security/arm-security/src/operations/alerts.ts +++ b/sdk/security/arm-security/src/operations/alerts.ts @@ -541,7 +541,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -565,7 +565,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -589,7 +589,7 @@ const listSubscriptionLevelByRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -614,7 +614,7 @@ const listResourceGroupLevelByRegionOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -639,7 +639,7 @@ const getSubscriptionLevelOperationSpec: msRest.OperationSpec = { Parameters.alertName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -665,7 +665,7 @@ const getResourceGroupLevelOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -690,7 +690,7 @@ const updateSubscriptionLevelStateToDismissOperationSpec: msRest.OperationSpec = Parameters.alertName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -713,7 +713,7 @@ const updateSubscriptionLevelStateToResolveOperationSpec: msRest.OperationSpec = Parameters.alertName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -736,7 +736,7 @@ const updateSubscriptionLevelStateToActivateOperationSpec: msRest.OperationSpec Parameters.alertName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -760,7 +760,7 @@ const updateResourceGroupLevelStateToResolveOperationSpec: msRest.OperationSpec Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -784,7 +784,7 @@ const updateResourceGroupLevelStateToDismissOperationSpec: msRest.OperationSpec Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -808,7 +808,7 @@ const updateResourceGroupLevelStateToActivateOperationSpec: msRest.OperationSpec Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -830,7 +830,7 @@ const beginSimulateOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -859,7 +859,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -883,7 +883,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -907,7 +907,7 @@ const listSubscriptionLevelByRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -931,7 +931,7 @@ const listResourceGroupLevelByRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/alertsSuppressionRules.ts b/sdk/security/arm-security/src/operations/alertsSuppressionRules.ts index ddf94725c6ab..dc64a097f964 100644 --- a/sdk/security/arm-security/src/operations/alertsSuppressionRules.ts +++ b/sdk/security/arm-security/src/operations/alertsSuppressionRules.ts @@ -175,8 +175,8 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion6, - Parameters.alertType0 + Parameters.apiVersion8, + Parameters.alertType ], headerParameters: [ Parameters.acceptLanguage @@ -200,7 +200,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.alertsSuppressionRuleName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +224,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.alertsSuppressionRuleName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -255,7 +255,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.alertsSuppressionRuleName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -277,8 +277,8 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion6, - Parameters.alertType0 + Parameters.apiVersion8, + Parameters.alertType ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/allowedConnections.ts b/sdk/security/arm-security/src/operations/allowedConnections.ts index 8fdcb9047656..1620ace037df 100644 --- a/sdk/security/arm-security/src/operations/allowedConnections.ts +++ b/sdk/security/arm-security/src/operations/allowedConnections.ts @@ -178,7 +178,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -202,7 +202,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -228,7 +228,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.connectionType ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -252,7 +252,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -276,7 +276,7 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/assessments.ts b/sdk/security/arm-security/src/operations/assessments.ts index fc98748d377d..30077cdedcf3 100644 --- a/sdk/security/arm-security/src/operations/assessments.ts +++ b/sdk/security/arm-security/src/operations/assessments.ts @@ -72,15 +72,15 @@ export class Assessments { * @param assessmentName The Assessment Key - Unique key for the assessment type * @param callback The callback */ - get(resourceId: string, assessmentName: string, callback: msRest.ServiceCallback): void; + get(resourceId: string, assessmentName: string, callback: msRest.ServiceCallback): void; /** * @param resourceId The identifier of the resource. * @param assessmentName The Assessment Key - Unique key for the assessment type * @param options The optional parameters * @param callback The callback */ - get(resourceId: string, assessmentName: string, options: Models.AssessmentsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceId: string, assessmentName: string, options?: Models.AssessmentsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceId: string, assessmentName: string, options: Models.AssessmentsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceId: string, assessmentName: string, options?: Models.AssessmentsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -107,7 +107,7 @@ export class Assessments { * @param assessment Calculated assessment on a pre-defined assessment metadata * @param callback The callback */ - createOrUpdate(resourceId: string, assessmentName: string, assessment: Models.SecurityAssessment, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceId: string, assessmentName: string, assessment: Models.SecurityAssessment, callback: msRest.ServiceCallback): void; /** * @param resourceId The identifier of the resource. * @param assessmentName The Assessment Key - Unique key for the assessment type @@ -115,8 +115,8 @@ export class Assessments { * @param options The optional parameters * @param callback The callback */ - createOrUpdate(resourceId: string, assessmentName: string, assessment: Models.SecurityAssessment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceId: string, assessmentName: string, assessment: Models.SecurityAssessment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceId: string, assessmentName: string, assessment: Models.SecurityAssessment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceId: string, assessmentName: string, assessment: Models.SecurityAssessment, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceId, @@ -199,7 +199,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -223,7 +223,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.assessmentName ], queryParameters: [ - Parameters.apiVersion7, + Parameters.apiVersion10, Parameters.expand ], headerParameters: [ @@ -231,7 +231,7 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.SecurityAssessment + bodyMapper: Mappers.SecurityAssessmentResponse }, default: { bodyMapper: Mappers.CloudError @@ -248,7 +248,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.assessmentName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -262,10 +262,10 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { }, responses: { 200: { - bodyMapper: Mappers.SecurityAssessment + bodyMapper: Mappers.SecurityAssessmentResponse }, 201: { - bodyMapper: Mappers.SecurityAssessment + bodyMapper: Mappers.SecurityAssessmentResponse }, default: { bodyMapper: Mappers.CloudError @@ -282,7 +282,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.assessmentName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -305,7 +305,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/assessmentsMetadata.ts b/sdk/security/arm-security/src/operations/assessmentsMetadata.ts index 94c0216a7bbc..f834de18134a 100644 --- a/sdk/security/arm-security/src/operations/assessmentsMetadata.ts +++ b/sdk/security/arm-security/src/operations/assessmentsMetadata.ts @@ -34,13 +34,13 @@ export class AssessmentsMetadata { /** * @param callback The callback */ - list(callback: msRest.ServiceCallback): void; + list(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -60,14 +60,14 @@ export class AssessmentsMetadata { * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type * @param callback The callback */ - get(assessmentMetadataName: string, callback: msRest.ServiceCallback): void; + get(assessmentMetadataName: string, callback: msRest.ServiceCallback): void; /** * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type * @param options The optional parameters * @param callback The callback */ - get(assessmentMetadataName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(assessmentMetadataName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(assessmentMetadataName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(assessmentMetadataName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { assessmentMetadataName, @@ -86,13 +86,13 @@ export class AssessmentsMetadata { /** * @param callback The callback */ - listBySubscription(callback: msRest.ServiceCallback): void; + listBySubscription(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ - listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -112,14 +112,14 @@ export class AssessmentsMetadata { * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type * @param callback The callback */ - getInSubscription(assessmentMetadataName: string, callback: msRest.ServiceCallback): void; + getInSubscription(assessmentMetadataName: string, callback: msRest.ServiceCallback): void; /** * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type * @param options The optional parameters * @param callback The callback */ - getInSubscription(assessmentMetadataName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInSubscription(assessmentMetadataName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getInSubscription(assessmentMetadataName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getInSubscription(assessmentMetadataName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { assessmentMetadataName, @@ -136,21 +136,21 @@ export class AssessmentsMetadata { * @param [options] The optional parameters * @returns Promise */ - createInSubscription(assessmentMetadataName: string, assessmentMetadata: Models.SecurityAssessmentMetadata, options?: msRest.RequestOptionsBase): Promise; + createInSubscription(assessmentMetadataName: string, assessmentMetadata: Models.SecurityAssessmentMetadataResponse, options?: msRest.RequestOptionsBase): Promise; /** * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type * @param assessmentMetadata AssessmentMetadata object * @param callback The callback */ - createInSubscription(assessmentMetadataName: string, assessmentMetadata: Models.SecurityAssessmentMetadata, callback: msRest.ServiceCallback): void; + createInSubscription(assessmentMetadataName: string, assessmentMetadata: Models.SecurityAssessmentMetadataResponse, callback: msRest.ServiceCallback): void; /** * @param assessmentMetadataName The Assessment Key - Unique key for the assessment type * @param assessmentMetadata AssessmentMetadata object * @param options The optional parameters * @param callback The callback */ - createInSubscription(assessmentMetadataName: string, assessmentMetadata: Models.SecurityAssessmentMetadata, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createInSubscription(assessmentMetadataName: string, assessmentMetadata: Models.SecurityAssessmentMetadata, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createInSubscription(assessmentMetadataName: string, assessmentMetadata: Models.SecurityAssessmentMetadataResponse, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createInSubscription(assessmentMetadataName: string, assessmentMetadata: Models.SecurityAssessmentMetadataResponse, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { assessmentMetadataName, @@ -201,14 +201,14 @@ export class AssessmentsMetadata { * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -229,14 +229,14 @@ export class AssessmentsMetadata { * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -253,14 +253,14 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Security/assessmentMetadata", queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.SecurityAssessmentMetadataList + bodyMapper: Mappers.SecurityAssessmentMetadataResponseList }, default: { bodyMapper: Mappers.CloudError @@ -276,14 +276,14 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.assessmentMetadataName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.SecurityAssessmentMetadata + bodyMapper: Mappers.SecurityAssessmentMetadataResponse }, default: { bodyMapper: Mappers.CloudError @@ -299,14 +299,14 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.SecurityAssessmentMetadataList + bodyMapper: Mappers.SecurityAssessmentMetadataResponseList }, default: { bodyMapper: Mappers.CloudError @@ -323,14 +323,14 @@ const getInSubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.SecurityAssessmentMetadata + bodyMapper: Mappers.SecurityAssessmentMetadataResponse }, default: { bodyMapper: Mappers.CloudError @@ -347,7 +347,7 @@ const createInSubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -355,13 +355,13 @@ const createInSubscriptionOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "assessmentMetadata", mapper: { - ...Mappers.SecurityAssessmentMetadata, + ...Mappers.SecurityAssessmentMetadataResponse, required: true } }, responses: { 200: { - bodyMapper: Mappers.SecurityAssessmentMetadata + bodyMapper: Mappers.SecurityAssessmentMetadataResponse }, default: { bodyMapper: Mappers.CloudError @@ -378,7 +378,7 @@ const deleteInSubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -400,14 +400,14 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.SecurityAssessmentMetadataList + bodyMapper: Mappers.SecurityAssessmentMetadataResponseList }, default: { bodyMapper: Mappers.CloudError @@ -424,14 +424,14 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.SecurityAssessmentMetadataList + bodyMapper: Mappers.SecurityAssessmentMetadataResponseList }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts b/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts index 4047123752c2..f73e03f8c616 100644 --- a/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts +++ b/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts @@ -147,7 +147,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -171,7 +171,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -195,7 +195,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -226,7 +226,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/automations.ts b/sdk/security/arm-security/src/operations/automations.ts index 7efe058ef121..c73a8c246fd5 100644 --- a/sdk/security/arm-security/src/operations/automations.ts +++ b/sdk/security/arm-security/src/operations/automations.ts @@ -300,7 +300,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -324,7 +324,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -349,7 +349,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.automationName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -374,7 +374,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.automationName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -409,7 +409,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.automationName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -432,7 +432,7 @@ const validateOperationSpec: msRest.OperationSpec = { Parameters.automationName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -463,7 +463,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -487,7 +487,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/complianceResults.ts b/sdk/security/arm-security/src/operations/complianceResults.ts index 66b2c70beaf6..aa2b437551eb 100644 --- a/sdk/security/arm-security/src/operations/complianceResults.ts +++ b/sdk/security/arm-security/src/operations/complianceResults.ts @@ -129,7 +129,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -153,7 +153,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.complianceResultName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -177,7 +177,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/compliances.ts b/sdk/security/arm-security/src/operations/compliances.ts index 03142366fd78..75f53c858128 100644 --- a/sdk/security/arm-security/src/operations/compliances.ts +++ b/sdk/security/arm-security/src/operations/compliances.ts @@ -135,7 +135,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -159,7 +159,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.complianceName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -183,7 +183,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/connectors.ts b/sdk/security/arm-security/src/operations/connectors.ts index c54625cfcef6..a8199d1c09b6 100644 --- a/sdk/security/arm-security/src/operations/connectors.ts +++ b/sdk/security/arm-security/src/operations/connectors.ts @@ -177,7 +177,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -201,7 +201,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.connectorName ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -225,7 +225,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.connectorName ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -256,7 +256,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.connectorName ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -279,7 +279,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/customAssessmentAutomations.ts b/sdk/security/arm-security/src/operations/customAssessmentAutomations.ts new file mode 100644 index 000000000000..326f07c5d091 --- /dev/null +++ b/sdk/security/arm-security/src/operations/customAssessmentAutomations.ts @@ -0,0 +1,437 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/customAssessmentAutomationsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a CustomAssessmentAutomations. */ +export class CustomAssessmentAutomations { + private readonly client: SecurityCenterContext; + + /** + * Create a CustomAssessmentAutomations. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Gets a single custom assessment automation by name for the provided subscription and resource + * group. + * @summary Gets a custom assessment automation + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customAssessmentAutomationName Name of the Custom Assessment Automation. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, customAssessmentAutomationName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customAssessmentAutomationName Name of the Custom Assessment Automation. + * @param callback The callback + */ + get(resourceGroupName: string, customAssessmentAutomationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customAssessmentAutomationName Name of the Custom Assessment Automation. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, customAssessmentAutomationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, customAssessmentAutomationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + customAssessmentAutomationName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a custom assessment automation for the provided subscription. Please note + * that providing an existing custom assessment automation will replace the existing record. + * @summary Creates a custom assessment automation + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customAssessmentAutomationName Name of the Custom Assessment Automation. + * @param customAssessmentAutomationBody Custom Assessment Automation body + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, customAssessmentAutomationName: string, customAssessmentAutomationBody: Models.CustomAssessmentAutomationRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customAssessmentAutomationName Name of the Custom Assessment Automation. + * @param customAssessmentAutomationBody Custom Assessment Automation body + * @param callback The callback + */ + create(resourceGroupName: string, customAssessmentAutomationName: string, customAssessmentAutomationBody: Models.CustomAssessmentAutomationRequest, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customAssessmentAutomationName Name of the Custom Assessment Automation. + * @param customAssessmentAutomationBody Custom Assessment Automation body + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, customAssessmentAutomationName: string, customAssessmentAutomationBody: Models.CustomAssessmentAutomationRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, customAssessmentAutomationName: string, customAssessmentAutomationBody: Models.CustomAssessmentAutomationRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + customAssessmentAutomationName, + customAssessmentAutomationBody, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Deletes a custom assessment automation by name for a provided subscription + * @summary Deletes a custom assessment automation + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customAssessmentAutomationName Name of the Custom Assessment Automation. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, customAssessmentAutomationName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customAssessmentAutomationName Name of the Custom Assessment Automation. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, customAssessmentAutomationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customAssessmentAutomationName Name of the Custom Assessment Automation. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, customAssessmentAutomationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, customAssessmentAutomationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + customAssessmentAutomationName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * List custom assessment automations by provided subscription and resource group + * @summary List custom assessment automations in a subscription and a resource group + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * List custom assessment automations by provided subscription + * @summary List custom assessment automations in a subscription + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * List custom assessment automations by provided subscription and resource group + * @summary List custom assessment automations in a subscription and a resource group + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * List custom assessment automations by provided subscription + * @summary List custom assessment automations in a subscription + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.customAssessmentAutomationName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomAssessmentAutomation + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.customAssessmentAutomationName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "customAssessmentAutomationBody", + mapper: { + ...Mappers.CustomAssessmentAutomationRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.CustomAssessmentAutomation + }, + 201: { + bodyMapper: Mappers.CustomAssessmentAutomation + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.customAssessmentAutomationName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomAssessmentAutomationsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/customAssessmentAutomations", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomAssessmentAutomationsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomAssessmentAutomationsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomAssessmentAutomationsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/customEntityStoreAssignments.ts b/sdk/security/arm-security/src/operations/customEntityStoreAssignments.ts new file mode 100644 index 000000000000..bc1d67cd73d1 --- /dev/null +++ b/sdk/security/arm-security/src/operations/customEntityStoreAssignments.ts @@ -0,0 +1,445 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/customEntityStoreAssignmentsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a CustomEntityStoreAssignments. */ +export class CustomEntityStoreAssignments { + private readonly client: SecurityCenterContext; + + /** + * Create a CustomEntityStoreAssignments. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Gets a single custom entity store assignment by name for the provided subscription and resource + * group. + * @summary Gets a custom entity store assignment + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated + * name is GUID. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, customEntityStoreAssignmentName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated + * name is GUID. + * @param callback The callback + */ + get(resourceGroupName: string, customEntityStoreAssignmentName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated + * name is GUID. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, customEntityStoreAssignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, customEntityStoreAssignmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + customEntityStoreAssignmentName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates a custom entity store assignment for the provided subscription, if not already exists. + * @summary Creates a custom entity store assignment + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated + * name is GUID. + * @param customEntityStoreAssignmentRequestBody Custom entity store assignment body + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, customEntityStoreAssignmentName: string, customEntityStoreAssignmentRequestBody: Models.CustomEntityStoreAssignmentRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated + * name is GUID. + * @param customEntityStoreAssignmentRequestBody Custom entity store assignment body + * @param callback The callback + */ + create(resourceGroupName: string, customEntityStoreAssignmentName: string, customEntityStoreAssignmentRequestBody: Models.CustomEntityStoreAssignmentRequest, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated + * name is GUID. + * @param customEntityStoreAssignmentRequestBody Custom entity store assignment body + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, customEntityStoreAssignmentName: string, customEntityStoreAssignmentRequestBody: Models.CustomEntityStoreAssignmentRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, customEntityStoreAssignmentName: string, customEntityStoreAssignmentRequestBody: Models.CustomEntityStoreAssignmentRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + customEntityStoreAssignmentName, + customEntityStoreAssignmentRequestBody, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Delete a custom entity store assignment by name for a provided subscription + * @summary Deleted a custom entity store assignment + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated + * name is GUID. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, customEntityStoreAssignmentName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated + * name is GUID. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, customEntityStoreAssignmentName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated + * name is GUID. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, customEntityStoreAssignmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, customEntityStoreAssignmentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + customEntityStoreAssignmentName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * List custom entity store assignments by a provided subscription and resource group + * @summary List custom entity store assignments in a subscription and a resource group + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * List custom entity store assignments by provided subscription + * @summary List custom entity store assignments in a subscription + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * List custom entity store assignments by a provided subscription and resource group + * @summary List custom entity store assignments in a subscription and a resource group + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * List custom entity store assignments by provided subscription + * @summary List custom entity store assignments in a subscription + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.customEntityStoreAssignmentName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomEntityStoreAssignment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.customEntityStoreAssignmentName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "customEntityStoreAssignmentRequestBody", + mapper: { + ...Mappers.CustomEntityStoreAssignmentRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.CustomEntityStoreAssignment + }, + 201: { + bodyMapper: Mappers.CustomEntityStoreAssignment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.customEntityStoreAssignmentName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomEntityStoreAssignmentsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/customEntityStoreAssignments", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomEntityStoreAssignmentsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomEntityStoreAssignmentsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CustomEntityStoreAssignmentsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/deviceOperations.ts b/sdk/security/arm-security/src/operations/deviceOperations.ts deleted file mode 100644 index d0bb106a779a..000000000000 --- a/sdk/security/arm-security/src/operations/deviceOperations.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/deviceOperationsMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a DeviceOperations. */ -export class DeviceOperations { - private readonly client: SecurityCenterContext; - - /** - * Create a DeviceOperations. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * Get device. - * @param resourceId The identifier of the resource. - * @param deviceId Identifier of the device. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceId: string, deviceId: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceId The identifier of the resource. - * @param deviceId Identifier of the device. - * @param callback The callback - */ - get(resourceId: string, deviceId: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceId The identifier of the resource. - * @param deviceId Identifier of the device. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceId: string, deviceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceId: string, deviceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceId, - deviceId, - options - }, - getOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{resourceId}/providers/Microsoft.Security/devices/{deviceId}", - urlParameters: [ - Parameters.resourceId, - Parameters.deviceId0 - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.Device - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/deviceSecurityGroups.ts b/sdk/security/arm-security/src/operations/deviceSecurityGroups.ts index d4260ab33cdd..46a72dda7d7b 100644 --- a/sdk/security/arm-security/src/operations/deviceSecurityGroups.ts +++ b/sdk/security/arm-security/src/operations/deviceSecurityGroups.ts @@ -200,7 +200,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.resourceId ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +224,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.deviceSecurityGroupName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -248,7 +248,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.deviceSecurityGroupName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -282,7 +282,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.deviceSecurityGroupName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -305,7 +305,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/devicesForHub.ts b/sdk/security/arm-security/src/operations/devicesForHub.ts deleted file mode 100644 index d065ae684345..000000000000 --- a/sdk/security/arm-security/src/operations/devicesForHub.ts +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/devicesForHubMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a DevicesForHub. */ -export class DevicesForHub { - private readonly client: SecurityCenterContext; - - /** - * Create a DevicesForHub. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * Get list of the devices for the specified IoT Hub resource. - * @param resourceId The identifier of the resource. - * @param [options] The optional parameters - * @returns Promise - */ - list(resourceId: string, options?: Models.DevicesForHubListOptionalParams): Promise; - /** - * @param resourceId The identifier of the resource. - * @param callback The callback - */ - list(resourceId: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceId The identifier of the resource. - * @param options The optional parameters - * @param callback The callback - */ - list(resourceId: string, options: Models.DevicesForHubListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceId: string, options?: Models.DevicesForHubListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceId, - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Get list of the devices for the specified IoT Hub resource. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: Models.DevicesForHubListNextOptionalParams): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listNext(nextPageLink: string, options: Models.DevicesForHubListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.DevicesForHubListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{resourceId}/providers/Microsoft.Security/devices", - urlParameters: [ - Parameters.resourceId - ], - queryParameters: [ - Parameters.apiVersion10, - Parameters.limit, - Parameters.skipToken, - Parameters.deviceManagementType - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.DeviceList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion10, - Parameters.limit, - Parameters.skipToken, - Parameters.deviceManagementType - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.DeviceList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/devicesForSubscription.ts b/sdk/security/arm-security/src/operations/devicesForSubscription.ts deleted file mode 100644 index 171c91d18082..000000000000 --- a/sdk/security/arm-security/src/operations/devicesForSubscription.ts +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/devicesForSubscriptionMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a DevicesForSubscription. */ -export class DevicesForSubscription { - private readonly client: SecurityCenterContext; - - /** - * Create a DevicesForSubscription. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * Get list of the devices by their subscription. - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: Models.DevicesForSubscriptionListOptionalParams): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: Models.DevicesForSubscriptionListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.DevicesForSubscriptionListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Get list of the devices by their subscription. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: Models.DevicesForSubscriptionListNextOptionalParams): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listNext(nextPageLink: string, options: Models.DevicesForSubscriptionListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.DevicesForSubscriptionListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/devices", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion10, - Parameters.limit, - Parameters.skipToken, - Parameters.deviceManagementType - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.DeviceList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion10, - Parameters.limit, - Parameters.skipToken, - Parameters.deviceManagementType - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.DeviceList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts b/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts index 12b10b2963b5..8d7c5d80c00c 100644 --- a/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts +++ b/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts @@ -174,7 +174,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -198,7 +198,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +224,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.discoveredSecuritySolutionName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -248,7 +248,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -272,7 +272,7 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts b/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts index b6b9b9bd6de1..bcc8500d6a41 100644 --- a/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts +++ b/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts @@ -174,7 +174,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -198,7 +198,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +224,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.externalSecuritySolutionsName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -248,7 +248,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -272,7 +272,7 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/index.ts b/sdk/security/arm-security/src/operations/index.ts index 68ed9bed7f43..2906768904c7 100644 --- a/sdk/security/arm-security/src/operations/index.ts +++ b/sdk/security/arm-security/src/operations/index.ts @@ -7,6 +7,9 @@ * regenerated. */ +export * from "./mdeOnboardings"; +export * from "./customAssessmentAutomations"; +export * from "./customEntityStoreAssignments"; export * from "./complianceResults"; export * from "./pricings"; export * from "./advancedThreatProtection"; @@ -48,18 +51,8 @@ export * from "./connectors"; export * from "./sqlVulnerabilityAssessmentScans"; export * from "./sqlVulnerabilityAssessmentScanResults"; export * from "./sqlVulnerabilityAssessmentBaselineRules"; -export * from "./iotDefenderSettings"; -export * from "./iotSensors"; -export * from "./devicesForSubscription"; -export * from "./devicesForHub"; -export * from "./deviceOperations"; -export * from "./onPremiseIotSensors"; -export * from "./iotSites"; -export * from "./iotAlerts"; -export * from "./iotAlertTypes"; -export * from "./iotRecommendations"; -export * from "./iotRecommendationTypes"; export * from "./alerts"; export * from "./settings"; export * from "./ingestionSettings"; export * from "./softwareInventories"; +export * from "./securityConnectors"; diff --git a/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts b/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts index 5c5cf260383a..1a707d546b4d 100644 --- a/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts +++ b/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts @@ -184,7 +184,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.informationProtectionPolicyName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -208,7 +208,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.informationProtectionPolicyName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -241,7 +241,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -265,7 +265,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/ingestionSettings.ts b/sdk/security/arm-security/src/operations/ingestionSettings.ts index a4d734204199..72e83c643502 100644 --- a/sdk/security/arm-security/src/operations/ingestionSettings.ts +++ b/sdk/security/arm-security/src/operations/ingestionSettings.ts @@ -236,7 +236,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -284,7 +284,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -315,7 +315,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -338,7 +338,7 @@ const listTokensOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -362,7 +362,7 @@ const listConnectionStringsOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/iotAlerts.ts b/sdk/security/arm-security/src/operations/iotAlerts.ts deleted file mode 100644 index 16d9fddfdb19..000000000000 --- a/sdk/security/arm-security/src/operations/iotAlerts.ts +++ /dev/null @@ -1,214 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/iotAlertsMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a IotAlerts. */ -export class IotAlerts { - private readonly client: SecurityCenterContext; - - /** - * Create a IotAlerts. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * List IoT alerts - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param [options] The optional parameters - * @returns Promise - */ - list(scope: string, options?: Models.IotAlertsListOptionalParams): Promise; - /** - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param callback The callback - */ - list(scope: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param options The optional parameters - * @param callback The callback - */ - list(scope: string, options: Models.IotAlertsListOptionalParams, callback: msRest.ServiceCallback): void; - list(scope: string, options?: Models.IotAlertsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Get IoT alert - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param iotAlertId Id of the alert - * @param [options] The optional parameters - * @returns Promise - */ - get(scope: string, iotAlertId: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param iotAlertId Id of the alert - * @param callback The callback - */ - get(scope: string, iotAlertId: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param iotAlertId Id of the alert - * @param options The optional parameters - * @param callback The callback - */ - get(scope: string, iotAlertId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(scope: string, iotAlertId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - iotAlertId, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * List IoT alerts - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: Models.IotAlertsListNextOptionalParams): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listNext(nextPageLink: string, options: Models.IotAlertsListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.IotAlertsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{scope}/providers/Microsoft.Security/iotAlerts", - urlParameters: [ - Parameters.scope - ], - queryParameters: [ - Parameters.apiVersion10, - Parameters.minStartTimeUtc, - Parameters.maxStartTimeUtc, - Parameters.alertType1, - Parameters.deviceManagementType, - Parameters.compromisedEntity, - Parameters.limit, - Parameters.skipToken - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotAlertListModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{scope}/providers/Microsoft.Security/iotAlerts/{iotAlertId}", - urlParameters: [ - Parameters.scope, - Parameters.iotAlertId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotAlertModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion10, - Parameters.minStartTimeUtc, - Parameters.maxStartTimeUtc, - Parameters.alertType1, - Parameters.deviceManagementType, - Parameters.compromisedEntity, - Parameters.limit, - Parameters.skipToken - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotAlertListModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/iotDefenderSettings.ts b/sdk/security/arm-security/src/operations/iotDefenderSettings.ts deleted file mode 100644 index 6cb21509dddd..000000000000 --- a/sdk/security/arm-security/src/operations/iotDefenderSettings.ts +++ /dev/null @@ -1,329 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/iotDefenderSettingsMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a IotDefenderSettings. */ -export class IotDefenderSettings { - private readonly client: SecurityCenterContext; - - /** - * Create a IotDefenderSettings. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * List IoT Defender Settings - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Get IoT Defender Settings - * @param [options] The optional parameters - * @returns Promise - */ - get(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - get(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Create or update IoT Defender settings - * @param iotDefenderSettingsModel The IoT defender settings model - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(iotDefenderSettingsModel: Models.IotDefenderSettingsModel, options?: msRest.RequestOptionsBase): Promise; - /** - * @param iotDefenderSettingsModel The IoT defender settings model - * @param callback The callback - */ - createOrUpdate(iotDefenderSettingsModel: Models.IotDefenderSettingsModel, callback: msRest.ServiceCallback): void; - /** - * @param iotDefenderSettingsModel The IoT defender settings model - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdate(iotDefenderSettingsModel: Models.IotDefenderSettingsModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(iotDefenderSettingsModel: Models.IotDefenderSettingsModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - iotDefenderSettingsModel, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; - } - - /** - * Delete IoT Defender settings - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - deleteMethod(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - deleteMethodOperationSpec, - callback); - } - - /** - * Information about downloadable packages - * @param [options] The optional parameters - * @returns Promise - */ - packageDownloadsMethod(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - packageDownloadsMethod(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - packageDownloadsMethod(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - packageDownloadsMethod(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - packageDownloadsMethodOperationSpec, - callback) as Promise; - } - - /** - * Download manager activation data defined for this subscription - * @param [options] The optional parameters - * @returns Promise - */ - downloadManagerActivation(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - downloadManagerActivation(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - downloadManagerActivation(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - downloadManagerActivation(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - downloadManagerActivationOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotDefenderSettingsList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotDefenderSettingsModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "iotDefenderSettingsModel", - mapper: { - ...Mappers.IotDefenderSettingsModel, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.IotDefenderSettingsModel - }, - 201: { - bodyMapper: Mappers.IotDefenderSettingsModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const packageDownloadsMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default/packageDownloads", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.PackageDownloads - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const downloadManagerActivationOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default/downloadManagerActivation", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "Stream" - } - } - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts b/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts deleted file mode 100644 index 74b977b0a508..000000000000 --- a/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/iotRecommendationTypesMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a IotRecommendationTypes. */ -export class IotRecommendationTypes { - private readonly client: SecurityCenterContext; - - /** - * Create a IotRecommendationTypes. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * List IoT recommendation types - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Get IoT recommendation type - * @param iotRecommendationTypeName Name of the recommendation type - * @param [options] The optional parameters - * @returns Promise - */ - get(iotRecommendationTypeName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param iotRecommendationTypeName Name of the recommendation type - * @param callback The callback - */ - get(iotRecommendationTypeName: string, callback: msRest.ServiceCallback): void; - /** - * @param iotRecommendationTypeName Name of the recommendation type - * @param options The optional parameters - * @param callback The callback - */ - get(iotRecommendationTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(iotRecommendationTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - iotRecommendationTypeName, - options - }, - getOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotRecommendationTypes", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotRecommendationTypeList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotRecommendationTypes/{iotRecommendationTypeName}", - urlParameters: [ - Parameters.subscriptionId, - Parameters.iotRecommendationTypeName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotRecommendationType - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/iotRecommendations.ts b/sdk/security/arm-security/src/operations/iotRecommendations.ts deleted file mode 100644 index dd5889cf0b89..000000000000 --- a/sdk/security/arm-security/src/operations/iotRecommendations.ts +++ /dev/null @@ -1,208 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/iotRecommendationsMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a IotRecommendations. */ -export class IotRecommendations { - private readonly client: SecurityCenterContext; - - /** - * Create a IotRecommendations. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * List IoT recommendations - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param [options] The optional parameters - * @returns Promise - */ - list(scope: string, options?: Models.IotRecommendationsListOptionalParams): Promise; - /** - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param callback The callback - */ - list(scope: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param options The optional parameters - * @param callback The callback - */ - list(scope: string, options: Models.IotRecommendationsListOptionalParams, callback: msRest.ServiceCallback): void; - list(scope: string, options?: Models.IotRecommendationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Get IoT recommendation - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param iotRecommendationId Id of the recommendation - * @param [options] The optional parameters - * @returns Promise - */ - get(scope: string, iotRecommendationId: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param iotRecommendationId Id of the recommendation - * @param callback The callback - */ - get(scope: string, iotRecommendationId: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub - * (i.e. - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) - * @param iotRecommendationId Id of the recommendation - * @param options The optional parameters - * @param callback The callback - */ - get(scope: string, iotRecommendationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(scope: string, iotRecommendationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - iotRecommendationId, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * List IoT recommendations - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: Models.IotRecommendationsListNextOptionalParams): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listNext(nextPageLink: string, options: Models.IotRecommendationsListNextOptionalParams, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: Models.IotRecommendationsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{scope}/providers/Microsoft.Security/iotRecommendations", - urlParameters: [ - Parameters.scope - ], - queryParameters: [ - Parameters.apiVersion10, - Parameters.recommendationType, - Parameters.deviceId1, - Parameters.limit, - Parameters.skipToken - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotRecommendationListModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{scope}/providers/Microsoft.Security/iotRecommendations/{iotRecommendationId}", - urlParameters: [ - Parameters.scope, - Parameters.iotRecommendationId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotRecommendationModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion10, - Parameters.recommendationType, - Parameters.deviceId1, - Parameters.limit, - Parameters.skipToken - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotRecommendationListModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/iotSecuritySolution.ts b/sdk/security/arm-security/src/operations/iotSecuritySolution.ts index 518f7a04a3d4..a0feb08ee8d2 100644 --- a/sdk/security/arm-security/src/operations/iotSecuritySolution.ts +++ b/sdk/security/arm-security/src/operations/iotSecuritySolution.ts @@ -295,7 +295,7 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion5, Parameters.filter ], headerParameters: [ @@ -320,7 +320,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion5, Parameters.filter ], headerParameters: [ @@ -346,7 +346,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -371,7 +371,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -406,7 +406,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -438,7 +438,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -461,7 +461,7 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion5, Parameters.filter ], headerParameters: [ @@ -486,7 +486,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion5, Parameters.filter ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/iotSecuritySolutionAnalytics.ts b/sdk/security/arm-security/src/operations/iotSecuritySolutionAnalytics.ts index cbf20304731d..9128c1891b4d 100644 --- a/sdk/security/arm-security/src/operations/iotSecuritySolutionAnalytics.ts +++ b/sdk/security/arm-security/src/operations/iotSecuritySolutionAnalytics.ts @@ -107,7 +107,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -132,7 +132,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts b/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts index b1b6e7eb8ed4..265bd208b06b 100644 --- a/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +++ b/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts @@ -179,7 +179,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion5, Parameters.top ], headerParameters: [ @@ -206,7 +206,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.aggregatedAlertName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -232,7 +232,7 @@ const dismissOperationSpec: msRest.OperationSpec = { Parameters.aggregatedAlertName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -254,7 +254,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion5, Parameters.top ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts b/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts index ca0efaadd443..86ddf5c16ec3 100644 --- a/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts +++ b/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts @@ -143,7 +143,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.aggregatedRecommendationName ], queryParameters: [ - Parameters.apiVersion3 + Parameters.apiVersion5 ], headerParameters: [ Parameters.acceptLanguage @@ -168,7 +168,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.solutionName ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion5, Parameters.top ], headerParameters: [ @@ -193,7 +193,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion3, + Parameters.apiVersion5, Parameters.top ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/iotSensors.ts b/sdk/security/arm-security/src/operations/iotSensors.ts deleted file mode 100644 index c53e96964ac8..000000000000 --- a/sdk/security/arm-security/src/operations/iotSensors.ts +++ /dev/null @@ -1,448 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/iotSensorsMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a IotSensors. */ -export class IotSensors { - private readonly client: SecurityCenterContext; - - /** - * Create a IotSensors. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * List IoT sensors - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param [options] The optional parameters - * @returns Promise - */ - list(scope: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param callback The callback - */ - list(scope: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param options The optional parameters - * @param callback The callback - */ - list(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Get IoT sensor - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param [options] The optional parameters - * @returns Promise - */ - get(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param callback The callback - */ - get(scope: string, iotSensorName: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param options The optional parameters - * @param callback The callback - */ - get(scope: string, iotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - iotSensorName, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Create or update IoT sensor - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param iotSensorsModel The IoT sensor model - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(scope: string, iotSensorName: string, iotSensorsModel: Models.IotSensorsModel, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param iotSensorsModel The IoT sensor model - * @param callback The callback - */ - createOrUpdate(scope: string, iotSensorName: string, iotSensorsModel: Models.IotSensorsModel, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param iotSensorsModel The IoT sensor model - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdate(scope: string, iotSensorName: string, iotSensorsModel: Models.IotSensorsModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(scope: string, iotSensorName: string, iotSensorsModel: Models.IotSensorsModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - iotSensorName, - iotSensorsModel, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; - } - - /** - * Delete IoT sensor - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param callback The callback - */ - deleteMethod(scope: string, iotSensorName: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(scope: string, iotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - iotSensorName, - options - }, - deleteMethodOperationSpec, - callback); - } - - /** - * Download sensor activation file - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param [options] The optional parameters - * @returns Promise - */ - downloadActivation(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param callback The callback - */ - downloadActivation(scope: string, iotSensorName: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param options The optional parameters - * @param callback The callback - */ - downloadActivation(scope: string, iotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - downloadActivation(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - iotSensorName, - options - }, - downloadActivationOperationSpec, - callback) as Promise; - } - - /** - * Download file for reset password of the sensor - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param body The reset password input. - * @param [options] The optional parameters - * @returns Promise - */ - downloadResetPassword(scope: string, iotSensorName: string, body: Models.ResetPasswordInput, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param body The reset password input. - * @param callback The callback - */ - downloadResetPassword(scope: string, iotSensorName: string, body: Models.ResetPasswordInput, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param body The reset password input. - * @param options The optional parameters - * @param callback The callback - */ - downloadResetPassword(scope: string, iotSensorName: string, body: Models.ResetPasswordInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - downloadResetPassword(scope: string, iotSensorName: string, body: Models.ResetPasswordInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - iotSensorName, - body, - options - }, - downloadResetPasswordOperationSpec, - callback) as Promise; - } - - /** - * Trigger threat intelligence package update - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param [options] The optional parameters - * @returns Promise - */ - triggerTiPackageUpdate(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param callback The callback - */ - triggerTiPackageUpdate(scope: string, iotSensorName: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSensorName Name of the IoT sensor - * @param options The optional parameters - * @param callback The callback - */ - triggerTiPackageUpdate(scope: string, iotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - triggerTiPackageUpdate(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - iotSensorName, - options - }, - triggerTiPackageUpdateOperationSpec, - callback); - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{scope}/providers/Microsoft.Security/iotSensors", - urlParameters: [ - Parameters.scope - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotSensorsList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}", - urlParameters: [ - Parameters.scope, - Parameters.iotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotSensorsModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}", - urlParameters: [ - Parameters.scope, - Parameters.iotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "iotSensorsModel", - mapper: { - ...Mappers.IotSensorsModel, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.IotSensorsModel - }, - 201: { - bodyMapper: Mappers.IotSensorsModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}", - urlParameters: [ - Parameters.scope, - Parameters.iotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const downloadActivationOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}/downloadActivation", - urlParameters: [ - Parameters.scope, - Parameters.iotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "Stream" - } - } - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const downloadResetPasswordOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}/downloadResetPassword", - urlParameters: [ - Parameters.scope, - Parameters.iotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "body", - mapper: { - ...Mappers.ResetPasswordInput, - required: true - } - }, - responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "Stream" - } - } - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const triggerTiPackageUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}/triggerTiPackageUpdate", - urlParameters: [ - Parameters.scope, - Parameters.iotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/iotSites.ts b/sdk/security/arm-security/src/operations/iotSites.ts deleted file mode 100644 index de634105c550..000000000000 --- a/sdk/security/arm-security/src/operations/iotSites.ts +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/iotSitesMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a IotSites. */ -export class IotSites { - private readonly client: SecurityCenterContext; - - /** - * Create a IotSites. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * List IoT sites - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param [options] The optional parameters - * @returns Promise - */ - list(scope: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param callback The callback - */ - list(scope: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param options The optional parameters - * @param callback The callback - */ - list(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Get IoT site - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param [options] The optional parameters - * @returns Promise - */ - get(scope: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param callback The callback - */ - get(scope: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param options The optional parameters - * @param callback The callback - */ - get(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Create or update IoT site - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSitesModel The IoT sites model - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(scope: string, iotSitesModel: Models.IotSitesModel, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSitesModel The IoT sites model - * @param callback The callback - */ - createOrUpdate(scope: string, iotSitesModel: Models.IotSitesModel, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param iotSitesModel The IoT sites model - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdate(scope: string, iotSitesModel: Models.IotSitesModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(scope: string, iotSitesModel: Models.IotSitesModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - iotSitesModel, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; - } - - /** - * Delete IoT site - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(scope: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param callback The callback - */ - deleteMethod(scope: string, callback: msRest.ServiceCallback): void; - /** - * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - scope, - options - }, - deleteMethodOperationSpec, - callback); - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{scope}/providers/Microsoft.Security/iotSites", - urlParameters: [ - Parameters.scope - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotSitesList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "{scope}/providers/Microsoft.Security/iotSites/default", - urlParameters: [ - Parameters.scope - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.IotSitesModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "{scope}/providers/Microsoft.Security/iotSites/default", - urlParameters: [ - Parameters.scope - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "iotSitesModel", - mapper: { - ...Mappers.IotSitesModel, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.IotSitesModel - }, - 201: { - bodyMapper: Mappers.IotSitesModel - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "{scope}/providers/Microsoft.Security/iotSites/default", - urlParameters: [ - Parameters.scope - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts b/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts index 391c6a53858c..c0f73afb92cf 100644 --- a/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts +++ b/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts @@ -412,7 +412,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -436,7 +436,7 @@ const listByRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -460,7 +460,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -485,7 +485,7 @@ const listByResourceGroupAndRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -511,7 +511,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.jitNetworkAccessPolicyName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -537,7 +537,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.jitNetworkAccessPolicyName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -570,7 +570,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.jitNetworkAccessPolicyName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -596,7 +596,7 @@ const initiateOperationSpec: msRest.OperationSpec = { Parameters.jitNetworkAccessPolicyInitiateType ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -627,7 +627,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -651,7 +651,7 @@ const listByRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -675,7 +675,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -699,7 +699,7 @@ const listByResourceGroupAndRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/locations.ts b/sdk/security/arm-security/src/operations/locations.ts index a6af884c815b..037feb2b9829 100644 --- a/sdk/security/arm-security/src/operations/locations.ts +++ b/sdk/security/arm-security/src/operations/locations.ts @@ -115,7 +115,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -139,7 +139,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -163,7 +163,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/iotAlertTypes.ts b/sdk/security/arm-security/src/operations/mdeOnboardings.ts similarity index 55% rename from sdk/security/arm-security/src/operations/iotAlertTypes.ts rename to sdk/security/arm-security/src/operations/mdeOnboardings.ts index 9ceecb1b073f..0dff29238e50 100644 --- a/sdk/security/arm-security/src/operations/iotAlertTypes.ts +++ b/sdk/security/arm-security/src/operations/mdeOnboardings.ts @@ -9,16 +9,16 @@ import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; -import * as Mappers from "../models/iotAlertTypesMappers"; +import * as Mappers from "../models/mdeOnboardingsMappers"; import * as Parameters from "../models/parameters"; import { SecurityCenterContext } from "../securityCenterContext"; -/** Class representing a IotAlertTypes. */ -export class IotAlertTypes { +/** Class representing a MdeOnboardings. */ +export class MdeOnboardings { private readonly client: SecurityCenterContext; /** - * Create a IotAlertTypes. + * Create a MdeOnboardings. * @param {SecurityCenterContext} client Reference to the service client. */ constructor(client: SecurityCenterContext) { @@ -26,55 +26,51 @@ export class IotAlertTypes { } /** - * List IoT alert types + * The configuration or data needed to onboard the machine to MDE * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - list(options?: msRest.RequestOptionsBase): Promise; + list(options?: msRest.RequestOptionsBase): Promise; /** * @param callback The callback */ - list(callback: msRest.ServiceCallback): void; + list(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options }, listOperationSpec, - callback) as Promise; + callback) as Promise; } /** - * Get IoT alert type - * @param iotAlertTypeName Name of the alert type + * The default configuration or data needed to onboard the machine to MDE * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - get(iotAlertTypeName: string, options?: msRest.RequestOptionsBase): Promise; + get(options?: msRest.RequestOptionsBase): Promise; /** - * @param iotAlertTypeName Name of the alert type * @param callback The callback */ - get(iotAlertTypeName: string, callback: msRest.ServiceCallback): void; + get(callback: msRest.ServiceCallback): void; /** - * @param iotAlertTypeName Name of the alert type * @param options The optional parameters * @param callback The callback */ - get(iotAlertTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(iotAlertTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { - iotAlertTypeName, options }, getOperationSpec, - callback) as Promise; + callback) as Promise; } } @@ -82,19 +78,19 @@ export class IotAlertTypes { const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotAlertTypes", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings", urlParameters: [ Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.IotAlertTypeList + bodyMapper: Mappers.MdeOnboardingDataList }, default: { bodyMapper: Mappers.CloudError @@ -105,20 +101,19 @@ const listOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotAlertTypes/{iotAlertTypeName}", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings/default", urlParameters: [ - Parameters.subscriptionId, - Parameters.iotAlertTypeName + Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.IotAlertType + bodyMapper: Mappers.MdeOnboardingData }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts b/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts deleted file mode 100644 index 16b1b5b901df..000000000000 --- a/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts +++ /dev/null @@ -1,359 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/onPremiseIotSensorsMappers"; -import * as Parameters from "../models/parameters"; -import { SecurityCenterContext } from "../securityCenterContext"; - -/** Class representing a OnPremiseIotSensors. */ -export class OnPremiseIotSensors { - private readonly client: SecurityCenterContext; - - /** - * Create a OnPremiseIotSensors. - * @param {SecurityCenterContext} client Reference to the service client. - */ - constructor(client: SecurityCenterContext) { - this.client = client; - } - - /** - * List on-premise IoT sensors - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Get on-premise IoT sensor - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param [options] The optional parameters - * @returns Promise - */ - get(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param callback The callback - */ - get(onPremiseIotSensorName: string, callback: msRest.ServiceCallback): void; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param options The optional parameters - * @param callback The callback - */ - get(onPremiseIotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - onPremiseIotSensorName, - options - }, - getOperationSpec, - callback) as Promise; - } - - /** - * Create or update on-premise IoT sensor - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param callback The callback - */ - createOrUpdate(onPremiseIotSensorName: string, callback: msRest.ServiceCallback): void; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdate(onPremiseIotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - onPremiseIotSensorName, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; - } - - /** - * Delete on-premise IoT sensor - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param callback The callback - */ - deleteMethod(onPremiseIotSensorName: string, callback: msRest.ServiceCallback): void; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(onPremiseIotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - onPremiseIotSensorName, - options - }, - deleteMethodOperationSpec, - callback); - } - - /** - * Download sensor activation file - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param [options] The optional parameters - * @returns Promise - */ - downloadActivation(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param callback The callback - */ - downloadActivation(onPremiseIotSensorName: string, callback: msRest.ServiceCallback): void; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param options The optional parameters - * @param callback The callback - */ - downloadActivation(onPremiseIotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - downloadActivation(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - onPremiseIotSensorName, - options - }, - downloadActivationOperationSpec, - callback) as Promise; - } - - /** - * Download file for reset password of the sensor - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param body Input for reset password. - * @param [options] The optional parameters - * @returns Promise - */ - downloadResetPassword(onPremiseIotSensorName: string, body: Models.ResetPasswordInput, options?: msRest.RequestOptionsBase): Promise; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param body Input for reset password. - * @param callback The callback - */ - downloadResetPassword(onPremiseIotSensorName: string, body: Models.ResetPasswordInput, callback: msRest.ServiceCallback): void; - /** - * @param onPremiseIotSensorName Name of the on-premise IoT sensor - * @param body Input for reset password. - * @param options The optional parameters - * @param callback The callback - */ - downloadResetPassword(onPremiseIotSensorName: string, body: Models.ResetPasswordInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - downloadResetPassword(onPremiseIotSensorName: string, body: Models.ResetPasswordInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - onPremiseIotSensorName, - body, - options - }, - downloadResetPasswordOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.OnPremiseIotSensorsList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}", - urlParameters: [ - Parameters.subscriptionId, - Parameters.onPremiseIotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.OnPremiseIotSensor - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}", - urlParameters: [ - Parameters.subscriptionId, - Parameters.onPremiseIotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.OnPremiseIotSensor - }, - 201: { - bodyMapper: Mappers.OnPremiseIotSensor - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}", - urlParameters: [ - Parameters.subscriptionId, - Parameters.onPremiseIotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const downloadActivationOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}/downloadActivation", - urlParameters: [ - Parameters.subscriptionId, - Parameters.onPremiseIotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "Stream" - } - } - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const downloadResetPasswordOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}/downloadResetPassword", - urlParameters: [ - Parameters.subscriptionId, - Parameters.onPremiseIotSensorName - ], - queryParameters: [ - Parameters.apiVersion10 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "body", - mapper: { - ...Mappers.ResetPasswordInput, - required: true - } - }, - responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "Stream" - } - } - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/security/arm-security/src/operations/operations.ts b/sdk/security/arm-security/src/operations/operations.ts index a1966ba046d4..1a0b23897334 100644 --- a/sdk/security/arm-security/src/operations/operations.ts +++ b/sdk/security/arm-security/src/operations/operations.ts @@ -84,7 +84,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Security/operations", queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -108,7 +108,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/pricings.ts b/sdk/security/arm-security/src/operations/pricings.ts index aabe04271f0d..a231a8fb91b7 100644 --- a/sdk/security/arm-security/src/operations/pricings.ts +++ b/sdk/security/arm-security/src/operations/pricings.ts @@ -119,7 +119,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -143,7 +143,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.pricingName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -167,7 +167,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.pricingName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts b/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts index fed64431d821..1aee8eadb64c 100644 --- a/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts +++ b/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts @@ -133,7 +133,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceControlName ], queryParameters: [ - Parameters.apiVersion6, + Parameters.apiVersion8, Parameters.filter ], headerParameters: [ @@ -160,7 +160,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceAssessmentName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -184,7 +184,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion6, + Parameters.apiVersion8, Parameters.filter ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts b/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts index 8ee0e81f5f8d..744bcd8ba28a 100644 --- a/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts +++ b/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts @@ -124,7 +124,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceStandardName ], queryParameters: [ - Parameters.apiVersion6, + Parameters.apiVersion8, Parameters.filter ], headerParameters: [ @@ -150,7 +150,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceControlName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -174,7 +174,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion6, + Parameters.apiVersion8, Parameters.filter ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts b/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts index c845ff4b7386..5952ca61087e 100644 --- a/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts +++ b/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts @@ -115,7 +115,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion6, + Parameters.apiVersion8, Parameters.filter ], headerParameters: [ @@ -140,7 +140,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.regulatoryComplianceStandardName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -164,7 +164,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion6, + Parameters.apiVersion8, Parameters.filter ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/secureScoreControlDefinitions.ts b/sdk/security/arm-security/src/operations/secureScoreControlDefinitions.ts index 2d91f5faaa02..1b5be4f90316 100644 --- a/sdk/security/arm-security/src/operations/secureScoreControlDefinitions.ts +++ b/sdk/security/arm-security/src/operations/secureScoreControlDefinitions.ts @@ -138,7 +138,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Security/secureScoreControlDefinitions", queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -161,7 +161,7 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -185,7 +185,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -209,7 +209,7 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/secureScoreControls.ts b/sdk/security/arm-security/src/operations/secureScoreControls.ts index de40813934f9..4cbcfd8bc03a 100644 --- a/sdk/security/arm-security/src/operations/secureScoreControls.ts +++ b/sdk/security/arm-security/src/operations/secureScoreControls.ts @@ -147,7 +147,7 @@ const listBySecureScoreOperationSpec: msRest.OperationSpec = { Parameters.secureScoreName ], queryParameters: [ - Parameters.apiVersion7, + Parameters.apiVersion9, Parameters.expand ], headerParameters: [ @@ -171,7 +171,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7, + Parameters.apiVersion9, Parameters.expand ], headerParameters: [ @@ -196,7 +196,7 @@ const listBySecureScoreNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7, + Parameters.apiVersion9, Parameters.expand ], headerParameters: [ @@ -221,7 +221,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7, + Parameters.apiVersion9, Parameters.expand ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/secureScores.ts b/sdk/security/arm-security/src/operations/secureScores.ts index 015ea88e0dfb..8d6f5dcd71fd 100644 --- a/sdk/security/arm-security/src/operations/secureScores.ts +++ b/sdk/security/arm-security/src/operations/secureScores.ts @@ -119,7 +119,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -143,7 +143,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.secureScoreName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -167,7 +167,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/securityConnectors.ts b/sdk/security/arm-security/src/operations/securityConnectors.ts new file mode 100644 index 000000000000..9da537cf4b88 --- /dev/null +++ b/sdk/security/arm-security/src/operations/securityConnectors.ts @@ -0,0 +1,504 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/securityConnectorsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a SecurityConnectors. */ +export class SecurityConnectors { + private readonly client: SecurityCenterContext; + + /** + * Create a SecurityConnectors. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Lists all the security connectors in the specified subscription. Use the 'nextLink' property in + * the response to get the next page of security connectors for the specified subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists all the security connectors in the specified resource group. Use the 'nextLink' property + * in the response to get the next page of security connectors for the specified resource group. + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Retrieves details of a specific security connector + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, securityConnectorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param callback The callback + */ + get(resourceGroupName: string, securityConnectorName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, securityConnectorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, securityConnectorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + securityConnectorName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates a security connector. If a security connector is already created and a + * subsequent request is issued for the same security connector id, then it will be updated. + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param securityConnector The security connector resource + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, securityConnectorName: string, securityConnector: Models.SecurityConnector, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param securityConnector The security connector resource + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, securityConnectorName: string, securityConnector: Models.SecurityConnector, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param securityConnector The security connector resource + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, securityConnectorName: string, securityConnector: Models.SecurityConnector, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, securityConnectorName: string, securityConnector: Models.SecurityConnector, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + securityConnectorName, + securityConnector, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Updates a security connector + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param securityConnector The security connector resource + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, securityConnectorName: string, securityConnector: Models.SecurityConnector, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param securityConnector The security connector resource + * @param callback The callback + */ + update(resourceGroupName: string, securityConnectorName: string, securityConnector: Models.SecurityConnector, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param securityConnector The security connector resource + * @param options The optional parameters + * @param callback The callback + */ + update(resourceGroupName: string, securityConnectorName: string, securityConnector: Models.SecurityConnector, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(resourceGroupName: string, securityConnectorName: string, securityConnector: Models.SecurityConnector, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + securityConnectorName, + securityConnector, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * Deletes a security connector. + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, securityConnectorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, securityConnectorName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securityConnectorName The security connector name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, securityConnectorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, securityConnectorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + securityConnectorName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Lists all the security connectors in the specified subscription. Use the 'nextLink' property in + * the response to get the next page of security connectors for the specified subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } + + /** + * Lists all the security connectors in the specified resource group. Use the 'nextLink' property + * in the response to get the next page of security connectors for the specified resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/securityConnectors", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecurityConnectorsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecurityConnectorsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.securityConnectorName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecurityConnector + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.securityConnectorName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "securityConnector", + mapper: { + ...Mappers.SecurityConnector, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SecurityConnector + }, + 201: { + bodyMapper: Mappers.SecurityConnector + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.securityConnectorName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "securityConnector", + mapper: { + ...Mappers.SecurityConnector, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SecurityConnector + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.securityConnectorName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecurityConnectorsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecurityConnectorsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/securityContacts.ts b/sdk/security/arm-security/src/operations/securityContacts.ts index 9a27de7bfaf3..d725c5078aeb 100644 --- a/sdk/security/arm-security/src/operations/securityContacts.ts +++ b/sdk/security/arm-security/src/operations/securityContacts.ts @@ -207,7 +207,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -231,7 +231,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.securityContactName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -255,7 +255,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.securityContactName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -286,7 +286,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.securityContactName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -308,7 +308,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.securityContactName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -339,7 +339,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/securitySolutions.ts b/sdk/security/arm-security/src/operations/securitySolutions.ts index 4d7313ebbc35..d4f592c80704 100644 --- a/sdk/security/arm-security/src/operations/securitySolutions.ts +++ b/sdk/security/arm-security/src/operations/securitySolutions.ts @@ -122,7 +122,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -148,7 +148,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.securitySolutionName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -172,7 +172,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/securitySolutionsReferenceDataOperations.ts b/sdk/security/arm-security/src/operations/securitySolutionsReferenceDataOperations.ts index 04dafd6d92f0..7cb18cc87b82 100644 --- a/sdk/security/arm-security/src/operations/securitySolutionsReferenceDataOperations.ts +++ b/sdk/security/arm-security/src/operations/securitySolutionsReferenceDataOperations.ts @@ -83,7 +83,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -107,7 +107,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts b/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts index 9307ec957067..f6e584a706ea 100644 --- a/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts +++ b/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts @@ -208,7 +208,7 @@ const listByExtendedResourceOperationSpec: msRest.OperationSpec = { Parameters.resourceName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -236,7 +236,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.serverVulnerabilityAssessment ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -264,7 +264,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.serverVulnerabilityAssessment ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -292,7 +292,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.serverVulnerabilityAssessment ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/settings.ts b/sdk/security/arm-security/src/operations/settings.ts index d07565cb45c1..a54c72b97242 100644 --- a/sdk/security/arm-security/src/operations/settings.ts +++ b/sdk/security/arm-security/src/operations/settings.ts @@ -51,18 +51,21 @@ export class Settings { /** * Settings of different configurations in security center - * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', + * 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' * @param [options] The optional parameters * @returns Promise */ get(settingName: Models.SettingName, options?: msRest.RequestOptionsBase): Promise; /** - * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', + * 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' * @param callback The callback */ get(settingName: Models.SettingName, callback: msRest.ServiceCallback): void; /** - * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', + * 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' * @param options The optional parameters * @param callback The callback */ @@ -79,20 +82,23 @@ export class Settings { /** * updating settings about different configurations in security center - * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', + * 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' * @param setting Setting object * @param [options] The optional parameters * @returns Promise */ update(settingName: Models.SettingName1, setting: Models.SettingUnion, options?: msRest.RequestOptionsBase): Promise; /** - * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', + * 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' * @param setting Setting object * @param callback The callback */ update(settingName: Models.SettingName1, setting: Models.SettingUnion, callback: msRest.ServiceCallback): void; /** - * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', + * 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' * @param setting Setting object * @param options The optional parameters * @param callback The callback @@ -147,7 +153,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion12 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage @@ -171,7 +177,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion12 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage @@ -195,7 +201,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion12 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage @@ -226,7 +232,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion12 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/softwareInventories.ts b/sdk/security/arm-security/src/operations/softwareInventories.ts index e532a81d71dd..b75189a83ff7 100644 --- a/sdk/security/arm-security/src/operations/softwareInventories.ts +++ b/sdk/security/arm-security/src/operations/softwareInventories.ts @@ -209,7 +209,7 @@ const listByExtendedResourceOperationSpec: msRest.OperationSpec = { Parameters.resourceName ], queryParameters: [ - Parameters.apiVersion14 + Parameters.apiVersion16 ], headerParameters: [ Parameters.acceptLanguage @@ -232,7 +232,7 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion14 + Parameters.apiVersion16 ], headerParameters: [ Parameters.acceptLanguage @@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.softwareName ], queryParameters: [ - Parameters.apiVersion14 + Parameters.apiVersion16 ], headerParameters: [ Parameters.acceptLanguage @@ -284,7 +284,7 @@ const listByExtendedResourceNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion14 + Parameters.apiVersion16 ], headerParameters: [ Parameters.acceptLanguage @@ -308,7 +308,7 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion14 + Parameters.apiVersion16 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts index a2407e00d3f8..91788f0f72e6 100644 --- a/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts +++ b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts @@ -231,7 +231,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -263,7 +263,7 @@ const getOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -288,7 +288,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -335,7 +335,7 @@ const addOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScanResults.ts b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScanResults.ts index 89a736a9a27a..8dbb4bff7927 100644 --- a/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScanResults.ts +++ b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScanResults.ts @@ -122,7 +122,7 @@ const getOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -147,7 +147,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScans.ts b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScans.ts index 3ea4f5be8f98..ab19ca0127a0 100644 --- a/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScans.ts +++ b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScans.ts @@ -113,7 +113,7 @@ const getOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -137,7 +137,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/subAssessments.ts b/sdk/security/arm-security/src/operations/subAssessments.ts index fe62009099b6..1c83cf738be2 100644 --- a/sdk/security/arm-security/src/operations/subAssessments.ts +++ b/sdk/security/arm-security/src/operations/subAssessments.ts @@ -205,7 +205,7 @@ const listAllOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -229,7 +229,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.assessmentName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -254,7 +254,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subAssessmentName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -278,7 +278,7 @@ const listAllNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -302,7 +302,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/tasks.ts b/sdk/security/arm-security/src/operations/tasks.ts index 726bc72a067b..d225961de647 100644 --- a/sdk/security/arm-security/src/operations/tasks.ts +++ b/sdk/security/arm-security/src/operations/tasks.ts @@ -338,7 +338,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion6, Parameters.filter ], headerParameters: [ @@ -363,7 +363,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion6, Parameters.filter ], headerParameters: [ @@ -389,7 +389,7 @@ const getSubscriptionLevelTaskOperationSpec: msRest.OperationSpec = { Parameters.taskName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -415,7 +415,7 @@ const updateSubscriptionLevelTaskStateOperationSpec: msRest.OperationSpec = { Parameters.taskUpdateActionType ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -438,7 +438,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion6, Parameters.filter ], headerParameters: [ @@ -465,7 +465,7 @@ const getResourceGroupLevelTaskOperationSpec: msRest.OperationSpec = { Parameters.taskName ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -492,7 +492,7 @@ const updateResourceGroupLevelTaskStateOperationSpec: msRest.OperationSpec = { Parameters.taskUpdateActionType ], queryParameters: [ - Parameters.apiVersion4 + Parameters.apiVersion6 ], headerParameters: [ Parameters.acceptLanguage @@ -514,7 +514,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion6, Parameters.filter ], headerParameters: [ @@ -539,7 +539,7 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion6, Parameters.filter ], headerParameters: [ @@ -564,7 +564,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion4, + Parameters.apiVersion6, Parameters.filter ], headerParameters: [ diff --git a/sdk/security/arm-security/src/operations/topology.ts b/sdk/security/arm-security/src/operations/topology.ts index c41bb2410b82..eb69482742a5 100644 --- a/sdk/security/arm-security/src/operations/topology.ts +++ b/sdk/security/arm-security/src/operations/topology.ts @@ -174,7 +174,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -198,7 +198,7 @@ const listByHomeRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -224,7 +224,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.topologyResourceName ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -248,7 +248,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -272,7 +272,7 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/workspaceSettings.ts b/sdk/security/arm-security/src/operations/workspaceSettings.ts index 73a69a9bb1a9..6a30ffd475d8 100644 --- a/sdk/security/arm-security/src/operations/workspaceSettings.ts +++ b/sdk/security/arm-security/src/operations/workspaceSettings.ts @@ -211,7 +211,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -235,7 +235,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.workspaceSettingName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -259,7 +259,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.workspaceSettingName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -290,7 +290,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.workspaceSettingName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -321,7 +321,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.workspaceSettingName ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -343,7 +343,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion5 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/securityCenter.ts b/sdk/security/arm-security/src/securityCenter.ts index 94a052843133..1233e64eb34e 100644 --- a/sdk/security/arm-security/src/securityCenter.ts +++ b/sdk/security/arm-security/src/securityCenter.ts @@ -17,6 +17,9 @@ import { SecurityCenterContext } from "./securityCenterContext"; class SecurityCenter extends SecurityCenterContext { // Operation groups + mdeOnboardings: operations.MdeOnboardings; + customAssessmentAutomations: operations.CustomAssessmentAutomations; + customEntityStoreAssignments: operations.CustomEntityStoreAssignments; complianceResults: operations.ComplianceResults; pricings: operations.Pricings; advancedThreatProtection: operations.AdvancedThreatProtection; @@ -58,21 +61,11 @@ class SecurityCenter extends SecurityCenterContext { sqlVulnerabilityAssessmentScans: operations.SqlVulnerabilityAssessmentScans; sqlVulnerabilityAssessmentScanResults: operations.SqlVulnerabilityAssessmentScanResults; sqlVulnerabilityAssessmentBaselineRules: operations.SqlVulnerabilityAssessmentBaselineRules; - iotDefenderSettings: operations.IotDefenderSettings; - iotSensors: operations.IotSensors; - devicesForSubscription: operations.DevicesForSubscription; - devicesForHub: operations.DevicesForHub; - device: operations.DeviceOperations; - onPremiseIotSensors: operations.OnPremiseIotSensors; - iotSites: operations.IotSites; - iotAlerts: operations.IotAlerts; - iotAlertTypes: operations.IotAlertTypes; - iotRecommendations: operations.IotRecommendations; - iotRecommendationTypes: operations.IotRecommendationTypes; alerts: operations.Alerts; settings: operations.Settings; ingestionSettings: operations.IngestionSettings; softwareInventories: operations.SoftwareInventories; + securityConnectors: operations.SecurityConnectors; /** * Initializes a new instance of the SecurityCenter class. @@ -89,6 +82,9 @@ class SecurityCenter extends SecurityCenterContext { */ constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, ascLocation: string, options?: Models.SecurityCenterOptions) { super(credentials, subscriptionId, ascLocation, options); + this.mdeOnboardings = new operations.MdeOnboardings(this); + this.customAssessmentAutomations = new operations.CustomAssessmentAutomations(this); + this.customEntityStoreAssignments = new operations.CustomEntityStoreAssignments(this); this.complianceResults = new operations.ComplianceResults(this); this.pricings = new operations.Pricings(this); this.advancedThreatProtection = new operations.AdvancedThreatProtection(this); @@ -130,21 +126,11 @@ class SecurityCenter extends SecurityCenterContext { this.sqlVulnerabilityAssessmentScans = new operations.SqlVulnerabilityAssessmentScans(this); this.sqlVulnerabilityAssessmentScanResults = new operations.SqlVulnerabilityAssessmentScanResults(this); this.sqlVulnerabilityAssessmentBaselineRules = new operations.SqlVulnerabilityAssessmentBaselineRules(this); - this.iotDefenderSettings = new operations.IotDefenderSettings(this); - this.iotSensors = new operations.IotSensors(this); - this.devicesForSubscription = new operations.DevicesForSubscription(this); - this.devicesForHub = new operations.DevicesForHub(this); - this.device = new operations.DeviceOperations(this); - this.onPremiseIotSensors = new operations.OnPremiseIotSensors(this); - this.iotSites = new operations.IotSites(this); - this.iotAlerts = new operations.IotAlerts(this); - this.iotAlertTypes = new operations.IotAlertTypes(this); - this.iotRecommendations = new operations.IotRecommendations(this); - this.iotRecommendationTypes = new operations.IotRecommendationTypes(this); this.alerts = new operations.Alerts(this); this.settings = new operations.Settings(this); this.ingestionSettings = new operations.IngestionSettings(this); this.softwareInventories = new operations.SoftwareInventories(this); + this.securityConnectors = new operations.SecurityConnectors(this); } }