wet-sunset-4939
03/08/2020, 11:37 AM// Create the API definition and map it to the HTTP Function backend
const api = new azure.apimanagement.Api(name, {
name,
resourceGroupName: apimInfo.group,
apiManagementName: apimInfo.name,
displayName: displayName || name,
import: autoImport
? {
contentFormat: 'swagger-json',
contentValue: fs.readFileSync(`./${env}-api.json`, 'utf8')
}
: undefined,
path: apiSuffix || '',
protocols: ['https'],
revision,
serviceUrl
});
acoustic-florist-12628
03/09/2020, 11:02 PMwet-sunset-4939
03/10/2020, 12:46 AM