Hi All,
I would like to lilst/update the VMSS resources; like scale up or scale down using azure rest API. I found it's possible using following API.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}?api-version=2022-03-01
However, I am not sure how to get the Authorization Token for VMSS resources.
Also, Is there any better way to scale up or scale down the VMs in a real time scenario. I have this use case where I would like to scale up based on the application requirement.