CmdID / az / az apic / az apic api-analysis
az apic api-analysis export-ruleset
Exports the API analyzer ruleset. Azure CLI extensions reference
1 example 3 options Its page in the Azure CLI extensions reference
Examples
Export an API Analysis ruleset
az apic api-analysis export-ruleset -g contoso-resources -n contoso -c spectral-openapi --path '\path\for\output\files'Identify-gName of resource group.-nThe name of Azure API Center service.-cThe name of the configuration.Options
--analyzer-config-name, --config-name, -cThe name of the configuration.--service-name, -nThe name of Azure API Center service.--workspace-nameThe name of the workspace.