Skip to content

[Microsoft.Billing] Add billing instructions API.#8045

Merged
raych1 merged 4 commits intoAzure:masterfrom
wilcobmsft:wilcob/billingInstructions
Jan 6, 2020
Merged

[Microsoft.Billing] Add billing instructions API.#8045
raych1 merged 4 commits intoAzure:masterfrom
wilcobmsft:wilcob/billingInstructions

Conversation

@wilcobmsft
Copy link
Member

@wilcobmsft wilcobmsft commented Dec 30, 2019

Latest improvements:

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

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Dec 30, 2019

azure-sdk-for-java - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 01ef4a8 with merge commit 976254f. SDK Automation 13.0.17.20191226.1
  • ️✔️sdk/billing/mgmt-v2017_02_27_preview [Logs]  [Release SDK Changes]
  • ️✔️sdk/billing/mgmt-v2017_04_24_preview [Logs]  [Release SDK Changes]
  • ️✔️sdk/billing/mgmt-v2018_03_01_preview [Logs]  [Release SDK Changes]
  • ⚠️sdk/billing/mgmt-v2018_11_01_preview [Logs]  [Release 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 [Logs]  [Release 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/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/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

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Dec 30, 2019

      azure-sdk-for-js - Release

      ️✔️ succeeded [Logs] [Expand Details]
      • ️✔️ Generate from 01ef4a8 with merge commit 976254f. SDK Automation 13.0.17.20191226.1
      • ️✔️@azure/arm-billing [Logs]  [Release SDK Changes]
        [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] 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 739ms

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Dec 30, 2019

      azure-sdk-for-go - Release

      ⚠️ warning [Logs] [Expand Details]
      • ⚠️ Generate from 01ef4a8 with merge commit 976254f. SDK Automation 13.0.17.20191226.1
      • ⚠️preview/billing/mgmt/2017-02-27-preview [Logs
          No file is changed.
        • ⚠️preview/billing/mgmt/2017-04-24-preview [Logs
            No file is changed.
          • ⚠️preview/billing/mgmt/2018-03-01-preview [Logs
              No file is changed.
            • ⚠️preview/billing/mgmt/2018-11-01-preview [Logs
                No file is changed.

              @openapi-sdkautomation
              Copy link

              openapi-sdkautomation bot commented Dec 30, 2019

              azure-sdk-for-python - Release

              ️✔️ succeeded [Logs] [Expand Details]
              • ️✔️ Generate from 01ef4a8 with merge commit 976254f. SDK Automation 13.0.17.20191226.1
              • ️✔️azure-mgmt-billing [Logs]  [Release SDK Changes]
                [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)

              @openapi-sdkautomation
              Copy link

              openapi-sdkautomation bot commented Dec 30, 2019

              azure-sdk-for-net - Release

              ️✔️ succeeded [Logs] [Expand Details]

              @wilcobmsft wilcobmsft force-pushed the wilcob/billingInstructions branch from 3536593 to 48725e5 Compare December 30, 2019 21:41
              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @wilcobmsft wilcobmsft force-pushed the wilcob/billingInstructions branch from 48725e5 to 24c80c0 Compare December 30, 2019 21:43
              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @wilcobmsft wilcobmsft force-pushed the wilcob/billingInstructions branch from 24c80c0 to 449b82a Compare December 30, 2019 21:53
              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @wilcobmsft wilcobmsft force-pushed the wilcob/billingInstructions branch from 2c4390b to c4adf6b Compare December 30, 2019 22:52
              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              5 similar comments
              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              }
              },
              "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingInstructions/{billingInstructionName}": {
              "get": {
              Copy link
              Member

              Choose a reason for hiding this comment

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

              Does this support DELETE?

              Copy link
              Member Author

              Choose a reason for hiding this comment

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

              Not at this time, no. Eventually we may add support for soft-deletes, but that's out-of-scope for now.

              Copy link
              Member

              Choose a reason for hiding this comment

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

              Discussed offline. DELETE support will be added when ready, but I'm signing off regardless to unblock testing.

              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @azure-pipelines
              Copy link

              Azure Pipelines successfully started running 1 pipeline(s).

              @anthony-c-martin anthony-c-martin added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jan 2, 2020
              @raych1
              Copy link
              Member

              raych1 commented Jan 3, 2020

              @anthony-c-martin , you requested the changes. Can you please approve this PR?

              @anthony-c-martin
              Copy link
              Member

              @anthony-c-martin , you requested the changes. Can you please approve this PR?

              Oops, I've approved

              @raych1 raych1 merged commit 976254f into Azure:master Jan 6, 2020
              golddove added a commit that referenced this pull request Jul 28, 2022
              …ion preview/2022-07-01-preview (#8045)
              
              * Microsoft.StorageMover add 200 response code to Delete operations (#8010)
              
              * Microsoft.StorageMover - Make parent of required properties also required (#8034)
              
              * Update examples
              raych1 pushed a commit that referenced this pull request Jul 29, 2022
              …ion preview/2022-07-01-preview (#8045) (#19992)
              
              * Microsoft.StorageMover add 200 response code to Delete operations (#8010)
              
              * Microsoft.StorageMover - Make parent of required properties also required (#8034)
              
              * Update examples
              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

              Projects

              None yet

              Development

              Successfully merging this pull request may close these issues.

              4 participants