Skip to content

Commit

Permalink
{ARM} az deployment create: Fix warning for ExemptionCategory (#26820)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoxing-ms authored Nov 7, 2023
1 parent d72b6ce commit c6e07b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/azure-cli/azure/cli/command_modules/resource/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def load_arguments(self, _):
validate_lock_parameters, validate_resource_lock, validate_group_lock, validate_subscription_lock, validate_metadata, RollbackAction)
from azure.cli.command_modules.resource.parameters import TagUpdateOperation

ExemptionCategory = self.get_models('ExemptionCategory', operation_group='policy_exemptions')
ExemptionCategory = self.get_models('ExemptionCategory', resource_type=ResourceType.MGMT_RESOURCE_POLICY,
operation_group='policy_exemptions')
DeploymentMode, WhatIfResultFormat, ChangeType = self.get_models('DeploymentMode', 'WhatIfResultFormat', 'ChangeType')

# BASIC PARAMETER CONFIGURATION
Expand Down

0 comments on commit c6e07b1

Please sign in to comment.