Beispiel #1
0
def registration_summary(
    cmd, app_id: str, token=None, central_dns_suffix=CENTRAL_ENDPOINT,
):
    provider = CentralDeviceProvider(cmd=cmd, app_id=app_id, token=token,)
    return provider.get_device_registration_summary(
        central_dns_suffix=central_dns_suffix,
    )
Beispiel #2
0
def registration_summary(
    cmd,
    app_id: str,
    token=None,
    central_dns_suffix="azureiotcentral.com",
):
    provider = CentralDeviceProvider(
        cmd=cmd,
        app_id=app_id,
        token=token,
    )
    return provider.get_device_registration_summary(
        central_dns_suffix=central_dns_suffix, )