[Hub Generated] Review request for Microsoft.Billing to add version preview/2018-11-01-preview#6041
Conversation
Automation for azure-sdk-for-rubyThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-jsA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-pythonA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
|
Can one of the admins verify this patch? |
Automation for azure-sdk-for-javaEncountered a Subprocess error: (azure-sdk-for-java)
Command: ['/usr/local/bin/autorest', '/tmp/tmpj891cdj6/rest/specification/billing/resource-manager/readme.md', '--perform-load=false', '--swagger-to-sdk', '--output-artifact=configuration.json', '--input-file=foo', '--output-folder=/tmp/tmpo565k5q6'] AutoRest code generation utility [version: 2.0.4283; node: v8.12.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
Failure:
Error: Unable to start AutoRest Core from /root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core
Error: Unable to start AutoRest Core from /root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core
at main (/opt/node_modules/autorest/dist/app.js:232:19)
at <anonymous>
/root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core/dist/app.js:33
autorest_core_1.Shutdown();
^
ReferenceError: autorest_core_1 is not defined
at process.on (/root/.autorest/@microsoft.azure_autorest-core@2.0.4373/node_modules/@microsoft.azure/autorest-core/dist/app.js:33:5)
at emitOne (events.js:121:20)
at process.emit (events.js:211:7)
at process.emit (/node_modules/source-map-support/source-map-support.js:439:21)
fs.js:612
return binding.close(fd);
^
Error: EBADF: bad file descriptor, close
at Object.fs.closeSync (fs.js:612:18)
at StaticVolumeFile.shutdown (/opt/node_modules/autorest/dist/static-loader.js:352:10)
at StaticFilesystem.shutdown (/opt/node_modules/autorest/dist/static-loader.js:406:17)
at process.exit.n [as exit] (/opt/node_modules/autorest/dist/static-loader.js:169:11)
at printErrorAndExit (/node_modules/source-map-support/source-map-support.js:423:11)
at process.emit (/node_modules/source-map-support/source-map-support.js:435:16)
at process._fatalException (bootstrap_node.js:391:26) |
...ification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json
Outdated
Show resolved
Hide resolved
REST Spec PR 'Azure/azure-rest-api-specs#6041' REST Spec PR Author 'msft-adrianma' REST Spec PR Last commit
Automation for azure-sdk-for-netA PR has been created for you: |
...urce-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json
Outdated
Show resolved
Hide resolved
...ification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json
Outdated
Show resolved
Hide resolved
...urce-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json
Outdated
Show resolved
Hide resolved
REST Spec PR 'Azure/azure-rest-api-specs#6041' REST Spec PR Author 'msft-adrianma' REST Spec PR Last commit
| "BillingAccountUpdateProperties": { | ||
| "description": "The properties of the billing account that can be updated.", | ||
| "properties": { | ||
| "address": { |
There was a problem hiding this comment.
One final thing:
The body of patch should replicate the resource but only include the fields being patched. In this case you have:
{
'address':...
}
but it should be:
{
'properties':{
'address': ...
}
}
REST Spec PR 'Azure/azure-rest-api-specs#6041' REST Spec PR Author 'msft-adrianma' REST Spec PR Last commit
|
This is good to be merged as soon as CI is green |
|
@AutorestCI regenerate azure-sdk-for-go |
If you are a MSFT employee you can view your work branch via this link.
Contribution checklist: