File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
packages_generated/autoscaling/src/v1alpha1 Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ export const unmarshalInstanceGroup = (data: unknown): InstanceGroup => {
8181 projectId : data . project_id ,
8282 tags : data . tags ,
8383 updatedAt : unmarshalDate ( data . updated_at ) ,
84+ zone : data . zone ,
8485 } as InstanceGroup
8586}
8687
@@ -118,6 +119,7 @@ export const unmarshalInstancePolicy = (data: unknown): InstancePolicy => {
118119 priority : data . priority ,
119120 type : data . type ,
120121 value : data . value ,
122+ zone : data . zone ,
121123 } as InstancePolicy
122124}
123125
@@ -201,6 +203,7 @@ export const unmarshalInstanceTemplate = (data: unknown): InstanceTemplate => {
201203 data . volumes ,
202204 unmarshalVolumeInstanceTemplate ,
203205 ) ,
206+ zone : data . zone ,
204207 } as InstanceTemplate
205208}
206209
Original file line number Diff line number Diff line change @@ -261,6 +261,10 @@ export interface InstanceGroup {
261261 * Date on which the Instance group was last updated.
262262 */
263263 updatedAt ?: Date
264+ /**
265+ * Zone for this resource.
266+ */
267+ zone : ScwZone
264268}
265269
266270export interface InstancePolicy {
@@ -298,6 +302,10 @@ export interface InstancePolicy {
298302 * Instance group ID related to this policy.
299303 */
300304 instanceGroupId : string
305+ /**
306+ * Zone for this resource.
307+ */
308+ zone : ScwZone
301309}
302310
303311export interface InstanceTemplate {
@@ -365,6 +373,10 @@ export interface InstanceTemplate {
365373 * Date on which the Instance template was last updated.
366374 */
367375 updatedAt ?: Date
376+ /**
377+ * Zone for this resource.
378+ */
379+ zone : ScwZone
368380}
369381
370382export interface UpdateInstanceGroupRequestCapacity {
You can’t perform that action at this time.
0 commit comments