-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
Compute - VMSSMgmtThis issue is related to a management package.This issue is related to a management package.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Library name and version
Azure.ResourceManager.Compute 1.5.0
Describe the bug
Use VirtualMachineScaleSetRollingUpgradeResource.GetLatest() to fetch latest rolling upgrade status of a VMSS will always fail with the exception below:
System.ArgumentNullException: Value cannot be null. (Parameter 'id')
at Azure.ResourceManager.ArmResource..ctor(ArmClient client, ResourceIdentifier id)
at Azure.ResourceManager.Compute.VirtualMachineScaleSetRollingUpgradeResource..ctor(ArmClient client, ResourceIdentifier id)
at Azure.ResourceManager.Compute.VirtualMachineScaleSetRollingUpgradeResource.GetAsync(CancellationToken cancellationToken)
Expected behavior
Successful response with VirtualMachineScaleSetRollingUpgradeData in the body.
Actual behavior
Exception is thrown.
Reproduction Steps
Assume vmss is of VirtualMachineScaleSetResource type,
var getRollingUpgradeResult = await vmss.GetVirtualMachineScaleSetRollingUpgrade().GetAsync();
Environment
.NET SDK:
Version: 8.0.400
Runtime Environment:
OS Name: Windows
Metadata
Metadata
Assignees
Labels
Compute - VMSSMgmtThis issue is related to a management package.This issue is related to a management package.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that