Conversation
In Testing, Please Ignore[Logs] (Generated from a48d205, Iteration 8)
|
Automation for azure-sdk-for-pythonA PR has been created for you: |
|
Can one of the admins verify this patch? |
Automation for azure-sdk-for-goNothing to generate for azure-sdk-for-go |
| } | ||
| } | ||
| }, | ||
| "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/default": { |
There was a problem hiding this comment.
Remove /billingProfiles/{billingProfileName}. The "home" resource container for customers is /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers.
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default", |
There was a problem hiding this comment.
/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default
| "body": { | ||
| "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default", | ||
| "name": "default", | ||
| "type": "Microsoft.Billing/billingAccounts/billingProfiles/policies", |
There was a problem hiding this comment.
Microsoft.Billing/billingAccounts/customers/policies
| "body": { | ||
| "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/default", | ||
| "name": "default", | ||
| "type": "Microsoft.Billing/billingAccounts/billingProfiles/customers/policies", |
There was a problem hiding this comment.
Microsoft.Billing/billingAccounts/customers/policies
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/default", |
There was a problem hiding this comment.
drop /billingProfiles/{billingProfileName}
| "$ref": "#/parameters/billingAccountNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "#/parameters/billingProfileNameParameter" |
There was a problem hiding this comment.
remove billingProfileNameParameter
| "$ref": "#/parameters/billingAccountNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "#/parameters/billingProfileNameParameter" |
amagams
left a comment
There was a problem hiding this comment.
Applying Code review feedback, mostly around removing billing profile name in the path.
| } | ||
| } | ||
| }, | ||
| "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/default": { |
| "$ref": "#/parameters/billingAccountNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "#/parameters/billingProfileNameParameter" |
| "$ref": "#/parameters/billingAccountNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "#/parameters/billingProfileNameParameter" |
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/default", |
| "body": { | ||
| "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/default", | ||
| "name": "default", | ||
| "type": "Microsoft.Billing/billingAccounts/billingProfiles/customers/policies", |
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default", |
| "body": { | ||
| "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default", | ||
| "name": "default", | ||
| "type": "Microsoft.Billing/billingAccounts/billingProfiles/policies", |
...ification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
Show resolved
Hide resolved
| } | ||
| }, | ||
| "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default": { | ||
| "get": { |
There was a problem hiding this comment.
get [](start = 7, length = 3)
I noticed that there's no delete support here. Does the resource always exist? (As in GET always returns a successful response?)
There was a problem hiding this comment.
Yes, this resource always exist
...ification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
Show resolved
Hide resolved
majastrz
left a comment
There was a problem hiding this comment.
Please add the GET collection route and take a look at the questions I added to the PR.
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:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.