def METHOD_NAME(cluster_name: Optional[str] = None,
                                    resource_group_name: Optional[str] = None,
                                    opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetmanagedAzResiliencyStatusResult:
    """
    Action to get Az Resiliency Status of all the Base resources constituting Service Fabric Managed Clusters.
    :param str cluster_name: The name of the cluster resource.
    :param str resource_group_name: The name of the resource group.
    """
    __args__ = dict()
    __args__['clusterName'] = cluster_name
    __args__['resourceGroupName'] = resource_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:servicefabric/v20230701preview:getmanagedAzResiliencyStatus', __args__, opts=opts, typ=GetmanagedAzResiliencyStatusResult).value
    return AwaitableGetmanagedAzResiliencyStatusResult(
        base_resource_status=pulumi.get(__ret__, 'base_resource_status'),
        is_cluster_zone_resilient=pulumi.get(__ret__, 'is_cluster_zone_resilient'))