def METHOD_NAME(dryrun_name: Optional[str] = None,
                         location: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         subscription_id: Optional[str] = None,
                         opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectorDryrunResult:
    """
    get a dryrun job
    Azure REST API version: 2022-11-01-preview.
    :param str dryrun_name: The name of dryrun.
    :param str location: The name of Azure region.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str subscription_id: The ID of the target subscription.
    """
    __args__ = dict()
    __args__['dryrunName'] = dryrun_name
    __args__['location'] = location
    __args__['resourceGroupName'] = resource_group_name
    __args__['subscriptionId'] = subscription_id
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:servicelinker:getConnectorDryrun', __args__, opts=opts, typ=GetConnectorDryrunResult).value
    return AwaitableGetConnectorDryrunResult(
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        operation_previews=pulumi.get(__ret__, 'operation_previews'),
        parameters=pulumi.get(__ret__, 'parameters'),
        prerequisite_results=pulumi.get(__ret__, 'prerequisite_results'),
        provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
        system_data=pulumi.get(__ret__, 'system_data'),
        type=pulumi.get(__ret__, 'type'))