microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
362 stars 29 forks source link

containerJobs wrong type information for triggerType (Scheduled -> Schedule) #798

Open floriankoch opened 1 year ago

floriankoch commented 1 year ago

Please provide us with the following information:

This issue is a: (mark with an x)

Issue description

The type informations for containerJobs trigger type says the value ist Scheduled, but it only works with Schedule API Version 2022-11-01-preview Docs saying Schedule https://learn.microsoft.com/en-us/azure/container-apps/jobs?tabs=azure-resource-manager

Expected behavior [What you expected to happen.] Type information and Docs should be the same Actual behavior [What actually happened.] Type Information and Docs are different Screenshots
Vscode (Bicep)

Screenshot 2023-06-18 at 10 47 06

Portal

Screenshot 2023-06-18 at 10 57 17

Additional context

Bicep / vscode / Portal

anandanthony commented 1 year ago

The trigger type shown as Scheduled is due to an incorrect spec for the current API versions. We have addressed this and the correct type would be seen in the next API versions. The correct type for Scheduled Container App Jobs is Schedule.