CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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

5 in the Azure CLI extensions reference
--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.