diff --git a/service/ocean/providers/azure_np/nodegroup_np.go b/service/ocean/providers/azure_np/nodegroup_np.go index 1d339703..e326ad77 100644 --- a/service/ocean/providers/azure_np/nodegroup_np.go +++ b/service/ocean/providers/azure_np/nodegroup_np.go @@ -26,6 +26,7 @@ type VirtualNodeGroup struct { AutoScale *AutoScale `json:"autoScale,omitempty"` Taints []*Taint `json:"taints,omitempty"` VmSizes *VmSizes `json:"vmSizes,omitempty"` + Scheduling *Scheduling `json:"scheduling,omitempty"` // Read-only fields. CreatedAt *time.Time `json:"createdAt,omitempty"` @@ -323,4 +324,11 @@ func (o *VirtualNodeGroup) SetVmSizes(v *VmSizes) *VirtualNodeGroup { return o } +func (o *VirtualNodeGroup) SetScheduling(v *Scheduling) *VirtualNodeGroup { + if o.Scheduling = v; o.Scheduling == nil { + o.nullFields = append(o.nullFields, "Scheduling") + } + return o +} + //endregion