Open ImMin5 opened 3 months ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @amjads1 @avirishuv @Drewm3 @vaibhav-agar.
@ImMin5 It would be great if you could share the python script that you used to call method virtual_machine_scale_set_vms.get_instance_view so that I can look into it from my side?
Hi @Kanik09 Here is python script that i used. and i got same result at here.
credential = DefaultAzureCredential()
compute_client = ComputeManagementClient(credential=credential, subscription_id={subscription_id})
compute_client.virtual_machine_scale_set_vms.get_instance_view({resource_group}, {vm_scale_set_name}, {instance_id})
Describe the bug A clear and concise description of what the bug is.
This issue occurs when calling the get_instance_view method of virtual_machine_scale_set_vms from the Azure SDK. The instance_id parameter passed to this method is a string, but the method expects an integer.
https://learn.microsoft.com/en-us/rest/api/compute/virtual-machine-scale-set-vms/get-instance-view?view=rest-compute-2024-03-01&tabs=HTTP#code-try-0
To Reproduce Steps to reproduce the behavior:
virtual_machine_scale_set_vms.get_instance_view
methodExpected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.