def METHOD_NAME(resource_group_name: Optional[str] = None,
                     service_name: Optional[str] = None,
                     service_topology_name: Optional[str] = None,
                     service_unit_name: Optional[str] = None,
                     opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceUnitResult:
    """
    Represents the response of a service unit resource.
    Azure REST API version: 2019-11-01-preview.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str service_name: The name of the service resource.
    :param str service_topology_name: The name of the service topology .
    :param str service_unit_name: The name of the service unit resource.
    """
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['serviceName'] = service_name
    __args__['serviceTopologyName'] = service_topology_name
    __args__['serviceUnitName'] = service_unit_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:deploymentmanager:getServiceUnit', __args__, opts=opts, typ=GetServiceUnitResult).value
    return AwaitableGetServiceUnitResult(
        artifacts=pulumi.get(__ret__, 'artifacts'),
        deployment_mode=pulumi.get(__ret__, 'deployment_mode'),
        id=pulumi.get(__ret__, 'id'),
        location=pulumi.get(__ret__, 'location'),
        name=pulumi.get(__ret__, 'name'),
        tags=pulumi.get(__ret__, 'tags'),
        target_resource_group=pulumi.get(__ret__, 'target_resource_group'),
        type=pulumi.get(__ret__, 'type'))