You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add support for project deployment freezes (#27)
* chore: move function to a shared place
* feat: add project deployment freeze resource
* chore(docs): add example usages of project deployment freezes
* chore(docs): update docs
* fix: project environment scopes should not be preserved as they live on the freeze resource now
* fix: add support for specifying users utc offset on recurring schedule
* chore(docs): update docs
* chore: add back moved functions
-`end` (String) The end time of the freeze, must be RFC3339 format
84
+
-`name` (String) The name of this resource.
85
+
-`owner_id` (String) The Owner ID of the freeze
86
+
-`start` (String) The start time of the freeze, must be RFC3339 format
87
+
88
+
### Optional
89
+
90
+
-`environment_ids` (List of String) The environment IDs associated with this project deployment freeze scope
91
+
-`recurring_schedule` (Attributes) (see [below for nested schema](#nestedatt--recurring_schedule))
92
+
93
+
### Read-Only
94
+
95
+
-`id` (String) The unique ID for this resource.
96
+
97
+
<aid="nestedatt--recurring_schedule"></a>
98
+
### Nested Schema for `recurring_schedule`
99
+
100
+
Required:
101
+
102
+
-`end_type` (String) When the recurring schedule should end (Never, OnDate, AfterOccurrences)
103
+
-`type` (String) Type of recurring schedule (Daily, Weekly, Monthly, Annually)
104
+
-`unit` (Number) The unit value for the schedule
105
+
106
+
Optional:
107
+
108
+
-`date_of_month` (String) The date of the month for monthly schedules
109
+
-`day_number_of_month` (String) Specifies which weekday position in the month. Valid values: 1 (First), 2 (Second), 3 (Third), 4 (Fourth), L (Last). Used with day_of_week
110
+
-`day_of_week` (String) The day of the week for monthly schedules when using DayOfMonth type
111
+
-`days_of_week` (List of String) List of days of the week for weekly schedules. Must follow order: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
112
+
-`end_after_occurrences` (Number) Number of occurrences after which the schedule should end
113
+
-`end_on_date` (String) The date when the recurring schedule should end
114
+
-`monthly_schedule_type` (String) Type of monthly schedule (DayOfMonth, DateOfMonth)
115
+
-`utc_offset_in_minutes` (Number) The UTC offset in minutes of the timezone the schedule should run in, will use offset from freeze start date if not specified.
0 commit comments