Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Security to add version preview/2020-08-06-preview #10773

Conversation

liranc
Copy link
Contributor

@liranc liranc commented Sep 13, 2020

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable version with Breaking Change Validation errors
  • Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Sep 13, 2020

[Staging] Swagger Validation Report

️✔️BreakingChange [Detail]
 There are no breaking changes. 
️✔️LintDiff [Detail]
 Validation passes for LintDiff. 
️✔️Avocado [Detail]
 Validation passes for Avocado. 
️✔️ModelValidation [Detail]
 Validation passes for ModelValidation. 
️✔️SemanticValidation [Detail]
 Validation passes for SemanticValidation. 
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Sep 13, 2020

azure-resource-manager-schemas

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 24d422a with merge commit 3be686183649a742530ed7b764d61feecb788c80. Schema Automation 13.0.17.20200918.2
    [security][after_scripts|node] configure: WARNING: secure clearing/zeroing of memory is not supported by the selected crypto backend
    [security][after_scripts|node] configure: WARNING: secure clearing/zeroing of memory is not supported by the selected crypto backend
    [security][after_scripts|node] configure: WARNING: secure clearing/zeroing of memory is not supported by the selected crypto backend
    • [after_scripts|node] PostProcessor finished successfully.
      [after_scripts|node]   5716 passing (41s)
      [after_scripts|node]   31 failing
      AzureResourceSchema has no registered package commands.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 13, 2020

    azure-sdk-for-go - Release

    failed [Logs] [Expand Details]
    • Generate from 45b62a3 with merge commit a37acc9. SDK Automation 13.0.17.20200918.2
      [AutoRest] FATAL: System.InvalidOperationException: output-folder /z/work/src/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v2.0/security of tag package-composite-v2 must not be under a preview subdirectory for a stable swagger set. Please refer the sample for readme.go.md file here https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/samplefiles/readme.go.md for more information
      [AutoRest]    at AutoRest.Go.CodeGeneratorGo.PreviewCheck(String folder) in /home/vsts/work/1/s/src/CodeGeneratorGo.cs:line 187
      [AutoRest]    at AutoRest.Go.CodeGeneratorGo.d__7.MoveNext() in /home/vsts/work/1/s/src/CodeGeneratorGo.cs:line 60
      [AutoRest] --- End of stack trace from previous location where exception was thrown ---
      [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      [AutoRest]    at AutoRest.Go.Program.d__3.MoveNext() in /home/vsts/work/1/s/src/Program.cs:line 107
      [AutoRest] --- End of stack trace from previous location where exception was thrown ---
      [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
      [AutoRest]    at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Plugins/NewPlugin.cs:line 163
      [AutoRest] FATAL: go/generate - FAILED
      [AutoRest] FATAL: Error: Plugin go reported failure.
      [AutoRest] Failure during batch task - {"tag":"package-composite-v2"} -- Error: Plugin go reported failure..
      [AutoRest]   Error: Plugin go reported failure.
      Failed to run autorest.
      Error: /z/node_modules/.bin/autorest --use=@microsoft.azure/autorest.go@~2.1.155 --go --verbose --multiapi --use-onever --preview-chk --version=V2 --go-sdk-folder=/z/work/src/github.com/Azure/azure-sdk-for-go /z/work/azure-rest-api-specs/specification/security/resource-manager/readme.md FATAL: System.InvalidOperationException: output-folder /z/work/src/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v2.0/security of tag package-composite-v2 must not be under a preview subdirectory for a stable swagger set. Please refer the sample for readme.go.md file here https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/samplefiles/readme.go.md for more information
         at AutoRest.Go.CodeGeneratorGo.PreviewCheck(String folder) in /home/vsts/work/1/s/src/CodeGeneratorGo.cs:line 187
         at AutoRest.Go.CodeGeneratorGo.d__7.MoveNext() in /home/vsts/work/1/s/src/CodeGeneratorGo.cs:line 60
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at AutoRest.Go.Program.d__3.MoveNext() in /home/vsts/work/1/s/src/Program.cs:line 107
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
         at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Plugins/NewPlugin.cs:line 163
      FATAL: go/generate - FAILED
      FATAL: Error: Plugin go reported failure.
      Failure during batch task - {"tag":"package-composite-v2"} -- Error: Plugin go reported failure..
        Error: Plugin go reported failure.
      , {} 
      Failed to find any diff after autorest so no changed packages was found.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 13, 2020

    Azure CLI Extension Generation - Release

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 13, 2020

    Trenton Generation - Release

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 13, 2020

    azure-sdk-for-python - Release

    - Breaking Change detected in SDK

    ⚠️ warning [Logs] [Expand Details]
    • ⚠️ Generate from 45b62a3 with merge commit a37acc9. SDK Automation 13.0.17.20200918.2
    • ⚠️azure-mgmt-security [View full logs]  [Release SDK Changes] Breaking Change Detected
      [build_conf] INFO:packaging_tools:Building template azure-mgmt-security
      [build_conf] INFO:packaging_tools.conf:Skipping default conf since the file exists
      [build_conf] INFO:packaging_tools:Skipping CHANGELOG.md template, since a previous one was found
      [build_conf] INFO:packaging_tools:Template done azure-mgmt-security
      [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      [build_package]   warnings.warn(msg)
      [build_package] warning: no files found matching '*.py' under directory 'tests'
      [build_package] warning: no files found matching '*.yaml' under directory 'tests'
      [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
      [build_package]   warnings.warn(msg)
      [build_package] warning: no files found matching '*.py' under directory 'tests'
      [build_package] warning: no files found matching '*.yaml' under directory 'tests'
      Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Wed, 23 Sep 2020 02:14:40 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0701:371E:92094D4:F4F8645:5F6AAF90","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}
      [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
      [ChangeLog] Size of delta 23.530% size of original (original: 169555 chars, delta: 39897 chars)
      [ChangeLog] **Features**
      [ChangeLog] 
      [ChangeLog]   - Model SecureScoreItem has a new parameter weight
      [ChangeLog]   - Added operation AlertsOperations.update_resource_group_level_state_to_activate
      [ChangeLog]   - Added operation AlertsOperations.update_resource_group_level_state_to_dismiss
      [ChangeLog]   - Added operation AlertsOperations.update_subscription_level_state_to_activate
      [ChangeLog]   - Added operation AlertsOperations.get_subscription_level
      [ChangeLog]   - Added operation AlertsOperations.update_subscription_level_state_to_resolve
      [ChangeLog]   - Added operation AlertsOperations.get_resource_group_level
      [ChangeLog]   - Added operation AlertsOperations.list_subscription_level_by_region
      [ChangeLog]   - Added operation AlertsOperations.update_resource_group_level_state_to_resolve
      [ChangeLog]   - Added operation AlertsOperations.update_subscription_level_state_to_dismiss
      [ChangeLog]   - Added operation AlertsOperations.list_resource_group_level_by_region
      [ChangeLog]   - Added operation group SecuritySolutionsOperations
      [ChangeLog]   - Added operation group IotAlertTypesOperations
      [ChangeLog]   - Added operation group IotRecommendationsOperations
      [ChangeLog]   - Added operation group IotAlertsOperations
      [ChangeLog]   - Added operation group SecuritySolutionsReferenceDataOperations
      [ChangeLog]   - Added operation group IotRecommendationTypesOperations
      [ChangeLog]   - Added operation group IotDefenderSettingsOperations
      [ChangeLog]   - Added operation group OnPremiseIotSensorsOperations
      [ChangeLog]   - Added operation group IotSensorsOperations
      [ChangeLog]   - Added operation group ConnectorsOperations
      [ChangeLog] 
      [ChangeLog] **Breaking changes**
      [ChangeLog] 
      [ChangeLog]   - Model Alert has a new signature
      [ChangeLog]   - Removed operation AlertsOperations.update_subscription_level_alert_state_to_dismiss
      [ChangeLog]   - Removed operation AlertsOperations.update_resource_group_level_alert_state_to_reactivate
      [ChangeLog]   - Removed operation AlertsOperations.get_subscription_level_alert
      [ChangeLog]   - Removed operation AlertsOperations.update_resource_group_level_alert_state_to_dismiss
      [ChangeLog]   - Removed operation AlertsOperations.update_subscription_level_alert_state_to_reactivate
      [ChangeLog]   - Removed operation AlertsOperations.get_resource_group_level_alerts
      [ChangeLog]   - Removed operation AlertsOperations.list_resource_group_level_alerts_by_region
      [ChangeLog]   - Removed operation AlertsOperations.list_subscription_level_alerts_by_region

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 13, 2020

    azure-sdk-for-net - Release

    ️✔️ succeeded [Logs] [Expand Details]
    • ️✔️ Generate from 45b62a3 with merge commit a37acc9. SDK Automation 13.0.17.20200918.2
      [AutoRest] realpath(): Permission denied
      [AutoRest] realpath(): Permission denied
      [AutoRest] realpath(): Permission denied
      [AutoRest] realpath(): Permission denied
      [AutoRest] realpath(): Permission denied
      [AutoRest] realpath(): Permission denied
    • ️✔️Microsoft.Azure.Management.SecurityCenter [View full logs]  [Release SDK Changes]
      Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Wed, 23 Sep 2020 02:17:16 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0703:5037:14483C0:38F8A29:5F6AB02C","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 13, 2020

    azure-sdk-for-java - Release

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 13, 2020

    azure-sdk-for-js - Release

    ️✔️ succeeded [Logs] [Expand Details]
    • ️✔️ Generate from 45b62a3 with merge commit a37acc9. SDK Automation 13.0.17.20200918.2
    • ️✔️@azure/arm-security [View full logs]  [Release SDK Changes]
      Only show 100 items here, please refer to log for details.
      [npmPack] npm WARN deprecated rollup-plugin-node-resolve@5.2.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
      [npmPack] npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
      [npmPack] npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
      [npmPack] npm notice created a lockfile as package-lock.json. You should commit this file.
      [npmPack] loaded rollup.config.js with warnings
      [npmPack] (!) Unused external imports
      [npmPack] default imported from external module 'rollup' but never used
      [npmPack] 
      [npmPack] ./esm/securityCenter.js → ./dist/arm-security.js...
      [npmPack] created ./dist/arm-security.js in 948ms
      [npmPack] npm notice 
      [npmPack] npm notice package: @azure/arm-security@2.0.0
      [npmPack] npm notice === Tarball Contents === 
      [npmPack] npm notice 4.8kB   esm/operations/adaptiveApplicationControls.js                          
      [npmPack] npm notice 634B    esm/models/adaptiveApplicationControlsMappers.js                       
      [npmPack] npm notice 7.9kB   esm/operations/adaptiveNetworkHardenings.js                            
      [npmPack] npm notice 3.2kB   esm/models/adaptiveNetworkHardeningsMappers.js                         
      [npmPack] npm notice 3.0kB   esm/operations/advancedThreatProtection.js                             
      [npmPack] npm notice 3.1kB   esm/models/advancedThreatProtectionMappers.js                          
      [npmPack] npm notice 15.0kB  esm/operations/alerts.js                                               
      [npmPack] npm notice 3.1kB   esm/models/alertsMappers.js                                            
      [npmPack] npm notice 5.5kB   esm/operations/alertsSuppressionRules.js                               
      [npmPack] npm notice 3.1kB   esm/models/alertsSuppressionRulesMappers.js                            
      [npmPack] npm notice 5.0kB   esm/operations/allowedConnections.js                                   
      [npmPack] npm notice 521B    esm/models/allowedConnectionsMappers.js                                
      [npmPack] npm notice 785.5kB dist/arm-security.js                                                   
      [npmPack] npm notice 307.4kB dist/arm-security.min.js                                               
      [npmPack] npm notice 5.3kB   esm/operations/assessments.js                                          
      [npmPack] npm notice 3.1kB   esm/models/assessmentsMappers.js                                       
      [npmPack] npm notice 7.7kB   esm/operations/assessmentsMetadata.js                                  
      [npmPack] npm notice 3.1kB   esm/models/assessmentsMetadataMappers.js                               
      [npmPack] npm notice 8.3kB   esm/operations/automations.js                                          
      [npmPack] npm notice 672B    esm/models/automationsMappers.js                                       
      [npmPack] npm notice 4.4kB   esm/operations/autoProvisioningSettings.js                             
      [npmPack] npm notice 3.1kB   esm/models/autoProvisioningSettingsMappers.js                          
      [npmPack] npm notice 3.3kB   esm/operations/complianceResults.js                                    
      [npmPack] npm notice 3.1kB   esm/models/complianceResultsMappers.js                                 
      [npmPack] npm notice 3.2kB   esm/operations/compliances.js                                          
      [npmPack] npm notice 3.1kB   esm/models/compliancesMappers.js                                       
      [npmPack] npm notice 5.1kB   esm/operations/connectors.js                                           
      [npmPack] npm notice 3.1kB   esm/models/connectorsMappers.js                                        
      [npmPack] npm notice 5.6kB   esm/operations/deviceSecurityGroups.js                                 
      [npmPack] npm notice 3.1kB   esm/models/deviceSecurityGroupsMappers.js                              
      [npmPack] npm notice 5.3kB   esm/operations/discoveredSecuritySolutions.js                          
      [npmPack] npm notice 498B    esm/models/discoveredSecuritySolutionsMappers.js                       
      [npmPack] npm notice 5.3kB   esm/operations/externalSecuritySolutions.js                            
      [npmPack] npm notice 704B    esm/models/externalSecuritySolutionsMappers.js                         
      [npmPack] npm notice 345B    esm/models/index.js                                                    
      [npmPack] npm notice 2.2kB   esm/operations/index.js                                                
      [npmPack] npm notice 4.9kB   esm/operations/informationProtectionPolicies.js                        
      [npmPack] npm notice 3.2kB   esm/models/informationProtectionPoliciesMappers.js                     
      [npmPack] npm notice 3.8kB   esm/operations/iotAlerts.js                                            
      [npmPack] npm notice 444B    esm/models/iotAlertsMappers.js                                         
      [npmPack] npm notice 3.0kB   esm/operations/iotAlertTypes.js                                        
      [npmPack] npm notice 3.1kB   esm/models/iotAlertTypesMappers.js                                     
      [npmPack] npm notice 4.9kB   esm/operations/iotDefenderSettings.js                                  
      [npmPack] npm notice 3.4kB   esm/models/iotDefenderSettingsMappers.js                               
      [npmPack] npm notice 3.9kB   esm/operations/iotRecommendations.js                                   
      [npmPack] npm notice 3.1kB   esm/models/iotRecommendationsMappers.js                                
      [npmPack] npm notice 3.2kB   esm/operations/iotRecommendationTypes.js                               
      [npmPack] npm notice 3.1kB   esm/models/iotRecommendationTypesMappers.js                            
      [npmPack] npm notice 8.9kB   esm/operations/iotSecuritySolution.js                                  
      [npmPack] npm notice 3.1kB   esm/operations/iotSecuritySolutionAnalytics.js                         
      [npmPack] npm notice 3.2kB   esm/models/iotSecuritySolutionAnalyticsMappers.js                      
      [npmPack] npm notice 598B    esm/models/iotSecuritySolutionMappers.js                               
      [npmPack] npm notice 5.3kB   esm/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js         
      [npmPack] npm notice 571B    esm/models/iotSecuritySolutionsAnalyticsAggregatedAlertMappers.js      
      [npmPack] npm notice 4.3kB   esm/operations/iotSecuritySolutionsAnalyticsRecommendation.js          
      [npmPack] npm notice 532B    esm/models/iotSecuritySolutionsAnalyticsRecommendationMappers.js       
      [npmPack] npm notice 5.2kB   esm/operations/iotSensors.js                                           
      [npmPack] npm notice 3.1kB   esm/models/iotSensorsMappers.js                                        
      [npmPack] npm notice 12.6kB  esm/operations/jitNetworkAccessPolicies.js                             
      [npmPack] npm notice 767B    esm/models/jitNetworkAccessPoliciesMappers.js                          
      [npmPack] npm notice 3.1kB   esm/operations/locations.js                                            
      [npmPack] npm notice 3.1kB   esm/models/locationsMappers.js                                         
      [npmPack] npm notice 224.1kB esm/models/mappers.js                                                  
      [npmPack] npm notice 5.5kB   esm/operations/onPremiseIotSensors.js                                  
      [npmPack] npm notice 3.1kB   esm/models/onPremiseIotSensorsMappers.js                               
      [npmPack] npm notice 2.2kB   esm/operations/operations.js                                           
      [npmPack] npm notice 465B    esm/models/operationsMappers.js                                        
      [npmPack] npm notice 18.2kB  esm/models/parameters.js                                               
      [npmPack] npm notice 3.4kB   esm/operations/pricings.js                                             
      [npmPack] npm notice 3.1kB   esm/models/pricingsMappers.js                                          
      [npmPack] npm notice 4.5kB   esm/operations/regulatoryComplianceAssessments.js                      
      [npmPack] npm notice 3.2kB   esm/models/regulatoryComplianceAssessmentsMappers.js                   
      [npmPack] npm notice 4.0kB   esm/operations/regulatoryComplianceControls.js                         
      [npmPack] npm notice 3.2kB   esm/models/regulatoryComplianceControlsMappers.js                      
      [npmPack] npm notice 3.6kB   esm/operations/regulatoryComplianceStandards.js                        
      [npmPack] npm notice 3.2kB   esm/models/regulatoryComplianceStandardsMappers.js                     
      [npmPack] npm notice 976B    rollup.config.js                                                       
      [npmPack] npm notice 4.1kB   esm/operations/secureScoreControlDefinitions.js                        
      [npmPack] npm notice 3.2kB   esm/models/secureScoreControlDefinitionsMappers.js                     
      [npmPack] npm notice 4.2kB   esm/operations/secureScoreControls.js                                  
      [npmPack] npm notice 3.1kB   esm/models/secureScoreControlsMappers.js                               
      [npmPack] npm notice 3.2kB   esm/operations/secureScores.js                                         
      [npmPack] npm notice 3.1kB   esm/models/secureScoresMappers.js                                      
      [npmPack] npm notice 5.3kB   esm/securityCenter.js                                                  
      [npmPack] npm notice 2.7kB   esm/securityCenterContext.js                                           
      [npmPack] npm notice 6.3kB   esm/operations/securityContacts.js                                     
      [npmPack] npm notice 3.1kB   esm/models/securityContactsMappers.js                                  

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 13, 2020

    azure-sdk-for-python-track2 - Release

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    Comment on lines 216 to 218
    "200": {
    "description": "Downloaded activation file"
    },

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    What is the schema of the response? I assume as a "download" there had to be something in response.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Actual file download (binary).

    Copy link
    Member

    @weidongxu-microsoft weidongxu-microsoft Sep 15, 2020

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    But you need to specify it somehow? Else how SDK knows that there is a binary file as reponse?

    Usually it is

                "schema": {
                  "type": "file"
                }
    

    Also

            "produces": [
              "application/octet-stream"
            ],
    

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Nice! Pushed fix.

    "$ref": "#/definitions/OnPremiseIotSensor"
    }
    },
    "201": {

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Is this long-running operation?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    No, it's a synchronous operation that completes immediately.

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @pilor pilor self-requested a review September 22, 2020 20:32
    @pilor pilor added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Sep 22, 2020
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @liranc
    Copy link
    Contributor Author

    liranc commented Sep 22, 2020

    @pilor @weidongxu-microsoft can you please merge the PR? (Fixed the merge conflict. Plus, the failed SDK Go check isn't related to these changes [also fails in the master branch]).

    @weidongxu-microsoft weidongxu-microsoft merged commit a37acc9 into Azure:master Sep 23, 2020
    nitegupt pushed a commit to nitegupt/azure-rest-api-specs that referenced this pull request Sep 25, 2020
    …preview/2020-08-06-preview (Azure#10773)
    
    * Add onPremiseSensors
    
    * Suppress
    
    * Specify file download schema
    
    * Fix validaiton
    
    Co-authored-by: Liran Chen <lirche@microsoft.com>
    iscai-msft added a commit to iscai-msft/azure-rest-api-specs that referenced this pull request Oct 14, 2020
    …into formrecognizer_regeneration
    
    * 'master' of https://github.com/Azure/azure-rest-api-specs: (52 commits)
      rename synapse model in java (Azure#10911)
      [Microsoft.Storage] Adding support for ResourceAccessRules (Azure#10868)
      add fix (Azure#10906)
      Revert "[Do Not Merge][Really To Review] add a new apis (Azure#10756)" (Azure#10908)
      [Do Not Merge][Really To Review] add a new apis (Azure#10756)
      Add documentation for downloading invoices through Microsoft.Billing API (Azure#10585)
      Add api-version of 2019-10-01/comsuption to go SDK (Azure#10749)
      Add location info for cross region compute feature (Azure#10816)
      Operationalinsights/data export delete all tables param (Azure#10775)
      Update SDKAutomation.yml for Azure Pipelines (Azure#10904)
      [Hub Generated] Review request for Microsoft.DigitalTwins to add version stable/2020-10-31 (Azure#10902)
      [Hub Generated] Review request for Microsoft.Insights to add version preview/2020-05-01-preview (Azure#10891)
      Add readme.azureresourceschema.md for sample rp (Azure#10764)
      [Hub Generated] Review request for Microsoft.Security to add version preview/2020-08-06-preview (Azure#10773)
      DataFactory: Update Rest Sink properties based on ship room comments. (Azure#10815)
      Bring up ACS eventgrid events swagger (Azure#10880)
      Assignment config (Azure#10850)
      .md for python (Azure#10881)
      Fixed ActionRule's polymorphism via discriminator (Azure#10829)
      Fixed S360 issues related to ARM & SDK swagger linting errors for Microsoft.Solutions. (Azure#10804)
      ...
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Python
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants