# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

from azure.cli.core.commands.client_factory import get_mgmt_service_client


def cf_hybridconnectivity_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.hybridconnectivity import HybridConnectivityManagementAPI
    return get_mgmt_service_client(cli_ctx,
                                   HybridConnectivityManagementAPI)


def cf_endpoint(cli_ctx, *_):
    return cf_hybridconnectivity_cl(cli_ctx).endpoints


def cf_connectedmachine_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedmachine import ConnectedMachine
    return get_mgmt_service_client(cli_ctx,
                                   ConnectedMachine)


def cf_machine(cli_ctx, *_):
    return cf_connectedmachine_cl(cli_ctx).machines


def cf_connectedvmware_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedvmware import AzureArcVMwareManagementServiceAPI
    return get_mgmt_service_client(cli_ctx,
                                   AzureArcVMwareManagementServiceAPI)


def cf_vmware(cli_ctx, *_):
    return cf_connectedvmware_cl(cli_ctx).virtual_machines

233670b85cb7c175b1dd1145e1fb723a89b60b02
<mask token>


def cf_hybridconnectivity_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.hybridconnectivity import HybridConnectivityManagementAPI
    return get_mgmt_service_client(cli_ctx, HybridConnectivityManagementAPI)


<mask token>


def cf_vmware(cli_ctx, *_):
    return cf_connectedvmware_cl(cli_ctx).virtual_machines

<mask token>


def cf_hybridconnectivity_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.hybridconnectivity import HybridConnectivityManagementAPI
    return get_mgmt_service_client(cli_ctx, HybridConnectivityManagementAPI)


<mask token>


def cf_connectedmachine_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedmachine import ConnectedMachine
    return get_mgmt_service_client(cli_ctx, ConnectedMachine)


<mask token>


def cf_connectedvmware_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedvmware import AzureArcVMwareManagementServiceAPI
    return get_mgmt_service_client(cli_ctx, AzureArcVMwareManagementServiceAPI)


def cf_vmware(cli_ctx, *_):
    return cf_connectedvmware_cl(cli_ctx).virtual_machines

<mask token>


def cf_hybridconnectivity_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.hybridconnectivity import HybridConnectivityManagementAPI
    return get_mgmt_service_client(cli_ctx, HybridConnectivityManagementAPI)


def cf_endpoint(cli_ctx, *_):
    return cf_hybridconnectivity_cl(cli_ctx).endpoints


def cf_connectedmachine_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedmachine import ConnectedMachine
    return get_mgmt_service_client(cli_ctx, ConnectedMachine)


<mask token>


def cf_connectedvmware_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedvmware import AzureArcVMwareManagementServiceAPI
    return get_mgmt_service_client(cli_ctx, AzureArcVMwareManagementServiceAPI)


def cf_vmware(cli_ctx, *_):
    return cf_connectedvmware_cl(cli_ctx).virtual_machines

from azure.cli.core.commands.client_factory import get_mgmt_service_client


def cf_hybridconnectivity_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.hybridconnectivity import HybridConnectivityManagementAPI
    return get_mgmt_service_client(cli_ctx, HybridConnectivityManagementAPI)


def cf_endpoint(cli_ctx, *_):
    return cf_hybridconnectivity_cl(cli_ctx).endpoints


def cf_connectedmachine_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedmachine import ConnectedMachine
    return get_mgmt_service_client(cli_ctx, ConnectedMachine)


def cf_machine(cli_ctx, *_):
    return cf_connectedmachine_cl(cli_ctx).machines


def cf_connectedvmware_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedvmware import AzureArcVMwareManagementServiceAPI
    return get_mgmt_service_client(cli_ctx, AzureArcVMwareManagementServiceAPI)


def cf_vmware(cli_ctx, *_):
    return cf_connectedvmware_cl(cli_ctx).virtual_machines

# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

from azure.cli.core.commands.client_factory import get_mgmt_service_client


def cf_hybridconnectivity_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.hybridconnectivity import HybridConnectivityManagementAPI
    return get_mgmt_service_client(cli_ctx,
                                   HybridConnectivityManagementAPI)


def cf_endpoint(cli_ctx, *_):
    return cf_hybridconnectivity_cl(cli_ctx).endpoints


def cf_connectedmachine_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedmachine import ConnectedMachine
    return get_mgmt_service_client(cli_ctx,
                                   ConnectedMachine)


def cf_machine(cli_ctx, *_):
    return cf_connectedmachine_cl(cli_ctx).machines


def cf_connectedvmware_cl(cli_ctx, *_):
    from azext_ssh.vendored_sdks.connectedvmware import AzureArcVMwareManagementServiceAPI
    return get_mgmt_service_client(cli_ctx,
                                   AzureArcVMwareManagementServiceAPI)


def cf_vmware(cli_ctx, *_):
    return cf_connectedvmware_cl(cli_ctx).virtual_machines
