def METHOD_NAME(device_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceResult:
    """
    Get the non-security related metadata of a Windows IoT Device Service.
    Azure REST API version: 2019-06-01.
    :param str device_name: The name of the Windows IoT Device Service.
    :param str resource_group_name: The name of the resource group that contains the Windows IoT Device Service.
    """
    __args__ = dict()
    __args__['deviceName'] = device_name
    __args__['resourceGroupName'] = resource_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:windowsiot:getService', __args__, opts=opts, typ=GetServiceResult).value
    return AwaitableGetServiceResult(
        admin_domain_name=pulumi.get(__ret__, 'admin_domain_name'),
        billing_domain_name=pulumi.get(__ret__, 'billing_domain_name'),
        etag=pulumi.get(__ret__, 'etag'),
        id=pulumi.get(__ret__, 'id'),
        location=pulumi.get(__ret__, 'location'),
        name=pulumi.get(__ret__, 'name'),
        notes=pulumi.get(__ret__, 'notes'),
        quantity=pulumi.get(__ret__, 'quantity'),
        start_date=pulumi.get(__ret__, 'start_date'),
        tags=pulumi.get(__ret__, 'tags'),
        type=pulumi.get(__ret__, 'type'))