def METHOD_NAME(application_name: Optional[pulumi.Input[str]] = None,
                                       cluster_name: Optional[pulumi.Input[str]] = None,
                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                       service_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedClusterServiceResult]:
    """
    Get a Service Fabric service resource created or in the process of being created in the Service Fabric managed application resource.
    Azure REST API version: 2023-03-01-preview.
    :param str application_name: The name of the application resource.
    :param str cluster_name: The name of the cluster resource.
    :param str resource_group_name: The name of the resource group.
    :param str service_name: The name of the service resource in the format of {applicationName}~{serviceName}.
    """
    ...