Skip to content

Commit 95634fb

Browse files
authored
Update _onboard.py
Fix example
1 parent 2da376c commit 95634fb

File tree

1 file changed

+1
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/security/aaz/latest/security/api_collection/apim

1 file changed

+1
-1
lines changed

src/azure-cli/azure/cli/command_modules/security/aaz/latest/security/api_collection/apim/_onboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Onboard(AAZCommand):
1919
"""Onboard an Azure API Management API to Microsoft Defender for APIs. The system will start monitoring the operations within the Azure Management API for intrusive behaviors and provide alerts for attacks that have been detected.
2020
2121
:example: Onboard an Azure API Management API to Microsoft Defender for APIs.
22-
az security api-collections create --resource-group MyResourceGroup --service-name MyApiServiceName --api-id EchoApi
22+
az security api-collection apim onboard --resource-group MyResourceGroup --service-name MyApiManagementServiceName --api-id echo-api
2323
"""
2424

2525
_aaz_info = {

0 commit comments

Comments
 (0)