You develop a gateway solution for a public facing news API. The news API back end is implemented as a RESTful service and uses an OpenAPI specification.
You need to ensure that you can access the news API by using an Azure API Management service instance.
Which Azure PowerShell command should you run?
A. Import-AzureRmApiManagementApi -Context $ApiMgmtContext -SpecificationFormat “Swagger” -SpecificationPath $SwaggerPath -Path $Path Most Voted
B. New-AzureRmApiManagementBackend -Context $ApiMgmtContext-Url $Url -Protocol http
C. New-AzureRmApiManagement -ResourceGroupName $ResourceGroup -Name $Name ג€”Location $Location -Organization $Org -AdminEmail $AdminEmail
D. New-AzureRmApiManagementBackendProxy -Url $ApiUrl
Correct Answer: A
It is the one tuhat takes advantage of the swagger definition of the API?
Reference:
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.apimanagement/import-azapimanagementapi#example-4–import-an-api-from-a-open-api-link
https://docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement/import-azurermapimanagementapi
https://docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement/new-azurermapimanagementbackendproxy?view=azurermps-6.13.0