From 9c61d469d559f51d0f6a8fe9750e03e4ed45eded Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 2 Aug 2021 10:10:44 +0000 Subject: [PATCH] CodeGen from PR 15390 in Azure/azure-rest-api-specs Merge af795ecfd1d86d85a09ea97be651af8553d2ad30 into 749d2b5158cfd186e6719a13c614e1993cccbf95 --- sdk/security/arm-security/package.json | 2 +- .../adaptiveNetworkHardeningsMappers.ts | 4 + .../models/advancedThreatProtectionMappers.ts | 4 + .../arm-security/src/models/alertsMappers.ts | 4 + .../models/alertsSuppressionRulesMappers.ts | 4 + .../src/models/assessmentsMappers.ts | 4 + .../src/models/assessmentsMetadataMappers.ts | 6 +- .../models/autoProvisioningSettingsMappers.ts | 4 + .../src/models/complianceResultsMappers.ts | 4 + .../src/models/compliancesMappers.ts | 4 + .../src/models/connectorsMappers.ts | 4 + .../src/models/deviceOperationsMappers.ts | 4 + .../src/models/deviceSecurityGroupsMappers.ts | 4 + .../src/models/devicesForHubMappers.ts | 4 + .../models/devicesForSubscriptionMappers.ts | 4 + sdk/security/arm-security/src/models/index.ts | 225 +++++++++-- .../informationProtectionPoliciesMappers.ts | 4 + .../src/models/ingestionSettingsMappers.ts | 4 + .../src/models/iotAlertTypesMappers.ts | 4 + .../src/models/iotAlertsMappers.ts | 4 + .../src/models/iotDefenderSettingsMappers.ts | 4 + .../models/iotRecommendationTypesMappers.ts | 4 + .../src/models/iotRecommendationsMappers.ts | 4 + .../iotSecuritySolutionAnalyticsMappers.ts | 4 + .../src/models/iotSensorsMappers.ts | 4 + .../src/models/iotSitesMappers.ts | 4 + .../src/models/locationsMappers.ts | 4 + .../arm-security/src/models/mappers.ts | 359 ++++++++++++++++-- .../src/models/onPremiseIotSensorsMappers.ts | 4 + .../arm-security/src/models/parameters.ts | 24 +- .../src/models/pricingsMappers.ts | 4 + .../regulatoryComplianceAssessmentsMappers.ts | 4 + .../regulatoryComplianceControlsMappers.ts | 4 + .../regulatoryComplianceStandardsMappers.ts | 4 + .../secureScoreControlDefinitionsMappers.ts | 4 + .../src/models/secureScoreControlsMappers.ts | 4 + .../src/models/secureScoresMappers.ts | 4 + .../src/models/securityContactsMappers.ts | 4 + ...ulnerabilityAssessmentOperationsMappers.ts | 4 + .../src/models/settingsMappers.ts | 4 + .../src/models/softwareInventoriesMappers.ts | 4 + ...erabilityAssessmentBaselineRulesMappers.ts | 4 + ...lnerabilityAssessmentScanResultsMappers.ts | 4 + .../sqlVulnerabilityAssessmentScansMappers.ts | 4 + .../src/models/subAssessmentsMappers.ts | 4 + .../arm-security/src/models/tasksMappers.ts | 4 + .../src/models/workspaceSettingsMappers.ts | 4 + .../arm-security/src/operations/alerts.ts | 34 +- .../src/operations/assessments.ts | 28 +- .../src/operations/assessmentsMetadata.ts | 76 ++-- .../arm-security/src/operations/connectors.ts | 10 +- .../src/operations/deviceOperations.ts | 2 +- .../src/operations/devicesForHub.ts | 4 +- .../src/operations/devicesForSubscription.ts | 4 +- .../src/operations/ingestionSettings.ts | 14 +- .../src/operations/iotAlertTypes.ts | 4 +- .../arm-security/src/operations/iotAlerts.ts | 6 +- .../src/operations/iotDefenderSettings.ts | 12 +- .../src/operations/iotRecommendationTypes.ts | 4 +- .../src/operations/iotRecommendations.ts | 6 +- .../arm-security/src/operations/iotSensors.ts | 14 +- .../arm-security/src/operations/iotSites.ts | 8 +- .../src/operations/onPremiseIotSensors.ts | 12 +- .../arm-security/src/operations/settings.ts | 26 +- .../src/operations/softwareInventories.ts | 10 +- ...sqlVulnerabilityAssessmentBaselineRules.ts | 10 +- .../sqlVulnerabilityAssessmentScanResults.ts | 4 +- .../sqlVulnerabilityAssessmentScans.ts | 4 +- 68 files changed, 873 insertions(+), 203 deletions(-) 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..747731d9db08 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, @@ -119,7 +120,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts b/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts index 4fac024d16d6..bdfb934bd218 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, @@ -117,7 +118,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/alertsMappers.ts b/sdk/security/arm-security/src/models/alertsMappers.ts index e40ad5185eaa..12607a7f0b8e 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, @@ -121,7 +122,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts b/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts index 85425a2d0840..3c6ca0fe616d 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/assessmentsMappers.ts b/sdk/security/arm-security/src/models/assessmentsMappers.ts index 7ec5955c83c1..f58602e6f62d 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts b/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts index 6e6b5c282cd8..39f130a623f9 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, @@ -115,10 +116,13 @@ export { SecureScoreItem, SecurityAssessment, SecurityAssessmentMetadata, - SecurityAssessmentMetadataList, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, + SecurityAssessmentMetadataResponseList, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts b/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts index 584b2f099280..7d2174d1cb9c 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/complianceResultsMappers.ts b/sdk/security/arm-security/src/models/complianceResultsMappers.ts index 66bdc211b151..37f50f448569 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/compliancesMappers.ts b/sdk/security/arm-security/src/models/compliancesMappers.ts index cbee8d0d4e77..4d143c9827bb 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/connectorsMappers.ts b/sdk/security/arm-security/src/models/connectorsMappers.ts index ab08542a6ac3..b100002da288 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/deviceOperationsMappers.ts b/sdk/security/arm-security/src/models/deviceOperationsMappers.ts index 4fac024d16d6..bdfb934bd218 100644 --- a/sdk/security/arm-security/src/models/deviceOperationsMappers.ts +++ b/sdk/security/arm-security/src/models/deviceOperationsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -117,7 +118,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts b/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts index 0246a6a6b306..38be2e949b74 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/devicesForHubMappers.ts b/sdk/security/arm-security/src/models/devicesForHubMappers.ts index 40d1e77831fa..56aae1f61a30 100644 --- a/sdk/security/arm-security/src/models/devicesForHubMappers.ts +++ b/sdk/security/arm-security/src/models/devicesForHubMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts b/sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts index 40d1e77831fa..56aae1f61a30 100644 --- a/sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts +++ b/sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/index.ts b/sdk/security/arm-security/src/models/index.ts index 9588180edf0a..834a8312c67b 100644 --- a/sdk/security/arm-security/src/models/index.ts +++ b/sdk/security/arm-security/src/models/index.ts @@ -2642,6 +2642,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 */ @@ -2777,6 +2838,64 @@ export interface AssessmentStatus { description?: string; } +/** + * The result of the assessment + */ +export interface AssessmentStatusResponse extends AssessmentStatus { + /** + * 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 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; +} + +/** + * Security assessment on a resource - response format + */ +export interface SecurityAssessmentResponse extends Resource { + 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; + status: AssessmentStatusResponse; +} + +/** + * Security assessment on a resource + */ +export interface SecurityAssessment extends Resource { + 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; + status: AssessmentStatus; +} + /** * Links relevant to the assessment */ @@ -2803,16 +2922,15 @@ export interface SecurityAssessmentPartnerData { } /** - * Security assessment on a resource + * Describes properties of an assessment. */ -export interface SecurityAssessment extends Resource { +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; - status: AssessmentStatus; /** * Additional data regarding the assessment */ @@ -6532,9 +6650,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 +6663,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.** @@ -6988,6 +7106,55 @@ 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', 'Obfuscated Files or Information', 'Obtain Capabilities', + * 'Obuscated 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' | 'Obfuscated Files or Information' | 'Obtain Capabilities' | 'Obuscated 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' @@ -7566,19 +7733,19 @@ export type InformationProtectionPolicyName1 = 'effective' | 'custom'; /** * Defines values for SettingName. - * Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * Possible values include: 'MCAS', 'WDATP', 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' * @readonly * @enum {string} */ -export type SettingName = 'MCAS' | 'WDATP' | 'Sentinel'; +export type SettingName = 'MCAS' | 'WDATP' | 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW' | 'Sentinel'; /** * Defines values for SettingName1. - * Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * Possible values include: 'MCAS', 'WDATP', 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW', 'Sentinel' * @readonly * @enum {string} */ -export type SettingName1 = 'MCAS' | 'WDATP' | 'Sentinel'; +export type SettingName1 = 'MCAS' | 'WDATP' | 'WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW' | 'Sentinel'; /** * Contains response data for the list operation. @@ -9363,7 +9530,7 @@ export type ServerVulnerabilityAssessmentCreateOrUpdateResponse = ServerVulnerab /** * Contains response data for the list operation. */ -export type AssessmentsMetadataListResponse = SecurityAssessmentMetadataList & { +export type AssessmentsMetadataListResponse = SecurityAssessmentMetadataResponseList & { /** * The underlying HTTP response. */ @@ -9376,14 +9543,14 @@ export type AssessmentsMetadataListResponse = SecurityAssessmentMetadataList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: SecurityAssessmentMetadataResponseList; }; }; /** * Contains response data for the get operation. */ -export type AssessmentsMetadataGetResponse = SecurityAssessmentMetadata & { +export type AssessmentsMetadataGetResponse = SecurityAssessmentMetadataResponse & { /** * The underlying HTTP response. */ @@ -9396,14 +9563,14 @@ export type AssessmentsMetadataGetResponse = SecurityAssessmentMetadata & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadata; + parsedBody: SecurityAssessmentMetadataResponse; }; }; /** * Contains response data for the listBySubscription operation. */ -export type AssessmentsMetadataListBySubscriptionResponse = SecurityAssessmentMetadataList & { +export type AssessmentsMetadataListBySubscriptionResponse = SecurityAssessmentMetadataResponseList & { /** * The underlying HTTP response. */ @@ -9416,14 +9583,14 @@ export type AssessmentsMetadataListBySubscriptionResponse = SecurityAssessmentMe /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: SecurityAssessmentMetadataResponseList; }; }; /** * Contains response data for the getInSubscription operation. */ -export type AssessmentsMetadataGetInSubscriptionResponse = SecurityAssessmentMetadata & { +export type AssessmentsMetadataGetInSubscriptionResponse = SecurityAssessmentMetadataResponse & { /** * The underlying HTTP response. */ @@ -9436,14 +9603,14 @@ export type AssessmentsMetadataGetInSubscriptionResponse = SecurityAssessmentMet /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadata; + parsedBody: SecurityAssessmentMetadataResponse; }; }; /** * Contains response data for the createInSubscription operation. */ -export type AssessmentsMetadataCreateInSubscriptionResponse = SecurityAssessmentMetadata & { +export type AssessmentsMetadataCreateInSubscriptionResponse = SecurityAssessmentMetadataResponse & { /** * The underlying HTTP response. */ @@ -9456,14 +9623,14 @@ export type AssessmentsMetadataCreateInSubscriptionResponse = SecurityAssessment /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadata; + parsedBody: SecurityAssessmentMetadataResponse; }; }; /** * Contains response data for the listNext operation. */ -export type AssessmentsMetadataListNextResponse = SecurityAssessmentMetadataList & { +export type AssessmentsMetadataListNextResponse = SecurityAssessmentMetadataResponseList & { /** * The underlying HTTP response. */ @@ -9476,14 +9643,14 @@ export type AssessmentsMetadataListNextResponse = SecurityAssessmentMetadataList /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: SecurityAssessmentMetadataResponseList; }; }; /** * Contains response data for the listBySubscriptionNext operation. */ -export type AssessmentsMetadataListBySubscriptionNextResponse = SecurityAssessmentMetadataList & { +export type AssessmentsMetadataListBySubscriptionNextResponse = SecurityAssessmentMetadataResponseList & { /** * The underlying HTTP response. */ @@ -9496,7 +9663,7 @@ export type AssessmentsMetadataListBySubscriptionNextResponse = SecurityAssessme /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: SecurityAssessmentMetadataResponseList; }; }; @@ -9523,7 +9690,7 @@ export type AssessmentsListResponse = SecurityAssessmentList & { /** * Contains response data for the get operation. */ -export type AssessmentsGetResponse = SecurityAssessment & { +export type AssessmentsGetResponse = SecurityAssessmentResponse & { /** * The underlying HTTP response. */ @@ -9536,14 +9703,14 @@ export type AssessmentsGetResponse = SecurityAssessment & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessment; + parsedBody: SecurityAssessmentResponse; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type AssessmentsCreateOrUpdateResponse = SecurityAssessment & { +export type AssessmentsCreateOrUpdateResponse = SecurityAssessmentResponse & { /** * The underlying HTTP response. */ @@ -9556,7 +9723,7 @@ export type AssessmentsCreateOrUpdateResponse = SecurityAssessment & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessment; + parsedBody: SecurityAssessmentResponse; }; }; diff --git a/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts b/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts index 311426e1e10c..edd5f3d64110 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/ingestionSettingsMappers.ts b/sdk/security/arm-security/src/models/ingestionSettingsMappers.ts index 3782812f79e1..1eb2eb8d9d6c 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, @@ -121,7 +122,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts b/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts index 062f7953b60c..93f2f6cfd3c1 100644 --- a/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts +++ b/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/iotAlertsMappers.ts b/sdk/security/arm-security/src/models/iotAlertsMappers.ts index c05b8763c45d..be444839d016 100644 --- a/sdk/security/arm-security/src/models/iotAlertsMappers.ts +++ b/sdk/security/arm-security/src/models/iotAlertsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts b/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts index 4170abcc4b17..79cf1d9c2c8a 100644 --- a/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts +++ b/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -126,7 +127,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts b/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts index 89454e2f7d7f..82b461e62452 100644 --- a/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts +++ b/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts b/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts index ea269f0ce54d..6f5512ca962b 100644 --- a/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts +++ b/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts b/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts index b0a2893e6450..1f226c3a685d 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/iotSensorsMappers.ts b/sdk/security/arm-security/src/models/iotSensorsMappers.ts index 5376ebbb2d56..7d99d40ed547 100644 --- a/sdk/security/arm-security/src/models/iotSensorsMappers.ts +++ b/sdk/security/arm-security/src/models/iotSensorsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -119,7 +120,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/iotSitesMappers.ts b/sdk/security/arm-security/src/models/iotSitesMappers.ts index a4cbe1be32f2..fd9ed50d7ba2 100644 --- a/sdk/security/arm-security/src/models/iotSitesMappers.ts +++ b/sdk/security/arm-security/src/models/iotSitesMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/locationsMappers.ts b/sdk/security/arm-security/src/models/locationsMappers.ts index 9182a818b048..333b5a617299 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/mappers.ts b/sdk/security/arm-security/src/models/mappers.ts index 945c8529f4af..f90f22887308 100644 --- a/sdk/security/arm-security/src/models/mappers.ts +++ b/sdk/security/arm-security/src/models/mappers.ts @@ -3228,6 +3228,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,41 +3647,91 @@ 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", + serializedName: "firstEvaluationDate", type: { - name: "String" + name: "DateTime" + } + }, + statusChangeDate: { + readOnly: true, + serializedName: "statusChangeDate", + type: { + name: "DateTime" } } } } }; -export const SecurityAssessmentPartnerData: msRest.CompositeMapper = { - serializedName: "SecurityAssessmentPartnerData", +export const SecurityAssessmentResponse: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentResponse", type: { name: "Composite", - className: "SecurityAssessmentPartnerData", + className: "SecurityAssessmentResponse", modelProperties: { - partnerName: { + ...Resource.type.modelProperties, + resourceDetails: { required: true, - serializedName: "partnerName", + serializedName: "properties.resourceDetails", + type: { + name: "Composite", + className: "ResourceDetails" + } + }, + displayName: { + readOnly: true, + serializedName: "properties.displayName", type: { name: "String" } }, - secret: { + 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: "secret", + serializedName: "properties.status", type: { - name: "String" + name: "Composite", + className: "AssessmentStatusResponse" } } } @@ -3545,6 +3760,38 @@ export const SecurityAssessment: msRest.CompositeMapper = { 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", @@ -3552,9 +3799,75 @@ export const SecurityAssessment: msRest.CompositeMapper = { 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: "properties.additionalData", + serializedName: "additionalData", type: { name: "Dictionary", value: { @@ -3565,21 +3878,21 @@ export const SecurityAssessment: msRest.CompositeMapper = { } }, links: { - serializedName: "properties.links", + serializedName: "links", type: { name: "Composite", className: "AssessmentLinks" } }, metadata: { - serializedName: "properties.metadata", + serializedName: "metadata", type: { name: "Composite", className: "SecurityAssessmentMetadataProperties" } }, partnersData: { - serializedName: "properties.partnersData", + serializedName: "partnersData", type: { name: "Composite", className: "SecurityAssessmentPartnerData" @@ -9122,11 +9435,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 +9449,7 @@ export const SecurityAssessmentMetadataList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SecurityAssessmentMetadata" + className: "SecurityAssessmentMetadataResponse" } } } @@ -9166,7 +9479,7 @@ export const SecurityAssessmentList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "SecurityAssessment" + className: "SecurityAssessmentResponse" } } } diff --git a/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts b/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts index 7e62c67c18c6..7a8e570611c7 100644 --- a/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts +++ b/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts @@ -23,6 +23,7 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AssessmentStatusResponse, AuthenticationDetailsProperties, AutoProvisioningSetting, AwAssumeRoleAuthenticationDetailsProperties, @@ -119,7 +120,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/parameters.ts b/sdk/security/arm-security/src/models/parameters.ts index a22ff0f8d0db..69cf3e24f958 100644 --- a/sdk/security/arm-security/src/models/parameters.ts +++ b/sdk/security/arm-security/src/models/parameters.ts @@ -133,9 +133,7 @@ export const apiVersion10: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, - isConstant: true, serializedName: "api-version", - defaultValue: '2020-08-06-preview', type: { name: "String" } @@ -147,7 +145,7 @@ export const apiVersion11: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2021-01-01', + defaultValue: '2020-08-06-preview', type: { name: "String" } @@ -159,7 +157,7 @@ export const apiVersion12: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2021-06-01', + defaultValue: '2021-01-01', type: { name: "String" } @@ -171,13 +169,25 @@ export const apiVersion13: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2021-01-15-preview', + defaultValue: '2021-07-01', type: { name: "String" } } }; export const apiVersion14: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2021-01-15-preview', + type: { + name: "String" + } + } +}; +export const apiVersion15: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, @@ -267,7 +277,7 @@ export const apiVersion8: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-01-01-preview', + defaultValue: '2021-06-01', 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-preview', type: { name: "String" } diff --git a/sdk/security/arm-security/src/models/pricingsMappers.ts b/sdk/security/arm-security/src/models/pricingsMappers.ts index cd5b9ba52653..98464e3562ef 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts b/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts index 2aa52938afb9..254993f8fbea 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts b/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts index 9b546318a0fb..9c9224ec9e7e 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts b/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts index f71c9be427e1..e1093f3c8c7a 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts b/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts index ccfb073559a9..f90a7a9d07ff 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts b/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts index 18831f247670..896309bcc5b7 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/secureScoresMappers.ts b/sdk/security/arm-security/src/models/secureScoresMappers.ts index 7a8e2e4fe3e6..38eab34f6dd9 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/securityContactsMappers.ts b/sdk/security/arm-security/src/models/securityContactsMappers.ts index d65ed7c3ecf5..1c55a79a4c6d 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, @@ -117,7 +118,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecurityContactList, SecuritySubAssessment, diff --git a/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts b/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts index 3c9889a7549e..143f94b33a3a 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, @@ -117,7 +118,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/settingsMappers.ts b/sdk/security/arm-security/src/models/settingsMappers.ts index 01ab7cffadc7..0a11d83f6783 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, @@ -117,7 +118,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/softwareInventoriesMappers.ts b/sdk/security/arm-security/src/models/softwareInventoriesMappers.ts index 16d53638fabd..6a8184184ba7 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, @@ -117,7 +118,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts index ffa9771f7eb8..eda9133a4bc5 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, @@ -120,7 +121,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts index e410464eff2a..9104f52637ee 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts index ffc403e3625a..f97f04e7e08d 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, @@ -118,7 +119,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/subAssessmentsMappers.ts b/sdk/security/arm-security/src/models/subAssessmentsMappers.ts index 5e4c6901a101..fbaa7de2ed89 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, @@ -117,7 +118,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecuritySubAssessmentList, diff --git a/sdk/security/arm-security/src/models/tasksMappers.ts b/sdk/security/arm-security/src/models/tasksMappers.ts index 1f079e13f684..8d4c527009e4 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, @@ -117,7 +118,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts b/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts index 15b4b89f160c..7e04f5ebd164 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, @@ -117,7 +118,10 @@ export { SecurityAssessmentMetadata, SecurityAssessmentMetadataPartnerData, SecurityAssessmentMetadataProperties, + SecurityAssessmentMetadataPropertiesResponsePublishDates, + SecurityAssessmentMetadataResponse, SecurityAssessmentPartnerData, + SecurityAssessmentResponse, SecurityContact, SecuritySubAssessment, SecurityTask, diff --git a/sdk/security/arm-security/src/operations/alerts.ts b/sdk/security/arm-security/src/operations/alerts.ts index 12abd12e522a..975389ec229e 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.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -565,7 +565,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -589,7 +589,7 @@ const listSubscriptionLevelByRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -614,7 +614,7 @@ const listResourceGroupLevelByRegionOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -639,7 +639,7 @@ const getSubscriptionLevelOperationSpec: msRest.OperationSpec = { Parameters.alertName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -665,7 +665,7 @@ const getResourceGroupLevelOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -690,7 +690,7 @@ const updateSubscriptionLevelStateToDismissOperationSpec: msRest.OperationSpec = Parameters.alertName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -713,7 +713,7 @@ const updateSubscriptionLevelStateToResolveOperationSpec: msRest.OperationSpec = Parameters.alertName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -736,7 +736,7 @@ const updateSubscriptionLevelStateToActivateOperationSpec: msRest.OperationSpec Parameters.alertName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -760,7 +760,7 @@ const updateResourceGroupLevelStateToResolveOperationSpec: msRest.OperationSpec Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -784,7 +784,7 @@ const updateResourceGroupLevelStateToDismissOperationSpec: msRest.OperationSpec Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -808,7 +808,7 @@ const updateResourceGroupLevelStateToActivateOperationSpec: msRest.OperationSpec Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -830,7 +830,7 @@ const beginSimulateOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -859,7 +859,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -883,7 +883,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -907,7 +907,7 @@ const listSubscriptionLevelByRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -931,7 +931,7 @@ const listResourceGroupLevelByRegionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion11 + Parameters.apiVersion12 ], 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..2ec423e412f6 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.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -223,7 +223,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.assessmentName ], queryParameters: [ - Parameters.apiVersion7, + Parameters.apiVersion8, 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.apiVersion8 ], 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.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -305,7 +305,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion8 ], 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..9fa50ab51c7f 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.apiVersion8 ], 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.apiVersion8 ], 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.apiVersion8 ], 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.apiVersion8 ], 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.apiVersion8 ], 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.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage @@ -400,14 +400,14 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion7 + Parameters.apiVersion8 ], 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.apiVersion8 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.SecurityAssessmentMetadataList + bodyMapper: Mappers.SecurityAssessmentMetadataResponseList }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/security/arm-security/src/operations/connectors.ts b/sdk/security/arm-security/src/operations/connectors.ts index c54625cfcef6..aa9c50006bca 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.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -201,7 +201,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.connectorName ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -225,7 +225,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.connectorName ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -256,7 +256,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.connectorName ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage @@ -279,7 +279,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion9 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/deviceOperations.ts b/sdk/security/arm-security/src/operations/deviceOperations.ts index d0bb106a779a..1bcde277df7b 100644 --- a/sdk/security/arm-security/src/operations/deviceOperations.ts +++ b/sdk/security/arm-security/src/operations/deviceOperations.ts @@ -68,7 +68,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.deviceId0 ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/devicesForHub.ts b/sdk/security/arm-security/src/operations/devicesForHub.ts index d065ae684345..e5296b31a0bf 100644 --- a/sdk/security/arm-security/src/operations/devicesForHub.ts +++ b/sdk/security/arm-security/src/operations/devicesForHub.ts @@ -91,7 +91,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.resourceId ], queryParameters: [ - Parameters.apiVersion10, + Parameters.apiVersion11, Parameters.limit, Parameters.skipToken, Parameters.deviceManagementType @@ -118,7 +118,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion10, + Parameters.apiVersion11, Parameters.limit, Parameters.skipToken, Parameters.deviceManagementType diff --git a/sdk/security/arm-security/src/operations/devicesForSubscription.ts b/sdk/security/arm-security/src/operations/devicesForSubscription.ts index 171c91d18082..eefc42d18093 100644 --- a/sdk/security/arm-security/src/operations/devicesForSubscription.ts +++ b/sdk/security/arm-security/src/operations/devicesForSubscription.ts @@ -87,7 +87,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10, + Parameters.apiVersion11, Parameters.limit, Parameters.skipToken, Parameters.deviceManagementType @@ -114,7 +114,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion10, + Parameters.apiVersion11, Parameters.limit, Parameters.skipToken, Parameters.deviceManagementType diff --git a/sdk/security/arm-security/src/operations/ingestionSettings.ts b/sdk/security/arm-security/src/operations/ingestionSettings.ts index a4d734204199..a1adeb80cbf7 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.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage @@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage @@ -284,7 +284,7 @@ const createOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage @@ -315,7 +315,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage @@ -338,7 +338,7 @@ const listTokensOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage @@ -362,7 +362,7 @@ const listConnectionStringsOperationSpec: msRest.OperationSpec = { Parameters.ingestionSettingName ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion13 + Parameters.apiVersion14 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/iotAlertTypes.ts b/sdk/security/arm-security/src/operations/iotAlertTypes.ts index 9ceecb1b073f..4172587093f5 100644 --- a/sdk/security/arm-security/src/operations/iotAlertTypes.ts +++ b/sdk/security/arm-security/src/operations/iotAlertTypes.ts @@ -87,7 +87,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -111,7 +111,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.iotAlertTypeName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/iotAlerts.ts b/sdk/security/arm-security/src/operations/iotAlerts.ts index 16d9fddfdb19..fca4449bb7de 100644 --- a/sdk/security/arm-security/src/operations/iotAlerts.ts +++ b/sdk/security/arm-security/src/operations/iotAlerts.ts @@ -135,7 +135,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion10, + Parameters.apiVersion11, Parameters.minStartTimeUtc, Parameters.maxStartTimeUtc, Parameters.alertType1, @@ -166,7 +166,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.iotAlertId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -190,7 +190,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion10, + Parameters.apiVersion11, Parameters.minStartTimeUtc, Parameters.maxStartTimeUtc, Parameters.alertType1, diff --git a/sdk/security/arm-security/src/operations/iotDefenderSettings.ts b/sdk/security/arm-security/src/operations/iotDefenderSettings.ts index 6cb21509dddd..354751dcde84 100644 --- a/sdk/security/arm-security/src/operations/iotDefenderSettings.ts +++ b/sdk/security/arm-security/src/operations/iotDefenderSettings.ts @@ -183,7 +183,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -206,7 +206,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -229,7 +229,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -262,7 +262,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -284,7 +284,7 @@ const packageDownloadsMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -307,7 +307,7 @@ const downloadManagerActivationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts b/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts index 74b977b0a508..ad97e5135f91 100644 --- a/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts +++ b/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts @@ -87,7 +87,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -111,7 +111,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.iotRecommendationTypeName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/iotRecommendations.ts b/sdk/security/arm-security/src/operations/iotRecommendations.ts index dd5889cf0b89..7683a3ed41bd 100644 --- a/sdk/security/arm-security/src/operations/iotRecommendations.ts +++ b/sdk/security/arm-security/src/operations/iotRecommendations.ts @@ -135,7 +135,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion10, + Parameters.apiVersion11, Parameters.recommendationType, Parameters.deviceId1, Parameters.limit, @@ -163,7 +163,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.iotRecommendationId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -187,7 +187,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion10, + Parameters.apiVersion11, Parameters.recommendationType, Parameters.deviceId1, Parameters.limit, diff --git a/sdk/security/arm-security/src/operations/iotSensors.ts b/sdk/security/arm-security/src/operations/iotSensors.ts index c53e96964ac8..62a2b5a1c758 100644 --- a/sdk/security/arm-security/src/operations/iotSensors.ts +++ b/sdk/security/arm-security/src/operations/iotSensors.ts @@ -263,7 +263,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -287,7 +287,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.iotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.iotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -345,7 +345,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.iotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -368,7 +368,7 @@ const downloadActivationOperationSpec: msRest.OperationSpec = { Parameters.iotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -397,7 +397,7 @@ const downloadResetPasswordOperationSpec: msRest.OperationSpec = { Parameters.iotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -433,7 +433,7 @@ const triggerTiPackageUpdateOperationSpec: msRest.OperationSpec = { Parameters.iotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/iotSites.ts b/sdk/security/arm-security/src/operations/iotSites.ts index de634105c550..19d210ec6614 100644 --- a/sdk/security/arm-security/src/operations/iotSites.ts +++ b/sdk/security/arm-security/src/operations/iotSites.ts @@ -151,7 +151,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -174,7 +174,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -197,7 +197,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -230,7 +230,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.scope ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts b/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts index 16b1b5b901df..9694c2149114 100644 --- a/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts +++ b/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts @@ -203,7 +203,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -227,7 +227,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.onPremiseIotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -251,7 +251,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.onPremiseIotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -278,7 +278,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.onPremiseIotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -301,7 +301,7 @@ const downloadActivationOperationSpec: msRest.OperationSpec = { Parameters.onPremiseIotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -330,7 +330,7 @@ const downloadResetPasswordOperationSpec: msRest.OperationSpec = { Parameters.onPremiseIotSensorName ], queryParameters: [ - Parameters.apiVersion10 + Parameters.apiVersion11 ], 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..ffaeedf817d9 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.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -171,7 +177,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion12 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -195,7 +201,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion12 + Parameters.apiVersion13 ], headerParameters: [ Parameters.acceptLanguage @@ -226,7 +232,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion12 + Parameters.apiVersion13 ], 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..8d0785b72658 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.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -232,7 +232,7 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion14 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.softwareName ], queryParameters: [ - Parameters.apiVersion14 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -284,7 +284,7 @@ const listByExtendedResourceNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion14 + Parameters.apiVersion15 ], headerParameters: [ Parameters.acceptLanguage @@ -308,7 +308,7 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion14 + Parameters.apiVersion15 ], 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..2904c4f3144b 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.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -263,7 +263,7 @@ const getOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -288,7 +288,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -335,7 +335,7 @@ const addOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion10 ], 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..f69fa66855e4 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.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -147,7 +147,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion10 ], 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..568a5cd5bf0f 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.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage @@ -137,7 +137,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.workspaceId, - Parameters.apiVersion9 + Parameters.apiVersion10 ], headerParameters: [ Parameters.acceptLanguage