def METHOD_NAME(resource_group_name: Optional[pulumi.Input[str]] = None,
                                             rule_name: Optional[pulumi.Input[str]] = None,
                                             workspace_name: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedNetworkSettingsRuleResult]:
    """
    Gets an outbound rule from the managed network of a machine learning workspace.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str rule_name: Name of the workspace managed network outbound rule
    :param str workspace_name: Name of Azure Machine Learning workspace.
    """
    ...