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

[Draft] Capacity RP Quota APIs for GA #11195

Closed
wants to merge 39 commits into from
Closed

[Draft] Capacity RP Quota APIs for GA #11195

wants to merge 39 commits into from

Conversation

rahuls-microsoft
Copy link
Member

@rahuls-microsoft rahuls-microsoft commented Oct 14, 2020

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

  1. Capacity RP Quota APIs for GA
  2. Removed AutoQuotaIncrease APIs from stable. It remains in Preview.

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
  • Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • 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 Oct 14, 2020

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌LintDiff: 1 Errors, 0 Warnings failed [Detail]
Rule Message
AutoRest Exception "details":" "Channel": "fatal",
"Text": "swagger-document-override/md-override-loader - FAILED" "Channel": "fatal",
"Text": "Error: Could not read 'file:///home/vsts/work/1/azure-rest-api-specs/specification/sql/resource-manager/Microsoft.Sql/preview/2020-08-01-preview/Databases.json'."(node:6328) UnhandledPromiseRejectionWarning: Error: Could not read 'file:///home/vsts/work/1/azure-rest-api-specs/specification/sql/resource-manager/Microsoft.Sql/preview/2020-08-01-preview/Databases.json'. at ReadThroughDataSource.ReadStrict (/home/vsts/.autorest/@microsoft.azure_autorest-core@2.0.4417/node_modules/@microsoft.azure/autorest-core/dist/lib/data-store/data-store.js:26:19)",
"location":"https://github.com/Azure/azure-rest-api-specs/blob/d5c462b01befb738f24bc6b0e5830e4c73a1b48d/specification/sql/resource-manager/readme.md"
️❌Avocado: 46 Errors, 2 Warnings failed [Detail] Only 10 items are listed, please refer to log for more details.
Rule Message
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/sql/resource-manager/readme.md
json: preview/2020-08-01-preview/examples/UpgradeDataWarehouse.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/sql/resource-manager/readme.md
json: preview/2020-08-01-preview/examples/ResumeDatabase.json
NO_JSON_FILE_FOUND The JSON file is not found but it is referenced from the readme file.
readme: specification/sql/resource-manager/readme.md
json: Microsoft.Sql/preview/2020-08-01-preview/ElasticPools.json
UNREFERENCED_JSON_FILE The swagger JSON file is not referenced from the readme file.
readme: specification/sql/resource-manager/readme.md
json: Microsoft.Sql/preview/2020-08-01-preview/databases.json
UNREFERENCED_JSON_FILE The swagger JSON file is not referenced from the readme file.
readme: specification/sql/resource-manager/readme.md
json: Microsoft.Sql/preview/2020-08-01-preview/elasticPools.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/sql/resource-manager/readme.md
json: preview/2020-08-01-preview/examples/CreateDatabaseCopyMode.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/sql/resource-manager/readme.md
json: preview/2020-08-01-preview/examples/CreateDatabaseDefaultMode.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/sql/resource-manager/readme.md
json: preview/2020-08-01-preview/examples/CreateDatabaseMaintenanceConfiguration.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/sql/resource-manager/readme.md
json: preview/2020-08-01-preview/examples/CreateDatabaseMin.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/sql/resource-manager/readme.md
json: preview/2020-08-01-preview/examples/CreateDatabaseNamedReplica.json
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️⚠️[Staging] Cross Version BreakingChange (Base on preview version): 24 Warnings warning [Detail] Only 10 items are listed, please refer to log for more details.

Rule Message
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Capacity/autoQuotaIncrease' removed or restructured?
New: azure-rest-api-specs/blob/d5c462b01befb738f24bc6b0e5830e4c73a1b48d/
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L384:5
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SeverityTypes' removed or renamed?
New: Microsoft.Capacity/stable/2020-10-25/quota.json#L382:3
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L467:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ContactMethod' removed or renamed?
New: Microsoft.Capacity/stable/2020-10-25/quota.json#L382:3
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L467:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AqiState' removed or renamed?
New: Microsoft.Capacity/stable/2020-10-25/quota.json#L382:3
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L467:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'aqiSettings' removed or renamed?
New: Microsoft.Capacity/stable/2020-10-25/quota.json#L382:3
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L467:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EmailActions' removed or renamed?
New: Microsoft.Capacity/stable/2020-10-25/quota.json#L382:3
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L467:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Actions' removed or renamed?
New: Microsoft.Capacity/stable/2020-10-25/quota.json#L382:3
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L467:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SupportRequestAction' removed or renamed?
New: Microsoft.Capacity/stable/2020-10-25/quota.json#L382:3
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L467:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AutoQuotaIncreaseDetail' removed or renamed?
New: Microsoft.Capacity/stable/2020-10-25/quota.json#L382:3
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L467:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'autoQuotaIncreaseSettings' removed or renamed?
New: Microsoft.Capacity/stable/2020-10-25/quota.json#L382:3
Old: Microsoft.Capacity/preview/2019-07-19/quota.json#L467:3
️⚠️[Staging] Cross Version BreakingChange (Base on stable version): 123 Warnings warning [Detail] Only 10 items are listed, please refer to log for more details.

Rule Message
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/databases' removed or restructured?
New: azure-rest-api-specs/blob/d5c462b01befb738f24bc6b0e5830e4c73a1b48d/
Old: Microsoft.Sql/stable/2014-04-01/databases.json#L542:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/databases/{databaseName}' removed or restructured?
New: azure-rest-api-specs/blob/d5c462b01befb738f24bc6b0e5830e4c73a1b48d/
Old: Microsoft.Sql/stable/2014-04-01/databases.json#L492:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/databases/{databaseName}' removed or restructured?
New: azure-rest-api-specs/blob/d5c462b01befb738f24bc6b0e5830e4c73a1b48d/
Old: Microsoft.Sql/stable/2014-04-01/databases.json#L396:5
⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'TransparentDataEncryptionNameParameter' removed or renamed?
New: Microsoft.Sql/preview/2020-08-01-preview/elasticPools.json#L521:3
Old: Microsoft.Sql/stable/2014-04-01/elasticPools.json#L390:3
⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'TransparentDataEncryptionNameParameter' removed or renamed?
New: Microsoft.Sql/preview/2020-08-01-preview/databases.json#L1567:3
Old: Microsoft.Sql/stable/2014-04-01/databases.json#L998:3
⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'DatabaseExpandParameter' removed or renamed?
New: Microsoft.Sql/preview/2020-08-01-preview/databases.json#L1567:3
Old: Microsoft.Sql/stable/2014-04-01/databases.json#L998:3
⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'DatabaseExpandParameter' removed or renamed?
New: Microsoft.Sql/preview/2020-08-01-preview/elasticPools.json#L521:3
Old: Microsoft.Sql/stable/2014-04-01/elasticPools.json#L390:3
⚠️ 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Sql/preview/2020-08-01-preview/databases.json#L92:11
⚠️ 1011 - AddingResponseCode The new version adds a response code 'default'.
New: Microsoft.Sql/preview/2020-08-01-preview/databases.json#L141:11
⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
New: Microsoft.Sql/preview/2020-08-01-preview/elasticPools.json#L216:11
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rahuls-microsoft rahuls-microsoft changed the title Capacity RP Quota APIs for GA [Draft] Capacity RP Quota APIs for GA Oct 14, 2020
@rahuls-microsoft rahuls-microsoft marked this pull request as draft October 14, 2020 18:53
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Oct 14, 2020

Azure CLI Extension Generation

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 Oct 14, 2020

azure-sdk-for-go

⚠️ warning [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Oct 14, 2020

azure-sdk-for-js

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from d126824 with merge commit 9ed7f89f436a6595276436cd782047a199cfe122. SDK Automation 13.0.17.20200918.2
  • ️✔️@azure/arm-reservations [View full logs]  [Preview 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/azureReservationAPI.js → ./dist/arm-reservations.js...
    [npmPack] created ./dist/arm-reservations.js in 374ms
    [npmPack] npm notice 
    [npmPack] npm notice package: @azure/arm-reservations@5.1.0
    [npmPack] npm notice === Tarball Contents === 
    [npmPack] npm notice 99.8kB  dist/arm-reservations.js                     
    [npmPack] npm notice 32.4kB  dist/arm-reservations.min.js                 
    [npmPack] npm notice 3.8kB   esm/azureReservationAPI.js                   
    [npmPack] npm notice 2.2kB   esm/azureReservationAPIContext.js            
    [npmPack] npm notice 345B    esm/models/index.js                          
    [npmPack] npm notice 510B    esm/operations/index.js                      
    [npmPack] npm notice 38.5kB  esm/models/mappers.js                        
    [npmPack] npm notice 2.2kB   esm/operations/operation.js                  
    [npmPack] npm notice 475B    esm/models/operationMappers.js               
    [npmPack] npm notice 3.4kB   esm/models/parameters.js                     
    [npmPack] npm notice 11.5kB  esm/operations/quota.js                      
    [npmPack] npm notice 886B    esm/models/quotaMappers.js                   
    [npmPack] npm notice 3.8kB   esm/operations/quotaRequestStatus.js         
    [npmPack] npm notice 845B    esm/models/quotaRequestStatusMappers.js      
    [npmPack] npm notice 12.0kB  esm/operations/reservation.js                
    [npmPack] npm notice 843B    esm/models/reservationMappers.js             
    [npmPack] npm notice 3.1kB   esm/operations/reservationOrder.js           
    [npmPack] npm notice 818B    esm/models/reservationOrderMappers.js        
    [npmPack] npm notice 989B    rollup.config.js                             
    [npmPack] npm notice 1.7kB   package.json                                 
    [npmPack] npm notice 457B    tsconfig.json                                
    [npmPack] npm notice 200.6kB dist/arm-reservations.js.map                 
    [npmPack] npm notice 28.2kB  dist/arm-reservations.min.js.map             
    [npmPack] npm notice 1.5kB   esm/azureReservationAPI.d.ts.map             
    [npmPack] npm notice 2.2kB   esm/azureReservationAPI.js.map               
    [npmPack] npm notice 426B    esm/azureReservationAPIContext.d.ts.map      
    [npmPack] npm notice 1.2kB   esm/azureReservationAPIContext.js.map        
    [npmPack] npm notice 15.6kB  esm/models/index.d.ts.map                    
    [npmPack] npm notice 225B    esm/operations/index.d.ts.map                
    [npmPack] npm notice 126B    esm/models/index.js.map                      
    [npmPack] npm notice 240B    esm/operations/index.js.map                  
    [npmPack] npm notice 2.2kB   esm/models/mappers.d.ts.map                  
    [npmPack] npm notice 21.7kB  esm/models/mappers.js.map                    
    [npmPack] npm notice 1.0kB   esm/operations/operation.d.ts.map            
    [npmPack] npm notice 1.4kB   esm/operations/operation.js.map              
    [npmPack] npm notice 226B    esm/models/operationMappers.d.ts.map         
    [npmPack] npm notice 239B    esm/models/operationMappers.js.map           
    [npmPack] npm notice 821B    esm/models/parameters.d.ts.map               
    [npmPack] npm notice 2.6kB   esm/models/parameters.js.map                 
    [npmPack] npm notice 2.7kB   esm/operations/quota.d.ts.map                
    [npmPack] npm notice 4.7kB   esm/operations/quota.js.map                  
    [npmPack] npm notice 447B    esm/models/quotaMappers.d.ts.map             
    [npmPack] npm notice 460B    esm/models/quotaMappers.js.map               
    [npmPack] npm notice 1.8kB   esm/operations/quotaRequestStatus.d.ts.map   
    [npmPack] npm notice 2.3kB   esm/operations/quotaRequestStatus.js.map     
    [npmPack] npm notice 440B    esm/models/quotaRequestStatusMappers.d.ts.map
    [npmPack] npm notice 453B    esm/models/quotaRequestStatusMappers.js.map  
    [npmPack] npm notice 3.3kB   esm/operations/reservation.d.ts.map          
    [npmPack] npm notice 6.1kB   esm/operations/reservation.js.map            
    [npmPack] npm notice 440B    esm/models/reservationMappers.d.ts.map       
    [npmPack] npm notice 453B    esm/models/reservationMappers.js.map         
    [npmPack] npm notice 1.4kB   esm/operations/reservationOrder.d.ts.map     
    [npmPack] npm notice 1.9kB   esm/operations/reservationOrder.js.map       
    [npmPack] npm notice 423B    esm/models/reservationOrderMappers.d.ts.map  
    [npmPack] npm notice 436B    esm/models/reservationOrderMappers.js.map    
    [npmPack] npm notice 3.3kB   README.md                                    
    [npmPack] npm notice 2.9kB   esm/azureReservationAPI.d.ts                 
    [npmPack] npm notice 5.7kB   src/azureReservationAPI.ts                   
    [npmPack] npm notice 653B    esm/azureReservationAPIContext.d.ts          
    [npmPack] npm notice 2.0kB   src/azureReservationAPIContext.ts            
    [npmPack] npm notice 44.2kB  esm/models/index.d.ts                        
    [npmPack] npm notice 194B    esm/operations/index.d.ts                    
    [npmPack] npm notice 42.5kB  src/models/index.ts                          
    [npmPack] npm notice 478B    src/operations/index.ts                      
    [npmPack] npm notice 2.9kB   esm/models/mappers.d.ts                      
    [npmPack] npm notice 30.2kB  src/models/mappers.ts                        
    [npmPack] npm notice 2.0kB   esm/operations/operation.d.ts                
    [npmPack] npm notice 4.0kB   src/operations/operation.ts                  
    [npmPack] npm notice 165B    esm/models/operationMappers.d.ts             
    [npmPack] npm notice 442B    src/models/operationMappers.ts               
    [npmPack] npm notice 977B    esm/models/parameters.d.ts                   
    [npmPack] npm notice 3.4kB   src/models/parameters.ts                     
    [npmPack] npm notice 9.7kB   esm/operations/quota.d.ts                    
    [npmPack] npm notice 15.8kB  src/operations/quota.ts                      
    [npmPack] npm notice 576B    esm/models/quotaMappers.d.ts                 
    [npmPack] npm notice 895B    src/models/quotaMappers.ts                   
    [npmPack] npm notice 4.7kB   esm/operations/quotaRequestStatus.d.ts       
    [npmPack] npm notice 8.3kB   src/operations/quotaRequestStatus.ts         
    [npmPack] npm notice 535B    esm/models/quotaRequestStatusMappers.d.ts    
    [npmPack] npm notice 835B    src/models/quotaRequestStatusMappers.ts      
    [npmPack] npm notice 9.2kB   esm/operations/reservation.d.ts              
    [npmPack] npm notice 17.5kB  src/operations/reservation.ts                
    [npmPack] npm notice 533B    esm/models/reservationMappers.d.ts           
    [npmPack] npm notice 844B    src/models/reservationMappers.ts             
    [npmPack] npm notice 3.2kB   esm/operations/reservationOrder.d.ts         
    [npmPack] npm notice 6.2kB   src/operations/reservationOrder.ts           
    [npmPack] npm notice 508B    esm/models/reservationOrderMappers.d.ts      

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Oct 14, 2020

azure-sdk-for-java

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 Oct 14, 2020

azure-sdk-for-python

- Breaking Change detected in SDK

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from d126824 with merge commit 9ed7f89f436a6595276436cd782047a199cfe122. SDK Automation 13.0.17.20200918.2
  • ⚠️azure-mgmt-reservations [View full logs]  [Preview SDK Changes] Breaking Change Detected
    [build_conf] INFO:packaging_tools:Building template azure-mgmt-reservations
    [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-reservations
    [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] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)
    [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
    [ChangeLog] Size of delta 19.511% size of original (original: 21439 chars, delta: 4183 chars)
    [ChangeLog] **Features**
    [ChangeLog] 
    [ChangeLog]   - Model Catalog has a new parameter capabilities
    [ChangeLog]   - Model Catalog has a new parameter tier
    [ChangeLog]   - Model Catalog has a new parameter size
    [ChangeLog]   - Model ReservationResponse has a new parameter kind
    [ChangeLog] 
    [ChangeLog] **Breaking changes**
    [ChangeLog] 
    [ChangeLog]   - Operation ReservationOrderOperations.get has a new signature
    [ChangeLog]   - Operation ReservationOperations.get has a new signature
    [ChangeLog]   - Operation AzureReservationAPIOperationsMixin.get_catalog has a new signature
    [ChangeLog]   - Operation ReservationOperations.update has a new signature
    [ChangeLog]   - Model Catalog no longer has parameter sku_properties
    [ChangeLog]   - Model Catalog no longer has parameter billing_plans
    [ChangeLog]   - Model ReservationOrderResponse no longer has parameter plan_information
    [ChangeLog]   - Model ReservationOrderResponse no longer has parameter billing_plan
    [ChangeLog]   - Model ReservationProperties no longer has parameter instance_flexibility
    [ChangeLog]   - Model ReservationProperties no longer has parameter billing_plan
    [ChangeLog]   - Model ReservationProperties no longer has parameter sku_description
    [ChangeLog]   - Model ReservationProperties no longer has parameter renew_source
    [ChangeLog]   - Model ReservationProperties no longer has parameter billing_scope_id
    [ChangeLog]   - Model ReservationProperties no longer has parameter reserved_resource_type
    [ChangeLog]   - Model ReservationProperties no longer has parameter renew_properties
    [ChangeLog]   - Model ReservationProperties no longer has parameter renew
    [ChangeLog]   - Model ReservationProperties no longer has parameter term
    [ChangeLog]   - Model ReservationProperties no longer has parameter renew_destination
    [ChangeLog]   - Model Patch no longer has parameter name
    [ChangeLog]   - Model Patch no longer has parameter renew
    [ChangeLog]   - Model Patch no longer has parameter instance_flexibility
    [ChangeLog]   - Model Patch no longer has parameter renew_properties
    [ChangeLog]   - Removed operation ReservationOrderOperations.purchase
    [ChangeLog]   - Removed operation ReservationOrderOperations.calculate
    [ChangeLog]   - Removed operation ReservationOperations.available_scopes
    [ChangeLog]   - Removed operation group AutoQuotaIncreaseOperations

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Oct 14, 2020

azure-sdk-for-net

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Oct 14, 2020

azure-sdk-for-python

- Breaking Change detected in SDK

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from d126824 with merge commit 9ed7f89f436a6595276436cd782047a199cfe122. SDK Automation 13.0.17.20200918.2
  • ⚠️azure-mgmt-reservations [View full logs]  [Preview SDK Changes] Breaking Change Detected
    [build_conf] INFO:packaging_tools:Building template azure-mgmt-reservations
    [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-reservations
    [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] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)
    [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
    [ChangeLog] Size of delta 19.511% size of original (original: 21439 chars, delta: 4183 chars)
    [ChangeLog] **Features**
    [ChangeLog] 
    [ChangeLog]   - Model Catalog has a new parameter tier
    [ChangeLog]   - Model Catalog has a new parameter size
    [ChangeLog]   - Model Catalog has a new parameter capabilities
    [ChangeLog]   - Model ReservationResponse has a new parameter kind
    [ChangeLog] 
    [ChangeLog] **Breaking changes**
    [ChangeLog] 
    [ChangeLog]   - Operation ReservationOrderOperations.get has a new signature
    [ChangeLog]   - Operation ReservationOperations.get has a new signature
    [ChangeLog]   - Operation ReservationOperations.update has a new signature
    [ChangeLog]   - Operation AzureReservationAPIOperationsMixin.get_catalog has a new signature
    [ChangeLog]   - Model Patch no longer has parameter instance_flexibility
    [ChangeLog]   - Model Patch no longer has parameter renew_properties
    [ChangeLog]   - Model Patch no longer has parameter name
    [ChangeLog]   - Model Patch no longer has parameter renew
    [ChangeLog]   - Model Catalog no longer has parameter billing_plans
    [ChangeLog]   - Model Catalog no longer has parameter sku_properties
    [ChangeLog]   - Model ReservationOrderResponse no longer has parameter plan_information
    [ChangeLog]   - Model ReservationOrderResponse no longer has parameter billing_plan
    [ChangeLog]   - Model ReservationProperties no longer has parameter instance_flexibility
    [ChangeLog]   - Model ReservationProperties no longer has parameter reserved_resource_type
    [ChangeLog]   - Model ReservationProperties no longer has parameter term
    [ChangeLog]   - Model ReservationProperties no longer has parameter renew_source
    [ChangeLog]   - Model ReservationProperties no longer has parameter sku_description
    [ChangeLog]   - Model ReservationProperties no longer has parameter billing_plan
    [ChangeLog]   - Model ReservationProperties no longer has parameter renew
    [ChangeLog]   - Model ReservationProperties no longer has parameter billing_scope_id
    [ChangeLog]   - Model ReservationProperties no longer has parameter renew_destination
    [ChangeLog]   - Model ReservationProperties no longer has parameter renew_properties
    [ChangeLog]   - Removed operation ReservationOrderOperations.purchase
    [ChangeLog]   - Removed operation ReservationOrderOperations.calculate
    [ChangeLog]   - Removed operation ReservationOperations.available_scopes
    [ChangeLog]   - Removed operation group AutoQuotaIncreaseOperations

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Oct 14, 2020

azure-resource-manager-schemas

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from d126824 with merge commit 64775761975948572bb7ead68d70addc033ea02c. Schema Automation 13.0.17.20200918.2
    [reservations][after_scripts|node] configure: WARNING: secure clearing/zeroing of memory is not supported by the selected crypto backend
    [reservations][after_scripts|node] configure: WARNING: secure clearing/zeroing of memory is not supported by the selected crypto backend
    [reservations][after_scripts|node] configure: WARNING: secure clearing/zeroing of memory is not supported by the selected crypto backend
  • ️✔️reservations [View full logs]  [Preview Schema Changes]
      [after_scripts|node] PostProcessor finished successfully.
      [after_scripts|node]   5782 passing (1m)
      AzureResourceSchema has no registered package commands.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Oct 14, 2020

    Trenton Generation

    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

    @raych1
    Copy link
    Member

    raych1 commented Oct 15, 2020

    @rahuls-microsoft , please remove notreadyforreview label when the PR is moving out of draft state and ready for review.

    @corquiri
    Copy link
    Contributor

    There are 2 services behind Microsoft.Capacity :
    i) quota service
    ii) reservation service
    Each service maintains different api version but they are behind the same provider namespace.
    This PR merges 2 swagger which has different API versions and generates SDK
    Me and Rahul checked the generated SDK and verified that each API uses its own api-version

    @raych1 do you see any issue with this structure ? having 2 services behind same namespace ?

    @rahuls-microsoft
    Copy link
    Member Author

    The build has started failing after merge from master.
    Are other PRs having similar issues?
    Please suggest how to resolve the build failures for - sql/resource-manager
    he example JSON file is not referenced from the swagger file.
    readme: specification/sql/resource-manager/readme.md
    json: preview/2020-08-01-preview/examples/CreateDatabaseMaintenanceConfiguration.json

    @raych1
    Copy link
    Member

    raych1 commented Dec 2, 2020

    The build has started failing after merge from master.
    Are other PRs having similar issues?
    Please suggest how to resolve the build failures for - sql/resource-manager
    he example JSON file is not referenced from the swagger file.
    readme: specification/sql/resource-manager/readme.md
    json: preview/2020-08-01-preview/examples/CreateDatabaseMaintenanceConfiguration.json

    @rahuls-microsoft , please fix the avocado check failures firstly. Regard to the reference issue, either reference it by x-ms-examples property or remove the example file if that is not used any more.

    @rahuls-microsoft
    Copy link
    Member Author

    rahuls-microsoft commented Dec 2, 2020

    The build has started failing after merge from master.
    Are other PRs having similar issues?
    Please suggest how to resolve the build failures for - sql/resource-manager
    he example JSON file is not referenced from the swagger file.
    readme: specification/sql/resource-manager/readme.md
    json: preview/2020-08-01-preview/examples/CreateDatabaseMaintenanceConfiguration.json

    @rahuls-microsoft , please fix the avocado check failures firstly. Regard to the reference issue, either reference it by x-ms-examples property or remove the example file if that is not used any more.

    1. It's coming from sql/resource-manager. It's not my change. It came from merge from master.
      All the errors are from - specification/sql/resource-manager/Microsoft.Sql/preview/2020-08-01-preview ,
      specification/synapse/data-plane/Microsoft.Synapse/preview/2020-08-01-preview/

    Q1. What can I do about other team's update from master branch?
    Or something went wrong during merge from master?

    1. Regarding this issue - The capacity RP is shared by 2 teams - Reservation and Quota team. So, we have different versions of API. Similarly, compute and networking teams might have different versions of APIs based on the team schedule.
      How do we address this case?
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.readme: specification/reservations/resource-manager/readme.mdtag: specification/reservations/resource-manager/readme.md#tag-package-2020-10-25

    @rahuls-microsoft
    Copy link
    Member Author

    Created a new fork from master and new Pull request - #11930.
    I will close this pull request.

    @rahuls-microsoft
    Copy link
    Member Author

    Created a new fork from master and new Pull request - #11930.
    I will close this pull request.
    It looks like the errors were do to bad merge from master.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    CI-BreakingChange-Go CI-BreakingChange-Python NotReadyForReview <valid label in PR review process>It is in draft for swagger or not swagger PR
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants