CmdID / az / az apic / az apic api-analysis
az apic api-analysis create
Create new or updates existing API analyzer configuration. Azure CLI extensions reference
1 example 7 options Its page in the Azure CLI extensions reference
Examples
Create an API Analysis rule config
az apic api-analysis create -g contoso-resources -n contoso -c spectral-openapiIdentify-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.--analyzer-typeThe type of API analyzer.--descriptionThe description of the analyzer configuration.--filterThe API analyzer filter.--service-name, -nThe name of Azure API Center service.--titleThe title of the analyzer configuration, e.g. "Spectral (OpenAPI)".--workspace-nameThe name of the workspace.