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

Adding AddBillingRoleAssignment API in 2020-05-01 version #11023

Closed
wants to merge 3 commits into from
Closed

Adding AddBillingRoleAssignment API in 2020-05-01 version #11023

wants to merge 3 commits into from

Conversation

asarkar84
Copy link
Contributor

@asarkar84 asarkar84 commented Oct 2, 2020

Adding AddBillingRoleAssignment API in 2020-05-01 version

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.

Anirban Sarkar added 2 commits October 2, 2020 13:03
Adding AddBillingRoleAssignment API in 2020-05-01 version
@asarkar84 asarkar84 requested a review from wilcobmsft as a code owner October 2, 2020 20:19
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Oct 2, 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 Oct 2, 2020

azure-sdk-for-go

⚠️ warning [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Oct 2, 2020

azure-sdk-for-java

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 8b50b26 with merge commit 52aed5f569a71979ab48b0da5e172b4de177da6c. SDK Automation 13.0.17.20200918.2
  • ️✔️sdk/billing/mgmt-v2017_02_27_preview [View full logs]  [Preview SDK Changes]
  • ️✔️sdk/billing/mgmt-v2017_04_24_preview [View full logs]  [Preview SDK Changes]
  • ️✔️sdk/billing/mgmt-v2018_03_01_preview [View full logs]  [Preview SDK Changes]
  • ⚠️sdk/billing/mgmt-v2018_11_01_preview [View full logs]  [Preview SDK Changes]
      [mvn] [ERROR] COMPILATION ERROR : 
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/implementation/PriceSheetsInner.java:[130,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
      [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
      [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
      [mvn]   reason: cannot infer type-variable(s) T,THeader
      [mvn]     (actual and formal argument lists differ in length)
      [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-billing: Compilation failure
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/implementation/PriceSheetsInner.java:[130,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
      [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
      [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
      [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
      [mvn] [ERROR]     (actual and formal argument lists differ in length)
      [mvn] [ERROR] -> [Help 1]
      [mvn] [ERROR] 
      [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [mvn] [ERROR] 
      [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    • ⚠️sdk/billing/mgmt-v2019_10_01_preview [View full logs]  [Preview SDK Changes]
        [mvn] [ERROR] COMPILATION ERROR : 
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/InvoicesInner.java:[277,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn]   reason: cannot infer type-variable(s) T,THeader
        [mvn]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/InvoicesInner.java:[508,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn]   reason: cannot infer type-variable(s) T,THeader
        [mvn]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/InvoicesInner.java:[760,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn]   reason: cannot infer type-variable(s) T,THeader
        [mvn]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/PriceSheetsInner.java:[146,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn]   reason: cannot infer type-variable(s) T,THeader
        [mvn]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/PriceSheetsInner.java:[303,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn]   reason: cannot infer type-variable(s) T,THeader
        [mvn]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-billing: Compilation failure: Compilation failure: 
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/InvoicesInner.java:[277,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
        [mvn] [ERROR]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/InvoicesInner.java:[508,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
        [mvn] [ERROR]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/InvoicesInner.java:[760,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
        [mvn] [ERROR]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/PriceSheetsInner.java:[146,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
        [mvn] [ERROR]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2019_10_01_preview/src/main/java/com/microsoft/azure/management/billing/v2019_10_01_preview/implementation/PriceSheetsInner.java:[303,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
        [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
        [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
        [mvn] [ERROR]     (actual and formal argument lists differ in length)
        [mvn] [ERROR] -> [Help 1]
        [mvn] [ERROR] 
        [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
        [mvn] [ERROR] 
        [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
        [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      • ⚠️sdk/billing/mgmt-v2020_05_01 [View full logs]  [Preview SDK Changes]
          [mvn] [ERROR] COMPILATION ERROR : 
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[623,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn]   reason: cannot infer type-variable(s) T,THeader
          [mvn]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[777,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn]   reason: cannot infer type-variable(s) T,THeader
          [mvn]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[1125,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn]   reason: cannot infer type-variable(s) T,THeader
          [mvn]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[1271,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn]   reason: cannot infer type-variable(s) T,THeader
          [mvn]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-billing: Compilation failure: Compilation failure: 
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[623,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
          [mvn] [ERROR]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[777,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
          [mvn] [ERROR]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[1125,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
          [mvn] [ERROR]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/billing/mgmt-v2020_05_01/src/main/java/com/microsoft/azure/management/billing/v2020_05_01/implementation/InvoicesInner.java:[1271,39] method getPostOrDeleteResultWithHeadersAsync in class com.microsoft.azure.AzureClient cannot be applied to given types;
          [mvn] [ERROR]   required: rx.Observable>,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   found: rx.Observable>,com.microsoft.azure.LongRunningOperationOptions,java.lang.reflect.Type,java.lang.Class
          [mvn] [ERROR]   reason: cannot infer type-variable(s) T,THeader
          [mvn] [ERROR]     (actual and formal argument lists differ in length)
          [mvn] [ERROR] -> [Help 1]
          [mvn] [ERROR] 
          [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [mvn] [ERROR] 
          [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Oct 2, 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 2, 2020

        azure-sdk-for-js

        ️✔️ succeeded [Logs] [Expand Details]
        • ️✔️ Generate from 8b50b26 with merge commit 52aed5f569a71979ab48b0da5e172b4de177da6c. SDK Automation 13.0.17.20200918.2
        • ️✔️@azure/arm-billing [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/billingManagementClient.js → ./dist/arm-billing.js...
          [npmPack] created ./dist/arm-billing.js in 660ms
          [npmPack] npm notice 
          [npmPack] npm notice package: @azure/arm-billing@2.2.0
          [npmPack] npm notice === Tarball Contents === 
          [npmPack] npm notice 1.8kB   esm/operations/address.js                           
          [npmPack] npm notice 481B    esm/models/addressMappers.js                        
          [npmPack] npm notice 3.5kB   esm/operations/agreements.js                        
          [npmPack] npm notice 1.0kB   esm/models/agreementsMappers.js                     
          [npmPack] npm notice 313.4kB dist/arm-billing.js                                 
          [npmPack] npm notice 112.8kB dist/arm-billing.min.js                             
          [npmPack] npm notice 1.9kB   esm/operations/availableBalances.js                 
          [npmPack] npm notice 1.0kB   esm/models/availableBalancesMappers.js              
          [npmPack] npm notice 7.4kB   esm/operations/billingAccounts.js                   
          [npmPack] npm notice 1.2kB   esm/models/billingAccountsMappers.js                
          [npmPack] npm notice 2.9kB   esm/billingManagementClient.js                      
          [npmPack] npm notice 2.5kB   esm/billingManagementClientContext.js               
          [npmPack] npm notice 3.3kB   esm/operations/billingPeriods.js                    
          [npmPack] npm notice 1.0kB   esm/models/billingPeriodsMappers.js                 
          [npmPack] npm notice 8.1kB   esm/operations/billingPermissions.js                
          [npmPack] npm notice 511B    esm/models/billingPermissionsMappers.js             
          [npmPack] npm notice 6.4kB   esm/operations/billingProfiles.js                   
          [npmPack] npm notice 1.1kB   esm/models/billingProfilesMappers.js                
          [npmPack] npm notice 2.8kB   esm/operations/billingPropertyOperations.js         
          [npmPack] npm notice 1.0kB   esm/models/billingPropertyOperationsMappers.js      
          [npmPack] npm notice 17.4kB  esm/operations/billingRoleAssignments.js            
          [npmPack] npm notice 1.1kB   esm/models/billingRoleAssignmentsMappers.js         
          [npmPack] npm notice 10.0kB  esm/operations/billingRoleDefinitions.js            
          [npmPack] npm notice 1.1kB   esm/models/billingRoleDefinitionsMappers.js         
          [npmPack] npm notice 14.3kB  esm/operations/billingSubscriptions.js              
          [npmPack] npm notice 1.2kB   esm/models/billingSubscriptionsMappers.js           
          [npmPack] npm notice 5.3kB   esm/operations/customers.js                         
          [npmPack] npm notice 1.0kB   esm/models/customersMappers.js                      
          [npmPack] npm notice 3.1kB   esm/operations/enrollmentAccounts.js                
          [npmPack] npm notice 1.1kB   esm/models/enrollmentAccountsMappers.js             
          [npmPack] npm notice 345B    esm/models/index.js                                 
          [npmPack] npm notice 1.0kB   esm/operations/index.js                             
          [npmPack] npm notice 5.0kB   esm/operations/instructions.js                      
          [npmPack] npm notice 1.0kB   esm/models/instructionsMappers.js                   
          [npmPack] npm notice 19.3kB  esm/operations/invoices.js                          
          [npmPack] npm notice 6.9kB   esm/operations/invoiceSections.js                   
          [npmPack] npm notice 1.1kB   esm/models/invoiceSectionsMappers.js                
          [npmPack] npm notice 1.2kB   esm/models/invoicesMappers.js                       
          [npmPack] npm notice 98.1kB  esm/models/mappers.js                               
          [npmPack] npm notice 2.3kB   esm/operations/operations.js                        
          [npmPack] npm notice 493B    esm/models/operationsMappers.js                     
          [npmPack] npm notice 5.8kB   esm/models/parameters.js                            
          [npmPack] npm notice 5.2kB   esm/operations/policies.js                          
          [npmPack] npm notice 1.0kB   esm/models/policiesMappers.js                       
          [npmPack] npm notice 12.5kB  esm/operations/products.js                          
          [npmPack] npm notice 1.2kB   esm/models/productsMappers.js                       
          [npmPack] npm notice 983B    rollup.config.js                                    
          [npmPack] npm notice 2.6kB   esm/operations/transactions.js                      
          [npmPack] npm notice 1.0kB   esm/models/transactionsMappers.js                   
          [npmPack] npm notice 1.6kB   package.json                                        
          [npmPack] npm notice 457B    tsconfig.json                                       
          [npmPack] npm notice 751B    esm/operations/address.d.ts.map                     
          [npmPack] npm notice 1.0kB   esm/operations/address.js.map                       
          [npmPack] npm notice 219B    esm/models/addressMappers.d.ts.map                  
          [npmPack] npm notice 232B    esm/models/addressMappers.js.map                    
          [npmPack] npm notice 1.6kB   esm/operations/agreements.d.ts.map                  
          [npmPack] npm notice 2.1kB   esm/operations/agreements.js.map                    
          [npmPack] npm notice 611B    esm/models/agreementsMappers.d.ts.map               
          [npmPack] npm notice 624B    esm/models/agreementsMappers.js.map                 
          [npmPack] npm notice 709.5kB dist/arm-billing.js.map                             
          [npmPack] npm notice 88.2kB  dist/arm-billing.min.js.map                         
          [npmPack] npm notice 819B    esm/operations/availableBalances.d.ts.map           
          [npmPack] npm notice 1.1kB   esm/operations/availableBalances.js.map             
          [npmPack] npm notice 612B    esm/models/availableBalancesMappers.d.ts.map        
          [npmPack] npm notice 625B    esm/models/availableBalancesMappers.js.map          
          [npmPack] npm notice 2.5kB   esm/operations/billingAccounts.d.ts.map             
          [npmPack] npm notice 3.9kB   esm/operations/billingAccounts.js.map               
          [npmPack] npm notice 660B    esm/models/billingAccountsMappers.d.ts.map          
          [npmPack] npm notice 673B    esm/models/billingAccountsMappers.js.map            
          [npmPack] npm notice 1.3kB   esm/billingManagementClient.d.ts.map                
          [npmPack] npm notice 2.0kB   esm/billingManagementClient.js.map                  
          [npmPack] npm notice 481B    esm/billingManagementClientContext.d.ts.map         
          [npmPack] npm notice 1.3kB   esm/billingManagementClientContext.js.map           
          [npmPack] npm notice 1.4kB   esm/operations/billingPeriods.d.ts.map              
          [npmPack] npm notice 2.1kB   esm/operations/billingPeriods.js.map                
          [npmPack] npm notice 619B    esm/models/billingPeriodsMappers.d.ts.map           
          [npmPack] npm notice 632B    esm/models/billingPeriodsMappers.js.map             
          [npmPack] npm notice 3.7kB   esm/operations/billingPermissions.d.ts.map          
          [npmPack] npm notice 4.8kB   esm/operations/billingPermissions.js.map            
          [npmPack] npm notice 244B    esm/models/billingPermissionsMappers.d.ts.map       
          [npmPack] npm notice 257B    esm/models/billingPermissionsMappers.js.map         
          [npmPack] npm notice 2.0kB   esm/operations/billingProfiles.d.ts.map             
          [npmPack] npm notice 3.2kB   esm/operations/billingProfiles.js.map               
          [npmPack] npm notice 634B    esm/models/billingProfilesMappers.d.ts.map          
          [npmPack] npm notice 647B    esm/models/billingProfilesMappers.js.map            
          [npmPack] npm notice 999B    esm/operations/billingPropertyOperations.d.ts.map   
          [npmPack] npm notice 1.6kB   esm/operations/billingPropertyOperations.js.map     

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Oct 2, 2020

        azure-sdk-for-net

        ️✔️ succeeded [Logs] [Expand Details]

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Oct 2, 2020

        azure-sdk-for-python

        - Breaking Change detected in SDK

        ⚠️ warning [Logs] [Expand Details]
        • ⚠️ Generate from 8b50b26 with merge commit 52aed5f569a71979ab48b0da5e172b4de177da6c. SDK Automation 13.0.17.20200918.2
        • ⚠️azure-mgmt-billing [View full logs]  [Preview SDK Changes] Breaking Change Detected
          [build_conf] INFO:packaging_tools:Building template azure-mgmt-billing
          [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-billing
          [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 96.563% size of original (original: 75230 chars, delta: 72644 chars)
          [ChangeLog] **Features**
          [ChangeLog] 
          [ChangeLog]   - Model ErrorDetails has a new parameter details
          [ChangeLog]   - Added operation InvoicesOperations.download_billing_subscription_invoice
          [ChangeLog]   - Added operation InvoicesOperations.get_by_id
          [ChangeLog]   - Added operation InvoicesOperations.list_by_billing_profile
          [ChangeLog]   - Added operation InvoicesOperations.download_multiple_modern_invoice
          [ChangeLog]   - Added operation InvoicesOperations.download_invoice
          [ChangeLog]   - Added operation InvoicesOperations.download_multiple_billing_subscription_invoice
          [ChangeLog]   - Added operation InvoicesOperations.list_by_billing_subscription
          [ChangeLog]   - Added operation InvoicesOperations.list_by_billing_account
          [ChangeLog]   - Added operation InvoicesOperations.get_by_subscription_and_invoice_id
          [ChangeLog]   - Added operation group PoliciesOperations
          [ChangeLog]   - Added operation group BillingProfilesOperations
          [ChangeLog]   - Added operation group ProductsOperations
          [ChangeLog]   - Added operation group BillingPropertyOperations
          [ChangeLog]   - Added operation group InvoiceSectionsOperations
          [ChangeLog]   - Added operation group BillingRoleAssignmentsOperations
          [ChangeLog]   - Added operation group TransactionsOperations
          [ChangeLog]   - Added operation group AddressOperations
          [ChangeLog]   - Added operation group BillingAccountsOperations
          [ChangeLog]   - Added operation group BillingPermissionsOperations
          [ChangeLog]   - Added operation group AvailableBalancesOperations
          [ChangeLog]   - Added operation group BillingRoleDefinitionsOperations
          [ChangeLog]   - Added operation group InstructionsOperations
          [ChangeLog]   - Added operation group AgreementsOperations
          [ChangeLog]   - Added operation group BillingSubscriptionsOperations
          [ChangeLog]   - Added operation group CustomersOperations
          [ChangeLog] 
          [ChangeLog] **Breaking changes**
          [ChangeLog] 
          [ChangeLog]   - Model EnrollmentAccount has a new signature
          [ChangeLog]   - Model Invoice has a new signature
          [ChangeLog]   - Removed operation InvoicesOperations.get_latest
          [ChangeLog]   - Removed operation InvoicesOperations.list

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Oct 2, 2020

        azure-sdk-for-python-track2

        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 2, 2020

        azure-resource-manager-schemas

        ⚠️ warning [Logs] [Expand Details]
        • ⚠️ Generate from 8b50b26 with merge commit 52aed5f569a71979ab48b0da5e172b4de177da6c. Schema Automation 13.0.17.20200918.2
          Failed to find any diff after autorest so no changed packages was found.

        @openapi-sdkautomation
        Copy link

        openapi-sdkautomation bot commented Oct 2, 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

        @markcowl markcowl added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Oct 2, 2020
        @markcowl
        Copy link
        Member

        markcowl commented Oct 2, 2020

        @asarkar84 Since you are adding new API, this requires an ARM review. Also, per the braking changes guidelines, any API change requires an update in the api-version.

        @azure-pipelines
        Copy link

        Azure Pipelines successfully started running 1 pipeline(s).

        @asarkar84
        Copy link
        Contributor Author

        asarkar84 commented Oct 2, 2020

        @asarkar84 Since you are adding new API, this requires an ARM review. Also, per the braking changes guidelines, any API change requires an update in the api-version.

        @markcowl Sure, I have updated the version number. Thanks!

        @@ -3460,6 +3460,150 @@
        }
        }
        },
        "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/createBillingRoleAssignment": {
        Copy link
        Member

        Choose a reason for hiding this comment

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

        createBillingRoleAssignment [](start = 71, length = 27)

        You are modifying an existing stable API version. As per https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#versioning, this is not allowed and requires a version bump.

        Copy link
        Contributor Author

        Choose a reason for hiding this comment

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

        We have added new apis to same version earlier in past 15 days: #10585

        Copy link
        Member

        Choose a reason for hiding this comment

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

        Yeah I think I will allow it given that we've created an expectation that this is ok.


        In reply to: 499105356 [](ancestors = 499105356)

        Copy link
        Contributor Author

        Choose a reason for hiding this comment

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

        Thank you! @majastrz

        @majastrz majastrz added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Oct 3, 2020
        }
        }
        },
        "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/createBillingRoleAssignment": {
        Copy link
        Member

        Choose a reason for hiding this comment

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

        createBillingRoleAssignment [](start = 145, length = 27)

        Why are we modeling this as a POST instead of a proper resource with PUT and GET and list?

        Copy link
        Contributor Author

        @asarkar84 asarkar84 Oct 3, 2020

        Choose a reason for hiding this comment

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

        The swagger already has the GET and List apis. We are currently adding an action to add the role assignments.
        We have introduced this as POST since we rely on an external source to store the role assignments and they do not support PUT (they do not accept any user defined values as of now.) We tried some workarounds at our end to store it locally but it was not working with concurrent updates etc.

        Copy link
        Contributor Author

        @asarkar84 asarkar84 Oct 3, 2020

        Choose a reason for hiding this comment

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

        That is the reason we did not publish this api along with other APIs. Our older version of API also has POST.
        We were able to introduce PUT apis for other entities but this one could not be done. We tried our best.

        Copy link
        Member

        Choose a reason for hiding this comment

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

        Makes sense.

        @majastrz majastrz added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review BreakingChangeReviewRequired labels Oct 3, 2020
        Copy link
        Member

        @majastrz majastrz left a comment

        Choose a reason for hiding this comment

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

        Signed off from ARM side.

        @asarkar84
        Copy link
        Contributor Author

        @markcowl We got the ARM sign off. Please take a look and merge the PR if it looks good. Thanks!

        @majastrz
        Copy link
        Member

        majastrz commented Oct 5, 2020

        Added back the breaking changes review label since there's a disagreement regarding their involvement.

        @markcowl markcowl assigned akning-ms and unassigned markcowl Oct 14, 2020
        @asarkar84 asarkar84 closed this Oct 15, 2020
        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.

        4 participants