import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { IDbaasInstanceModel } from '@fleio-api/openstack/model/dbaas-instance.model';
import { ActivatedRoute } from '@angular/router';
import { DbaasInstanceListUiService } from '../dbaas-instance-list-ui.service';

@Component({
  selector: 'app-dbaas-instance-resize-flavor',
  templateUrl: './dbaas-instance-resize-flavor.component.html',
  styleUrls: ['./dbaas-instance-resize-flavor.component.scss']
})
export class DbaasInstanceResizeFlavorComponent extends DetailsBase<IDbaasInstanceModel> {
  constructor(route: ActivatedRoute, dbaasInstanceListUiService: DbaasInstanceListUiService) {
    super(route, dbaasInstanceListUiService, 'resize', 'database_instance', ['resizeOptions']);
  }
}
