open-nomad/ui/app/models/group-scaling.js
2023-04-10 15:36:59 +00:00

21 lines
484 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
import { fragmentOwner } from 'ember-data-model-fragments/attributes';
import classic from 'ember-classic-decorator';
@classic
export default class TaskGroup extends Fragment {
@fragmentOwner() taskGroup;
@attr('boolean') enabled;
@attr('number') max;
@attr('number') min;
@attr() policy;
}