Skip to content

[EventHub] az eventhubs namespace: Add 2026-01 api version - #33830

Open
schaudhari6254888 wants to merge 6 commits into
Azure:devfrom
schaudhari6254888:Eh-2026
Open

[EventHub] az eventhubs namespace: Add 2026-01 api version#33830
schaudhari6254888 wants to merge 6 commits into
Azure:devfrom
schaudhari6254888:Eh-2026

Conversation

@schaudhari6254888

@schaudhari6254888 schaudhari6254888 commented Aug 2, 2026

Copy link
Copy Markdown
Member

🤖 PR Validation — ❌ Action needed

Breaking Changes Tests
⚠️ None ❌ 128/130
⚠️AzureCLI-BreakingChangeTest
⚠️eventhubs
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd eventhubs cluster create cmd eventhubs cluster create added parameter confidential_compute_mode
⚠️ 1006 - ParaAdd eventhubs cluster create cmd eventhubs cluster create added parameter zone_redundant
⚠️ 1006 - ParaAdd eventhubs cluster list cmd eventhubs cluster list added parameter pagination_limit
⚠️ 1006 - ParaAdd eventhubs cluster list cmd eventhubs cluster list added parameter pagination_token
⚠️ 1006 - ParaAdd eventhubs cluster update cmd eventhubs cluster update added parameter confidential_compute_mode
⚠️ 1006 - ParaAdd eventhubs cluster update cmd eventhubs cluster update added parameter zone_redundant
⚠️ 1006 - ParaAdd eventhubs namespace create cmd eventhubs namespace create added parameter ip_address_type
⚠️ 1010 - ParaPropUpdate eventhubs namespace schema-registry create cmd eventhubs namespace schema-registry create update parameter schema_type: updated property choices from ['Avro', 'Unknown'] to ['Avro', 'Json', 'ProtoBuf', 'Unknown']
⚠️ 1010 - ParaPropUpdate eventhubs namespace schema-registry update cmd eventhubs namespace schema-registry update update parameter schema_type: updated property choices from ['Avro', 'Unknown'] to ['Avro', 'Json', 'ProtoBuf', 'Unknown']
⚠️ 1006 - ParaAdd eventhubs namespace update cmd eventhubs namespace update added parameter ip_address_type
⚠️ 1006 - ParaAdd eventhubs namespace update cmd eventhubs namespace update added parameter platform_capabilities
⚠️ 1010 - ParaPropUpdate eventhubs namespace update cmd eventhubs namespace update update parameter minimum_tls_version: updated property choices from ['1.0', '1.1', '1.2'] to ['1.0', '1.1', '1.2', '1.3']
❌AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.14
️✔️acs
️✔️latest
️✔️3.12
️✔️3.14
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.14
️✔️ams
️✔️latest
️✔️3.12
️✔️3.14
️✔️apim
️✔️latest
️✔️3.12
️✔️3.14
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.14
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️aro
️✔️latest
️✔️3.12
️✔️3.14
️✔️backup
️✔️latest
️✔️3.12
️✔️3.14
️✔️batch
️✔️latest
️✔️3.12
️✔️3.14
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.14
️✔️billing
️✔️latest
️✔️3.12
️✔️3.14
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.14
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.14
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.14
️✔️config
️✔️latest
️✔️3.12
️✔️3.14
️✔️configure
️✔️latest
️✔️3.12
️✔️3.14
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.14
️✔️container
️✔️latest
️✔️3.12
️✔️3.14
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.14
️✔️core
️✔️latest
️✔️3.12
️✔️3.14
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.14
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.14
️✔️dls
️✔️latest
️✔️3.12
️✔️3.14
️✔️dms
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.14
❌eventhubs
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_eh_authorization_rule self = <azure.cli.command_modules.eventhubs.tests.latest.test_eventhub_commands_auth_rule_test.EHNamespaceAUTHRULECURDScenarioTest testMethod=test_eh_authorization_rule>
resource_group = 'cli_test_eh_namespace000001'

    @AllowLargeResponse()
    @ResourceGroupPreparer(name_prefix='cli_test_eh_namespace')
    def test_eh_authorization_rule(self, resource_group):
        self.kwargs.update({
            'loc': 'eastus',
            'rg': resource_group,
            'namespacename': self.create_random_name(prefix='eventhubs-nscli', length=20),
            'eventhub1': self.create_random_name(prefix='eventhubnm', length=18),
            'namespacenamekafka': self.create_random_name(prefix='eventhubs-nscli1', length=20),
            'tags': {'tag1=value1'},
            'tags2': {'tag2=value2'},
            'sku': 'Standard',
            'tier': 'Standard',
            'clusterarmid': '/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/v-ajnavtest/providers/Microsoft.EventHub/clusters/PMTestCluster',
            'authoname': self.create_random_name(prefix='cliAutho', length=20),
            'defaultauthorizationrule': 'RootManageSharedAccessKey',
            'accessrights': 'Send',
            'accessrights1': 'Listen',
            'primary': 'PrimaryKey',
            'secondary': 'SecondaryKey',
            'isautoinflateenabled': 'True',
            'enableidentity': 'True',
            'maximumthroughputunits': 4,
            'maximumthroughputunits_update': 5
    
        })
        # Check for the NameSpace name Availability
        self.cmd('eventhubs namespace exists --name {namespacename}', checks=[self.check('nameAvailable', True)])
    
        # Create Namespace
        self.cmd('eventhubs namespace create --resource-group {rg} --name {namespacename} --location {loc} --tags {tags} --sku Standard')
    
        # Create Authorization Rule
        authRule = self.cmd(
            'eventhubs namespace authorization-rule create --resource-group {rg} --namespace-name {namespacename} --name namespaceAuthRule1 --rights Listen Send Manage').get_output_in_json()
        self.assertEqual(authRule['name'], 'namespaceAuthRule1')
        n = [i for i in authRule['rights']]
        assert len(n) == 3
    
        # Update Authorization Rule
        authRule = self.cmd(
            'eventhubs namespace authorization-rule update --resource-group {rg} --namespace-name {namespacename} --name namespaceAuthRule1 --rights Listen').get_output_in_json()
        self.assertEqual(authRule['name'], 'namespaceAuthRule1')
        n = [i for i in authRule['rights']]
        assert len(n) == 1
    
        # Get Authorization Rule List
        listOfAuthRules = self.cmd(
            'eventhubs namespace authorization-rule list --resource-group {rg} --namespace-name {namespacename}').get_output_in_json()
        assert len(listOfAuthRules) == 2
    
        # Get Authorization Rule Keys List
        currentKeys = self.cmd(
            'eventhubs namespace authorization-rule keys list --resource-group {rg} --namespace-name {namespacename} --name namespaceAuthRule1').get_output_in_json()
    
        # Regeneratekeys - Primary
        regenerateprimarykeyresult = self.cmd(
            'eventhubs namespace authorization-rule keys renew --resource-group {rg} --namespace-name {namespacename} --name namespaceAuthRule1 --key {primary}').get_output_in_json()
        self.assertIsNotNone(regenerateprimarykeyresult)
>       self.assertNotEqual(currentKeys['primaryKey'], regenerateprimarykeyresult['primaryKey'])
E       AssertionError: '' == ''

src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_auth_rule_test.py:79: AssertionError
azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_auth_rule_test.py:19
❌3.14
Type Test Case Error Message Line
Failed test_eh_authorization_rule self = <azure.cli.command_modules.eventhubs.tests.latest.test_eventhub_commands_auth_rule_test.EHNamespaceAUTHRULECURDScenarioTest testMethod=test_eh_authorization_rule>
resource_group = 'cli_test_eh_namespace000001'

    @AllowLargeResponse()
    @ResourceGroupPreparer(name_prefix='cli_test_eh_namespace')
    def test_eh_authorization_rule(self, resource_group):
        self.kwargs.update({
            'loc': 'eastus',
            'rg': resource_group,
            'namespacename': self.create_random_name(prefix='eventhubs-nscli', length=20),
            'eventhub1': self.create_random_name(prefix='eventhubnm', length=18),
            'namespacenamekafka': self.create_random_name(prefix='eventhubs-nscli1', length=20),
            'tags': {'tag1=value1'},
            'tags2': {'tag2=value2'},
            'sku': 'Standard',
            'tier': 'Standard',
            'clusterarmid': '/subscriptions/326100e2-f69d-4268-8503-075374f62b6e/resourceGroups/v-ajnavtest/providers/Microsoft.EventHub/clusters/PMTestCluster',
            'authoname': self.create_random_name(prefix='cliAutho', length=20),
            'defaultauthorizationrule': 'RootManageSharedAccessKey',
            'accessrights': 'Send',
            'accessrights1': 'Listen',
            'primary': 'PrimaryKey',
            'secondary': 'SecondaryKey',
            'isautoinflateenabled': 'True',
            'enableidentity': 'True',
            'maximumthroughputunits': 4,
            'maximumthroughputunits_update': 5
    
        })
        # Check for the NameSpace name Availability
        self.cmd('eventhubs namespace exists --name {namespacename}', checks=[self.check('nameAvailable', True)])
    
        # Create Namespace
        self.cmd('eventhubs namespace create --resource-group {rg} --name {namespacename} --location {loc} --tags {tags} --sku Standard')
    
        # Create Authorization Rule
        authRule = self.cmd(
            'eventhubs namespace authorization-rule create --resource-group {rg} --namespace-name {namespacename} --name namespaceAuthRule1 --rights Listen Send Manage').get_output_in_json()
        self.assertEqual(authRule['name'], 'namespaceAuthRule1')
        n = [i for i in authRule['rights']]
        assert len(n) == 3
    
        # Update Authorization Rule
        authRule = self.cmd(
            'eventhubs namespace authorization-rule update --resource-group {rg} --namespace-name {namespacename} --name namespaceAuthRule1 --rights Listen').get_output_in_json()
        self.assertEqual(authRule['name'], 'namespaceAuthRule1')
        n = [i for i in authRule['rights']]
        assert len(n) == 1
    
        # Get Authorization Rule List
        listOfAuthRules = self.cmd(
            'eventhubs namespace authorization-rule list --resource-group {rg} --namespace-name {namespacename}').get_output_in_json()
        assert len(listOfAuthRules) == 2
    
        # Get Authorization Rule Keys List
        currentKeys = self.cmd(
            'eventhubs namespace authorization-rule keys list --resource-group {rg} --namespace-name {namespacename} --name namespaceAuthRule1').get_output_in_json()
    
        # Regeneratekeys - Primary
        regenerateprimarykeyresult = self.cmd(
            'eventhubs namespace authorization-rule keys renew --resource-group {rg} --namespace-name {namespacename} --name namespaceAuthRule1 --key {primary}').get_output_in_json()
        self.assertIsNotNone(regenerateprimarykeyresult)
>       self.assertNotEqual(currentKeys['primaryKey'], regenerateprimarykeyresult['primaryKey'])
E       AssertionError: '' == ''

src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_auth_rule_test.py:79: AssertionError
azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_auth_rule_test.py:19
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.14
️✔️find
️✔️latest
️✔️3.12
️✔️3.14
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.14
️✔️identity
️✔️latest
️✔️3.12
️✔️3.14
️✔️iot
️✔️latest
️✔️3.12
️✔️3.14
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.14
️✔️lab
️✔️latest
️✔️3.12
️✔️3.14
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️maps
️✔️latest
️✔️3.12
️✔️3.14
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.14
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.14
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.14
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.14
️✔️network
️✔️latest
️✔️3.12
️✔️3.14
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.14
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.14
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.14
️✔️profile
️✔️latest
️✔️3.12
️✔️3.14
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.14
️✔️redis
️✔️latest
️✔️3.12
️✔️3.14
️✔️relay
️✔️latest
️✔️3.12
️✔️3.14
️✔️resource
️✔️latest
️✔️3.12
️✔️3.14
️✔️role
️✔️latest
️✔️3.12
️✔️3.14
️✔️search
️✔️latest
️✔️3.12
️✔️3.14
️✔️security
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.14
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.14
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.14
️✔️sql
️✔️latest
️✔️3.12
️✔️3.14
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.14
️✔️storage
️✔️latest
️✔️3.12
️✔️3.14
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.14
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.14
️✔️util
️✔️latest
️✔️3.12
️✔️3.14
️✔️vm
️✔️latest
️✔️3.12
️✔️3.14

Related command

Description
Introduced API version 2026-01-01 as the target version for the Event Hubs CLI commands.
Added a new optional parameter --ip-address-type to az eventhubs namespace create.
Added the same parameter --ip-address-type to az eventhubs namespace update, allowing the value to be modified on an existing namespace.
Regenerated/updated the command models and help text for the new API version.

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@schaudhari6254888
schaudhari6254888 requested a review from a team as a code owner August 2, 2026 12:53
Copilot AI review requested due to automatic review settings August 2, 2026 12:53
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@schaudhari6254888 schaudhari6254888 changed the title [EH] `az eventhubs namespace: Add 2026-01 api version [EH] az eventhubs namespace: Add 2026-01 api version Aug 2, 2026
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Event Hubs command module to use the 2026-01-01 management-plane API version across many AAZ-generated commands (namespaces, private endpoint connections, schema registry, network rule sets, clusters, etc.), and adjusts several live scenario tests accordingly. It also introduces/threads through new namespace properties like ip_address_type and updates identity/encryption shaping for the new API surface.

Changes:

  • Regenerate / update AAZ command implementations to api-version 2026-01-01, including schema/argument validation updates and new/updated properties (e.g., identity, platform capabilities).
  • Update custom glue code (namespace_custom.py, _params.py) to accept ip_address_type and handle the new nested identity shape in encryption key-vault properties.
  • Update live tests (locations, TLS minimum version expectations, extra role/KV policy setup, and additional waits).

Reviewed changes

Copilot reviewed 95 out of 96 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_namespace_schema_registry.py Change test location default.
src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_namespace_application_group.py Change test location default.
src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_entity_crud.py Change test location; add identity/role assignment propagation waits.
src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_namespace_premium_test.py Update TLS min version assertions; adjust geo-replication inputs; update deletions.
src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_msi_test.py Change test location default.
src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_encryption_test.py Change test location; add KV policy for system-assigned identity.
src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_auth_rule_test.py Change test location default.
src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_alias_test.py Change GeoDR test locations; increase waits.
src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_cluster_commands.py Change cluster/namespace creation locations; comment out cluster deletion.
src/azure-cli/azure/cli/command_modules/eventhubs/operations/namespace_custom.py Handle nested identity in encryption config; pass through ip_address_type.
src/azure-cli/azure/cli/command_modules/eventhubs/action.py Change default for missing cluster_arm_id in replica config action.
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/profile_2019_03_01_hybrid/eventhubs/namespace/authorization_rule/keys/__cmd_group.py Update generated help text (hybrid profile).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/profile_2019_03_01_hybrid/eventhubs/namespace/authorization_rule/__cmd_group.py Update generated help text (hybrid profile).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/profile_2019_03_01_hybrid/eventhubs/namespace/__cmd_group.py Update generated help text (hybrid profile).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/profile_2019_03_01_hybrid/eventhubs/eventhub/authorization_rule/keys/__cmd_group.py Update generated help text (hybrid profile).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/profile_2019_03_01_hybrid/eventhubs/eventhub/authorization_rule/__cmd_group.py Update generated help text (hybrid profile).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/profile_2019_03_01_hybrid/eventhubs/__cmd_group.py Update generated help text (hybrid profile).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/schema_registry/_update.py Bump api-version to 2026-01-01; update schema args/enums (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/schema_registry/_show.py Bump api-version to 2026-01-01; schema validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/schema_registry/_list.py Bump api-version to 2026-01-01; response schema flags updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/schema_registry/_delete.py Bump api-version to 2026-01-01; schema validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/schema_registry/_create.py Bump api-version to 2026-01-01; schema args/enums updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/private_link_resource/_show.py Bump api-version to 2026-01-01; schema validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/private_endpoint_connection/_wait.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/private_endpoint_connection/_update.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/private_endpoint_connection/_show.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/private_endpoint_connection/_list.py Bump api-version to 2026-01-01; response schema flags updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/private_endpoint_connection/_delete.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/private_endpoint_connection/_create.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/nsp_configuration/_show.py Bump api-version to 2026-01-01; adjust read-only/systemData schema (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/nsp_configuration/_list.py Bump api-version to 2026-01-01; adjust schema; docstring changed (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/nsp_configuration/__cmd_group.py Update generated help text (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/network_rule_set/_update.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/network_rule_set/_show.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/network_rule_set/_list.py Bump api-version to 2026-01-01; response schema flags updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/network_rule_set/_create.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/authorization_rule/keys/_renew.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/authorization_rule/keys/_list.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/authorization_rule/_update.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/authorization_rule/_show.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/authorization_rule/_list.py Bump api-version to 2026-01-01; response schema flags updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/authorization_rule/_delete.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/authorization_rule/_create.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/authorization_rule/__cmd_group.py Update generated help text (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/application_group/_update.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/application_group/_show.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/application_group/_list.py Bump api-version to 2026-01-01; response schema flags updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/application_group/_delete.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/application_group/_create.py Bump api-version to 2026-01-01; arg validation updates (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_wait.py Bump api-version to 2026-01-01; update identity/encryption schema (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_update.py Bump api-version to 2026-01-01; add ip_address_type/platform capabilities args (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_show.py Bump api-version to 2026-01-01; update identity/platform capabilities schema (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_list.py Bump api-version to 2026-01-01; adjust list operation wiring/schema (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_failover.py Bump api-version to 2026-01-01; change failover execution flow (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_exists.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_delete.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_create.py Bump api-version to 2026-01-01; add identity/ip/platform capabilities args (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/__cmd_group.py Update generated help text (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/authorization_rule/keys/_list.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/authorization_rule/_show.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/authorization_rule/_list.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/_show.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/_list.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/_fail_over.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/_exists.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/_delete.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/_create.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/georecovery_alias/_break_pair.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/consumer_group/_update.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/consumer_group/_show.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/consumer_group/_list.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/consumer_group/_delete.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/consumer_group/_create.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/authorization_rule/keys/_renew.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/authorization_rule/keys/_list.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/authorization_rule/_update.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/authorization_rule/_show.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/authorization_rule/_list.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/authorization_rule/_delete.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/authorization_rule/_create.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/_update.py Bump api-version to 2026-01-01; change message timestamp args/aliases (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/_show.py Bump api-version to 2026-01-01; retention schema rename (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/_list.py Bump api-version to 2026-01-01; retention schema rename (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/_delete.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/_create.py Bump api-version to 2026-01-01; change message timestamp args/aliases (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/eventhub/__cmd_group.py Minor generated export formatting.
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/namespace/_list.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/_wait.py Bump api-version to 2026-01-01; add platform capabilities schema (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/_update.py Bump api-version to 2026-01-01; add platform capabilities/zone redundant args; LRO final-state change (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/_show.py Bump api-version to 2026-01-01; add platform capabilities schema (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/_list.py Bump api-version to 2026-01-01; pagination support; list wiring changes (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/_delete.py Bump api-version to 2026-01-01; LRO final-state change (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/_create.py Bump api-version to 2026-01-01; add platform capabilities/zone redundant args; LRO final-state change (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/cluster/_available_region.py Bump api-version to 2026-01-01 (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/__cmd_group.py Update generated help text (generated).
src/azure-cli/azure/cli/command_modules/eventhubs/_params.py Add ip_address_type argument to namespace command surface.
Suppressed comments (3)

src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_failover.py:94

  • NamespacesFailover.__call__ only treats 200/201 as success and routes everything else to on_error. Namespace failover is typically an async operation that can return 202 Accepted; treating 202 as an error will make the command fail even when the service is behaving correctly.
    src/azure-cli/azure/cli/command_modules/eventhubs/tests/latest/test_eventhub_commands_alias_test.py:116
  • The added fixed sleeps (time.sleep(600) and time.sleep(300)) significantly increase test duration and can still be flaky if backend propagation takes longer/shorter. Prefer polling on a concrete condition with a bounded timeout (similar to the existing provisioningState/pendingReplicationOperationsCount loops) instead of unconditional sleeps.
    src/azure-cli/azure/cli/command_modules/eventhubs/aaz/latest/eventhubs/namespace/_failover.py:167
  • on_200_201 is currently a no-op (pass), so even successful failover responses are ignored and nothing is stored in ctx.vars.instance for output. This makes it hard to validate success programmatically and is inconsistent with other generated commands.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 17 to 19
class List(AAZCommand):
"""List of current NetworkSecurityPerimeterConfiguration for Namespace
"""List list of current NetworkSecurityPerimeterConfiguration for Namespace
"""
Comment thread src/azure-cli/azure/cli/command_modules/eventhubs/action.py
@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@necusjz

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@a0x1ab Aditya Pujara (a0x1ab) added the agent-assist On-demand trigger for the agent-assist autonomous bug-fix pipeline label Aug 6, 2026
@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@schaudhari6254888 schaudhari6254888 changed the title [EH] az eventhubs namespace: Add 2026-01 api version [EventHub] az eventhubs namespace: Add 2026-01 api version Aug 6, 2026
@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@necusjz

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@a0x1ab Aditya Pujara (a0x1ab) added azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent and removed agent-assist On-demand trigger for the agent-assist autonomous bug-fix pipeline labels Aug 6, 2026
@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants