Skip to content

Get-AzVirtualNetworkUsageList should return the actual current value rather than 0 for delegated subnets #21716

Open
@gcbikram

Description

@gcbikram

Description

Get-AzVirtualNetworkUsageList returns CurrentValue as 0 when subnet is delegated

Describe the bug
It should return the actual value rather than 0, we cant clearly see how many ips are used by the resource when the subnet is delegated.

To Reproduce
run Get-AzVirtualNetworkUsageList -ResourceGroupName "xyz-rg" -Name "xyz-vnet"

Expected behavior
It should return the actual value in the CurrentValue property to help us identity how many resources can be deployed of similar types when the subnet is delegated

Script or Debug output

Get-AzVirtualNetworkUsageList

Environment data

No response

Module versions

No response

Error output

returns currentvalue of 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Network - Virtual NetworkService AttentionThis issue is responsible by Azure service team.customer-reportedneeds-team-attentionThis 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 that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions