Skip to content

[BUG] ACR 2025-11-01 GET won't return networkRuleBypassAllowedForTasks #40126

@magodo

Description

@magodo

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json

API Spec version

2025-11-01

Describe the bug

The GET of the ACR won't return the networkRuleBypassAllowedForTasks in the response body in 2025-11-01 no matter if it is true/false, while 2026-01-01-preview returns it.

Though the PATCH call to update this attribute using 2025-11-01 still work.

Reference: https://learn.microsoft.com/en-us/azure/container-registry/manage-network-bypass-policy-for-tasks

Expected behavior

The GET of the ACR should always return the networkRuleBypassAllowedForTasks in the response body in 2025-11-01.

Actual behavior

As is described above.

Reproduction Steps

Just GET an ACR using 2025-11-01.

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions