CmdID / az / az apic / az apic api-analysis
az apic api-analysis import-ruleset
Imports the API analyzer ruleset. Azure CLI extensions reference
1 example 5 options Its page in the Azure CLI extensions reference
Examples
Import an API Analysis ruleset
az apic api-analysis import-ruleset -g contoso-resources -n contoso -c spectral-openapi --path '\path\to\ruleset\folder'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.--formatFormat of the ruleset source.--service-name, -nThe name of Azure API Center service.--valueValue of the ruleset source.--workspace-nameThe name of the workspace.