Closed vidai-msft closed 1 year ago
Just found the root cause of the issue. The parameter RuleSetName specific to one of the two parameter sets is hidden by following directive.
- where:
verb: Get|New
subject: TagRule
parameter-name: RuleSetName
hide: true
set:
default:
script: '"default"'
And in this case, you will need to add a directive to remove the parameter set as below.
Using v4 to generate
Get-AzElasticTagRule
has same Parameters with different ParameterSets like below (Common parameters removed) Cmdlet: Get-AzElasticTagRule -> ParameterSet: Get -> Parameter: MonitorName -> Parameter: ResourceGroupName -> Parameter: SubscriptionId -> ParameterSet: ListViaIdentityMonitor -> Parameter: MonitorInputObject -> ParameterSet: GetViaIdentityMonitor -> Parameter: MonitorInputObjectThe swagger file is https://github.com/Azure/azure-rest-api-specs/blob/73d8ea03558929411b9f2e6be533e63409a2252c/specification/elastic/resource-manager/Microsoft.Elastic/stable/2023-06-01/elastic.json