Skip to content

{ARM} Integrate azure-mgmt-resource 25.0.0b1 package#31923

Closed
Jing-song wants to merge 42 commits intoAzure:devfrom
anthony-c-martin:split
Closed

{ARM} Integrate azure-mgmt-resource 25.0.0b1 package#31923
Jing-song wants to merge 42 commits intoAzure:devfrom
anthony-c-martin:split

Conversation

@Jing-song
Copy link
Copy Markdown
Contributor

Related command

az deployment *

Description

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.

Copilot AI review requested due to automatic review settings August 7, 2025 09:15
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Aug 7, 2025

❌AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.9
️✔️acs
️✔️latest
️✔️3.12
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.9
️✔️ams
️✔️latest
️✔️3.12
️✔️3.9
️✔️apim
️✔️latest
️✔️3.12
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️aro
️✔️latest
️✔️3.12
️✔️3.9
️✔️backup
️✔️latest
️✔️3.12
️✔️3.9
️✔️batch
️✔️latest
️✔️3.12
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.9
️✔️billing
️✔️latest
️✔️3.12
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.9
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.9
️✔️config
️✔️latest
️✔️3.12
️✔️3.9
️✔️configure
️✔️latest
️✔️3.12
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.9
️✔️container
️✔️latest
️✔️3.12
️✔️3.9
❌containerapp
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_containerappjob_update_min_max_executions_zero_e2e self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fb07848f740>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fb078f00230>
command = "containerapp job create --resource-group clitest.rg000001 --name eventjob000002 --environment /subscriptions/00000000...secretRef=connection-string-secret --image mcr.microsoft.com/k8se/quickstart-jobs:latest --cpu '0.25' --memory '0.5Gi'"
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.12/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = IndexError('Replacement index 1 out of range for positional args tuple')
args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception IndexError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.containerapp.tests.latest.test_containerappjob_crud.ContainerAppJobsCRUDOperationsTest testMethod=test_containerappjob_update_min_max_executions_zero_e2e>
resource_group = 'clitest.rg000001'

    @AllowLargeResponse(8192)
    @ResourceGroupPreparer(location="northcentralus")
    def test_containerappjob_update_min_max_executions_zero_e2e(self, resource_group):
        """Test that min_executions and max_executions can be set to 0 in event-triggered jobs"""
        self.cmd('configure --defaults location={}'.format(TEST_LOCATION))
    
        env_id = prepare_containerapp_env_for_app_e2e_tests(self)
        job = self.create_random_name(prefix='eventjob', length=24)
    
        # Create a Container App Job resource with trigger type as event
>       self.cmd("az containerapp job create --resource-group {} --name {} --environment {} --replica-timeout 200 --replica-retry-limit 2 --trigger-type event --parallelism 1 --replica-completion-count 1 --min-executions 1 --max-executions 5 --polling-interval 30 --scale-rule-name azure-servicebus --scale-rule-type azure-servicebus --scale-rule-metadata topicName=my-topic messageCount=5 --scale-rule-auth secretRef=connection-string-secret --image mcr.microsoft.com/k8se/quickstart-jobs:latest --cpu '0.25' --memory '0.5Gi'".format(resource_group, job, env_id))

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/test_containerappjob_crud.py:378: 
 
                                       
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:315: in in_process_execute
    raise ex.exception
env/lib/python3.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:734: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:726: in run_job
    return cmd_copy.exception_handler(ex)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/containerapp/client_factory.py:28: in polish_bad_errors
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/containerapp/custom.py:1002: in create_containerappsjob
    containerapp_job_create_decorator.register_provider(CONTAINER_APPS_RP)
src/azure-cli/azure/cli/command_modules/containerapp/base_resource.py:26: in register_provider
    register_provider_if_needed(self.cmd, rp)
src/azure-cli/azure/cli/command_modules/containerapp/utils.py:64: in register_provider_if_needed
    register_resource_provider(cmd, rp_name)
 
 
 
 
 
 
 
 
 
                               

cmd = <azure.cli.core.commands.AzCliCommand object at 0x7fb078509400>
resource_provider = 'Microsoft.App'

    def _register_resource_provider(cmd, resource_provider):
        from azure.mgmt.resource.resources.models import ProviderRegistrationRequest, ProviderConsentDefinition
    
        logger.warning(f"Registering resource provider {resource_provider} ...")
        properties = ProviderRegistrationRequest(third_party_provider_consent=ProviderConsentDefinition(consent_to_authorization=True))
    
        client = providers_client_factory(cmd.cli_ctx)
        try:
            client.register(resource_provider, properties=properties)
            # wait for registration to finish
            timeout_secs = 120
            registration = _is_resource_provider_registered(cmd, resource_provider)
            start = datetime.utcnow()
            while not registration:
                registration = _is_resource_provider_registered(cmd, resource_provider)
                time.sleep(SHORT_POLLING_INTERVAL_SECS)
                if (datetime.utcnow() - start).seconds >= timeout_secs:
                    raise CLIInternalError(f"Timed out while waiting for the {resource_provider} resource provider to be registered.")
    
        except Exception as e:
            msg = ("This operation requires requires registering the resource provider {0}. "
                   "We were unable to perform that registration on your behalf: "
                   "Server responded with error message -- {1} . "
                   "Please check with your admin on permissions, "
                   "or try running registration manually with: az provider register --wait --namespace {0}")
>           raise ValidationError(resource_provider, msg.format(e.args)) from e
                                                     ^^^^^^^^^^^^^^^^^^
E           IndexError: Replacement index 1 out of range for positional args tuple

src/azure-cli/azure/cli/command_modules/containerapp/_utils.py:290: IndexError
azure/cli/command_modules/containerapp/tests/latest/test_containerappjob_crud.py:367
❌3.9
Type Test Case Error Message Line
Failed test_containerappjob_update_min_max_executions_zero_e2e self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f0300a32ee0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f03014bc790>
command = "containerapp job create --resource-group clitest.rg000001 --name eventjob000002 --environment /subscriptions/00000000...secretRef=connection-string-secret --image mcr.microsoft.com/k8se/quickstart-jobs:latest --cpu '0.25' --memory '0.5Gi'"
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.9/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
src/azure-cli-core/azure/cli/core/init.py:129: in exception_handler
    return handle_exception(ex)
                                        

ex = IndexError('Replacement index 1 out of range for positional args tuple')
args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception IndexError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.containerapp.tests.latest.test_containerappjob_crud.ContainerAppJobsCRUDOperationsTest testMethod=test_containerappjob_update_min_max_executions_zero_e2e>
resource_group = 'clitest.rg000001'

    @AllowLargeResponse(8192)
    @ResourceGroupPreparer(location="northcentralus")
    def test_containerappjob_update_min_max_executions_zero_e2e(self, resource_group):
        """Test that min_executions and max_executions can be set to 0 in event-triggered jobs"""
        self.cmd('configure --defaults location={}'.format(TEST_LOCATION))
    
        env_id = prepare_containerapp_env_for_app_e2e_tests(self)
        job = self.create_random_name(prefix='eventjob', length=24)
    
        # Create a Container App Job resource with trigger type as event
>       self.cmd("az containerapp job create --resource-group {} --name {} --environment {} --replica-timeout 200 --replica-retry-limit 2 --trigger-type event --parallelism 1 --replica-completion-count 1 --min-executions 1 --max-executions 5 --polling-interval 30 --scale-rule-name azure-servicebus --scale-rule-type azure-servicebus --scale-rule-metadata topicName=my-topic messageCount=5 --scale-rule-auth secretRef=connection-string-secret --image mcr.microsoft.com/k8se/quickstart-jobs:latest --cpu '0.25' --memory '0.5Gi'".format(resource_group, job, env_id))

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/test_containerappjob_crud.py:378: 
 
                                       
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:315: in in_process_execute
    raise ex.exception
env/lib/python3.9/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
src/azure-cli-core/azure/cli/core/commands/init.py:666: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:734: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
src/azure-cli-core/azure/cli/core/commands/init.py:726: in run_job
    return cmd_copy.exception_handler(ex)
src/azure-cli/azure/cli/command_modules/containerapp/client_factory.py:28: in polish_bad_errors
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:703: in run_job
    result = cmd_copy(params)
src/azure-cli-core/azure/cli/core/commands/init.py:336: in call
    return self.handler(*args, **kwargs)
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
src/azure-cli/azure/cli/command_modules/containerapp/custom.py:1002: in create_containerappsjob
    containerapp_job_create_decorator.register_provider(CONTAINER_APPS_RP)
src/azure-cli/azure/cli/command_modules/containerapp/base_resource.py:26: in register_provider
    register_provider_if_needed(self.cmd, rp)
src/azure-cli/azure/cli/command_modules/containerapp/utils.py:64: in register_provider_if_needed
    register_resource_provider(cmd, rp_name)
 
 
 
 
 
 
 
 
 
                               

cmd = <azure.cli.core.commands.AzCliCommand object at 0x7f0300878ee0>
resource_provider = 'Microsoft.App'

    def _register_resource_provider(cmd, resource_provider):
        from azure.mgmt.resource.resources.models import ProviderRegistrationRequest, ProviderConsentDefinition
    
        logger.warning(f"Registering resource provider {resource_provider} ...")
        properties = ProviderRegistrationRequest(third_party_provider_consent=ProviderConsentDefinition(consent_to_authorization=True))
    
        client = providers_client_factory(cmd.cli_ctx)
        try:
            client.register(resource_provider, properties=properties)
            # wait for registration to finish
            timeout_secs = 120
            registration = _is_resource_provider_registered(cmd, resource_provider)
            start = datetime.utcnow()
            while not registration:
                registration = _is_resource_provider_registered(cmd, resource_provider)
                time.sleep(SHORT_POLLING_INTERVAL_SECS)
                if (datetime.utcnow() - start).seconds >= timeout_secs:
                    raise CLIInternalError(f"Timed out while waiting for the {resource_provider} resource provider to be registered.")
    
        except Exception as e:
            msg = ("This operation requires requires registering the resource provider {0}. "
                   "We were unable to perform that registration on your behalf: "
                   "Server responded with error message -- {1} . "
                   "Please check with your admin on permissions, "
                   "or try running registration manually with: az provider register --wait --namespace {0}")
>           raise ValidationError(resource_provider, msg.format(e.args)) from e
E           IndexError: Replacement index 1 out of range for positional args tuple

src/azure-cli/azure/cli/command_modules/containerapp/_utils.py:290: IndexError
azure/cli/command_modules/containerapp/tests/latest/test_containerappjob_crud.py:367
️✔️core
️✔️latest
️✔️3.12
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.9
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.9
️✔️dls
️✔️latest
️✔️3.12
️✔️3.9
️✔️dms
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.9
️✔️find
️✔️latest
️✔️3.12
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.9
️✔️identity
️✔️latest
️✔️3.12
️✔️3.9
️✔️iot
️✔️latest
️✔️3.12
️✔️3.9
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.9
️✔️lab
️✔️latest
️✔️3.12
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️maps
️✔️latest
️✔️3.12
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.9
️✔️network
️✔️latest
️✔️3.12
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.9
️✔️profile
️✔️latest
️✔️3.12
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.9
️✔️redis
️✔️latest
️✔️3.12
️✔️3.9
️✔️relay
️✔️latest
️✔️3.12
️✔️3.9
️✔️resource
️✔️latest
️✔️3.12
️✔️3.9
️✔️role
️✔️latest
️✔️3.12
️✔️3.9
️✔️search
️✔️latest
️✔️3.12
️✔️3.9
️✔️security
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.9
️✔️sql
️✔️latest
️✔️3.12
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.9
️✔️storage
️✔️latest
️✔️3.12
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.9
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.9
️✔️util
️✔️latest
️✔️3.12
️✔️3.9
️✔️vm
️✔️latest
️✔️3.12
️✔️3.9

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Aug 7, 2025

⚠️AzureCLI-BreakingChangeTest
⚠️resource
rule cmd_name rule_message suggest_message
⚠️ 1009 - ParaPropRemove deployment create cmd deployment create update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment create cmd deployment create update parameter what_if_exclude_change_types: removed property choices=['Create', 'Delete', 'Deploy', 'Ignore', 'Modify', 'NoChange', 'Unsupported']
⚠️ 1009 - ParaPropRemove deployment create cmd deployment create update parameter what_if_result_format: removed property choices=['FullResourcePayloads', 'ResourceIdOnly']
⚠️ 1009 - ParaPropRemove deployment create cmd deployment create update parameter what_if_result_format: removed property default=FullResourcePayloads
⚠️ 1009 - ParaPropRemove deployment group create cmd deployment group create update parameter mode: removed property choices=['Complete', 'Incremental']
⚠️ 1009 - ParaPropRemove deployment group create cmd deployment group create update parameter mode: removed property default=Incremental
⚠️ 1009 - ParaPropRemove deployment group create cmd deployment group create update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment group create cmd deployment group create update parameter what_if_exclude_change_types: removed property choices=['Create', 'Delete', 'Deploy', 'Ignore', 'Modify', 'NoChange', 'Unsupported']
⚠️ 1009 - ParaPropRemove deployment group create cmd deployment group create update parameter what_if_result_format: removed property choices=['FullResourcePayloads', 'ResourceIdOnly']
⚠️ 1009 - ParaPropRemove deployment group create cmd deployment group create update parameter what_if_result_format: removed property default=FullResourcePayloads
⚠️ 1009 - ParaPropRemove deployment group validate cmd deployment group validate update parameter mode: removed property choices=['Complete', 'Incremental']
⚠️ 1009 - ParaPropRemove deployment group validate cmd deployment group validate update parameter mode: removed property default=Incremental
⚠️ 1009 - ParaPropRemove deployment group validate cmd deployment group validate update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment group what-if cmd deployment group what-if update parameter exclude_change_types: removed property choices=['Create', 'Delete', 'Deploy', 'Ignore', 'Modify', 'NoChange', 'Unsupported']
⚠️ 1009 - ParaPropRemove deployment group what-if cmd deployment group what-if update parameter mode: removed property choices=['Complete', 'Incremental']
⚠️ 1009 - ParaPropRemove deployment group what-if cmd deployment group what-if update parameter mode: removed property default=Incremental
⚠️ 1009 - ParaPropRemove deployment group what-if cmd deployment group what-if update parameter result_format: removed property choices=['FullResourcePayloads', 'ResourceIdOnly']
⚠️ 1009 - ParaPropRemove deployment group what-if cmd deployment group what-if update parameter result_format: removed property default=FullResourcePayloads
⚠️ 1009 - ParaPropRemove deployment group what-if cmd deployment group what-if update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment mg create cmd deployment mg create update parameter mode: removed property choices=['Complete', 'Incremental']
⚠️ 1009 - ParaPropRemove deployment mg create cmd deployment mg create update parameter mode: removed property default=Incremental
⚠️ 1009 - ParaPropRemove deployment mg create cmd deployment mg create update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment mg create cmd deployment mg create update parameter what_if_exclude_change_types: removed property choices=['Create', 'Delete', 'Deploy', 'Ignore', 'Modify', 'NoChange', 'Unsupported']
⚠️ 1009 - ParaPropRemove deployment mg create cmd deployment mg create update parameter what_if_result_format: removed property choices=['FullResourcePayloads', 'ResourceIdOnly']
⚠️ 1009 - ParaPropRemove deployment mg create cmd deployment mg create update parameter what_if_result_format: removed property default=FullResourcePayloads
⚠️ 1009 - ParaPropRemove deployment mg validate cmd deployment mg validate update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment mg what-if cmd deployment mg what-if update parameter exclude_change_types: removed property choices=['Create', 'Delete', 'Deploy', 'Ignore', 'Modify', 'NoChange', 'Unsupported']
⚠️ 1009 - ParaPropRemove deployment mg what-if cmd deployment mg what-if update parameter result_format: removed property choices=['FullResourcePayloads', 'ResourceIdOnly']
⚠️ 1009 - ParaPropRemove deployment mg what-if cmd deployment mg what-if update parameter result_format: removed property default=FullResourcePayloads
⚠️ 1009 - ParaPropRemove deployment mg what-if cmd deployment mg what-if update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment sub create cmd deployment sub create update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment sub create cmd deployment sub create update parameter what_if_exclude_change_types: removed property choices=['Create', 'Delete', 'Deploy', 'Ignore', 'Modify', 'NoChange', 'Unsupported']
⚠️ 1009 - ParaPropRemove deployment sub create cmd deployment sub create update parameter what_if_result_format: removed property choices=['FullResourcePayloads', 'ResourceIdOnly']
⚠️ 1009 - ParaPropRemove deployment sub create cmd deployment sub create update parameter what_if_result_format: removed property default=FullResourcePayloads
⚠️ 1009 - ParaPropRemove deployment sub validate cmd deployment sub validate update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment sub what-if cmd deployment sub what-if update parameter exclude_change_types: removed property choices=['Create', 'Delete', 'Deploy', 'Ignore', 'Modify', 'NoChange', 'Unsupported']
⚠️ 1009 - ParaPropRemove deployment sub what-if cmd deployment sub what-if update parameter result_format: removed property choices=['FullResourcePayloads', 'ResourceIdOnly']
⚠️ 1009 - ParaPropRemove deployment sub what-if cmd deployment sub what-if update parameter result_format: removed property default=FullResourcePayloads
⚠️ 1009 - ParaPropRemove deployment sub what-if cmd deployment sub what-if update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment tenant create cmd deployment tenant create update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment tenant create cmd deployment tenant create update parameter what_if_exclude_change_types: removed property choices=['Create', 'Delete', 'Deploy', 'Ignore', 'Modify', 'NoChange', 'Unsupported']
⚠️ 1009 - ParaPropRemove deployment tenant create cmd deployment tenant create update parameter what_if_result_format: removed property choices=['FullResourcePayloads', 'ResourceIdOnly']
⚠️ 1009 - ParaPropRemove deployment tenant create cmd deployment tenant create update parameter what_if_result_format: removed property default=FullResourcePayloads
⚠️ 1009 - ParaPropRemove deployment tenant validate cmd deployment tenant validate update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment tenant what-if cmd deployment tenant what-if update parameter exclude_change_types: removed property choices=['Create', 'Delete', 'Deploy', 'Ignore', 'Modify', 'NoChange', 'Unsupported']
⚠️ 1009 - ParaPropRemove deployment tenant what-if cmd deployment tenant what-if update parameter result_format: removed property choices=['FullResourcePayloads', 'ResourceIdOnly']
⚠️ 1009 - ParaPropRemove deployment tenant what-if cmd deployment tenant what-if update parameter result_format: removed property default=FullResourcePayloads
⚠️ 1009 - ParaPropRemove deployment tenant what-if cmd deployment tenant what-if update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove deployment validate cmd deployment validate update parameter validation_level: removed property choices=['Provider', 'ProviderNoRbac', 'Template']
⚠️ 1009 - ParaPropRemove group deployment create cmd group deployment create update parameter mode: removed property choices=['Complete', 'Incremental']
⚠️ 1009 - ParaPropRemove group deployment create cmd group deployment create update parameter mode: removed property default=Incremental
⚠️ 1009 - ParaPropRemove group deployment validate cmd group deployment validate update parameter mode: removed property choices=['Complete', 'Incremental']
⚠️ 1009 - ParaPropRemove group deployment validate cmd group deployment validate update parameter mode: removed property default=Incremental
⚠️ 1009 - ParaPropRemove managedapp definition create cmd managedapp definition create update parameter deployment_mode: removed property choices=['Complete', 'Incremental']
⚠️ 1009 - ParaPropRemove managedapp definition update cmd managedapp definition update update parameter deployment_mode: removed property choices=['Complete', 'Incremental']

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Aug 7, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 7, 2025

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 integrates the updated azure-mgmt-resource package version 25.0.0 into the Azure CLI, specifically affecting the az deployment * commands.

Key changes include:

  • Test recording updates reflecting newer API versions and cloud infrastructure
  • User-Agent strings showing updated Azure SDK versions
  • API endpoint version updates from 2024-11-01 to 2025-04-01

@microsoft-github-policy-service microsoft-github-policy-service bot added the Auto-Assign Auto assign by bot label Aug 7, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group label Aug 7, 2025
@Jing-song Jing-song changed the title {ARM} Integrate azure-mgmt-resource 25.0.0 package {ARM} Integrate azure-mgmt-resource 25.0.0 package Aug 7, 2025
@Jing-song Jing-song changed the title {ARM} Integrate azure-mgmt-resource 25.0.0 package {ARM} Integrate azure-mgmt-resource 25.0.0b1 package Aug 7, 2025
@Jing-song Jing-song closed this Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants