Skip to content
Open
2 changes: 1 addition & 1 deletion src/azure-cli/azure/cli/command_modules/apim/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
examples:
- name: Export an API Management API to a file or returns a response containing a link of the export.
text: |-
az apim api export -g MyResourceGroup --service-name MyApim --api-id MyApi --export-format OpenApiJson --file-path path
az apim api export -g MyResourceGroup --service-name MyApim --api-id MyApi --export-format OpenApiJson --file-path path --file-name name
"""

helps['apim product api list'] = """
Expand Down
2 changes: 2 additions & 0 deletions src/azure-cli/azure/cli/command_modules/apim/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ def load_arguments(self, _):
help='Specify the format of the exporting API.')
c.argument('file_path', options_list=['--file-path', '-f'],
help='File path specified to export the API.')
c.argument('file_name', options_list=['--file-name'],
help='File name specified to export the API.')

with self.argument_context('apim product api list') as c:
c.argument('service_name', options_list=['--service-name', '-n'],
Expand Down
Loading