[BUG] Azure SDKs and Virtual Machine Scale Set VMs - Get does not return network interface for VMSS VMs (Flexible orchestration mode) #43000
Labels
Compute - VMSS
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
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
Library name and version
Azure.ResourceManager.Compute 1.4.0
Describe the bug
Hi,
I have a VMSS with network configuration as:
I have to load network interfaces of VMSS VMs with Flexible mode but Azure SDK to get VMSS VM does not return as expected.
Checked out code VirtualMachineScaleSetVmData.cs look like NetworkProfile is null cause the issues, since I already config network, it can't be null here.
Did tried using "Try it" here but the same issues: https://learn.microsoft.com/en-us/rest/api/compute/virtual-machine-scale-set-vms/get?view=rest-compute-2023-10-02&tabs=dotnet
Expected behavior
I need to get VMSS VMs network interface
Actual behavior
Null network profile and empty network interface returned
Reproduction Steps
Create VMSS with network interface, subnet, NSG, ASG configuration and get VMSS VMs data
Environment
No response
The text was updated successfully, but these errors were encountered: