# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pylint: disable=too-many-statements
# pylint: disable=too-many-locals

from azure.cli.core.commands import CliCommandType


def load_command_table(self, _):

    from ..generated._client_factory import cf_bandwidth_schedule
    databoxedge_bandwidth_schedule = CliCommandType(
        operations_tmpl='azure.mgmt.databoxedge.operations._bandwidth_schedules_operations#BandwidthSchedulesOperations'
        '.{}',
        client_factory=cf_bandwidth_schedule)
    with self.command_group('databoxedge bandwidth-schedule', databoxedge_bandwidth_schedule,
                            client_factory=cf_bandwidth_schedule, min_api='2019-08-01') as g:
        g.generic_update_command('update', custom_func_name='databoxedge_bandwidth_schedule_update',
                                 setter_name='begin_create_or_update', supports_no_wait=True)

    from ..generated._client_factory import cf_order
    databoxedge_order = CliCommandType(
        operations_tmpl='azure.mgmt.databoxedge.operations._orders_operations#OrdersOperations.{}',
        client_factory=cf_order)
    with self.command_group('databoxedge order', databoxedge_order, client_factory=cf_order,
                            min_api='2019-08-01') as g:
        g.generic_update_command('update', setter_arg_name='order', custom_func_name='databoxedge_order_update',
                                 setter_name='begin_create_or_update', supports_no_wait=True)
