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

batch Rest API requests (azure portal uses this) using the GO SDK #17155

Closed
djdongjin opened this issue Feb 23, 2022 · 6 comments
Closed

batch Rest API requests (azure portal uses this) using the GO SDK #17155

djdongjin opened this issue Feb 23, 2022 · 6 comments
Assignees
Labels
Compute - VM customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@djdongjin
Copy link

Feature Request

The issue is the same as #15957. We are also investigating this feature. While checking the traffic in azure portal, we found that vmss uses some of the batch operations to complete some tasks (e.g., stop multiple vms, etc). The traffic and URL is shown as below:

image

The request body is a json that contains all requests within this batch.

Do you know where I can find any document about this API endpoint (https://management.azure.com/batch?...). And is it already available in SDK?

Thanks.

cc: @RickWinter

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Feb 23, 2022
@lirenhe lirenhe added customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. labels Feb 24, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Feb 24, 2022
@RickWinter RickWinter added Batch question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Feb 24, 2022
@ghost ghost added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Feb 24, 2022
@djdongjin
Copy link
Author

Hi @RickWinter @lirenhe

Any update on this? Thanks.

Also, I saw the Batch label is attached. However, the batch in question seems not related to the Azure Batch service. It's more like just an Azure API that batches multiple API calls within one request.

Thanks!

@RickWinter
Copy link
Member

@djdongjin Can you confirm which API you invoked to trigger this behavior. Any details you can share would be helpful.

@djdongjin
Copy link
Author

Hi @RickWinter ,

I used the vmss (flexible) API in azure portal. For example, the below figure shows a request to stop two vmss instances in the portal.

image

I believe the batch API is used extensively while accessing azure portal, since I saw many of these batch APIs.

@lirenhe
Copy link
Member

lirenhe commented Mar 2, 2022

@djdongjin, if you take a look at the swagger repo, https://github.com/Azure/azure-rest-api-specs, all mgmt plane api would include the resource provider name like Microsoft.RPName.
For https://management.azure.com/batch, this does not seem to belong to any RP. You may check with ARM team directly for this API

@djdongjin
Copy link
Author

@lirenhe

Hi, thanks for replying. Could you please provide contact with the ARM team? GitHub repos, emails, etc.

Thanks.

@lirenhe
Copy link
Member

lirenhe commented Mar 25, 2022

Share the contact info offline and close this item.
Let me know if there are further questions. thanks

@lirenhe lirenhe closed this as completed Mar 25, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Compute - VM customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants