# --------------------------------------------------------------------------
# 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=line-too-long
from azure.cli.core.commands import CliCommandType


def load_command_table(self, _):

    from azext_stack_hci.generated._client_factory import cf_cluster
    stack_hci_cluster = CliCommandType(
        operations_tmpl='azext_stack_hci.vendored_sdks.azurestackhci.operations._cluster_operations#ClusterOperations.{}',
        client_factory=cf_cluster)

    with self.command_group('stack-hci cluster', stack_hci_cluster, client_factory=cf_cluster) as g:
        g.custom_command('list', 'stack_hci_cluster_list')
        g.custom_show_command('show', 'stack_hci_cluster_show')
        g.custom_command('create', 'stack_hci_cluster_create')
        g.custom_command('update', 'stack_hci_cluster_update')
        g.custom_command('delete', 'stack_hci_cluster_delete', confirmation=True)
