def map_device_templates(cmd,
                         app_id: str,
                         token=None,
                         central_dns_suffix=CENTRAL_ENDPOINT):
    provider = CentralDeviceTemplateProvider(cmd=cmd,
                                             app_id=app_id,
                                             token=token)
    return provider.map_device_templates(central_dns_suffix=central_dns_suffix)
Beispiel #2
0
def map_device_templates(
    cmd, app_id: str, token=None, central_dns_suffix="azureiotcentral.com"
):
    provider = CentralDeviceTemplateProvider(cmd=cmd, app_id=app_id, token=token)
    return provider.map_device_templates(central_dns_suffix=central_dns_suffix)