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

Update Readmes for Python for Automanage #10633

Merged
merged 4 commits into from
Sep 14, 2020

Conversation

stowen-msft
Copy link
Contributor

@stowen-msft stowen-msft commented Aug 28, 2020

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

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 Aug 28, 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 Aug 28, 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 Aug 28, 2020

azure-sdk-for-python - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from bf75f46 with merge commit e52e85b. SDK Automation 13.0.17.20200909.5
    [azure-mgmt-automanage][breaking_change_report_pypi] WARNING:__main__:Version 1.0.0b1 seems to be too old to build a report (probably not Autorest based)
    [azure-mgmt-automanage][ChangeLog] WARNING: Failed to generate ChangeLog.
  • ⚠️azure-mgmt-automanage [View full logs]  [Release SDK Changes]
    [build_conf] INFO:packaging_tools:Building template azure-mgmt-automanage
    [build_conf] INFO:packaging_tools.conf:Build default conf for azure-mgmt-automanage
    [build_conf] INFO:packaging_tools:Template done azure-mgmt-automanage
    [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'
    [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
    [breaking_change_report_pypi] WARNING:__main__:Version 1.0.0b1 seems to be too old to build a report (probably not Autorest based)
    Not exact 2 reports found:
    code_reports/latest/report.json
    Not generating changelog.
    [ChangeLog] WARNING: Failed to generate ChangeLog.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 28, 2020

azure-sdk-for-js - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from bf75f46 with merge commit e52e85b. SDK Automation 13.0.17.20200909.5
  • ️✔️@azure/arm-automanage [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/automanageClient.js → ./dist/arm-automanage.js...
    [npmPack] created ./dist/arm-automanage.js in 276ms
    [npmPack] npm notice 
    [npmPack] npm notice package: @azure/arm-automanage@1.0.0
    [npmPack] npm notice === Tarball Contents === 
    [npmPack] npm notice 6.8kB   esm/operations/accounts.js                                
    [npmPack] npm notice 905B    esm/models/accountsMappers.js                             
    [npmPack] npm notice 63.0kB  dist/arm-automanage.js                                    
    [npmPack] npm notice 22.3kB  dist/arm-automanage.min.js                                
    [npmPack] npm notice 1.7kB   esm/automanageClient.js                                   
    [npmPack] npm notice 2.5kB   esm/automanageClientContext.js                            
    [npmPack] npm notice 8.4kB   esm/operations/configurationProfileAssignments.js         
    [npmPack] npm notice 882B    esm/models/configurationProfileAssignmentsMappers.js      
    [npmPack] npm notice 7.9kB   esm/operations/configurationProfilePreferences.js         
    [npmPack] npm notice 951B    esm/models/configurationProfilePreferencesMappers.js      
    [npmPack] npm notice 345B    esm/models/index.js                                       
    [npmPack] npm notice 511B    esm/operations/index.js                                   
    [npmPack] npm notice 18.3kB  esm/models/mappers.js                                     
    [npmPack] npm notice 1.5kB   esm/operations/operations.js                              
    [npmPack] npm notice 493B    esm/models/operationsMappers.js                           
    [npmPack] npm notice 2.4kB   esm/models/parameters.js                                  
    [npmPack] npm notice 982B    rollup.config.js                                          
    [npmPack] npm notice 1.6kB   package.json                                              
    [npmPack] npm notice 457B    tsconfig.json                                             
    [npmPack] npm notice 3.0kB   esm/operations/accounts.d.ts.map                          
    [npmPack] npm notice 4.1kB   esm/operations/accounts.js.map                            
    [npmPack] npm notice 408B    esm/models/accountsMappers.d.ts.map                       
    [npmPack] npm notice 421B    esm/models/accountsMappers.js.map                         
    [npmPack] npm notice 133.1kB dist/arm-automanage.js.map                                
    [npmPack] npm notice 18.6kB  dist/arm-automanage.min.js.map                            
    [npmPack] npm notice 722B    esm/automanageClient.d.ts.map                             
    [npmPack] npm notice 876B    esm/automanageClient.js.map                               
    [npmPack] npm notice 498B    esm/automanageClientContext.d.ts.map                      
    [npmPack] npm notice 1.4kB   esm/automanageClientContext.js.map                        
    [npmPack] npm notice 2.5kB   esm/operations/configurationProfileAssignments.d.ts.map   
    [npmPack] npm notice 3.9kB   esm/operations/configurationProfileAssignments.js.map     
    [npmPack] npm notice 425B    esm/models/configurationProfileAssignmentsMappers.d.ts.map
    [npmPack] npm notice 438B    esm/models/configurationProfileAssignmentsMappers.js.map  
    [npmPack] npm notice 3.1kB   esm/operations/configurationProfilePreferences.d.ts.map   
    [npmPack] npm notice 4.2kB   esm/operations/configurationProfilePreferences.js.map     
    [npmPack] npm notice 457B    esm/models/configurationProfilePreferencesMappers.d.ts.map
    [npmPack] npm notice 470B    esm/models/configurationProfilePreferencesMappers.js.map  
    [npmPack] npm notice 7.3kB   esm/models/index.d.ts.map                                 
    [npmPack] npm notice 204B    esm/operations/index.d.ts.map                             
    [npmPack] npm notice 126B    esm/models/index.js.map                                   
    [npmPack] npm notice 219B    esm/operations/index.js.map                               
    [npmPack] npm notice 1.4kB   esm/models/mappers.d.ts.map                               
    [npmPack] npm notice 10.4kB  esm/models/mappers.js.map                                 
    [npmPack] npm notice 659B    esm/operations/operations.d.ts.map                        
    [npmPack] npm notice 906B    esm/operations/operations.js.map                          
    [npmPack] npm notice 238B    esm/models/operationsMappers.d.ts.map                     
    [npmPack] npm notice 251B    esm/models/operationsMappers.js.map                       
    [npmPack] npm notice 543B    esm/models/parameters.d.ts.map                            
    [npmPack] npm notice 1.6kB   esm/models/parameters.js.map                              
    [npmPack] npm notice 3.4kB   README.md                                                 
    [npmPack] npm notice 7.5kB   esm/operations/accounts.d.ts                              
    [npmPack] npm notice 14.1kB  src/operations/accounts.ts                                
    [npmPack] npm notice 595B    esm/models/accountsMappers.d.ts                           
    [npmPack] npm notice 905B    src/models/accountsMappers.ts                             
    [npmPack] npm notice 1.1kB   esm/automanageClient.d.ts                                 
    [npmPack] npm notice 1.8kB   src/automanageClient.ts                                   
    [npmPack] npm notice 782B    esm/automanageClientContext.d.ts                          
    [npmPack] npm notice 2.3kB   src/automanageClientContext.ts                            
    [npmPack] npm notice 7.3kB   esm/operations/configurationProfileAssignments.d.ts       
    [npmPack] npm notice 13.7kB  src/operations/configurationProfileAssignments.ts         
    [npmPack] npm notice 572B    esm/models/configurationProfileAssignmentsMappers.d.ts    
    [npmPack] npm notice 853B    src/models/configurationProfileAssignmentsMappers.ts      
    [npmPack] npm notice 9.1kB   esm/operations/configurationProfilePreferences.d.ts       
    [npmPack] npm notice 16.9kB  src/operations/configurationProfilePreferences.ts         
    [npmPack] npm notice 641B    esm/models/configurationProfilePreferencesMappers.d.ts    
    [npmPack] npm notice 928B    src/models/configurationProfilePreferencesMappers.ts      
    [npmPack] npm notice 20.2kB  esm/models/index.d.ts                                     
    [npmPack] npm notice 195B    esm/operations/index.d.ts                                 
    [npmPack] npm notice 19.5kB  src/models/index.ts                                       
    [npmPack] npm notice 479B    src/operations/index.ts                                   
    [npmPack] npm notice 1.9kB   esm/models/mappers.d.ts                                   
    [npmPack] npm notice 15.1kB  src/models/mappers.ts                                     
    [npmPack] npm notice 1.1kB   esm/operations/operations.d.ts                            
    [npmPack] npm notice 2.3kB   src/operations/operations.ts                              
    [npmPack] npm notice 183B    esm/models/operationsMappers.d.ts                         
    [npmPack] npm notice 461B    src/models/operationsMappers.ts                           
    [npmPack] npm notice 648B    esm/models/parameters.d.ts                                
    [npmPack] npm notice 2.4kB   src/models/parameters.ts                                  
    [npmPack] npm notice 1.1kB   LICENSE.txt                                               
    [npmPack] npm notice === Tarball Details === 
    [npmPack] npm notice name:          @azure/arm-automanage                   
    [npmPack] npm notice version:       1.0.0                                   
    [npmPack] npm notice filename:      azure-arm-automanage-1.0.0.tgz          
    [npmPack] npm notice package size:  55.6 kB                                 
    [npmPack] npm notice unpacked size: 492.7 kB                                
    [npmPack] npm notice shasum:        8ef12327e1b8ed56b212f345db7b52bc7c2c22fd
    [npmPack] npm notice integrity:     sha512-Q6+JGqueQrsiD[...]nd3qBGf7OerDQ==

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 28, 2020

azure-resource-manager-schemas - 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 Aug 28, 2020

azure-sdk-for-net - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from bf75f46 with merge commit e52e85b. SDK Automation 13.0.17.20200909.5
    [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.Automanage [View full logs]  [Release SDK Changes]
      No Artifact Generated.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 28, 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 Aug 28, 2020

    azure-sdk-for-go - Release

    ️✔️ succeeded [Logs] [Expand Details]

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 28, 2020

    azure-sdk-for-python-track2 - Release

    ⚠️ warning [Logs] [Expand Details]
    • ⚠️ Generate from bf75f46 with merge commit e52e85b. SDK Automation 13.0.17.20200909.5
      Failed to close the generation pull request at https://github.com/AzureSDKAutomation/azure-sdk-for-python/pull/2016: HttpError: Reference does not exist, {"name":"HttpError","status":422,"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-length":"122","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 14 Sep 2020 03:15:42 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"422 Unprocessable Entity","strict-transport-security":"max-age=31536000; includeSubdomains; preload","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; format=json","x-github-request-id":"0405:E6C6:3605C60:40C99BB:5F5EE05E","x-ratelimit-limit":"5000","x-ratelimit-remaining":"4254","x-ratelimit-reset":"1600053382","x-ratelimit-used":"746","x-xss-protection":"1; mode=block"},"request":{"method":"DELETE","url":"https://api.github.com/repos/AzureSDKAutomation/azure-sdk-for-python/git/refs/heads/sdkAutomation/azure-mgmt-automanage@10633","headers":{"accept":"application/vnd.github.v3+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"token [REDACTED]","content-length":0},"request":{"validate":{"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest/reference/git#delete-a-reference"}
      [AutoRest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'ProxyResource' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'Account' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'AccountUpdate' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'AccountIdentity' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'AccountList' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfileAssignmentList' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfileAssignment' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfileAssignmentProperties' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfileAssignmentCompliance' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfilePreference' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfilePreferenceUpdate' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfilePreferenceProperties' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfilePreferenceVmBackup' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfilePreferenceAntiMalware' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ConfigurationProfilePreferenceList' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'Operation-display' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'Operation-properties' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'OperationList' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'Resource' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'TrackedResource' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ProxyResource' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ErrorResponse' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'ErrorAdditionalInfo' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      Failed to find any diff after autorest so no changed packages was found.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Aug 28, 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

    @shawncx
    Copy link
    Contributor

    shawncx commented Aug 31, 2020

    Please either remove location from resource or remove x-ms-mutability to fix track2 build issue. Actually your \Microsoft.Automanage\common\v1\definitions.json is duplicated with \common-types\resource-management\v2\types.json. Is there any reason to keep your own swagger for those basic types?

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @lirenhe
    Copy link
    Member

    lirenhe commented Sep 11, 2020

    @stowen-msft, please let me know if this PR is ready to merge.

    @stowen-msft
    Copy link
    Contributor Author

    Looks good to me, thank you!

    @lirenhe lirenhe merged commit e52e85b into master Sep 14, 2020
    nitegupt pushed a commit to nitegupt/azure-rest-api-specs that referenced this pull request Sep 25, 2020
    * Update readme.md
    
    * Update readme.python.md
    
    * Update readme.python.md
    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:
      [Hub Generated] Review request for Microsoft.DigitalTwins to add version stable/2020-10-31 (Azure#10653)
      [SRP] Introduce 2020-08-01-preview version. (Azure#10570)
      Update Readmes for Python for Automanage (Azure#10633)
      Incident entities (Azure#10648)
      Fix Billing Swagger (Azure#10276)
      Connected machine az cli (Azure#10640)
      [Azure Stack] Updates to Azs.AzureBridge.Admin spec (Azure#9035)
    @JackTn JackTn deleted the stowen-msft-automanage-updateReadmes branch August 9, 2021 10:16
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants