def METHOD_NAME(device_security_group_name: Optional[pulumi.Input[str]] = None,
                                     resource_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceSecurityGroupResult]:
    """
    Use this method to get the device security group for the specified IoT Hub resource.
    Azure REST API version: 2019-08-01.
    :param str device_security_group_name: The name of the device security group. Note that the name of the device security group is case insensitive.
    :param str resource_id: The identifier of the resource.
    """
    ...